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:29:28 +0300 Message-ID: <83r0phbqkn.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="19116"; 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:30:21 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 1qIN00-0004q0-JA for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 09 Jul 2023 07:30:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qIMzl-0002oU-0k; Sun, 09 Jul 2023 01:30:05 -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 1qIMzj-0002o7-NO for bug-gnu-emacs@gnu.org; Sun, 09 Jul 2023 01:30:03 -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 1qIMzj-0002zr-Eu for bug-gnu-emacs@gnu.org; Sun, 09 Jul 2023 01:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qIMzi-0005KK-0s for bug-gnu-emacs@gnu.org; Sun, 09 Jul 2023 01:30: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:30:01 +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.168888057220403 (code B ref 64533); Sun, 09 Jul 2023 05:30:01 +0000 Original-Received: (at 64533) by debbugs.gnu.org; 9 Jul 2023 05:29:32 +0000 Original-Received: from localhost ([127.0.0.1]:45547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qIMzE-0005Iz-G7 for submit@debbugs.gnu.org; Sun, 09 Jul 2023 01:29:32 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qIMzC-0005Ik-4x for 64533@debbugs.gnu.org; Sun, 09 Jul 2023 01:29:30 -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 1qIMz4-0002lE-Jv; Sun, 09 Jul 2023 01:29:22 -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=hKWLBgsGPtjvLK9fGRuDnyeoIIRgFTkWSPhKoXart5w=; b=aX5zt72IvhKN GaKS/WFYJKfbcXYyAFjr1V0UADhx2vRXZBcdNOq6Kwi2RyAUvcOIQGDFpXG70B/6gNeYoj+sXO6W9 jYryNsIcRtnxoiqEuen5aRDyBfHVkQv9/hc7hGd4MgmKM4l1iY5/v7x3q2PumvnkIw4/QBi15mFOr QgxyD++uzgKFk589xUI8UytEmvsVnARm88sphwU/ibjBNd9nZ/gVikB8/j1EsV1B9+MVoK3o0rNKp gYI8CG2lgtZSai8KyCep+wDbECogNrLCSi93AoUemJMb37a8szpRXbqTgRCVlu8rBdB62H396L6sk Wb/K61X0AhXF481EJ9PMSg==; 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 1qIMz3-00034u-TW; Sun, 09 Jul 2023 01:29:22 -0400 In-Reply-To: (message from Spencer Baugh on Sat, 08 Jul 2023 16:56:29 -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:264807 Archived-At: > From: Spencer Baugh > Cc: Eli Zaretskii , 64533@debbugs.gnu.org > Date: Sat, 08 Jul 2023 16:56:29 -0400 > > >> +@vindex which-func-display > >> + By default, Which Function mode displays the current function name > >> +using the mode line. Customize @code{which-func-display} to > >> +@code{header}, @code{mode}, or @code{both} to use the header line, > > > > Or a list of 'header and/or 'mode. > > Oh much better idea, done: I disagree that it is a better idea. It makes a tad harder to customize the variable in Lisp if the user is not familiar enough with Emacs Lisp. The Custom interface is also more cumbersome. So my clear preference is for the previous variant, with separate symbols. If 'both' is too vague, we could use 'mode-and-header' instead.