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

Previous Next

Package: emacs;

Reported by: Sebastian Tennant <sdt <at> sebyte.me>

Date: Thu, 16 Feb 2023 16:14:01 UTC

Severity: wishlist

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Sebastian Tennant <sdt <at> sebyte.me>
To: 61552 <at> debbugs.gnu.org
Subject: bug#61552: Feature request: Add variable Man-prefer-synchronous-call
Date: Tue, 21 Feb 2023 14:08:35 +0000
Hello Robert,

Quoth Robert Pluim <rpluim <at> gmail.com>
on Tue, 21 Feb 2023 11:44:14 +0100:
> […]
>> * lisp/man.el (Man-getpage-in-background): Only call
>> #'start-process when 'make-process satisfies #'fboundp AND
>> Man-prefer-synchronous-call is bound to nil
>
> Your commit message should indicate that youʼve added a new
> defcustom

How about this:

 * lisp/man.el (Man-getpage-in-background): Add new defcustom
 Man-prefer-synchronous-call and only call #'start-process when
 'make-process satisfies #'fboundp AND Man-prefer-synchronous-call is
 bound to nil.

> and you should announce it in etc/NEWS

Rightio.  Will do.

> (and add a description to the manual, if that makes sense)

Sure.  I didn't think reading manpages would have an entry in the
manual but, sure enough, it does:

 (info "(emacs) Man Page")

I shall edit doc/emacs/programs.texi accordingly.

> […]
>> (defcustom Man-prefer-synchronous-call nil
>>   "Non-nil means always call the Un*x man command synchronously,
>>     rather than asynchronously, which is the default behaviour."
>
> The first line should be a complete sentence. Something like
>
>  "Whether to call the Un*x 'manʼ command synchronously."

How about this:

 "Control whether the Un*x 'man' command is called synchronously or
  asynchronously.  (Asynchronous is the default)."

> […]
>> :type 'boolean
>> :group 'man)
>
> This needs a :version tag

Noted.




This bug report was last modified 2 years and 75 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.