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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: 積丹尼 Dan Jacobson <jidanni@HIDDEN>; dated Sun, 7 Mar 2021 00:27:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 46979 <at> debbugs.gnu.org:


Received: (at 46979) by debbugs.gnu.org; 9 Mar 2021 17:17:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 09 12:17:03 2021
Received: from localhost ([127.0.0.1]:47852 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lJfyh-0004JH-9G
	for submit <at> debbugs.gnu.org; Tue, 09 Mar 2021 12:17:03 -0500
Received: from quail.birch.relay.mailchannels.net ([23.83.209.151]:64954)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jidanni@HIDDEN>) id 1lJfye-0004Im-D6
 for 46979 <at> debbugs.gnu.org; Tue, 09 Mar 2021 12:17:02 -0500
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id 68ECC362D90;
 Tue,  9 Mar 2021 17:16:58 +0000 (UTC)
Received: from pdx1-sub0-mail-a33.g.dreamhost.com
 (100-96-10-164.trex.outbound.svc.cluster.local [100.96.10.164])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id F3C51362D87;
 Tue,  9 Mar 2021 17:16:57 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from pdx1-sub0-mail-a33.g.dreamhost.com (pop.dreamhost.com
 [64.90.62.162])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384)
 by 100.96.10.164 (trex/6.0.2); Tue, 09 Mar 2021 17:16:58 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Troubled-Abaft: 1fe92c302235295c_1615310218227_4244631748
X-MC-Loop-Signature: 1615310218227:573345083
X-MC-Ingress-Time: 1615310218226
Received: from pdx1-sub0-mail-a33.g.dreamhost.com (localhost [127.0.0.1])
 by pdx1-sub0-mail-a33.g.dreamhost.com (Postfix) with ESMTP id B0953817D2;
 Tue,  9 Mar 2021 09:16:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc
 :subject:references:date:message-id:mime-version:content-type;
 s=jidanni.org; bh=qUio44DoU/dozcZzeEsQTLUxO18=; b=VGk2tbtid2WaH
 upFhO/9K5mYrqTJ19mPue+wQiCM4iqGadF4NE7+fl8xpmzhkXQZjoHPkA3pgyg5N
 mX112tT3TNwXGTBgOuFe06E2gL9oL9Y7tAXekktSZhm8kAOP1Ej16XBCrFdZoPog
 YSS1nuGnQFLPpfmSXPF6h1PpAQ4KwY=
Received: from jidanni.org (114-41-14-126.dynamic-ip.hinet.net [114.41.14.126])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: jidanni@HIDDEN)
 by pdx1-sub0-mail-a33.g.dreamhost.com (Postfix) with ESMTPSA id AD80F817D1;
 Tue,  9 Mar 2021 09:16:56 -0800 (PST)
X-DH-BACKEND: pdx1-sub0-mail-a33
From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#46979: Allow setting Man-default-entry via Local Variables
References: <87tupnrhvv.8.fsf@HIDDEN> <83tupntrwb.fsf@HIDDEN>
 <87pn0b12f0.5.fsf@HIDDEN> <m1r1kpvqr0.fsf@HIDDEN>
 <87blbtoj16.5.fsf@HIDDEN> <83czw9somb.fsf@HIDDEN>
 <87zgzdn1kc.5.fsf@HIDDEN> <835z21smu3.fsf@HIDDEN>
 <87pn09myoo.5.fsf@HIDDEN> <83wnuhr4eu.fsf@HIDDEN>
 <87wnuhlgmf.5.fsf@HIDDEN> <83o8ftqzpf.fsf@HIDDEN>
 <87pn08e76z.5.fsf@HIDDEN> <83tupkp8nk.fsf@HIDDEN>
Date: Wed, 10 Mar 2021 01:16:52 +0800
Message-ID: <87v9a0ckmz.5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 46979
Cc: 46979 <at> debbugs.gnu.org, mardani29@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

EZ> A good tool shines when it does DWIM without any tinkering.  The
EZ> "alist solution" has much higher chances of doing a large part of the
EZ> job, so insisting on not doing anything and leaving everything to the
EZ> user's tinkering makes little sense to me.

Good. Great. Full speed ahead with the alist version!
(But still allow setting via Local Variables for Mom's one time pet cat
project.)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46979; Package emacs. Full text available.

Message received at 46979 <at> debbugs.gnu.org:


Received: (at 46979) by debbugs.gnu.org; 9 Mar 2021 16:57:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 09 11:57:39 2021
Received: from localhost ([127.0.0.1]:47822 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lJffv-0003oJ-Eq
	for submit <at> debbugs.gnu.org; Tue, 09 Mar 2021 11:57:39 -0500
Received: from eggs.gnu.org ([209.51.188.92]:38736)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1lJfft-0003o6-AX
 for 46979 <at> debbugs.gnu.org; Tue, 09 Mar 2021 11:57:38 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:41318)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1lJffn-0008D4-Mx; Tue, 09 Mar 2021 11:57:31 -0500
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 <eliz@HIDDEN>)
 id 1lJfff-0000OO-RZ; Tue, 09 Mar 2021 11:57:25 -0500
Date: Tue, 09 Mar 2021 18:57:19 +0200
Message-Id: <83tupkp8nk.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
In-Reply-To: <87pn08e76z.5.fsf@HIDDEN> (message from =?utf-8?B?56mN?=
 =?utf-8?B?5Li55bC8?= Dan Jacobson
 on Tue, 09 Mar 2021 22:24:20 +0800)
Subject: Re: bug#46979: Allow setting Man-default-entry via Local Variables
References: <87tupnrhvv.8.fsf@HIDDEN> <83tupntrwb.fsf@HIDDEN>
 <87pn0b12f0.5.fsf@HIDDEN> <m1r1kpvqr0.fsf@HIDDEN>
 <87blbtoj16.5.fsf@HIDDEN> <83czw9somb.fsf@HIDDEN>
 <87zgzdn1kc.5.fsf@HIDDEN> <835z21smu3.fsf@HIDDEN>
 <87pn09myoo.5.fsf@HIDDEN> <83wnuhr4eu.fsf@HIDDEN>
 <87wnuhlgmf.5.fsf@HIDDEN> <83o8ftqzpf.fsf@HIDDEN>
 <87pn08e76z.5.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 46979
Cc: 46979 <at> debbugs.gnu.org, mardani29@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> From: 積丹尼 Dan Jacobson <jidanni@HIDDEN>
> Cc: mardani29@HIDDEN,  46979 <at> debbugs.gnu.org
> Date: Tue, 09 Mar 2021 22:24:20 +0800
> 
> >>>>> "EZ" == Eli Zaretskii <eliz@HIDDEN> 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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46979; Package emacs. Full text available.

Message received at 46979 <at> debbugs.gnu.org:


Received: (at 46979) by debbugs.gnu.org; 9 Mar 2021 16:12:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 09 11:12:10 2021
Received: from localhost ([127.0.0.1]:47774 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lJexu-0000dB-Ke
	for submit <at> debbugs.gnu.org; Tue, 09 Mar 2021 11:12:10 -0500
Received: from black.elm.relay.mailchannels.net ([23.83.212.19]:2725)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jidanni@HIDDEN>) id 1lJexr-0000d1-31
 for 46979 <at> debbugs.gnu.org; Tue, 09 Mar 2021 11:12:09 -0500
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id 7CF95922C9C;
 Tue,  9 Mar 2021 16:12:05 +0000 (UTC)
Received: from pdx1-sub0-mail-a33.g.dreamhost.com
 (100-96-10-164.trex.outbound.svc.cluster.local [100.96.10.164])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id 1751A922D1B;
 Tue,  9 Mar 2021 16:11:55 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from pdx1-sub0-mail-a33.g.dreamhost.com (pop.dreamhost.com
 [64.90.62.162])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384)
 by 100.96.10.164 (trex/6.0.2); Tue, 09 Mar 2021 16:12:05 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Rock-Broad: 6f3f787b4940ae21_1615306315340_1941582054
X-MC-Loop-Signature: 1615306315340:976952637
X-MC-Ingress-Time: 1615306315340
Received: from pdx1-sub0-mail-a33.g.dreamhost.com (localhost [127.0.0.1])
 by pdx1-sub0-mail-a33.g.dreamhost.com (Postfix) with ESMTP id D1BEF817CF;
 Tue,  9 Mar 2021 08:11:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc
 :subject:references:date:message-id:mime-version:content-type;
 s=jidanni.org; bh=rLs0NV/h5yaj60EPkbbbik29fz4=; b=bBJAiU97Ji6V0
 zND5p4SqqZjJUO/fELnqj3uPQbm3JyqnwIE5vsBHpFooBeX/zVbs15vtpWwlrBFM
 DkliSLpAX3XMjvB8PBc0auwJ1gzRm6snABj8ORcH3ytrBgYb3vz1syjMLCYqaHi8
 +BosnRncS9SDbpVjqSwFNKXWjrT94k=
