From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59507 Path: main.gmane.org!not-for-mail From: Romain Francoise Newsgroups: gmane.emacs.gnus.general Subject: Re: [PATCH] Hide headers using narrowing Date: Sun, 02 Jan 2005 19:45:43 +0100 Organization: orebokech dot com Message-ID: <87acrrbrfs.fsf@orebokech.com> References: <87brpalkm3.fsf@orebokech.com> <877jod7glv.fsf@orebokech.com> <87llcsreu5.fsf@orebokech.com> <87fz30r8ga.fsf@orebokech.com> <87y8gspo8g.fsf@orebokech.com> <87fz2ynjed.fsf@orebokech.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1104692152 18150 80.91.229.6 (2 Jan 2005 18:55:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 2 Jan 2005 18:55:52 +0000 (UTC) Original-X-From: ding-owner+M8047@lists.math.uh.edu Sun Jan 02 19:55:42 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ClAtB-0002We-00 for ; Sun, 02 Jan 2005 19:55:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1ClAjm-0003NX-00; Sun, 02 Jan 2005 12:45:58 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1ClAjh-0003NS-00 for ding@lists.math.uh.edu; Sun, 02 Jan 2005 12:45:53 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1ClAjb-0001vH-14 for ding@lists.math.uh.edu; Sun, 02 Jan 2005 12:45:47 -0600 Original-Received: from yeast.orebokech.com ([82.67.41.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ClAjV-00042X-00 for ; Sun, 02 Jan 2005 19:45:41 +0100 Original-Received: from pacem.orebokech.com (pacem.orebokech.com [192.168.1.3]) by yeast.orebokech.com (Postfix) with ESMTP id 1403512D08 for ; Sun, 2 Jan 2005 19:45:41 +0100 (CET) Original-Received: by pacem.orebokech.com (Postfix, from userid 1000) id 52DC2B2FD6; Sun, 2 Jan 2005 19:45:43 +0100 (CET) Original-To: ding@gnus.org Mail-Copies-To: nobody X-Face: "1+OIb}NK>vxR1ZMk[Jx!/]O|A-v/P&|%hFquLxp20W.'g4KNUD/IdAUSmd'5`f)Q9%"4]%{P`TF2dC4v1~G5D}S( In-Reply-To: <87fz2ynjed.fsf@orebokech.com> (Romain Francoise's message of "Thu, 25 Nov 2004 14:32:58 +0100") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: main.gmane.org gmane.emacs.gnus.general:59507 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59507 Romain Francoise writes: > Katsumi, I'll provide a patch for GNUS-NEWS and maybe for the manual > later to document this feature. Nobody seemed to object to this new feature, so let's update the docs: Index: GNUS-NEWS =================================================================== RCS file: /usr/local/cvsroot/gnus/GNUS-NEWS,v retrieving revision 7.25 diff -u -r7.25 GNUS-NEWS --- GNUS-NEWS 2 Jan 2005 02:21:08 -0000 7.25 +++ GNUS-NEWS 2 Jan 2005 18:44:21 -0000 @@ -42,8 +42,6 @@ ** You can now drag and drop attachments to the Message buffer. -** `/ r' limits the summary buffer to replied articles. - ** ANSI SGR control sequences can be transformed using `W A'. ANSI sequences are used in some Chinese hierarchies for highlighting @@ -81,8 +79,8 @@ ** Gnus now view DNS master files sent as text/dns using dns-mode. ** Gnus now support the "hashcash" client puzzle anti-spam idea. See -the Gnus manual, section Hashcash, for more information. Use (setq -message-generate-hashcash t) to enable. +the Gnus manual, section Hashcash, for more information. Use `(setq +message-generate-hashcash t)' to enable. ** Gnus supports new limiting commands in the Summary buffer: `/ r' (`gnus-summary-limit-to-replied') and `/ R' @@ -97,6 +95,9 @@ ** URLs inside OpenPGP: headers are retrieved and imported to your PGP key ring when you click on them. +** Gnus uses narrowing to hide headers in Message buffers. The +`References' header is hidden by default. To make all headers +visible, use `(setq message-hidden-headers nil)'. * For older news, see Gnus info node "New Features". Index: ChangeLog =================================================================== RCS file: /usr/local/cvsroot/gnus/ChangeLog,v retrieving revision 7.21 diff -u -r7.21 ChangeLog --- ChangeLog 26 Dec 2004 13:45:08 -0000 7.21 +++ ChangeLog 2 Jan 2005 18:44:22 -0000 @@ -1,3 +1,7 @@ +2005-01-02 Romain Francoise + + * GNUS-NEWS: Generated. + 2004-12-26 Katsumi Yamaoka * GNUS-NEWS: Generated. Index: texi/ChangeLog =================================================================== RCS file: /usr/local/cvsroot/gnus/texi/ChangeLog,v retrieving revision 7.115 diff -u -r7.115 ChangeLog --- texi/ChangeLog 2 Jan 2005 02:20:45 -0000 7.115 +++ texi/ChangeLog 2 Jan 2005 18:44:22 -0000 @@ -1,3 +1,12 @@ +2005-01-02 Romain Francoise + + * gnus-news.texi: Mention the new method used to hide headers. + Remove duplicate item about `/ r'. Add missing @code. + + * message.texi (Message Headers): Mention that headers are hidden + using narrowing, and how to expose them. + Update copyright. + 2005-01-02 Simon Josefsson * gnus-news.texi: Add. Index: texi/gnus-news.texi =================================================================== RCS file: /usr/local/cvsroot/gnus/texi/gnus-news.texi,v retrieving revision 7.20 diff -u -r7.20 gnus-news.texi --- texi/gnus-news.texi 2 Jan 2005 02:20:45 -0000 7.20 +++ texi/gnus-news.texi 2 Jan 2005 18:44:22 -0000 @@ -54,8 +54,6 @@ @item You can now drag and drop attachments to the Message buffer. -@item @kbd{/ r} limits the summary buffer to replied articles. - @item @acronym{ANSI} @acronym{SGR} control sequences can be transformed using @kbd{W A}. @@ -98,7 +96,7 @@ @item Gnus now support the ``hashcash'' client puzzle anti-spam idea. See the Gnus manual, section Hashcash, for more information. Use -(setq message-generate-hashcash t) to enable. +@code{(setq message-generate-hashcash t)} to enable. @item Gnus supports new limiting commands in the Summary buffer: @kbd{/ r} (@code{gnus-summary-limit-to-replied}) and @kbd{/ R} @@ -114,6 +112,9 @@ @item URLs inside OpenPGP: headers are retrieved and imported to your PGP key ring when you click on them. +@item Gnus uses narrowing to hide headers in Message buffers. +The @code{References} header is hidden by default. To make all +headers visible, use @code{(setq message-hidden-headers nil)}. @end itemize @c gnus-news.texi ends here. Index: texi/message.texi =================================================================== RCS file: /usr/local/cvsroot/gnus/texi/message.texi,v retrieving revision 7.13 diff -u -r7.13 message.texi --- texi/message.texi 8 Dec 2004 00:05:13 -0000 7.13 +++ texi/message.texi 2 Jan 2005 18:44:22 -0000 @@ -8,7 +8,7 @@ @copying This file documents Message, the Emacs message composition mode. -Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 +Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. @quotation @@ -1405,6 +1405,9 @@ (setq message-hidden-headers '(not "From" "Subject" "To" "Cc" "Newsgroups")) @end lisp + +Headers are hidden using narrowing, you can use @kbd{M-x widen} to +expose them in the buffer. @item message-header-synonyms @vindex message-header-synonyms -- Romain Francoise | Every sky is blue, but not it's a miracle -- http://orebokech.com/ | for me and you.