From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#46979: Allow setting Man-default-entry via Local Variables Date: Tue, 09 Mar 2021 18:57:19 +0200 Message-ID: <83tupkp8nk.fsf@gnu.org> References: <87tupnrhvv.8.fsf@jidanni.org> <83tupntrwb.fsf@gnu.org> <87pn0b12f0.5.fsf@jidanni.org> <87blbtoj16.5.fsf@jidanni.org> <83czw9somb.fsf@gnu.org> <87zgzdn1kc.5.fsf@jidanni.org> <835z21smu3.fsf@gnu.org> <87pn09myoo.5.fsf@jidanni.org> <83wnuhr4eu.fsf@gnu.org> <87wnuhlgmf.5.fsf@jidanni.org> <83o8ftqzpf.fsf@gnu.org> <87pn08e76z.5.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4535"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46979@debbugs.gnu.org, mardani29@yahoo.es To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 09 19:57:08 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lJhXY-00011P-Pf for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Mar 2021 19:57:08 +0100 Original-Received: from localhost ([::1]:42716 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJhXX-000402-KU for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Mar 2021 13:57:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJfgH-00074R-Ra for bug-gnu-emacs@gnu.org; Tue, 09 Mar 2021 11:58:01 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36276) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lJfgH-0008G1-Ij for bug-gnu-emacs@gnu.org; Tue, 09 Mar 2021 11:58:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lJfgH-0003ot-I7 for bug-gnu-emacs@gnu.org; Tue, 09 Mar 2021 11:58:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Mar 2021 16:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46979 X-GNU-PR-Package: emacs Original-Received: via spool by 46979-submit@debbugs.gnu.org id=B46979.161530905914655 (code B ref 46979); Tue, 09 Mar 2021 16:58:01 +0000 Original-Received: (at 46979) by debbugs.gnu.org; 9 Mar 2021 16:57:39 +0000 Original-Received: from localhost ([127.0.0.1]:47822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJffv-0003oJ-Eq for submit@debbugs.gnu.org; Tue, 09 Mar 2021 11:57:39 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJfft-0003o6-AX for 46979@debbugs.gnu.org; Tue, 09 Mar 2021 11:57:38 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41318) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJffn-0008D4-Mx; Tue, 09 Mar 2021 11:57:31 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2307 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lJfff-0000OO-RZ; Tue, 09 Mar 2021 11:57:25 -0500 In-Reply-To: <87pn08e76z.5.fsf@jidanni.org> (message from =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson on Tue, 09 Mar 2021 22:24:20 +0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:201923 Archived-At: > From: 積丹尼 Dan Jacobson > Cc: mardani29@yahoo.es, 46979@debbugs.gnu.org > Date: Tue, 09 Mar 2021 22:24:20 +0800 > > >>>>> "EZ" == Eli Zaretskii writes: > > EZ> OK, but why do you insist on doing this via file-local variables? > > Because certainly the people who make the alists will probably think > that crontab(1) is the man page people editing crontabs want to see, > but individual programmer Williams wants to see crontab(5) usually. > But wait! Not always. For his other cron page he more often wants to see > cron(8), and even crontab(1posix). So you never know. But Mr Williams does know! And the alist can be modified exactly like the local-vars section in a file. With your suggestion, by default Emacs will be none the wiser, because wizard jidanni didn't visit every Mr Williams out there and offered them his services of adding the local-vars section to every obscure file they might have on their disk. Including flippant(1), fartsburg(7) and whatnot. A good tool shines when it does DWIM without any tinkering. The "alist solution" has much higher chances of doing a large part of the job, so insisting on not doing anything and leaving everything to the user's tinkering makes little sense to me.