emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: David Maus <maus.david@gmail.com>
Cc: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <08FF3DED-488D-46F5-871E-BE3E273103D1@gmail.com> (raw)
In-Reply-To: <87d41t1r7g.wl%maus.david@gmail.com>

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?   
> 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: =?UTF-8?B?RsO8cg==?= 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ür zwei Gutscheine an den  
> 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)
>
> -- 
> 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

  reply	other threads:[~2010-01-03 13:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-01 20:54 Bug: Store link to Wanderlust message fails when subject contains encoded characters [6.33trans (release_6.33f.173.g8f17)] David Maus
2010-01-03 13:40 ` Carsten Dominik [this message]
2010-01-03 18:11   ` David Maus
2010-01-03 18:42     ` Carsten Dominik
2010-01-03 18:47       ` Carsten Dominik
2010-01-03 21:25         ` David Maus
2010-01-04  9:05           ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=08FF3DED-488D-46F5-871E-BE3E273103D1@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=maus.david@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).