GNU bug report logs -
#7517
24.0.50; repeated crash under Mac OS X
Previous Next
Reported by: emacs user <user.emacs <at> gmail.com>
Date: Mon, 29 Nov 2010 14:30:03 UTC
Severity: normal
Found in version 24.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Eli Zaretskii skrev 2010-12-31 14.19:
>> Date: Fri, 31 Dec 2010 14:10:45 +0100
>> From: Jan Djärv<jan.h.d <at> swipnet.se>
>> CC: user.emacs <at> gmail.com, 7517 <at> debbugs.gnu.org, cyd <at> stupidchicken.com,
>> monnier <at> iro.umontreal.ca, emacs-devel <at> gnu.org
>>
>>> Some bad interaction between VM and Emacs?
>>
>> That may be, but I was under the impression that Emacs internally should use
>> unicode, so why is it even allowed to set such a buffer name? Shouldn't Emacs
>> internals complain when given such strings, or convert them (if charset info
>> is available)?
>
> Probably, but more information is needed. Did you already find the
> place where this string is used to create a buffer? If so, can you
> show me that place, and explain what sequence of calls led to it?
>
The OP have to confirm, but it is in
(defun vm-edit-message (&optional prefix-argument)
"Edit the current message. Prefix arg means mark as unedited instead.
If editing, the current message is copied into a temporary buffer, and
this buffer is selected for editing. The major mode of this buffer is
controlled by the variable vm-edit-message-mode. The hooks specified
in vm-edit-message-hook are run just prior to returning control to the user
for editing.
Use C-c ESC when you have finished editing the message. The message
will be inserted into its folder replacing the old version of the
message. If you don't want your edited version of the message to
replace the original, use C-c C-] and the edit will be aborted."
...
(if (not (and edit-buf (buffer-name edit-buf)))
(progn
(vm-save-restriction
(widen)
(setq edit-buf
(generate-new-buffer
(format "edit of %s's note re: %s"
(vm-su-full-name (car vm-message-pointer))
(vm-su-subject (car vm-message-pointer)))))
Jan D.
This bug report was last modified 14 years and 143 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.