Received: from jidanni.org (114-41-14-126.dynamic-ip.hinet.net [114.41.14.126])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: jidanni@HIDDEN)
 by pdx1-sub0-mail-a33.g.dreamhost.com (Postfix) with ESMTPSA id 246F7817D1;
 Tue,  9 Mar 2021 08:11:53 -0800 (PST)
X-DH-BACKEND: pdx1-sub0-mail-a33
From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#46979: Allow setting Man-default-entry via Local Variables
References: <87tupnrhvv.8.fsf@HIDDEN> <83tupntrwb.fsf@HIDDEN>
 <87pn0b12f0.5.fsf@HIDDEN> <m1r1kpvqr0.fsf@HIDDEN>
 <87blbtoj16.5.fsf@HIDDEN> <83czw9somb.fsf@HIDDEN>
 <87zgzdn1kc.5.fsf@HIDDEN> <835z21smu3.fsf@HIDDEN>
 <87pn09myoo.5.fsf@HIDDEN> <83wnuhr4eu.fsf@HIDDEN>
 <87wnuhlgmf.5.fsf@HIDDEN> <83o8ftqzpf.fsf@HIDDEN>
Date: Tue, 09 Mar 2021 22:24:20 +0800
Message-ID: <87pn08e76z.5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 46979
Cc: 46979 <at> debbugs.gnu.org, mardani29@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> "EZ" == Eli Zaretskii <eliz@HIDDEN> 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. And then again for
his Nurdenburg project he often wants to see the flippant(1) man page,
except for his flursburg file, where he often needs to check the
fartsburg(7) man page. I.e., Local Variables are the only way to cater
to all his needs. Sure, he could make lists of what filenames should
match what man pages. But he also wants the flexibility of Local Variables.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46979; Package emacs. Full text available.

Message received at 46979 <at> debbugs.gnu.org:


Received: (at 46979) by debbugs.gnu.org; 8 Mar 2021 21:55:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 08 16:55:55 2021
Received: from localhost ([127.0.0.1]:45086 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lJNr0-0006Lz-SZ
	for submit <at> debbugs.gnu.org; Mon, 08 Mar 2021 16:55:55 -0500
Received: from mail-wr1-f43.google.com ([209.85.221.43]:39148)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <contovob@HIDDEN>) id 1lJNqz-0006Lm-Ko
 for 46979 <at> debbugs.gnu.org; Mon, 08 Mar 2021 16:55:54 -0500
Received: by mail-wr1-f43.google.com with SMTP id b18so13051393wrn.6
 for <46979 <at> debbugs.gnu.org>; Mon, 08 Mar 2021 13:55:53 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=71UE3uzJ/ORr56N1637RAcLDXsQ1+YW2u8B0+0cJ3/I=;
 b=bwamXaAvALDWPnPncnd7metgDIwLkvXG9toGCVQuBXW/4IJomR8xXSM+8mmxSw9qur
 4+wSJy2UkX/4u3vmCd/Z+9y9heIVl1Yj7GsW5MP1WKAlvQ/qu0YzfdQy8915C8/2J6Y1
 HmK5rcfjutfiXP1yves6cLmlu0NueLp1wT7JD3/Kux52T/NDcgbMHZdb8mLf0+kXDB6C
 mTxvCuBB2DPQsuxuXynJXs7QScLbqF64h/RKs4Ly3rTp6zwjC7KBAjGCHMrDT7IQMqgZ
 r4XYpipm6ua5D7LtZKEmtbt/SgNC+qto2mMN/TVO/OsXnydRSqlxHlq+74kTQdQP3oXS
 vIIQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=71UE3uzJ/ORr56N1637RAcLDXsQ1+YW2u8B0+0cJ3/I=;
 b=nR0Gpc310/Po8VboK+PmQnlmXMCgmlgdOBZKtraMJqExH0n57CBBAvADve46HS0YCo
 j89VNZVP1Jy1jsQ9AFL6u7wm69B8W/XfinF9F3dKfsnyeEwngf0iOC2ELEXHhULrI/cv
 dlilAJ6ji2NcexCjW03AAtLb+JnZiS/TxLFoH0FnG9Ll3LgyfU+kQSudIZOTBZIiYkOZ
 eff91JvIJ8Aj9btXHuFDK9qbaI6xbnIwaMiYK3UYzRpXdWa25HMc/vtj1s7K/bZ+PMeq
 xqRX5nUgOzd9Ls9ZnT0wjgqzufSI2MQMdix6PP7oTLRFGhG3hoddIOfQA5NwtkF6GijB
 /MVw==
X-Gm-Message-State: AOAM532O8pV6R/XrvZY/l3b66ekn7wyXMJbuawxCYbNM/nPD0YQPvISL
 EEjjnuBXatqu3bp5glqxNIYW5A==
X-Google-Smtp-Source: ABdhPJy+kEk4lHJR9mA1d85f+TeLhUyjbH8m1l7/+ssu9d1cqxzzAc1NvlLs1ggvVDCH/fIzAvKJlA==
X-Received: by 2002:adf:ded1:: with SMTP id i17mr25256292wrn.349.1615240547573; 
 Mon, 08 Mar 2021 13:55:47 -0800 (PST)
Received: from localhost ([2a02:8084:20e2:c380:d15:339e:aa10:60f1])
 by smtp.gmail.com with ESMTPSA id j20sm812833wmp.30.2021.03.08.13.55.46
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 08 Mar 2021 13:55:46 -0800 (PST)
From: "Basil L. Contovounesios" <contovob@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#46979: Allow setting Man-default-entry via Local Variables
References: <87tupnrhvv.8.fsf@HIDDEN> <83tupntrwb.fsf@HIDDEN>
 <87pn0b12f0.5.fsf@HIDDEN> <m1r1kpvqr0.fsf@HIDDEN>
 <87blbtoj16.5.fsf@HIDDEN> <83czw9somb.fsf@HIDDEN>
 <m1im61odcr.fsf@HIDDEN> <83y2exr4hk.fsf@HIDDEN>
