GNU bug report logs - #46979
Allow setting Man-default-entry via Local Variables

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Sun, 7 Mar 2021 00:27:02 UTC

Severity: wishlist

Full log


Message #50 received at 46979 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Daniel Martín <mardani29 <at> yahoo.es>
Cc: 46979 <at> debbugs.gnu.org, jidanni <at> jidanni.org
Subject: Re: bug#46979: Allow setting Man-default-entry via Local Variables
Date: Mon, 08 Mar 2021 22:42:43 +0200
> From: Daniel Martín <mardani29 <at> yahoo.es>
> Cc: 46979 <at> debbugs.gnu.org,  jidanni <at> jidanni.org
> Date: Mon, 08 Mar 2021 20:01:31 +0100
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >
> > The need to add local variables to files is in itself a downside.
> 
> I'm not too sold on the local variables approach, either.  Perhaps we
> could expose a customization point in the form of an alist of filename
> patterns vs corresponding manuals.  Emacs would provide a few of them
> and users could expand the list with more if
> needed. `Man-default-man-entry' would consult this alist first and
> fallback to the current behavior of guessing based on the text near
> point.

That'd be better, IMO.

We could also define a trivial major mode for those files, and then
make Man-default-man-entry sensitive to that.




This bug report was last modified 4 years and 188 days ago.

Previous Next


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