* rmail-resend and mailabbrev
@ 2002-03-22 11:26 Francesco Potorti`
2002-03-23 16:14 ` Richard Stallman
0 siblings, 1 reply; 2+ messages in thread
From: Francesco Potorti` @ 2002-03-22 11:26 UTC (permalink / raw)
I get an error when using rmail-resend. Applying the following patch
hides the error, but I do not know if something else should be done.
The problem is that rmail-resend tries to set the syntax table to
mail-abbrev-syntax-table, but this is nil.
--- rmail.el.~1.356.~ Wed Mar 20 11:18:40 2002
+++ rmail.el Fri Mar 22 12:24:40 2002
@@ -3348,7 +3348,8 @@ typically for purposes of moderating a l
(if (and (not (vectorp mail-abbrevs))
(file-exists-p mail-personal-alias-file))
(build-mail-abbrevs))
- (set-syntax-table mail-abbrev-syntax-table)
+ (when mail-abbrev-syntax-table
+ (set-syntax-table mail-abbrev-syntax-table))
(goto-char before)
(while (and (< (point) end)
(progn (forward-word 1)
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: rmail-resend and mailabbrev
2002-03-22 11:26 rmail-resend and mailabbrev Francesco Potorti`
@ 2002-03-23 16:14 ` Richard Stallman
0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2002-03-23 16:14 UTC (permalink / raw)
Cc: emacs-devel
Thanks for reporting the bug. The correct fix is
*** rmail.el.~1.356.~ Thu Mar 21 04:09:03 2002
--- rmail.el Fri Mar 22 22:21:53 2002
***************
*** 3348,3353 ****
--- 3348,3355 ----
(if (and (not (vectorp mail-abbrevs))
(file-exists-p mail-personal-alias-file))
(build-mail-abbrevs))
+ (unless mail-abbrev-syntax-table
+ (mail-abbrev-make-syntax-table))
(set-syntax-table mail-abbrev-syntax-table)
(goto-char before)
(while (and (< (point) end)
together with a change I will install in mailabbrev.el.
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-03-23 16:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-22 11:26 rmail-resend and mailabbrev Francesco Potorti`
2002-03-23 16:14 ` Richard Stallman
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).