Gnus development mailing list
 help / color / mirror / Atom feed
* how to make gnus-summary-pipe-output always give the raw article
@ 2011-12-07  3:39 jidanni
  2011-12-07  6:42 ` Katsumi Yamaoka
  0 siblings, 1 reply; 3+ messages in thread
From: jidanni @ 2011-12-07  3:39 UTC (permalink / raw)
  To: ding

(info "(gnus) Saving Articles") is too complicated.
All I want to do is make | get the same raw articles o does.
Yes | M-i r some_command works, but I want r to always be in force, without
having to type the M-i r each time.



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

* Re: how to make gnus-summary-pipe-output always give the raw article
  2011-12-07  3:39 how to make gnus-summary-pipe-output always give the raw article jidanni
@ 2011-12-07  6:42 ` Katsumi Yamaoka
  2011-12-09 10:22   ` jidanni
  0 siblings, 1 reply; 3+ messages in thread
From: Katsumi Yamaoka @ 2011-12-07  6:42 UTC (permalink / raw)
  To: ding

jidanni@jidanni.org wrote:
> (info "(gnus) Saving Articles") is too complicated.

Sorry.  But it is documented:

,----
|    The symbol of each function may have the following properties:
|
| `:decode'
|      The value non-`nil' means save decoded articles.  This is
|      meaningful only with `gnus-summary-save-in-file',
|      `gnus-summary-save-body-in-file', `gnus-summary-write-to-file',
|      `gnus-summary-write-body-to-file', and `gnus-summary-save-in-pipe'.
[...]
| `:headers'
|      The value specifies the symbol of a variable of which the value
|      specifies headers to be saved.  If it is omitted,
|      `gnus-save-all-headers' and `gnus-saved-headers' control what
|      headers should be saved.
`----

> All I want to do is make | get the same raw articles o does.
> Yes | M-i r some_command works, but I want r to always be in force, without
> having to type the M-i r each time.

This will probably be yours:

(eval-after-load "gnus-art"
  '(put 'gnus-summary-save-in-pipe :decode nil))

If you want all headers to save, make sure `gnus-save-all-headers'
is left to be the default (i.e. `t'), and use this:

(eval-after-load "gnus-art"
  '(progn
     (put 'gnus-summary-save-in-pipe :decode nil)
     (put 'gnus-summary-save-in-pipe :headers nil)))



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

* Re: how to make gnus-summary-pipe-output always give the raw article
  2011-12-07  6:42 ` Katsumi Yamaoka
@ 2011-12-09 10:22   ` jidanni
  0 siblings, 0 replies; 3+ messages in thread
From: jidanni @ 2011-12-09 10:22 UTC (permalink / raw)
  To: yamaoka; +Cc: ding

>>>>> "KY" == Katsumi Yamaoka <yamaoka@jpl.org> writes:
KY> (eval-after-load "gnus-art"
KY>   '(progn
KY>      (put 'gnus-summary-save-in-pipe :decode nil)
KY>      (put 'gnus-summary-save-in-pipe :headers nil)))
Works! Thanks.



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

end of thread, other threads:[~2011-12-09 10:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-07  3:39 how to make gnus-summary-pipe-output always give the raw article jidanni
2011-12-07  6:42 ` Katsumi Yamaoka
2011-12-09 10:22   ` 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).