Date: Mon, 08 Mar 2021 21:55:45 +0000
In-Reply-To: <83y2exr4hk.fsf@HIDDEN> (Eli Zaretskii's message of "Mon, 08 Mar
 2021 18:32:07 +0200")
Message-ID: <87eegpjony.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 46979
Cc: 46979 <at> debbugs.gnu.org, jidanni@HIDDEN,
 Daniel =?utf-8?Q?Mart=C3=ADn?= <mardani29@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> Git has an Info manual, even though many people don't know and don't
> use it.

If only it were packaged with Git!
(I'm glaring at Debian's git-doc package.)
Thanks for alerting us to this boon, I've now installed it from git.git.

-- 
Basil




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46979; Package emacs. Full text available.

Message received at 46979 <at> debbugs.gnu.org:


Received: (at 46979) by debbugs.gnu.org; 8 Mar 2021 20:42:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 08 15:42:56 2021
Received: from localhost ([127.0.0.1]:44940 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lJMiO-0002Om-1u
	for submit <at> debbugs.gnu.org; Mon, 08 Mar 2021 15:42:56 -0500
Received: from eggs.gnu.org ([209.51.188.92]:46952)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1lJMiM-0002OV-K0
 for 46979 <at> debbugs.gnu.org; Mon, 08 Mar 2021 15:42:54 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:54719)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1lJMiH-0005BK-2R; Mon, 08 Mar 2021 15:42:49 -0500
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3156
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1lJMiG-0006Is-En; Mon, 08 Mar 2021 15:42:48 -0500
Date: Mon, 08 Mar 2021 22:42:43 +0200
Message-Id: <83k0qhqsvw.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Daniel =?iso-8859-1?Q?Mart=EDn?= <mardani29@HIDDEN>
In-Reply-To: <m1pn0979mc.fsf@HIDDEN> (message from Daniel
 =?iso-8859-1?Q?Mart=EDn?= on Mon, 08 Mar 2021 20:01:31 +0100)
Subject: Re: bug#46979: Allow setting Man-default-entry via Local Variables
References: <87tupnrhvv.8.fsf@HIDDEN> <83tupntrwb.fsf@HIDDEN>
 <87pn0b12f0.5.fsf@HIDDEN> <m1r1kpvqr0.fsf@HIDDEN>
 <87blbtoj16.5.fsf@HIDDEN> <83czw9somb.fsf@HIDDEN>
 <m1im61odcr.fsf@HIDDEN> <83y2exr4hk.fsf@HIDDEN> <m1pn0979mc.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 46979
Cc: 46979 <at> debbugs.gnu.org, jidanni@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> From: Daniel Martn <mardani29@HIDDEN>
> Cc: 46979 <at> debbugs.gnu.org,  jidanni@HIDDEN
> Date: Mon, 08 Mar 2021 20:01:31 +0100
> 
> Eli Zaretskii <eliz@HIDDEN> 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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46979; Package emacs. Full text available.

Message received at 46979 <at> debbugs.gnu.org:


Received: (at 46979) by debbugs.gnu.org; 8 Mar 2021 19:01:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 08 14:01:45 2021
Received: from localhost ([127.0.0.1]:44843 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lJL8S-0006Jp-Oj
	for submit <at> debbugs.gnu.org; Mon, 08 Mar 2021 14:01:44 -0500
Received: from sonic314-20.consmr.mail.ir2.yahoo.com ([77.238.177.146]:36513)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mardani29@HIDDEN>) id 1lJL8R-0006Jc-3X
 for 46979 <at> debbugs.gnu.org; Mon, 08 Mar 2021 14:01:43 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048;
 t=1615230096; bh=85/WhzmkBZ1tnk3YOksj7vryT3q0wHx9Z0QxXiNf43o=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To;
 b=rA+XwmclV2HvF4yAoKL7GT0M5sTgmWD1UppSMjXkc2YVthOkitZN2WEert4KeDLaHuQKPySvRwbRcycdnb6j668oR5nuQxvT51bMBKv3gQ4dsX06nDBDeGVE+iHIsIXpxv3x11SJaPs1Hk7qVYFR17jI7aBNe84EoXMAQRX5C46gxejKj8NKvZb9bI4Ab1zc0/1QlM/XPy7yCKGIJt8szQl3XisW1bRchFzrBGLXzwwkMwdRYfoba+tu2xyR8Ier2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znku4XOD39Dy8EVFfmOa2dkqXtjHasj8N5W2HZHGCxD7wixLTqzivUeGg3prI
 PGQ--
X-Sonic-MF: <mardani29@HIDDEN>
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic314.consmr.mail.ir2.yahoo.com with HTTP; Mon, 8 Mar 2021 19:01:36 +0000
Received: by smtp414.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA
 ID 3069a573dd10c62eaaada951a7c6e907; 
 Mon, 08 Mar 2021 19:01:32 +0000 (UTC)
From: =?utf-8?Q?Daniel_Mart=C3=ADn?= <mardani29@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#46979: Allow setting Man-default-entry via Local Variables
References: <87tupnrhvv.8.fsf@HIDDEN> <83tupntrwb.fsf@HIDDEN>
 <87pn0b12f0.5.fsf@HIDDEN> <m1r1kpvqr0.fsf@HIDDEN>
 <87blbtoj16.5.fsf@HIDDEN> <83czw9somb.fsf@HIDDEN>
 <m1im61odcr.fsf@HIDDEN> <83y2exr4hk.fsf@HIDDEN>
Date: Mon, 08 Mar 2021 20:01:31 +0100
In-Reply-To: <83y2exr4hk.fsf@HIDDEN> (Eli Zaretskii's message of "Mon, 08 Mar
 2021 18:32:07 +0200")
Message-ID: <m1pn0979mc.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.17872
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
 Apache-HttpAsyncClient/4.1.4 (Java/11.0.9.1)
Content-Length: 507
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 46979
Cc: 46979 <at> debbugs.gnu.org, jidanni@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.8 (/)

Eli Zaretskii <eliz@HIDDEN> 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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46979; Package emacs. Full text available.

Message received at 46979 <at> debbugs.gnu.org:


Received: (at 46979) by debbugs.gnu.org; 8 Mar 2021 18:15:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 08 13:15:39 2021
Received: from localhost ([127.0.0.1]:44817 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lJKPq-0005EJ-Pg
	for submit <at> debbugs.gnu.org; Mon, 08 Mar 2021 13:15:38 -0500
Received: from eggs.gnu.org ([209.51.188.92]:44456)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1lJKPp-0005E6-31
 for 46979 <at> debbugs.gnu.org; Mon, 08 Mar 2021 13:15:37 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:53007)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1lJKPj-0000C1-NZ; Mon, 08 Mar 2021 13:15:31 -0500
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1949
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1lJKPi-0007li-PA; Mon, 08 Mar 2021 13:15:31 -0500
Date: Mon, 08 Mar 2021 20:15:24 +0200
Message-Id: <83o8ftqzpf.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
In-Reply-To: <87wnuhlgmf.5.fsf@HIDDEN> (message from =?utf-8?B?56mN?=
 =?utf-8?B?5Li55bC8?= Dan Jacobson
 on Tue, 09 Mar 2021 01:06:32 +0800)
Subject: Re: bug#46979: Allow setting Man-default-entry via Local Variables
References: <87tupnrhvv.8.fsf@HIDDEN> <83tupntrwb.fsf@HIDDEN>
 <87pn0b12f0.5.fsf@HIDDEN> <m1r1kpvqr0.fsf@HIDDEN>
 <87blbtoj16.5.fsf@HIDDEN> <83czw9somb.fsf@HIDDEN>
 <87zgzdn1kc.5.fsf@HIDDEN> <835z21smu3.fsf@HIDDEN>
 <87pn09myoo.5.fsf@HIDDEN> <83wnuhr4eu.fsf@HIDDEN>
 <87wnuhlgmf.5.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 46979
Cc: 46979 <at> debbugs.gnu.org, mardani29@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> From: 積丹尼 Dan Jacobson <jidanni@HIDDEN>
> Cc: mardani29@HIDDEN,  46979 <at> debbugs.gnu.org
> Date: Tue, 09 Mar 2021 01:06:32 +0800
> 
> >>>>> "EZ" == Eli Zaretskii <eliz@HIDDEN> writes:
> EZ> Who on earth needs to read the man page of crontab(5)?
> 
> How then, do you remember the order of the five numbers on each line?
> Is the first the minute, or the hour, etc.
> 
> Also crontab doesn't have an Info manual.
> 
> Anyway, if someone wrote the crontab(5) man page, that probably means it
> exists for a reason.
> 
> Same say for fstab(5).

OK, but why do you insist on doing this via file-local variables?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46979; Package emacs. Full text available.

Message received at 46979 <at> debbugs.gnu.org:


Received: (at 46979) by debbugs.gnu.org; 8 Mar 2021 17:06:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 08 12:06:49 2021
Received: from localhost ([127.0.0.1]:44633 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lJJLF-0001Jb-2x
	for submit <at> debbugs.gnu.org; Mon, 08 Mar 2021 12:06:49 -0500
Received: from cyan.elm.relay.mailchannels.net ([23.83.212.47]:36245)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jidanni@HIDDEN>) id 1lJJLC-0001JQ-EF
 for 46979 <at> debbugs.gnu.org; Mon, 08 Mar 2021 12:06:47 -0500
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id 8AAEF780E4B;
 Mon,  8 Mar 2021 17:06:44 +0000 (UTC)
Received: from pdx1-sub0-mail-a39.g.dreamhost.com
 (100-96-18-39.trex.outbound.svc.cluster.local [100.96.18.39])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id 297AA7813A0;
 Mon,  8 Mar 2021 17:06:41 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from pdx1-sub0-mail-a39.g.dreamhost.com (pop.dreamhost.com
 [64.90.62.162])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384)
 by 100.96.18.39 (trex/6.0.2); Mon, 08 Mar 2021 17:06:44 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Spot-Society: 54f0016654fe9b11_1615223203412_1644801517
X-MC-Loop-Signature: 1615223203412:2646248454
X-MC-Ingress-Time: 1615223203412
Received: from pdx1-sub0-mail-a39.g.dreamhost.com (localhost [127.0.0.1])
 by pdx1-sub0-mail-a39.g.dreamhost.com (Postfix) with ESMTP id 2B2C47E70F;
 Mon,  8 Mar 2021 09:06:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc
 :subject:references:date:message-id:mime-version:content-type;
 s=jidanni.org; bh=WWH/KuKha6XDOxnPl4rwEmvpqSE=; b=Q8X4N4IvqDFuU
 yI82B3AN/EiflrTQrMm78BVTN778DuZKBiLXSQJ4N0EgPGercX81ZbQQXMbO0Bxl
 9oHlXVNdHBLMLKffE9SAT35LagwFMZM8C0/fWrXpmyxpVXH/Cm+g8tEnTOErFjK3
 sCWmGpKzBbwm6T0PA62AHKT/4BnO68=
Received: from jidanni.org (220-140-8-250.dynamic-ip.hinet.net [220.140.8.250])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: jidanni@HIDDEN)
 by pdx1-sub0-mail-a39.g.dreamhost.com (Postfix) with ESMTPSA id 8570D7E5FD;
 Mon,  8 Mar 2021 09:06:37 -0800 (PST)
