emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Problem when org-capturing text from French email


From: David Maus
Subject: Re: [Orgmode] Problem when org-capturing text from French email
Date: Fri, 16 Jul 2010 19:06:22 +0200
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

Sébastien Vauban wrote:
>Hello,

>Here a trace of the problem that occurs when I capture some text from an
>email, for archive purpose.

>--8<---------------cut here---------------start------------->8---
>Debugger entered--Lisp error: (args-out-of-range 35 42)
>  format("%.30s" #("Re: Gestionnaire de r\x00e9visions pour \x00e9\ diteur 
> LaTeX sous Windows" 20 29 (charset iso-8859-15) 35 42 (charset iso-8859-15)))
>  org-replace-escapes("Email from %f: %.30s" (("%c") ("%F" . #("Denis 
> Bitouz\x00e9 <address@hidden>" 6 13 ...)) ("%f" . "Denis Bitouz\x00e9") 
> ("%T") ("%t" . "?") ("%s" . #("Re: Gestionnaire de r\x00e9visions pour 
> \x00e9\ diteur LaTeX sous Windows" 20 29 ... 35 42 ...)) ("%m" . 
> "address@hidden")))
>  org-email-link-description()
>  org-gnus-store-link()
>  run-hook-with-args-until-success(org-gnus-store-link)
>  org-store-link(nil)
>  org-capture(nil)
>  call-interactively(org-capture nil nil)
>--8<---------------cut here---------------end--------------->8---

>I guess it's somehow related to the accents in the mail title?  Not sure I
>understand the details of the trace, but the capture works in many other
>cases, so the accents could be the differentiating factor (I don't have enough
>history, yet, to assert this).

Your message's user agent tells me, that you use Emacs 23.1 -- and
this looks like Emacs bug #5306[1].

The Attached patch avoids this bug by removing all text properties from
the subject (the same is done in org-wl.el).

HTH,
  -- David

[1] http://debbugs.gnu.org/cgi/bugreport.cgi?bug=
-- 
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... address@hidden
Email..... address@hidden

Attachment: 0001-Remove-text-properties-of-subject-to-avoid-Emacs-bug.patch
Description: Text document

Attachment: pgpPswOaz3sn0.pgp
Description: PGP signature


reply via email to

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