Gnus development mailing list
 help / color / mirror / Atom feed
* Saving washed articles?
@ 2014-07-03 12:55 Matt Ford
  2014-07-03 17:03 ` Peter Münster
  0 siblings, 1 reply; 5+ messages in thread
From: Matt Ford @ 2014-07-03 12:55 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 120 bytes --]

Hi,

Is there anyway to wash an article, say `W H', and then save the washed
article to disk?

Cheers,
-- 
Matt

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 180 bytes --]

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

* Re: Saving washed articles?
  2014-07-03 12:55 Saving washed articles? Matt Ford
@ 2014-07-03 17:03 ` Peter Münster
  2014-07-03 17:38   ` Russ Allbery
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Münster @ 2014-07-03 17:03 UTC (permalink / raw)
  To: ding

On Thu, Jul 03 2014, Matt Ford wrote:

> Is there anyway to wash an article, say `W H', and then save the washed
> article to disk?

e (or M-x gnus-summary-edit-article)
M-x your-washing-function
C-c C-c

-- 
           Peter




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

* Re: Saving washed articles?
  2014-07-03 17:03 ` Peter Münster
@ 2014-07-03 17:38   ` Russ Allbery
  2014-07-03 19:12     ` Matt Ford
  2014-07-04  7:38     ` Alberto Luaces
  0 siblings, 2 replies; 5+ messages in thread
From: Russ Allbery @ 2014-07-03 17:38 UTC (permalink / raw)
  To: ding

Peter Münster <pmlists@free.fr> writes:
> On Thu, Jul 03 2014, Matt Ford wrote:

>> Is there anyway to wash an article, say `W H', and then save the washed
>> article to disk?

> e (or M-x gnus-summary-edit-article)
> M-x your-washing-function
> C-c C-c

This replaces the article in Gnus with the washed version.  If instead you
wanted to just save the text of the washed version to a separate file but
leave the original alone, you could wash the article as desired, and then
C-x o to switch to the article pane, C-x h to highlight the whole buffer,
and then M-x write-region to write it to a file.  (There's probably some
slightly more elegant way to do that, but that's what my finger memory
remembers.)

-- 
Russ Allbery (eagle@eyrie.org)              <http://www.eyrie.org/~eagle/>




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

* Re: Saving washed articles?
  2014-07-03 17:38   ` Russ Allbery
@ 2014-07-03 19:12     ` Matt Ford
  2014-07-04  7:38     ` Alberto Luaces
  1 sibling, 0 replies; 5+ messages in thread
From: Matt Ford @ 2014-07-03 19:12 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 174 bytes --]

Hi,

Thanks for both replies - it's the latter I wanted.  Pretty much what I
do - I just wondered if there was an "official" more elegant solution.

Cheers,
-- 
Matt

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 180 bytes --]

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

* Re: Saving washed articles?
  2014-07-03 17:38   ` Russ Allbery
  2014-07-03 19:12     ` Matt Ford
@ 2014-07-04  7:38     ` Alberto Luaces
  1 sibling, 0 replies; 5+ messages in thread
From: Alberto Luaces @ 2014-07-04  7:38 UTC (permalink / raw)
  To: ding

Russ Allbery writes:

> Peter Münster writes:
>> On Thu, Jul 03 2014, Matt Ford wrote:
>
>>> Is there anyway to wash an article, say `W H', and then save the washed
>>> article to disk?
>
>> e (or M-x gnus-summary-edit-article)
>> M-x your-washing-function
>> C-c C-c
>
> This replaces the article in Gnus with the washed version.  If instead you
> wanted to just save the text of the washed version to a separate file but
> leave the original alone, you could wash the article as desired, and then
> C-x o to switch to the article pane, C-x h to highlight the whole buffer,
> and then M-x write-region to write it to a file.  (There's probably some
> slightly more elegant way to do that, but that's what my finger memory
> remembers.)

You may try with 'o', gnus-summary-save-article.

-- 
Alberto




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

end of thread, other threads:[~2014-07-04  7:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-03 12:55 Saving washed articles? Matt Ford
2014-07-03 17:03 ` Peter Münster
2014-07-03 17:38   ` Russ Allbery
2014-07-03 19:12     ` Matt Ford
2014-07-04  7:38     ` Alberto Luaces

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).