X-DH-BACKEND: pdx1-sub0-mail-a39
From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#46979: Allow setting Man-default-entry via Local Variables
References: <87tupnrhvv.8.fsf@HIDDEN> <83tupntrwb.fsf@HIDDEN>
 <87pn0b12f0.5.fsf@HIDDEN> <m1r1kpvqr0.fsf@HIDDEN>
 <87blbtoj16.5.fsf@HIDDEN> <83czw9somb.fsf@HIDDEN>
 <87zgzdn1kc.5.fsf@HIDDEN> <835z21smu3.fsf@HIDDEN>
 <87pn09myoo.5.fsf@HIDDEN> <83wnuhr4eu.fsf@HIDDEN>
Date: Tue, 09 Mar 2021 01:06:32 +0800
Message-ID: <87wnuhlgmf.5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 46979
Cc: 46979 <at> debbugs.gnu.org, mardani29@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> "EZ" == Eli Zaretskii <eliz@HIDDEN> writes:
EZ> Who on earth needs to read the man page of crontab(5)?

How then, do you remember the order of the five numbers on each line?
Is the first the minute, or the hour, etc.

Also crontab doesn't have an Info manual.

Anyway, if someone wrote the crontab(5) man page, that probably means it
exists for a reason.

Same say for fstab(5).




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46979; Package emacs. Full text available.

Message received at 46979 <at> debbugs.gnu.org:


Received: (at 46979) by debbugs.gnu.org; 8 Mar 2021 16:34:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 08 11:34:00 2021
Received: from localhost ([127.0.0.1]:44617 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lJIpU-0000Y9-0T
	for submit <at> debbugs.gnu.org; Mon, 08 Mar 2021 11:34:00 -0500
Received: from eggs.gnu.org ([209.51.188.92]:50138)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1lJIpS-0000Xw-F1
 for 46979 <at> debbugs.gnu.org; Mon, 08 Mar 2021 11:33:58 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:51215)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1lJIpN-0007HX-76; Mon, 08 Mar 2021 11:33:53 -0500
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3332
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1lJIpL-00014P-My; Mon, 08 Mar 2021 11:33:53 -0500
Date: Mon, 08 Mar 2021 18:33:45 +0200
Message-Id: <83wnuhr4eu.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
In-Reply-To: <87pn09myoo.5.fsf@HIDDEN> (message from =?utf-8?B?56mN?=
 =?utf-8?B?5Li55bC8?= Dan Jacobson
 on Mon, 08 Mar 2021 23:51:03 +0800)
Subject: Re: bug#46979: Allow setting Man-default-entry via Local Variables
References: <87tupnrhvv.8.fsf@HIDDEN> <83tupntrwb.fsf@HIDDEN>
 <87pn0b12f0.5.fsf@HIDDEN> <m1r1kpvqr0.fsf@HIDDEN>
 <87blbtoj16.5.fsf@HIDDEN> <83czw9somb.fsf@HIDDEN>
 <87zgzdn1kc.5.fsf@HIDDEN> <835z21smu3.fsf@HIDDEN>
 <87pn09myoo.5.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 46979
Cc: 46979 <at> debbugs.gnu.org, mardani29@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> From: 積丹尼 Dan Jacobson <jidanni@HIDDEN>
> Cc: mardani29@HIDDEN,  46979 <at> debbugs.gnu.org
> Date: Mon, 08 Mar 2021 23:51:03 +0800
> 
> E.g., we are editing our crontab file, and do M-x man
> we don't want to have to type in c r o n t a b ( 5 ) each time.

Who on earth needs to read the man page of crontab(5)?

Any other examples?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46979; Package emacs. Full text available.

Message received at 46979 <at> debbugs.gnu.org:


Received: (at 46979) by debbugs.gnu.org; 8 Mar 2021 16:32:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 08 11:32:19 2021
Received: from localhost ([127.0.0.1]:44610 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lJInr-0000Ve-BJ
	for submit <at> debbugs.gnu.org; Mon, 08 Mar 2021 11:32:19 -0500
Received: from eggs.gnu.org ([209.51.188.92]:49712)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1lJInq-0000VQ-8G
 for 46979 <at> debbugs.gnu.org; Mon, 08 Mar 2021 11:32:18 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:51182)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1lJInk-0006RX-RZ; Mon, 08 Mar 2021 11:32:12 -0500
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3233
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1lJInk-0006EZ-8j; Mon, 08 Mar 2021 11:32:12 -0500
Date: Mon, 08 Mar 2021 18:32:07 +0200
Message-Id: <83y2exr4hk.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Daniel =?utf-8?Q?Mart=C3=ADn?= <mardani29@HIDDEN>
In-Reply-To: <m1im61odcr.fsf@HIDDEN> (message from Daniel =?utf-8?Q?Mart?=
 =?utf-8?Q?=C3=ADn?= on Mon, 08 Mar 2021 16:48:52 +0100)
Subject: Re: bug#46979: Allow setting Man-default-entry via Local Variables
References: <87tupnrhvv.8.fsf@HIDDEN> <83tupntrwb.fsf@HIDDEN>
 <87pn0b12f0.5.fsf@HIDDEN> <m1r1kpvqr0.fsf@HIDDEN>
 <87blbtoj16.5.fsf@HIDDEN> <83czw9somb.fsf@HIDDEN>
 <m1im61odcr.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 46979
Cc: 46979 <at> debbugs.gnu.org, jidanni@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> From: Daniel Martín <mardani29@HIDDEN>
> Cc: 積丹尼 Dan Jacobson <jidanni@HIDDEN>,
>   46979 <at> debbugs.gnu.org
> Date: Mon, 08 Mar 2021 16:48:52 +0100
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> >
> > Our solution to this is "C-h S".  Did you try it?  You can extend its
> > database if the default lacks something you need.
> 
> C-h S only searches Info pages.  I think this feature request is more
> about improving the default that M-x man offers, to consider more things
> than just the text around point.

That'd be a tough sell to a GNU project, since the GNU project wants
to deprecate the man pages.  (And please don't use "Info pages" when
you are talking about Info manuals: those manuals are not just
collections of random unrelated "pages".)

And besides, which important packages don't have Info manuals?

> I can see its usefulness, as a lot of Unix tools provide special man
> pages for its configuration files.  Another potential use case is a user
> visiting a .gitconfig file, where M-x man could suggest "git-config(1)"
> by default.  Similarly for .gitattributes and "gitattributes(5)".

Git has an Info manual, even though many people don't know and don't
use it.

> As it's almost impossible to have all that knowledge in Emacs core, I
> see it as a new extensibilty point for users.  What are the downsides
> you see in the local variable approach?

The need to add local variables to files is in itself a downside.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46979; Package emacs. Full text available.

Message received at 46979 <at> debbugs.gnu.org:


Received: (at 46979) by debbugs.gnu.org; 8 Mar 2021 15:51:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 08 10:51:18 2021
Received: from localhost ([127.0.0.1]:44567 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lJIA6-0005mZ-RL
	for submit <at> debbugs.gnu.org; Mon, 08 Mar 2021 10:51:18 -0500
Received: from bee.birch.relay.mailchannels.net ([23.83.209.14]:43525)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jidanni@HIDDEN>) id 1lJIA5-0005mQ-GA
 for 46979 <at> debbugs.gnu.org; Mon, 08 Mar 2021 10:51:14 -0500
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id DC8DB32255A;
 Mon,  8 Mar 2021 15:51:11 +0000 (UTC)
Received: from pdx1-sub0-mail-a39.g.dreamhost.com
 (100-96-13-44.trex.outbound.svc.cluster.local [100.96.13.44])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id D2F23322277;
 Mon,  8 Mar 2021 15:51:10 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from pdx1-sub0-mail-a39.g.dreamhost.com (pop.dreamhost.com
 [64.90.62.162])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384)
 by 100.96.13.44 (trex/6.0.2); Mon, 08 Mar 2021 15:51:11 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Wipe-Invention: 741713c81c91e2dd_1615218671245_3864672774
X-MC-Loop-Signature: 1615218671244:941105720
X-MC-Ingress-Time: 1615218671244
Received: from pdx1-sub0-mail-a39.g.dreamhost.com (localhost [127.0.0.1])
 by pdx1-sub0-mail-a39.g.dreamhost.com (Postfix) with ESMTP id 3CB337E70F;
 Mon,  8 Mar 2021 07:51:09 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc
 :subject:references:date:message-id:mime-version:content-type;
 s=jidanni.org; bh=W0BUSQ98ofxoop8AP7oe6qeRuZA=; b=nGOPG5K5CZxeT
 SwmjPmezNAa2xoXCuiNh6x9tzDdS+1Rtzp56rAHhEybgD2CgA0AvIOuopRXssjAO
 UmNzcdHP9FSSBYPp8TZFRxfmir9z9SIkqvHzohUMAeJPbA4U3aYAykXQwhANH76U
 Lb4TNiq5Cftz6b39xWAXtoLV0diclA=
