GNU bug report logs - #20211
24.4; sendmail.el

Previous Next

Package: emacs;

Reported by: Richard Ryniker <ryniker <at> alum.mit.edu>

Date: Fri, 27 Mar 2015 02:06:02 UTC

Severity: normal

Merged with 21388, 25040

Found in versions 24.4, 24.4.50, 24.5

Fixed in version 25.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Richard Ryniker <ryniker <at> alum.mit.edu>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 20211 <at> debbugs.gnu.org
Subject: bug#20211: 24.4; sendmail.el
Date: Sat, 28 Mar 2015 16:49:27 -0400
> We should be able to use the form (bufferp errbuf) once only

I concur.  Does the following look sensible to you?  Should we endeavor
to confirm good behavior when mail-interactive is true and the
sendmail program fails?

*** 1299,1308 ****
                    (error "Sending...failed to %s"
                           (buffer-substring (point-min) (point-max)))))))
        (kill-buffer tembuf)
!       (if (and (bufferp errbuf)
!                (not error))
!           (kill-buffer errbuf)
!         (switch-to-buffer-other-window errbuf)))))
  
  (autoload 'rmail-output-to-rmail-buffer "rmailout")
  
--- 1302,1310 ----
                    (error "Sending...failed to %s"
                           (buffer-substring (point-min) (point-max)))))))
        (kill-buffer tembuf)
!       (when (bufferp errbuf)
!         (if error (switch-to-buffer-other-window errbuf)
!           (kill-buffer errbuf))))))
  
  (autoload 'rmail-output-to-rmail-buffer "rmailout")




This bug report was last modified 8 years and 174 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.