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#64533: [PATCH] Support displaying function name in the header line Date: Sun, 09 Jul 2023 08:36:37 +0300 Message-ID: <83o7klbq8q.fsf@gnu.org> References: <83y1jqb7pt.fsf@gnu.org> <83wmzab6d5.fsf@gnu.org> <87fs5yi12n.fsf@igel.home> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13567"; mail-complaints-to="usenet@ciao.gmane.io" Cc: schwab@linux-m68k.org, 64533@debbugs.gnu.org To: Spencer Baugh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 09 07:37:29 2023 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 1qIN6u-0003J5-Jo for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 09 Jul 2023 07:37:28 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qIN6W-0003iN-4d; Sun, 09 Jul 2023 01:37:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qIN6U-0003i8-Od for bug-gnu-emacs@gnu.org; Sun, 09 Jul 2023 01:37:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qIN6U-0000J0-C4 for bug-gnu-emacs@gnu.org; Sun, 09 Jul 2023 01:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qIN6U-0005az-7c for bug-gnu-emacs@gnu.org; Sun, 09 Jul 2023 01:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Jul 2023 05:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64533 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 64533-submit@debbugs.gnu.org id=B64533.168888099921479 (code B ref 64533); Sun, 09 Jul 2023 05:37:02 +0000 Original-Received: (at 64533) by debbugs.gnu.org; 9 Jul 2023 05:36:39 +0000 Original-Received: from localhost ([127.0.0.1]:45567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qIN66-0005aN-JW for submit@debbugs.gnu.org; Sun, 09 Jul 2023 01:36:38 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qIN64-0005a1-7F for 64533@debbugs.gnu.org; Sun, 09 Jul 2023 01:36:36 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qIN5y-00005o-De; Sun, 09 Jul 2023 01:36:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=xJBaHbJT0BNywuTDlRwG1TLuKdLBWAJABzIpHvAmyfM=; b=M5WY5v0o/KM/ wNZ8tIgDdFuiPEGapc3TAm+O30rqO7D778swgoXeGcXH8EHR32ep3+jpYAqhSsqshzVCfUGYZqg0n 2Y9OcN1vFgIO+guzhT8S99QU6r/k2YFHSb6FiFMEfjBc43R6WBfcx9KV4TIGspZNmIwNj7oaiC4Md c03myIuwJBqpv9HkRr5Bk6eNnVah9BJpq9G7X9n4Dc/UAQo5sl6i8DcnmT5oly/cxCxjCUnCkem4d mA0WeOWWSNvUbX2N7t+rWM1MP8eHQYO906pXD/sBq6xiqI5pJKj8Cx7DNhTwTmR9J0iPEFxfR/jeK d3+jER4wiSTnQYU3Mn81IQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qIN5x-0006wO-T2; Sun, 09 Jul 2023 01:36:30 -0400 In-Reply-To: (message from Spencer Baugh on Sat, 08 Jul 2023 16:58:50 -0400) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:264808 Archived-At: > From: Spencer Baugh > Cc: Eli Zaretskii , 64533@debbugs.gnu.org > Date: Sat, 08 Jul 2023 16:58:50 -0400 > > +** Which Function Mode > + > ++++ > +*** Displaying the function name in the header line is now supported. Passive voice alert! Here's a better wording (also for reasons other than passive voice);; Which Function Mode can now display function names on the header line. > +(defcustom which-func-display '(mode) > + "Where to display the function name. > + > +This should be a list of symbols. If it contains 'mode, display > +in the mode line. If it contains 'header, display in the header > +line." Which leaves it to the user to deduce that '(mode header) means both: yet another reason not to prefer this kind of values in user options. It also doesn't tell how to disable this display: another riddle left to the user to solve. Let's always remember that Emacs users are not necessarily experienced Lispers. User options should not be "tricky", especially where such trickery is unjustified. And the doc strings should not pose riddles, however logical they seem to us. Thanks.