Received: from jidanni.org (220-140-8-250.dynamic-ip.hinet.net [220.140.8.250])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: jidanni@HIDDEN)
 by pdx1-sub0-mail-a39.g.dreamhost.com (Postfix) with ESMTPSA id 9B43F7E62F;
 Mon,  8 Mar 2021 07:51:08 -0800 (PST)
X-DH-BACKEND: pdx1-sub0-mail-a39
From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#46979: Allow setting Man-default-entry via Local Variables
References: <87tupnrhvv.8.fsf@HIDDEN> <83tupntrwb.fsf@HIDDEN>
 <87pn0b12f0.5.fsf@HIDDEN> <m1r1kpvqr0.fsf@HIDDEN>
 <87blbtoj16.5.fsf@HIDDEN> <83czw9somb.fsf@HIDDEN>
 <87zgzdn1kc.5.fsf@HIDDEN> <835z21smu3.fsf@HIDDEN>
Date: Mon, 08 Mar 2021 23:51:03 +0800
Message-ID: <87pn09myoo.5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 46979
Cc: 46979 <at> debbugs.gnu.org, mardani29@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> "EZ" == Eli Zaretskii <eliz@HIDDEN> writes:
>> 
>> C-h S, powerful as it may be, only seems to help with 5% of the points I
>> have made.

EZ> That's enough to close the bug report from my POV.  But why only 5?
EZ> what real problems does it not handle, pray-say?

95% needed before closing.

E.g., we are editing our crontab file, and do M-x man
we don't want to have to type in c r o n t a b ( 5 ) each time.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46979; Package emacs. Full text available.

Message received at 46979 <at> debbugs.gnu.org:


Received: (at 46979) by debbugs.gnu.org; 8 Mar 2021 15:49:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 08 10:49:05 2021
Received: from localhost ([127.0.0.1]:44563 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lJI81-0005jA-Dd
	for submit <at> debbugs.gnu.org; Mon, 08 Mar 2021 10:49:05 -0500
Received: from sonic306-20.consmr.mail.ir2.yahoo.com ([77.238.176.206]:46217)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mardani29@HIDDEN>) id 1lJI7z-0005ig-Rs
 for 46979 <at> debbugs.gnu.org; Mon, 08 Mar 2021 10:49:04 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048;
 t=1615218538; bh=Uq+sH8Y/TIZI4IXnRQrbJyBd5N0hb7Vw7RRGLfihqpY=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To;
 b=eUfBDAHGsQ0kzLhiBcYxmn/Ioa9L7dtTDZAvecaNtg+DKr0bwNr7JgK4WsF8fGInzV3diN42/iNjaXfqIJd6fXotOEhiYUOGbpQQiE0iGoKvOr4JBX/pwMLHFYsE8US7fyf2uvam7OIAjXQwMzaPiDvxiEyLpz/XyCJ9AawEraDEflbfThgBLkfj44eRtxZAE5/u1Ln/seFGdyI1rBbKh6Fxh+b5LtRispzUXtq4Lbnvo0EDxqID9xwnZLFbK8BLJPVKq0nmbmGceU05ZHULFR1696YCBDNDHgupeso+LBU9XOILmdDttKuDfh6Gp4krcRzya64dc5GrcAnjn5VEWQ==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1615218538; bh=bjntPjmC80M4JQTiFxFMkMrDT0BgFpZVsXdj7CvdV2c=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=aUFRlMGrlgQ4kIYT48H3fWwcReNGkwJmF/z9Q6EbjVPSkrny6KsSEiSEGGpJNKzosND6FWG18QxSKdHcQz37YUbJLxeJRRWGL17AAsGXPInxecZtM0Utg1g71unysCBd8pARR6lQOdYDhetzuWjroPmzQopIxGIgLdDq+C55VB9pnul1AzpnmhDIO3oTkEe+HhQj5ZCpoe2IKZRj5y7xsW4KSESBjMrWIPu21vFNyyNxPynNNZad4rp2p3dYP31HmUteOwtLBhrgGVl41bHrdOxg6o9RPW6kFY9EwmIj/TeDcrWLodKsy0n5NOBuQ8aUGmtLYjXEFU3LuE5+W1XpIw==
X-YMail-OSG: iVM5VqQVM1nCvLmWW1wUVdUhAVbk0dKce4RXNWgsS_O2xZ8MFIrI4yvVqy07O86
 0C4q54yw6namDBkEWFWF_jOJcaoJj51ocY7tmFsfc2OklLIqkZAiWfXvJWwLu.n3EsykLcun6c4J
 mqXzBDJBg4JUOOgc.WGphvdSxvyrjWN4smSrvxeEtHn7K2rneeX4E0mGqUHE8bonedxS.HedMKcC
 _kBIWK.hSrnfjiIb_.YPlOclGD6p264ekOmINiLJVzpbMUuVtfUEixvCFqrB3k8uwRSWU0hKzu7y
 PrOONh_aHTfxgv91cDdZavDYMaixPCrxKZlPuOVuG0EbNZmc2cDS9zZv8jCB1b5CbJCkmHEr4ICF
 j_aciPQJUTAIs0hClkLrM4lbtZVSo9XHYkp0P.HQPHnMjmv_tDIBCpYBIhaKhsCToBUZDBl7vvNF
 e6nJZLuGG9V5Zv32ZfgH1a1O0YDsmS51Eo5.o5BoJlbi91d41rf1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fN_6W61UPppZg1eRSnkl4Hy5c905Je5egd4gHGHz6ZUnWU6LYiky_rUjd9OQQwpn_QcOV5sXzV_k
 vcyDdnnlerTimLJioYeDzZiLoKdNOnn8-
X-Sonic-MF: <mardani29@HIDDEN>
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic306.consmr.mail.ir2.yahoo.com with HTTP; Mon, 8 Mar 2021 15:48:58 +0000
Received: by smtp408.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA
 ID 960095f8482aa69372776f2cbcf6df35; 
 Mon, 08 Mar 2021 15:48:53 +0000 (UTC)
From: =?utf-8?Q?Daniel_Mart=C3=ADn?= <mardani29@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#46979: Allow setting Man-default-entry via Local Variables
References: <87tupnrhvv.8.fsf@HIDDEN> <83tupntrwb.fsf@HIDDEN>
 <87pn0b12f0.5.fsf@HIDDEN> <m1r1kpvqr0.fsf@HIDDEN>
 <87blbtoj16.5.fsf@HIDDEN> <83czw9somb.fsf@HIDDEN>
Date: Mon, 08 Mar 2021 16:48:52 +0100
In-Reply-To: <83czw9somb.fsf@HIDDEN> (Eli Zaretskii's message of "Mon, 08 Mar
 2021 16:31:56 +0200")
Message-ID: <m1im61odcr.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.17872
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
 Apache-HttpAsyncClient/4.1.4 (Java/11.0.9.1)
Content-Length: 803
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 46979
Cc: 46979 <at> debbugs.gnu.org,
 =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.8 (/)

Eli Zaretskii <eliz@HIDDEN> writes:

>
> Our solution to this is "C-h S".  Did you try it?  You can extend its
> database if the default lacks something you need.

C-h S only searches Info pages.  I think this feature request is more
about improving the default that M-x man offers, to consider more things
than just the text around point.

I can see its usefulness, as a lot of Unix tools provide special man
pages for its configuration files.  Another potential use case is a user
visiting a .gitconfig file, where M-x man could suggest "git-config(1)"
by default.  Similarly for .gitattributes and "gitattributes(5)".

As it's almost impossible to have all that knowledge in Emacs core, I
see it as a new extensibilty point for users.  What are the downsides
you see in the local variable approach?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46979; Package emacs. Full text available.

Message received at 46979 <at> debbugs.gnu.org:


Received: (at 46979) by debbugs.gnu.org; 8 Mar 2021 15:10:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 08 10:10:42 2021
Received: from localhost ([127.0.0.1]:44528 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lJHWr-0004h3-Ur
	for submit <at> debbugs.gnu.org; Mon, 08 Mar 2021 10:10:42 -0500
Received: from eggs.gnu.org ([209.51.188.92]:57840)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1lJHWp-0004gn-Ur
 for 46979 <at> debbugs.gnu.org; Mon, 08 Mar 2021 10:10:40 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:49414)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1lJHWk-0002mp-7n; Mon, 08 Mar 2021 10:10:34 -0500
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2210
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1lJHWj-0008A9-G0; Mon, 08 Mar 2021 10:10:34 -0500
Date: Mon, 08 Mar 2021 17:10:28 +0200
Message-Id: <835z21smu3.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
In-Reply-To: <87zgzdn1kc.5.fsf@HIDDEN> (message from =?utf-8?B?56mN?=
 =?utf-8?B?5Li55bC8?= Dan Jacobson
 on Mon, 08 Mar 2021 22:48:51 +0800)
Subject: Re: bug#46979: Allow setting Man-default-entry via Local Variables
References: <87tupnrhvv.8.fsf@HIDDEN> <83tupntrwb.fsf@HIDDEN>
 <87pn0b12f0.5.fsf@HIDDEN> <m1r1kpvqr0.fsf@HIDDEN>
 <87blbtoj16.5.fsf@HIDDEN> <83czw9somb.fsf@HIDDEN>
 <87zgzdn1kc.5.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 46979
Cc: 46979 <at> debbugs.gnu.org, mardani29@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> From: 積丹尼 Dan Jacobson <jidanni@HIDDEN>
> Cc: mardani29@HIDDEN,  46979 <at> debbugs.gnu.org
> Date: Mon, 08 Mar 2021 22:48:51 +0800
> 
> C-h S, powerful as it may be, only seems to help with 5% of the points I
> have made.

That's enough to close the bug report from my POV.  But why only 5?
what real problems does it not handle, pray-say?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46979; Package emacs. Full text available.

Message received at 46979 <at> debbugs.gnu.org:


Received: (at 46979) by debbugs.gnu.org; 8 Mar 2021 14:49:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 08 09:49:10 2021
Received: from localhost ([127.0.0.1]:42498 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lJHC1-0003cX-UN
	for submit <at> debbugs.gnu.org; Mon, 08 Mar 2021 09:49:10 -0500
Received: from crocodile.elm.relay.mailchannels.net ([23.83.212.45]:20606)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jidanni@HIDDEN>) id 1lJHC0-0003cO-55
 for 46979 <at> debbugs.gnu.org; Mon, 08 Mar 2021 09:49:08 -0500
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id 0B103781453;
 Mon,  8 Mar 2021 14:48:57 +0000 (UTC)
Received: from pdx1-sub0-mail-a39.g.dreamhost.com
 (100-96-18-39.trex.outbound.svc.cluster.local [100.96.18.39])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id 7837D781C15;
 Mon,  8 Mar 2021 14:48:56 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from pdx1-sub0-mail-a39.g.dreamhost.com (pop.dreamhost.com
 [64.90.62.162])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384)
 by 100.96.18.39 (trex/6.0.2); Mon, 08 Mar 2021 14:48:56 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Shelf-Versed: 067f032a66591ac6_1615214936570_1035864134
