[Top][All Lists]

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

[debbugs-tracker] bug#12214: closed (rmail-output-read-file-name Error i

From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#12214: closed (rmail-output-read-file-name Error in Summary (with Patch))
Date: Fri, 17 Aug 2012 20:49:02 +0000

Your message dated Fri, 17 Aug 2012 16:39:56 -0400
with message-id <address@hidden>
and subject line Re: bug#12214: rmail-output-read-file-name Error in Summary 
(with Patch)
has caused the debbugs.gnu.org bug report #12214,
regarding rmail-output-read-file-name Error in Summary (with Patch)
to be marked as done.

(If you believe you have received this mail in error, please contact

12214: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12214
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: rmail-output-read-file-name Error in Summary (with Patch) Date: Wed, 15 Aug 2012 16:20:03 -0600
Hello developers,

I'm happy to report a bug and a fix.

Description: When in an Rmail summary buffer,
rmail-output-read-file-name looks for matches in the summary buffer
rather than in the rmail buffer, and thus fails to find the proper
match. The patch below corrects this behavior.

ChangeLog entry: make rmail-output-read-file-name use rmail-buffer when
in summary

I was unable to download the most recent Emacs from bazaar, but I was
able to get the source from the Ubuntu archive, and I think it is
current in this regard. Because of this, I also had to make a slightly
different diff, but I think it will work. It's only a two-line change


diff -c -L rmailout.el -L \#\<buffer\ rmailout.el\> rmailout.el 
*** rmailout.el
--- #<buffer rmailout.el>
*** 59,64 ****
--- 59,65 ----
  (defun rmail-output-read-file-name ()
    "Read the file name to use for `rmail-output'.
  Set `rmail-default-file' to this name as well as returning it."
+   (with-current-buffer rmail-buffer
    (let ((default-file
          (let (answer tail)
            (setq tail rmail-output-file-alist)
*** 87,92 ****
--- 88,94 ----
               (or read-file (file-name-nondirectory default-file))
               (file-name-directory default-file)))))))
+ )
  (defun rmail-delete-unwanted-fields (preserve)
    "Delete all headers matching `rmail-fields-not-to-output'.

Diff finished.  Wed Aug 15 15:35:47 2012

All the best,
T.F. Torrey

--- End Message ---
--- Begin Message --- Subject: Re: bug#12214: rmail-output-read-file-name Error in Summary (with Patch) Date: Fri, 17 Aug 2012 16:39:56 -0400 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
Version: 24.3

Thanks for the report. I installed a slightly more complicated fix to
the Emacs trunk, currently expected to appear as Emacs 24.3 at some

--- End Message ---

reply via email to

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