all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to save source files in emacs.sources news group
@ 2008-05-18 12:54 Seweryn Kokot
  0 siblings, 0 replies; 6+ messages in thread
From: Seweryn Kokot @ 2008-05-18 12:54 UTC (permalink / raw
  To: help-gnu-emacs

Hello,

On Emacs.sources news group, when I see an Emacs source code in the body of an
article, I copy the code, open an .el file, yank the code and save the
file. I think it must be an easier way to do this, but I don't know
where to find an information.

Any hints how to do it faster in gnus?

regards,
Seweryn Kokot





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

* Re: How to save source files in emacs.sources news group
       [not found] <mailman.11779.1211115051.18990.help-gnu-emacs@gnu.org>
@ 2008-05-18 15:27 ` Johan Bockgård
  2008-05-19  6:32   ` Seweryn Kokot
  2008-05-19 23:29   ` Evans Winner
  0 siblings, 2 replies; 6+ messages in thread
From: Johan Bockgård @ 2008-05-18 15:27 UTC (permalink / raw
  To: help-gnu-emacs

Seweryn Kokot <s.kokot@po.opole.pl> writes:

> On Emacs.sources news group, when I see an Emacs source code in the
> body of an article, I copy the code, open an .el file, yank the code
> and save the file. I think it must be an easier way to do this, but I
> don't know where to find an information.
>
> Any hints how to do it faster in gnus?

Try `K b' and `K o'.

-- 
Johan Bockgård


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

* Re: How to save source files in emacs.sources news group
  2008-05-18 15:27 ` How to save source files in emacs.sources news group Johan Bockgård
@ 2008-05-19  6:32   ` Seweryn Kokot
  2008-05-19 23:29   ` Evans Winner
  1 sibling, 0 replies; 6+ messages in thread
From: Seweryn Kokot @ 2008-05-19  6:32 UTC (permalink / raw
  To: help-gnu-emacs; +Cc: info-gnus-english

bojohan+news@dd.chalmers.se (Johan Bockgård) writes:

> Seweryn Kokot <s.kokot@po.opole.pl> writes:
>
>> On Emacs.sources news group, when I see an Emacs source code in the
>> body of an article, I copy the code, open an .el file, yank the code
>> and save the file. I think it must be an easier way to do this, but I
>> don't know where to find an information.
>>
>> Any hints how to do it faster in gnus?
>
> Try `K b' and `K o'.

Thanks. After some tweaking I ended up with 'K b' and 'h TAB o', since 
pressing 'K o' from summary buffer saves the body of the article. 

It would be even easier if in emacs.sources newsgroup all the mime parts
were buttonized. Is any variable responsible for that?





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

* Re: How to save source files in emacs.sources news group
  2008-05-18 15:27 ` How to save source files in emacs.sources news group Johan Bockgård
  2008-05-19  6:32   ` Seweryn Kokot
@ 2008-05-19 23:29   ` Evans Winner
  2008-05-19 23:56     ` David Hansen
  1 sibling, 1 reply; 6+ messages in thread
From: Evans Winner @ 2008-05-19 23:29 UTC (permalink / raw
  To: help-gnu-emacs

bojohan+news@dd.chalmers.se (Johan Bockgård) writes:

    Seweryn Kokot <s.kokot@po.opole.pl> writes:
 
>> On Emacs.sources news group, when I see an Emacs source code in the
>> body of an article, I copy the code, open an .el file, yank the code
>> and save the file. I think it must be an easier way to do this, but I
>> don't know where to find an information.
>>
>> Any hints how to do it faster in gnus?
 
    Try `K b' and `K o'.

Kind of apropos, I notice that people often include patches
in-line in emails, and I'm guessing there is some existing
way (in gnus) to apply a patch from right there, but I don't
know what it would be called....  Anything like that in
gnus?
** Posted from http://www.teranews.com **


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

* Re: How to save source files in emacs.sources news group
  2008-05-19 23:29   ` Evans Winner
@ 2008-05-19 23:56     ` David Hansen
  2008-05-20 21:33       ` Reiner Steib
  0 siblings, 1 reply; 6+ messages in thread
From: David Hansen @ 2008-05-19 23:56 UTC (permalink / raw
  To: help-gnu-emacs

On Mon, 19 May 2008 17:29:57 -0600 Evans Winner wrote:

> Kind of apropos, I notice that people often include patches
> in-line in emails, and I'm guessing there is some existing
> way (in gnus) to apply a patch from right there, but I don't
> know what it would be called....  Anything like that in
> gnus?

Just M-x diff-mode should do it.  diff-mode is pretty good with ignoring
junk.

David





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

* Re: How to save source files in emacs.sources news group
  2008-05-19 23:56     ` David Hansen
@ 2008-05-20 21:33       ` Reiner Steib
  0 siblings, 0 replies; 6+ messages in thread
From: Reiner Steib @ 2008-05-20 21:33 UTC (permalink / raw
  To: help-gnu-emacs

On Tue, May 20 2008, David Hansen wrote:

> On Mon, 19 May 2008 17:29:57 -0600 Evans Winner wrote:
>
>> Kind of apropos, I notice that people often include patches
>> in-line in emails, and I'm guessing there is some existing
>> way (in gnus) to apply a patch from right there, but I don't
>> know what it would be called....  Anything like that in
>> gnus?

For nice highlight:

,----[ (info "(emacs-mime)Non-MIME") ]
| 1.2 Non-MIME
| ============
| 
| Gnus also understands some non-MIME attachments, such as postscript,
| uuencode, binhex, yenc, shar, forward, gnatsweb, pgp, diff.  Each of
| these features can be disabled by add an item into
| `mm-uu-configure-list'.  [...]
| 
| `emacs-sources'
|      Emacs source code.  This item works only in the groups matching
|      `mm-uu-emacs-sources-regexp'.
| 
| `diff'
|      Patches.  This is intended for groups where diffs of committed
|      files are automatically sent to.  It only works in groups matching
|      `mm-uu-diff-groups-regexp'.
`----

,----[ <f1> v mm-uu-diff-groups-regexp RET ]
| mm-uu-diff-groups-regexp is a variable defined in `mm-uu.el'.
| Its value is 
| "gmane\\..*\\(diff\\|commit\\|cvs\\|bug\\|devel\\)"
| 
| Documentation:
| Regexp matching diff groups.
| 
| You can customize this variable.
`----

> Just M-x diff-mode should do it.  diff-mode is pretty good with ignoring
> junk.

Or you can use `| patch' to apply it directly.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/


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

end of thread, other threads:[~2008-05-20 21:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.11779.1211115051.18990.help-gnu-emacs@gnu.org>
2008-05-18 15:27 ` How to save source files in emacs.sources news group Johan Bockgård
2008-05-19  6:32   ` Seweryn Kokot
2008-05-19 23:29   ` Evans Winner
2008-05-19 23:56     ` David Hansen
2008-05-20 21:33       ` Reiner Steib
2008-05-18 12:54 Seweryn Kokot

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.