bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#7517: 24.0.50; repeated crash under Mac OS X


From: Jan Djärv
Subject: bug#7517: 24.0.50; repeated crash under Mac OS X
Date: Fri, 31 Dec 2010 15:22:56 +0100
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.13) Gecko/20101129 Thunderbird/3.1.7



Eli Zaretskii skrev 2010-12-31 14.19:
Date: Fri, 31 Dec 2010 14:10:45 +0100
From: Jan Djärv<jan.h.d@swipnet.se>
CC: user.emacs@gmail.com, 7517@debbugs.gnu.org, cyd@stupidchicken.com,
  monnier@iro.umontreal.ca, emacs-devel@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.





reply via email to

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