X-MC-Loop-Signature: 1615214936570:2690870044
X-MC-Ingress-Time: 1615214936570
Received: from pdx1-sub0-mail-a39.g.dreamhost.com (localhost [127.0.0.1])
 by pdx1-sub0-mail-a39.g.dreamhost.com (Postfix) with ESMTP id 3FAF97F16D;
 Mon,  8 Mar 2021 06:48:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc
 :subject:references:date:message-id:mime-version:content-type;
 s=jidanni.org; bh=Olk5zhq/X7qp/EFmHO/JQDy2MBU=; b=bv14S80SlSFTX
 z3Hc446Fsa7FoTQP8N9Qgz7MGDkq5DIsgeceGLI4vk4ruRdVRJSy6H6UfsdPQcWt
 lpDcDsAb1aaFAgVXvDN+XT+M87Kxqcs1B+6iQKQ5QEx5KIIS2VojTD2LN6qcLeTH
 7X9H9GXX+JltiNnUEl/Uq51zzwHDJ8=
Received: from jidanni.org (220-140-8-250.dynamic-ip.hinet.net [220.140.8.250])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: jidanni@HIDDEN)
 by pdx1-sub0-mail-a39.g.dreamhost.com (Postfix) with ESMTPSA id AA00C7E3B8;
 Mon,  8 Mar 2021 06:48:55 -0800 (PST)
X-DH-BACKEND: pdx1-sub0-mail-a39
From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#46979: Allow setting Man-default-entry via Local Variables
References: <87tupnrhvv.8.fsf@HIDDEN> <83tupntrwb.fsf@HIDDEN>
 <87pn0b12f0.5.fsf@HIDDEN> <m1r1kpvqr0.fsf@HIDDEN>
 <87blbtoj16.5.fsf@HIDDEN> <83czw9somb.fsf@HIDDEN>
Date: Mon, 08 Mar 2021 22:48:51 +0800
Message-ID: <87zgzdn1kc.5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 46979
Cc: 46979 <at> debbugs.gnu.org, mardani29@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

C-h S, powerful as it may be, only seems to help with 5% of the points I
have made.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46979; Package emacs. Full text available.

Message received at 46979 <at> debbugs.gnu.org:


Received: (at 46979) by debbugs.gnu.org; 8 Mar 2021 14:32:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 08 09:32:14 2021
Received: from localhost ([127.0.0.1]:42484 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lJGvd-0003EU-T2
	for submit <at> debbugs.gnu.org; Mon, 08 Mar 2021 09:32:14 -0500
Received: from eggs.gnu.org ([209.51.188.92]:46860)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1lJGvc-0003EI-U6
 for 46979 <at> debbugs.gnu.org; Mon, 08 Mar 2021 09:32:13 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:48592)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1lJGvX-0001xu-Cs; Mon, 08 Mar 2021 09:32:07 -0500
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3829
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1lJGvU-00031p-U1; Mon, 08 Mar 2021 09:32:05 -0500
Date: Mon, 08 Mar 2021 16:31:56 +0200
Message-Id: <83czw9somb.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
In-Reply-To: <87blbtoj16.5.fsf@HIDDEN> (message from =?utf-8?B?56mN?=
 =?utf-8?B?5Li55bC8?= Dan Jacobson
 on Mon, 08 Mar 2021 21:46:13 +0800)
Subject: Re: bug#46979: Allow setting Man-default-entry via Local Variables
References: <87tupnrhvv.8.fsf@HIDDEN> <83tupntrwb.fsf@HIDDEN>
 <87pn0b12f0.5.fsf@HIDDEN> <m1r1kpvqr0.fsf@HIDDEN>
 <87blbtoj16.5.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 46979
Cc: 46979 <at> debbugs.gnu.org, mardani29@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> From: 積丹尼 Dan Jacobson <jidanni@HIDDEN>
> Cc: Eli Zaretskii <eliz@HIDDEN>,  46979 <at> debbugs.gnu.org
> Date: Mon, 08 Mar 2021 21:46:13 +0800
> 
> So yes, some alists might be possible. But still... there should be a
> way of letting the user use Local Variables per file...

Our solution to this is "C-h S".  Did you try it?  You can extend its
database if the default lacks something you need.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46979; Package emacs. Full text available.

Message received at 46979 <at> debbugs.gnu.org:


Received: (at 46979) by debbugs.gnu.org; 8 Mar 2021 13:46:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 08 08:46:27 2021
Received: from localhost ([127.0.0.1]:42401 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lJGDL-00025q-HA
	for submit <at> debbugs.gnu.org; Mon, 08 Mar 2021 08:46:27 -0500
Received: from aye.elm.relay.mailchannels.net ([23.83.212.6]:5022)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jidanni@HIDDEN>) id 1lJGDF-00025e-Vp
 for 46979 <at> debbugs.gnu.org; Mon, 08 Mar 2021 08:46:26 -0500
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id 8A6F3341D1C;
 Mon,  8 Mar 2021 13:46:20 +0000 (UTC)
Received: from pdx1-sub0-mail-a39.g.dreamhost.com
 (100-96-17-38.trex.outbound.svc.cluster.local [100.96.17.38])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id 1BE7C3420C4;
 Mon,  8 Mar 2021 13:46:20 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from pdx1-sub0-mail-a39.g.dreamhost.com (pop.dreamhost.com
 [64.90.62.162])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384)
 by 100.96.17.38 (trex/6.0.2); Mon, 08 Mar 2021 13:46:20 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Plucky-Plucky: 68683f43609fa637_1615211180345_271113077
X-MC-Loop-Signature: 1615211180345:185072199
X-MC-Ingress-Time: 1615211180345
Received: from pdx1-sub0-mail-a39.g.dreamhost.com (localhost [127.0.0.1])
 by pdx1-sub0-mail-a39.g.dreamhost.com (Postfix) with ESMTP id CB93F7F430;
 Mon,  8 Mar 2021 05:46:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc
 :subject:references:date:message-id:mime-version:content-type
 :content-transfer-encoding; s=jidanni.org; bh=jD3dIySBgvamZEYWxL
 KsLR4nCfY=; b=ChNLfBRy7dtl8stal1gewyknxbgxRVWHO9CsLRK0kRF87VygXe
 lXoVYCVlGr7EqdQoxyKOrnn7rk4XMu70mUusv5EmPB6CqWd9xfAhqGSzCoP/t/Hg
 lEasY3wKVxPs7ih8vTtP5M6ROMmLuWnb1jmNiO0dNTyLsMR3fkmpfuPuw=
