[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to save source files in emacs.sources news group

From: Reiner Steib
Subject: Re: How to save source files in emacs.sources news group
Date: Tue, 20 May 2008 23:33:25 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2.50 (gnu/linux)

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  |

reply via email to

[Prev in Thread] Current Thread [Next in Thread]