bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#61552: Feature request: Add variable Man-prefer-synchronous-call


From: Sebastian Tennant
Subject: bug#61552: Feature request: Add variable Man-prefer-synchronous-call
Date: Tue, 21 Feb 2023 12:16:00 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2.50 (gnu/linux)

Hello Stefan,

Quoth Stefan Kangas <stefankangas@gmail.com>
on Tue, 21 Feb 2023 01:53:18 -0800:
> […]
> Thanks.  Could you explain the use case for this?

A function I've written (called #’man-spot) allows me to make notes in
commentary which look like this:

;;; (man-spot "openssl" "^ +s_client")

for example.

By evaluating this form, I'm able to jump to the specific point in the
openssl manpage which describes the s_client command.

The second argument to #'man-spot is a regular expression which is
passed to #'re-search-backward.  This only works if #'manual-entry has
finished putting the manpage into a buffer.  Hence the preference for
a synchronous call to #'Man-getpage-in-background.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]