Received: from jidanni.org (220-140-8-250.dynamic-ip.hinet.net [220.140.8.250])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: jidanni@HIDDEN)
 by pdx1-sub0-mail-a39.g.dreamhost.com (Postfix) with ESMTPSA id D6D5F7EE57;
 Mon,  8 Mar 2021 05:46:18 -0800 (PST)
X-DH-BACKEND: pdx1-sub0-mail-a39
From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
To: Daniel =?utf-8?Q?Mart=C3=ADn?= <mardani29@HIDDEN>
Subject: Re: bug#46979: Allow setting Man-default-entry via Local Variables
References: <87tupnrhvv.8.fsf@HIDDEN> <83tupntrwb.fsf@HIDDEN>
 <87pn0b12f0.5.fsf@HIDDEN> <m1r1kpvqr0.fsf@HIDDEN>
Date: Mon, 08 Mar 2021 21:46:13 +0800
Message-ID: <87blbtoj16.5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 46979
Cc: 46979 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Let's see, one would usually want "make" man and INFO pages when
browsing a makefile. (Ah, we see we want to make a hint about what INFO
page we want too!)

Nobody knows what man pages when browsing a .txt or .html file.

Too many pages when browsing a perl file. OK maybe e.g., Math::Trig if
that is the only "use" used.

Probably no especial page when browsing (oops, I mean editing. Same
above too) a .kml file.

So yes, some alists might be possible. But still... there should be a
way of letting the user use Local Variables per file...

My main use case example is getting


              # field          allowed values
              # -----          --------------
              # minute         0=E2=80=9359
              # hour           0=E2=80=9323
              # day of month   1=E2=80=9331
              # month          1=E2=80=9312 (or names, see below)
              # day of week    0=E2=80=937 (0 or 7 is Sun, or use names)

reminders that I put in out of my crontab files.

And

# man Mail::SpamAssassin::Conf
# man spamassassin-run

out of my spamassassin files... (which are meant for me to put the
cursor on and do M-x man.) (so we see here we want to put two items on a
list of man page defaults!)

>>>>> "DM" =3D=3D Daniel Mart=C3=ADn <mardani29@HIDDEN> writes:
DM> Do you have a more complete list of potential use cases...




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46979; Package emacs. Full text available.

Message received at 46979 <at> debbugs.gnu.org:


Received: (at 46979) by debbugs.gnu.org; 8 Mar 2021 11:17:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 08 06:17:54 2021
Received: from localhost ([127.0.0.1]:42265 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lJDta-0004VZ-KN
	for submit <at> debbugs.gnu.org; Mon, 08 Mar 2021 06:17:54 -0500
Received: from sonic303-20.consmr.mail.ir2.yahoo.com ([77.238.178.201]:44566)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mardani29@HIDDEN>) id 1lJDtV-0004VI-Uv
 for 46979 <at> debbugs.gnu.org; Mon, 08 Mar 2021 06:17:52 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048;
 t=1615202263; bh=Mgwd8qtU3yaCiWfLGVyOry6Q8L0xzsSEELy7KlpKNnY=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To;
 b=o7lvH9TyMaPfjjK4QL1IF4xpi2fgwPQIFWF9nXKEk0my2uy7JW9Nw4KJ700Pu2MxSGkr9fKsMJusFCWCnbmqM28jhMd6dqdEEDovcXDfsKLoS2aIYkaiJbK+x0w0UNpBLwkr70tV6KAk0wb5ud5fwLuCIXSPlF8Jt30hC3D/tyKZ5Rp0xr9k2Q6eykYvSgBnjowYkRLuP4+9DcyqOIhL3uFwETmY1nq91NENk99cdJuL8oTxOCDka+ppn9CN/wzroLwjojO/JdZag6C5NoCYzKV7wFwykyFUtHnW9ki/L4kga0Bi1yf2VCCh0aQFHDtdVcuRewp/+BzPJg6eJ9Sbmw==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1615202263; bh=4SbirUhN1NBv8XNEqWnY24DKM8N/pXhBUErLFQ5Ondm=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=tKmIJAB1xZTiZF6cpceJqAD4ByFWSLJNqupIy6KMCrvirSlI7/w35jhsZdz1kjamgXjM+QRauW4LQvJUbJhGMKnM3pvFEb4NCfWzyGwPqmpa1okdHhsVw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NcObyG.Z0ui5BlOPPcJuKDZ7axee2UPwFANIXs5rKLp.PE.QMCIUABBTJG.ZnTsPQPxyvAZq80MW
 OhXyki2vV86_SF7.rSaQmSuAxJVHa2BHFrS5qCVjgJ6uhdQrnmmdB2uXp5HR5ni49iKbkpa9UdCn
 hjjHG7HzqTutrCAch8lsD_kmimbVdP4eoWIcBp.7KxuomKr5x7gSgsnuQiiZL3yZehiydlbszNFk
 bsyrl11Yccjhk_6F5mguaeXwQWjRlyDYJDPXxOC_0alLa4baqd4uISb0y.EF22jLvoHK463mmv.s
 qRjfrgHzN94zuo_lYl_JuWmJklKVk1ThoIAs8XvBp4_ycjwEjgPN6QWkAbZSkgIT2ZsJZig1TXZa
 XPCnDu3DGpq1rQgBEoj4pQ73xbYUJrZGD_7WQkb2oZQLIX_uzzJKhZWF3Fi.gH_Gt3P.7GrphLik
 NBbxEEYm2Vs3ZJ7LzplUS7U6cYHHmI5rkbnIdz8lMy9KZ3vTAgN0QtPVqAmWJvlTLrOYJkjRxHi.
 kIU7617lhyanldjxJqiCVzh1kOt1zW9MgFS2Neh2_B3FdGBzN7UlVQEFwHuygPklAr5G995sZJ3h
 vStlpZu9v5mLdj_aF4ktu8dHdV1xCsXbF509n92pD1LHputSsfBEiQzdKJN.HRGFno3vDoys2HAn
 9lZAXGi_cPtLqN6o9OYGo.B0qEkVg2BtgdSI7BOuaWXVBYSRs0qdCNwFplQWnztwkrCvuWCpYtgG
 nWpzu_mzmKJ4-
X-Sonic-MF: <mardani29@HIDDEN>
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic303.consmr.mail.ir2.yahoo.com with HTTP; Mon, 8 Mar 2021 11:17:43 +0000
Received: by smtp404.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA
 ID f4e76eb1bb4d4cf28e3fea6ef76a619b; 
 Mon, 08 Mar 2021 11:17:40 +0000 (UTC)
From: =?utf-8?Q?Daniel_Mart=C3=ADn?= <mardani29@HIDDEN>
To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
Subject: Re: bug#46979: Allow setting Man-default-entry via Local Variables
References: <87tupnrhvv.8.fsf@HIDDEN> <83tupntrwb.fsf@HIDDEN>
 <87pn0b12f0.5.fsf@HIDDEN>
Date: Mon, 08 Mar 2021 12:17:39 +0100
In-Reply-To: <87pn0b12f0.5.fsf@HIDDEN> (=?utf-8?B?IuepjeS4ueWwvA==?=
 Dan Jacobson"'s message of "Sun, 07 Mar 2021 22:09:07 +0800")
Message-ID: <m1r1kpvqr0.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Mailer: WebService/1.1.17872
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
 Apache-HttpAsyncClient/4.1.4 (Java/11.0.9.1)
Content-Length: 972
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 46979
Cc: 46979 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.8 (/)

=E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson <jidanni@HIDDEN> writes:
>
> EZ> IMO, it would make much more sense to derive that from the current
> EZ> major-mode (in Man-default-man-entry).  Patches welcome.
>
> OK, sounds good. But sometimes e.g., crontab mode is not in emacs
> officially yet, so supplementing that should still be an option.

The major mode approach would work great for Bash configuration files,
for example, but, as you mention, it may not work so well for Cron files
or other .rc/.conf files that share Fundamental or Conf mode, in the
abscence of a more specific mode.  The local variable would require
users to add them to existing files, only for Emacs.

Do you have a more complete list of potential use cases, ie. common
program configuration files with corresponding man pages? I don't know
if there are plenty of them, and with that information we could think of
the best and simplest way to implement the feature, if it's worth it.
Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46979; Package emacs. Full text available.

Message received at 46979 <at> debbugs.gnu.org:


Received: (at 46979) by debbugs.gnu.org; 7 Mar 2021 14:09:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 07 09:09:19 2021
Received: from localhost ([127.0.0.1]:39016 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lIu5v-0006be-HU
	for submit <at> debbugs.gnu.org; Sun, 07 Mar 2021 09:09:19 -0500
Received: from butterfly.birch.relay.mailchannels.net ([23.83.209.27]:10729)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jidanni@HIDDEN>) id 1lIu5q-0006bT-Np
 for 46979 <at> debbugs.gnu.org; Sun, 07 Mar 2021 09:09:18 -0500
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id 6777D36233A;
 Sun,  7 Mar 2021 14:09:13 +0000 (UTC)
Received: from pdx1-sub0-mail-a15.g.dreamhost.com
 (100-96-17-38.trex.outbound.svc.cluster.local [100.96.17.38])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id 860463622D1;
 Sun,  7 Mar 2021 14:09:12 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from pdx1-sub0-mail-a15.g.dreamhost.com (pop.dreamhost.com
 [64.90.62.162])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384)
 by 100.96.17.38 (trex/6.0.2); Sun, 07 Mar 2021 14:09:13 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Society-Invention: 47c5aeb66b259a4d_1615126153131_686903402
