From: martin rudalics <rudalics@gmx.at>
To: David Golden <david.golden@oceanfree.net>
Cc: emacs-pretest-bug@gnu.org
Subject: Re: 23.0.60; rmail-redecode-body finishing with error "Invalid Search Bound"
Date: Thu, 17 Jan 2008 08:47:42 +0100 [thread overview]
Message-ID: <478F081E.60807@gmx.at> (raw)
In-Reply-To: <200801162134.42095.david.golden@oceanfree.net>
[-- Attachment #1: Type: text/plain, Size: 232 bytes --]
> Yes in this case, though presumably it's not ultimately quite the
> right place for the fix?
I'm not sure whether I fixed all possible places where this is set up.
Could you please try the attached patch and use it for a while?
[-- Attachment #2: rmail.patch --]
[-- Type: text/plain, Size: 2245 bytes --]
*** mail/rmail.el.~1.445.~ Sun Jan 13 19:12:48 2008
--- mail/rmail.el Thu Jan 17 08:43:00 2008
***************
*** 2634,2640 ****
;; the end of message N. (N = number of messages).
(search-backward "\n\^_")
(forward-char 1)
! (setq messages-head (list (point-marker)))
(rmail-set-message-counters-counter (point-min))
(setq rmail-current-message (1+ rmail-total-messages))
(setq rmail-total-messages
--- 2634,2640 ----
;; the end of message N. (N = number of messages).
(search-backward "\n\^_")
(forward-char 1)
! (setq messages-head (list (copy-marker (point) t)))
(rmail-set-message-counters-counter (point-min))
(setq rmail-current-message (1+ rmail-total-messages))
(setq rmail-total-messages
***************
*** 2675,2681 ****
;; the end of message N. (N = number of messages).
(search-backward "\n\^_" nil t)
(if (/= (point) (point-max)) (forward-char 1))
! (setq messages-head (list (point-marker)))
(rmail-set-message-counters-counter (min (point) point-save))
(setq messages-after-point total-messages)
(rmail-set-message-counters-counter)
--- 2675,2681 ----
;; the end of message N. (N = number of messages).
(search-backward "\n\^_" nil t)
(if (/= (point) (point-max)) (forward-char 1))
! (setq messages-head (list (copy-marker (point) t)))
(rmail-set-message-counters-counter (min (point) point-save))
(setq messages-after-point total-messages)
(rmail-set-message-counters-counter)
***************
*** 3775,3783 ****
forward-buffer)
(insert "------- Start of forwarded message -------\n")
;; Quote lines with `- ' if they start with `-'.
! (let ((beg (point)) end)
! (setq end (point-marker))
! (set-marker-insertion-type end t)
(insert-buffer-substring forward-buffer)
(goto-char beg)
(while (re-search-forward "^-" end t)
--- 3775,3782 ----
forward-buffer)
(insert "------- Start of forwarded message -------\n")
;; Quote lines with `- ' if they start with `-'.
! (let ((beg (point))
! (end (copy-marker (point) t)))
(insert-buffer-substring forward-buffer)
(goto-char beg)
(while (re-search-forward "^-" end t)
[-- Attachment #3: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
next prev parent reply other threads:[~2008-01-17 7:47 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-07 4:21 23.0.60; rmail-redecode-body finishing with error "Invalid Search Bound" David Golden
2008-01-10 4:09 ` Richard Stallman
2008-01-10 18:36 ` David Golden
2008-01-11 13:59 ` Richard Stallman
2008-01-12 16:05 ` Eli Zaretskii
2008-01-15 17:42 ` martin rudalics
2008-01-16 4:02 ` David Golden
2008-01-16 7:34 ` martin rudalics
2008-01-16 16:33 ` David Golden
2008-01-16 17:03 ` martin rudalics
2008-01-16 17:57 ` David Golden
2008-01-16 19:30 ` David Golden
2008-01-16 19:56 ` martin rudalics
2008-01-16 20:36 ` David Golden
2008-01-16 21:18 ` martin rudalics
2008-01-16 21:34 ` David Golden
2008-01-16 22:11 ` martin rudalics
2008-01-17 7:47 ` martin rudalics [this message]
2008-01-17 17:04 ` Stefan Monnier
2008-01-17 18:50 ` martin rudalics
2008-01-18 7:18 ` Kenichi Handa
2008-01-18 20:19 ` David Golden
2008-01-16 19:34 ` martin rudalics
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=478F081E.60807@gmx.at \
--to=rudalics@gmx.at \
--cc=david.golden@oceanfree.net \
--cc=emacs-pretest-bug@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).