* Bugfix for gnus-sieve.el
@ 2006-04-06 20:32 Arne Jørgensen
2006-04-11 15:49 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Arne Jørgensen @ 2006-04-06 20:32 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 423 bytes --]
Hi,
I have a very small fix for gnus-sieve.el that prevents gnus-sieve
from duplicating the marker for the autogenerated region in the Sieve
script.
It's actually a quite old patch and although I don't use gnus-sieve.el
I've used the patch in my gnus-sieve.el-based gnus-prcml.el and I
consider it solid.
The patch applies to both the trunk and the v5-10 branch.
Kind regards,
--
Arne Jørgensen <http://arnested.dk/>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: gnus-sieve.patch --]
[-- Type: text/x-patch, Size: 676 bytes --]
Index: lisp/gnus-sieve.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/gnus-sieve.el,v
retrieving revision 7.6
diff -u -p -r7.6 gnus-sieve.el
--- lisp/gnus-sieve.el 8 Feb 2006 04:17:15 -0000 7.6
+++ lisp/gnus-sieve.el 6 Apr 2006 20:26:01 -0000
@@ -107,7 +107,7 @@ See the documentation for these variable
(find-file gnus-sieve-file)
(goto-char (point-min))
(if (re-search-forward (regexp-quote gnus-sieve-region-start) nil t)
- (delete-region (match-end 0)
+ (delete-region (match-beginning 0)
(or (re-search-forward (regexp-quote
gnus-sieve-region-end) nil t)
(point)))
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Bugfix for gnus-sieve.el
2006-04-06 20:32 Bugfix for gnus-sieve.el Arne Jørgensen
@ 2006-04-11 15:49 ` Lars Magne Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2006-04-11 15:49 UTC (permalink / raw)
Arne Jørgensen <arne@arnested.dk> writes:
> I have a very small fix for gnus-sieve.el that prevents gnus-sieve
> from duplicating the marker for the autogenerated region in the Sieve
> script.
Thanks for the patch; I've applied it to No Gnus v0.5 (i. e., CVS).
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-04-11 15:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-06 20:32 Bugfix for gnus-sieve.el Arne Jørgensen
2006-04-11 15:49 ` Lars Magne Ingebrigtsen
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).