Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* making | include the headers
@ 2009-06-13 21:14 jidanni
  2009-06-18  2:09 ` jidanni
       [not found] ` <mailman.835.1245290994.2239.info-gnus-english@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: jidanni @ 2009-06-13 21:14 UTC (permalink / raw)
  To: info-gnus-english

Nowadays | doesn't include the headers.

We read:
The properties `:decode' and `:headers' that are put to the function
symbol `gnus-summary-save-in-pipe' control whether this function
decodes articles and what headers to keep (see the doc string for the
`gnus-default-article-saver' variable).

OK, I did read that. But I still don't understand what I need to setq in
.gnus.el to make | always include the headers.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: making | include the headers
  2009-06-13 21:14 making | include the headers jidanni
@ 2009-06-18  2:09 ` jidanni
       [not found] ` <mailman.835.1245290994.2239.info-gnus-english@gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: jidanni @ 2009-06-18  2:09 UTC (permalink / raw)
  To: info-gnus-english

>>>>> "j" == jidanni  <jidanni@jidanni.org> writes:
j> Nowadays | doesn't include the headers.

j> We read:
j> The properties `:decode' and `:headers' that are put to the function
j> symbol `gnus-summary-save-in-pipe' control whether this function
j> decodes articles and what headers to keep (see the doc string for the
j> `gnus-default-article-saver' variable).

j> OK, I did read that. But I still don't understand what I need to setq in
j> .gnus.el to make | always include the headers.

OK,
(add-hook
 'gnus-summary-mode-hook
 (function
  (lambda ()
    (put 'gnus-summary-save-in-pipe :headers nil))))
seems to work. Wish it was documented.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: making | include the headers
       [not found] ` <mailman.835.1245290994.2239.info-gnus-english@gnu.org>
@ 2009-07-07 20:52   ` Ted Zlatanov
  0 siblings, 0 replies; 4+ messages in thread
From: Ted Zlatanov @ 2009-07-07 20:52 UTC (permalink / raw)
  To: info-gnus-english

On Thu, 18 Jun 2009 10:09:43 +0800 jidanni@jidanni.org wrote: 

>>>>>> "j" == jidanni  <jidanni@jidanni.org> writes:
j> Nowadays | doesn't include the headers.

j> We read:
j> The properties `:decode' and `:headers' that are put to the function
j> symbol `gnus-summary-save-in-pipe' control whether this function
j> decodes articles and what headers to keep (see the doc string for the
j> `gnus-default-article-saver' variable).

j> OK, I did read that. But I still don't understand what I need to setq in
j> .gnus.el to make | always include the headers.

j> OK,
j> (add-hook
j>  'gnus-summary-mode-hook
j>  (function
j>   (lambda ()
j>     (put 'gnus-summary-save-in-pipe :headers nil))))
j> seems to work. Wish it was documented.

Maybe we should have gnus-summary-pipe-output-with-headers?  Seems
useful.

Ted

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: making | include the headers
       [not found] <87prd2b784.fsf@t22.Belkin>
@ 2009-06-18  2:44 ` jidanni
  0 siblings, 0 replies; 4+ messages in thread
From: jidanni @ 2009-06-18  2:44 UTC (permalink / raw)
  To: billyoc; +Cc: info-gnus-english

>>>>> "BO" == Bill O'Connor writes:
>> (add-hook
>> 'gnus-summary-mode-hook
>> (function
>> (lambda ()
>> (put 'gnus-summary-save-in-pipe :headers nil))))
>> seems to work. Wish it was documented.

BO> That is BAD ASS!

BO> How'd you figure that out?  :)

"Simple", I somehow ended up reading (info "(gnus) Symbolic Prefixes")
and recalling the apparent special use of the word "put" in
j> The properties `:decode' and `:headers' that are put to the function
seeming to exceed Norwegian accent, so putting 2 and 2 together, I came
up with the aforementioned solution, which in the absence of any
official examples, will have to do. It actually seems to work too.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-07-07 20:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-13 21:14 making | include the headers jidanni
2009-06-18  2:09 ` jidanni
     [not found] ` <mailman.835.1245290994.2239.info-gnus-english@gnu.org>
2009-07-07 20:52   ` Ted Zlatanov
     [not found] <87prd2b784.fsf@t22.Belkin>
2009-06-18  2:44 ` jidanni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).