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 19:57:11 +0100 Message-ID: <4D1E2787.3030501@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> <4D1DE740.5060000@swipnet.se> <838vz6apu6.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 1293821849 19049 80.91.229.12 (31 Dec 2010 18:57:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 31 Dec 2010 18:57:29 +0000 (UTC) Cc: cyd@stupidchicken.com, monnier@iro.umontreal.ca, 7517@debbugs.gnu.org, user.emacs@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 31 19:57:24 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 1PYkAG-0008Lh-6y for ged-emacs-devel@m.gmane.org; Fri, 31 Dec 2010 19:57:24 +0100 Original-Received: from localhost ([127.0.0.1]:50994 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PYkAF-0000R2-Qr for ged-emacs-devel@m.gmane.org; Fri, 31 Dec 2010 13:57:23 -0500 Original-Received: from [140.186.70.92] (port=47850 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PYkA9-0000QO-Jp for emacs-devel@gnu.org; Fri, 31 Dec 2010 13:57:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PYkA8-0001eT-EX for emacs-devel@gnu.org; Fri, 31 Dec 2010 13:57:17 -0500 Original-Received: from smtprelay-h21.telenor.se ([195.54.99.196]:54090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PYkA5-0001di-T5; Fri, 31 Dec 2010 13:57:14 -0500 Original-Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-h21.telenor.se (Postfix) with ESMTP id 95598E9193; Fri, 31 Dec 2010 19:57:12 +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: AiI3AEq2HU1V4S1kPGdsb2JhbACIPZwADAEBAQE1L75jhUoEjiGCdQ X-IronPort-AV: E=Sophos;i="4.60,255,1291590000"; d="scan'208";a="162992471" Original-Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb1.telenor.se with ESMTP; 31 Dec 2010 19:57:12 +0100 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 7F2B37FA05A; Fri, 31 Dec 2010 19:57:11 +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: <838vz6apu6.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:134091 Archived-At: Eli Zaretskii skrev 2010-12-31 17.07: >> Date: Fri, 31 Dec 2010 15:22:56 +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 >> >> (generate-new-buffer >> (format "edit of %s's note re: %s" >> (vm-su-full-name (car vm-message-pointe= r)) >> (vm-su-subject (car vm-message-pointer)= )))) > > So I guess VM holds the message in its undecoded (external) format? > If so, it should do this: > > (format "edit of %s's note re: %s" > (decode-coding-string > (vm-su-full-name (car vm-message-point= er)) > SOMETHING) > (decode-coding-string > (vm-su-subject (car vm-message-pointer= )) > SOMETHING)) > > Quite what to use for SOMETHING depends on whether VM knows the > encoding of the message. If it does, it should use that; otherwise > using `undecided' should DTRT in most cases. > But not in this case. The given string is not decoded right with undecid= ed.=20 detect-coding-string doesn't list iso-8859-8. I think choosing between=20 iso-8859-x is difficult. Still, VM should know the coding used. Jan D.