From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.devel Subject: Info-use-header-line Date: Fri, 17 Oct 2008 22:50:15 -0400 Message-ID: <43E8C5E2-5B3B-409F-8455-3C0D1DDCFA7B@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1224298242 6189 80.91.229.12 (18 Oct 2008 02:50:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Oct 2008 02:50:42 +0000 (UTC) To: Emacs-Devel devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 18 04:51:43 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 1Kr1un-0000HX-18 for ged-emacs-devel@m.gmane.org; Sat, 18 Oct 2008 04:51:41 +0200 Original-Received: from localhost ([127.0.0.1]:60893 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kr1ti-0003VZ-5n for ged-emacs-devel@m.gmane.org; Fri, 17 Oct 2008 22:50:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kr1te-0003VT-Bg for emacs-devel@gnu.org; Fri, 17 Oct 2008 22:50:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kr1tc-0003VH-9S for emacs-devel@gnu.org; Fri, 17 Oct 2008 22:50:29 -0400 Original-Received: from [199.232.76.173] (port=60171 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kr1tc-0003VE-6B for emacs-devel@gnu.org; Fri, 17 Oct 2008 22:50:28 -0400 Original-Received: from yx-out-1718.google.com ([74.125.44.156]:9281) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kr1tb-000427-TP for emacs-devel@gnu.org; Fri, 17 Oct 2008 22:50:28 -0400 Original-Received: by yx-out-1718.google.com with SMTP id 34so174298yxf.66 for ; Fri, 17 Oct 2008 19:50:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-mailer; bh=XTJAv9M3RMz1kEeHL5ce+FpQGwoL9uVlxxDGjKoPzYU=; b=PWwUafAH+kJClQSOfuc7jzkS2UBsvJxFX8RBt317AFI+wblDBxY7yWoj/Fq7cf+M+8 e+uoOV6MN14rSXpflNhfRRazVRwOshI8/Po+NGw45wRyww9ZdGuEWC/uofKA+79hK/pq GiRQyERhXVTp1Srd6dLk0BF6AyHE1vr761R/o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=eBTpRnxb1e2U/Yye2ui6UcQqOH3HJx4561rqWU2gOTqnHV2yAKQLsoZdXYKvzEHNey BPzAQ9zuBaMIS28VSAhWSak/zEehh3/HiF48DeKTi9iUgzNzHGRf1XFsKoIeXujKJ/xg UQwYXw8WtLRNiStpN63Emxb9pSDN4PWWCyB6w= Original-Received: by 10.90.93.8 with SMTP id q8mr4173971agb.38.1224298225713; Fri, 17 Oct 2008 19:50:25 -0700 (PDT) Original-Received: from ?10.0.1.3? ([68.162.142.85]) by mx.google.com with ESMTPS id 7sm4476325aga.13.2008.10.17.19.50.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 17 Oct 2008 19:50:24 -0700 (PDT) X-Mailer: Apple Mail (2.929.2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:104582 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. *** info.el 06 Apr 2008 07:51:37 -0400 1.501.2.7 --- info.el 17 Oct 2008 22:46:43 -0400 *************** *** 3454,3463 **** (make-local-variable 'Info-history) (make-local-variable 'Info-history-forward) (make-local-variable 'Info-index-alternatives) ! (setq header-line-format ! (if Info-use-header-line ! '(:eval (get-text-property (point-min) 'header-line)) ! nil)) ; so the header line isn't displayed (set (make-local-variable 'tool-bar-map) info-tool-bar-map) ;; This is for the sake of the invisible text we use handling titles. (make-local-variable 'line-move-ignore-invisible) --- 3454,3462 ---- (make-local-variable 'Info-history) (make-local-variable 'Info-history-forward) (make-local-variable 'Info-index-alternatives) ! (if Info-use-header-line ; do not override global header lines ! (setq header-line-format ! '(:eval (get-text-property (point-min) 'header-line)))) (set (make-local-variable 'tool-bar-map) info-tool-bar-map) ;; This is for the sake of the invisible text we use handling titles. (make-local-variable 'line-move-ignore-invisible)