[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Golubev I. N.
Thu, 27 Dec 2001 18:40:24 (GMT)
Newer versions of `sendmail.el' from emacs-21.1 or mail-lib-1.40
allows to specify sendmail program `-f' option argument using
`mail-envelope-from' user variable (why this variable is declared
boolean while it is a string?).
But setting buffer-local value of that variable in sendmail-mode
buffer will not affect message sending since it will not affect
sendmail program option list creation which occurs in a temporary
buffer (tembuf) with default values of all buffer-local variables.
An ideal solution would be copying *all* buffer-local variables from
sendmail-mode buffer to tembuf. Unless that is done, one has to
create temporary variable bindings like this.
--- sendmail.el 2001/12/23 15:17:24 188.8.131.52
+++ sendmail.el 2001/11/28 07:00:42
@@ -852,7 +852,8 @@
(program (if (boundp 'sendmail-program)
+ (mail-envelope-from mail-envelope-from))
- buffer-local mail-envelope-from,
Golubev I. N. <=