Gnus development mailing list
 help / color / mirror / Atom feed
* Patch for gnus-sieve.el
@ 2005-04-26 12:07 Arne Jørgensen
  0 siblings, 0 replies; only message in thread
From: Arne Jørgensen @ 2005-04-26 12:07 UTC (permalink / raw)


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

Hi,

I found a minor bug in gnus-sieve.el.

When it updates the Sieve script the marker indicating where Gnus'
autogenerated region starts is duplicated.

Patch attaced.

Kind regards,
-- 
Arne Jørgensen <http://arnested.dk/>


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Patch for lisp/gnus-sieve.el --]
[-- Type: text/x-patch, Size: 678 bytes --]

Index: lisp/gnus-sieve.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/gnus-sieve.el,v
retrieving revision 7.2
diff -u -p -r7.2 gnus-sieve.el
--- lisp/gnus-sieve.el	20 May 2004 08:02:39 -0000	7.2
+++ lisp/gnus-sieve.el	26 Apr 2005 11:55:09 -0000
@@ -106,7 +106,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] only message in thread

only message in thread, other threads:[~2005-04-26 12:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-26 12:07 Patch for gnus-sieve.el Arne Jørgensen

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