From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: bug#7517: 24.0.50; repeated crash under Mac OS X Date: Fri, 31 Dec 2010 15:22:56 +0100 Message-ID: <4D1DE740.5060000@swipnet.se> References: <87tyic1uzh.fsf@stupidchicken.com> <87vd2dyzfj.fsf@stupidchicken.com> <4D1B22A1.6080202@swipnet.se> <4D1B27AF.7010701@swipnet.se> <4D1C6E7D.2040300@swipnet.se> <4D1D0172.8080404@swipnet.se> <4D1DB555.5080002@swipnet.se> <4D1DBD4A.6010303@swipnet.se> <83d3oiaysj.fsf@gnu.org> <4D1DD655.1040809@swipnet.se> <83aajmaxme.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1293805398 11746 80.91.229.12 (31 Dec 2010 14:23:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 31 Dec 2010 14:23:18 +0000 (UTC) Cc: cyd@stupidchicken.com, 7517@debbugs.gnu.org, emacs-devel@gnu.org, user.emacs@gmail.com, monnier@iro.umontreal.ca To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 31 15:23:10 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PYfss-0002fR-6w for ged-emacs-devel@m.gmane.org; Fri, 31 Dec 2010 15:23:10 +0100 Original-Received: from localhost ([127.0.0.1]:56595 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PYfsr-0005UU-Kn for ged-emacs-devel@m.gmane.org; Fri, 31 Dec 2010 09:23:09 -0500 Original-Received: from [140.186.70.92] (port=47902 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PYfsl-0005TZ-Fw for emacs-devel@gnu.org; Fri, 31 Dec 2010 09:23:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PYfsk-0003yQ-Eh for emacs-devel@gnu.org; Fri, 31 Dec 2010 09:23:03 -0500 Original-Received: from smtprelay-b12.telenor.se ([62.127.194.21]:34050) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PYfsi-0003xf-4C; Fri, 31 Dec 2010 09:23:00 -0500 Original-Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-b12.telenor.se (Postfix) with ESMTP id A9AB3E8EF0; Fri, 31 Dec 2010 15:22:58 +0100 (CET) X-SENDER-IP: [85.225.45.100] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmIxANd1HU1V4S1kPGdsb2JhbACIPJt/DAEBAQE1L757hECBCgSOIYJ1 X-IronPort-AV: E=Sophos;i="4.60,254,1291590000"; d="scan'208";a="161517927" Original-Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb2.telenor.se with ESMTP; 31 Dec 2010 15:22:58 +0100 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 534B27FA05A; Fri, 31 Dec 2010 15:22:57 +0100 (CET) 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 In-Reply-To: <83aajmaxme.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:134084 Archived-At: Eli Zaretskii skrev 2010-12-31 14.19: >> Date: Fri, 31 Dec 2010 14:10:45 +0100 >> From: Jan Dj=E4rv >> 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 shou= ld 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 charse= t 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 us= er 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.