From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Bug: Store link to Wanderlust message fails when subject contains encoded characters [6.33trans (release_6.33f.173.g8f17)] Date: Sun, 3 Jan 2010 14:40:58 +0100 Message-ID: <08FF3DED-488D-46F5-871E-BE3E273103D1@gmail.com> References: <87d41t1r7g.wl%maus.david@gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NRQhh-0005i2-HL for emacs-orgmode@gnu.org; Sun, 03 Jan 2010 08:41:09 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NRQhc-0005fN-Tq for emacs-orgmode@gnu.org; Sun, 03 Jan 2010 08:41:08 -0500 Received: from [199.232.76.173] (port=35469 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NRQhc-0005fD-H7 for emacs-orgmode@gnu.org; Sun, 03 Jan 2010 08:41:04 -0500 Received: from mail-ew0-f224.google.com ([209.85.219.224]:63052) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NRQhb-0005QP-RP for emacs-orgmode@gnu.org; Sun, 03 Jan 2010 08:41:04 -0500 Received: by ewy24 with SMTP id 24so17091725ewy.26 for ; Sun, 03 Jan 2010 05:41:01 -0800 (PST) In-Reply-To: <87d41t1r7g.wl%maus.david@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: David Maus Cc: emacs-orgmode@gnu.org Hi David, could you please provide a full backtrace for this bug? Thanks! - Carsten On Jan 1, 2010, at 9:54 PM, David Maus wrote: > > Remember to cover the basics, that is, what you expected to happen and > what in fact did happen. You don't know how to make a good report? =20= > See > > http://orgmode.org/manual/Feedback.html#Feedback > > Your bug report will be posted to the Org-mode mailing list. > = ------------------------------------------------------------------------ > > Storing a link to a Wanderlust message fails if the message's subject > field contains an encoded character. > > For instance a message with the subject header field: > > ,---- > | Subject: Eine Meldung und ihre Geschichte: =3D?UTF-8?B?RsO8cg=3D=3D?=3D= zwei > | Gutscheine an den Pranger > `---- > > Is returned by `wl-summary-line-subject' as a string with a text > property that indicates that the last part of the string was (as far > as I understood the elisp manual) converted to latin-iso8859-1 > > ,---- > | #("Eine Meldung und ihre Geschichte: F=FCr zwei Gutscheine an den =20= > Pranger" 35 68 (charset latin-iso8859-1)) > `---- > > Feeding this string to `org-email-link-description' causes > `org-replace-escapes' to throw an error when setting the replace > string rpl using format and concat > > *Messages* > ,---- > | setq: Args out of range: 30, 35 > `---- > > A solution that obviously works is removing the text properties from > the subject string before `org-email-link-description' is called. As > the text property only tells us that the last part of the string was > converted /to/ latin-iso-8859-1 this should cause no problems, should > it? > > Regards, > > -- David > > Emacs : GNU Emacs 23.1.90.1 (i486-pc-linux-gnu, GTK+ Version 2.18.5) > of 2009-12-17 on elegiac, modified by Debian > Package: Org-mode version 6.33trans (release_6.33f.173.g8f17) > > --=20 > OpenPGP... 0x99ADB83B5A4478E6 > Jabber.... dmjena@jabber.org > Email..... maus.david@gmail.com > ICQ....... 241051416 > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten