From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Info-use-header-line Date: Sat, 18 Oct 2008 15:08:34 -0400 Message-ID: References: <43E8C5E2-5B3B-409F-8455-3C0D1DDCFA7B@gmail.com> <87tzb9yhjo.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1224357266 21814 80.91.229.12 (18 Oct 2008 19:14:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Oct 2008 19:14:26 +0000 (UTC) Cc: David Reitter , Emacs-Devel devel To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 18 21:15:25 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KrHBN-0001ep-TE for ged-emacs-devel@m.gmane.org; Sat, 18 Oct 2008 21:09:50 +0200 Original-Received: from localhost ([127.0.0.1]:40072 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KrHAI-0008Et-QM for ged-emacs-devel@m.gmane.org; Sat, 18 Oct 2008 15:08:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KrHAD-0008DT-BG for emacs-devel@gnu.org; Sat, 18 Oct 2008 15:08:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KrHAC-0008Cv-6v for emacs-devel@gnu.org; Sat, 18 Oct 2008 15:08:36 -0400 Original-Received: from [199.232.76.173] (port=53543 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KrHAB-0008Cm-Rm for emacs-devel@gnu.org; Sat, 18 Oct 2008 15:08:35 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:38859) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KrHAB-0001Pe-JS for emacs-devel@gnu.org; Sat, 18 Oct 2008 15:08:35 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsQEAJbQ+UhMCpQ6/2dsb2JhbACBcr8gg2yBCQ X-IronPort-AV: E=Sophos;i="4.33,440,1220241600"; d="scan'208";a="28555508" Original-Received: from 76-10-148-58.dsl.teksavvy.com (HELO ceviche.home) ([76.10.148.58]) by ironport2-out.teksavvy.com with ESMTP; 18 Oct 2008 15:08:35 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id BD4E6B4111; Sat, 18 Oct 2008 15:08:34 -0400 (EDT) In-Reply-To: <87tzb9yhjo.fsf@jurta.org> (Juri Linkov's message of "Sat, 18 Oct 2008 19:45:47 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:104599 Archived-At: >> Header lines may be set by minor modes and not just the major mode being >> implemented. An example is tabbar. >> Is it a good idea to hide the header line if the user chooses to not >> display a header line in a mode? I think not. >> >> A really good solution would, by the way, show global and local header >> lines, but I think there's only one header line allowed at this point. > There is a special buffer-local mode tabbar-local-mode, but it requires > explicit enabling in every Info buffer. So I agree that a simpler > solution is to not overwrite the global value of the header line at all > when Info-use-header-line is nil as implemented in your patch. There's indeed a conflict between several possible uses of header-lines. I'm not sure what we should about it in general. In this specific case, leaving the header-line alone sounds like a good idea: it doesn't solve the problem, but allows the user to work around it. Stefan