X-MC-Loop-Signature: 1615126153131:1096530037
X-MC-Ingress-Time: 1615126153131
Received: from pdx1-sub0-mail-a15.g.dreamhost.com (localhost [127.0.0.1])
 by pdx1-sub0-mail-a15.g.dreamhost.com (Postfix) with ESMTP id 4EB4588B99;
 Sun,  7 Mar 2021 06:09:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc
 :subject:references:date:message-id:mime-version:content-type
 :content-transfer-encoding; s=jidanni.org; bh=Ogohta8sKpvQwXvE6Q
 uZEgk1GY8=; b=kMJ+14bLo4h27uMOJ0gwW2eyhfPL+LFoN3BtPTBIbLP1NMRs0B
 vfvNQOZYEmM58wCiJleYctWVSGNh2ajHRPVwt4aJOWyHl63FwontooOEKAptjQo7
 h1Mkff/tMEFIhgCVgBMeeltspJhmuUHwsrPkwanmmz1AWEHOc2D37KjbI=
Received: from jidanni.org (114-41-8-194.dynamic-ip.hinet.net [114.41.8.194])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256
 bits)) (No client certificate requested)
 (Authenticated sender: jidanni@HIDDEN)
 by pdx1-sub0-mail-a15.g.dreamhost.com (Postfix) with ESMTPSA id DF54D7F0F1;
 Sun,  7 Mar 2021 06:09:11 -0800 (PST)
X-DH-BACKEND: pdx1-sub0-mail-a15
From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#46979: Allow setting Man-default-entry via Local Variables
References: <87tupnrhvv.8.fsf@HIDDEN> <83tupntrwb.fsf@HIDDEN>
Date: Sun, 07 Mar 2021 22:09:07 +0800
Message-ID: <87pn0b12f0.5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 46979
Cc: 46979 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> "EZ" =3D=3D Eli Zaretskii <eliz@HIDDEN> writes:
>> From: =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson
>> <jidanni@HIDDEN>
>> Date: Sun, 07 Mar 2021 07:18:12 +0800
>>=20
>> Well wouldn't it be great if one could do e.g.,
>>=20
>> # Local Variables:
>> # Man-default-entry: "crontab(5)"
>> # End:
>>=20
>> in one's .crontab file...

EZ> IMO, it would make much more sense to derive that from the current
EZ> major-mode (in Man-default-man-entry).  Patches welcome.

OK, sounds good. But sometimes e.g., crontab mode is not in emacs
officially yet, so supplementing that should still be an option.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46979; Package emacs. Full text available.

Message received at 46979 <at> debbugs.gnu.org:


Received: (at 46979) by debbugs.gnu.org; 7 Mar 2021 06:11:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 07 01:11:34 2021
Received: from localhost ([127.0.0.1]:38772 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lImda-00012e-7X
	for submit <at> debbugs.gnu.org; Sun, 07 Mar 2021 01:11:34 -0500
Received: from eggs.gnu.org ([209.51.188.92]:37698)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1lImdY-00012O-Nd
 for 46979 <at> debbugs.gnu.org; Sun, 07 Mar 2021 01:11:33 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:53560)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1lImdT-0004go-AX; Sun, 07 Mar 2021 01:11:27 -0500
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3026
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1lImdR-0000ZF-S9; Sun, 07 Mar 2021 01:11:26 -0500
Date: Sun, 07 Mar 2021 08:11:16 +0200
Message-Id: <83tupntrwb.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
In-Reply-To: <87tupnrhvv.8.fsf@HIDDEN>
Subject: Re: bug#46979: Allow setting Man-default-entry via Local Variables
References: <87tupnrhvv.8.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 46979
Cc: 46979 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> From: 積丹尼 Dan Jacobson
>  <jidanni@HIDDEN>
> Date: Sun, 07 Mar 2021 07:18:12 +0800
> 
> Well wouldn't it be great if one could do e.g.,
> 
> # Local Variables:
> # Man-default-entry: "crontab(5)"
> # End:
> 
> in one's .crontab file.
> 
> Or a
> 
> # Local Variables:
> # Man-default-entry: "bash"
> # End:
> 
> that one could put in their .bashrc file.

IMO, it would make much more sense to derive that from the current
major-mode (in Man-default-man-entry).  Patches welcome.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46979; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 Mar 2021 00:26:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 06 19:26:53 2021
Received: from localhost ([127.0.0.1]:38578 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lIhG1-0007EZ-8T
	for submit <at> debbugs.gnu.org; Sat, 06 Mar 2021 19:26:53 -0500
Received: from lists.gnu.org ([209.51.188.17]:47492)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jidanni@HIDDEN>) id 1lIhFz-0007ER-6i
 for submit <at> debbugs.gnu.org; Sat, 06 Mar 2021 19:26:51 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:47914)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jidanni@HIDDEN>)
 id 1lIhFz-0001CZ-00
 for bug-gnu-emacs@HIDDEN; Sat, 06 Mar 2021 19:26:51 -0500
Received: from fossa.birch.relay.mailchannels.net ([23.83.209.62]:25387)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jidanni@HIDDEN>)
 id 1lIhFx-0005sV-0z
 for bug-gnu-emacs@HIDDEN; Sat, 06 Mar 2021 19:26:50 -0500
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id D0C7521E19
 for <bug-gnu-emacs@HIDDEN>; Sun,  7 Mar 2021 00:26:45 +0000 (UTC)
Received: from pdx1-sub0-mail-a11.g.dreamhost.com
 (100-96-10-164.trex.outbound.svc.cluster.local [100.96.10.164])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id 6ACC521CA4
 for <bug-gnu-emacs@HIDDEN>; Sun,  7 Mar 2021 00:26:45 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from pdx1-sub0-mail-a11.g.dreamhost.com (pop.dreamhost.com
 [64.90.62.162])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384)
 by 100.96.10.164 (trex/6.0.2); Sun, 07 Mar 2021 00:26:45 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Daffy-Power: 17eb8cb403dcc6fd_1615076805635_1961953854
X-MC-Loop-Signature: 1615076805635:4047726257
X-MC-Ingress-Time: 1615076805635
Received: from pdx1-sub0-mail-a11.g.dreamhost.com (localhost [127.0.0.1])
 by pdx1-sub0-mail-a11.g.dreamhost.com (Postfix) with ESMTP id 1078982E28
 for <bug-gnu-emacs@HIDDEN>; Sat,  6 Mar 2021 16:26:45 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to
 :subject:date:message-id:mime-version:content-type; s=
 jidanni.org; bh=rlyy1+btCqCM38WZq8O0uJjEMLo=; b=FfmjWX4rG4slprZO
 UDPgQ/9UaFT8LIp3Ed4uULqflHMRe5wrt5p9jKL+MLS2uqstPiKnbh95Nh8zYyHw
 YUdnzzs8bBmA2Gi7VYCFD6HOp4FC0fnNBOyCcBc2IwGB5H+z8MthSmvE97tPN38S
 8PjmJK/Q3oFLJw4K2l5Hf0aFmKo=
Received: from jidanni.org (114-41-37-222.dynamic-ip.hinet.net [114.41.37.222])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: jidanni@HIDDEN)
 by pdx1-sub0-mail-a11.g.dreamhost.com (Postfix) with ESMTPSA id CF3A782DC6
 for <bug-gnu-emacs@HIDDEN>; Sat,  6 Mar 2021 16:26:44 -0800 (PST)
X-DH-BACKEND: pdx1-sub0-mail-a11
From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: Allow setting Man-default-entry via Local Variables
Date: Sun, 07 Mar 2021 07:18:12 +0800
Message-ID: <87tupnrhvv.8.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=23.83.209.62; envelope-from=jidanni@HIDDEN;
 helo=fossa.birch.relay.mailchannels.net
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

M-x man says e.g.,
  Manual entry (default CAT(1)):

Well wouldn't it be great if one could do e.g.,

# Local Variables:
# Man-default-entry: "crontab(5)"
# End:

in one's .crontab file.

Or a

# Local Variables:
# Man-default-entry: "bash"
# End:

that one could put in their .bashrc file.




Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#46979; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 9 Mar 2021 17:30:02 UTC

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