* Bug report : choke on clocktable mode with accents in headlines
@ 2010-11-30 11:45 Benjamin Drieu
2010-12-12 20:09 ` David Maus
0 siblings, 1 reply; 2+ messages in thread
From: Benjamin Drieu @ 2010-11-30 11:45 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 9711 bytes --]
Hey org-moders,
when going to clocktable mode in an agenda buffer, I get the following
error if one of the headlines contains an accent. If no headline
contain any accent, everything works as expected.
I am running org-mode 7.3 on GNU emacs 22.3.1.
Here is the backtrace:
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
replace-match(nil t t #("file:/home/benj/.org/work.org::Tasks%20Alc\x8f4ve" 0 31 nil 31 36 (fontified nil org-category "work" face org-level-1 :org-clock-minutes 296) 36 39 nil 39 43 (fontified nil org-category "work" face org-level-1 :org-clock-minutes 296) 43 45 (fontified nil org-category "work" face org-level-1 :org-clock-minutes 296)))
org-link-escape(#("file:/home/benj/.org/work.org::Tasks Alc\x8f4ve" 0 31 nil 31 36 (fontified nil org-category "work" face org-level-1 :org-clock-minutes 296) 36 37 nil 37 41 (fontified nil org-category "work" face org-level-1 :org-clock-minutes 296) 41 43 (fontified nil org-category "work" face org-level-1 :org-clock-minutes 296)))
org-make-link-string(#("file:/home/benj/.org/work.org::Tasks Alc\x8f4ve" 0 31 nil 31 36 (fontified nil org-category "work" face org-level-1 :org-clock-minutes 296) 36 37 nil 37 41 (fontified nil org-category "work" face org-level-1 :org-clock-minutes 296) 41 43 (fontified nil org-category "work" face org-level-1 :org-clock-minutes 296)) #("Tasks Alc\x8f4ve" 0 10 (:org-clock-minutes 296 face org-level-1 org-category "work" fontified nil) 10 12 (:org-clock-minutes 296 face org-level-1 org-category "work" fontified nil)))
byte-code("Æ\x18Ç \x19È\x1aÉ\vÊ\"\x1cÉ\vË\"\x1dÉ\vÌ\"\x1e@É\vÍ\"\x1eAÉ\vÎ\"%\0Ï\x1eBÉ\vÐ\"\x1eCÉ\vÑ\"\x1eDÉ\vÒ\"\x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\0\"\x16T;\x05ô¤\0\x0eT\"\x05ß\x16U\0øùÉ\v£\0\"\"±\x02q\0ÿ!\x0eLb¥\0Èw¦\0 \x0eU·\x05\x0eV\0=¯\x05§\0\x0eWȨ\0#©\0c)ª\0«\0!\x0e_Ä\x05ùu¬\0 \n.(" [hlchars ins total-time params scope tostring ((1 . "*") (2 . "/")) make-marker nil plist-get :scope :tostring :multifile :header :maxlevel 3 :step :emphasize :timestamp :tstart :tend :block :link :tags org-make-tags-matcher error "Clocktable `:step' can only be used with `:block' or `:tstart,:end'" org-clocktable-steps throw exit org-clock-special-range t 2 calendar-gregorian-from-absolute format "%4d-%02d-%02d" org-float-time apply encode-time org-parse-time-string eval agenda org-agenda-files agenda-with-archives org-add-archive-files file-with-archives buffer-file-name file subtree org-narrow-to-subtree ...] 14)
org-dblock-write:clocktable((:name "clocktable" :link t :maxlevel 2 :tstart 734105 :tend 734106 :scope file :indentation-column 0 :content "\n" :tostring t :multifile t))
byte-code("Æ\x18Ç \x19È\x1aÉ\vÊ\"\x1cÉ\vË\"\x1dÉ\vÌ\"\x1e@É\vÍ\"\x1eAÉ\vÎ\"%\0Ï\x1eBÉ\vÐ\"\x1eCÉ\vÑ\"\x1eDÉ\vÒ\"\x1eEÉ\vÓ\"\x1eFÉ\vÔ\"\x1eGÉ\vÕ\"\x1eHÉ\vÖ\"\x1eIÉ\v×\"\x1eJ
`\0Ø\x0eJ!A\x1eKÈ\x1eL\x1eMÈ\x1eN\x1eOÈ\x1eP\x1eQÈ\x1eR\x1eSÈ\x1eT\x1eUÈ\x1eV\x1eWÈ\x1eX\x1eYÈ\x1eZ\x1e[È\x1e\\\x1e]È\x1e^\x1e_È\x1e`\x1eaÈ\x16b\x0eCÈ\0\x0eH¿\0\x0eF»\0\x0eG¿\0ÙÚ!Û\v!ÜÝÈ\"\x0eHå\0Þ\x0eHÈß#\x16X@\x16F\x0eXA@\x16Gà\x0eX8\x16^\x0eF¨ñ\0á\x0eF!\x16F\x0eG¨ý\0á\x0eG!\x16G\x0eF\x18\x01\x0eF<\x18\x01âãà\x0eF8\x0eF@\x0eFA@$\x16F\x0eG3\x01\x0eG<3\x01âãà\x0eG8\x0eG@\x0eGA@$\x16G\x0eFC\x01äåæç\x0eF!\"!\x16F\x0eGS\x01äåæç\x0eG!\"!\x16G `È`\x16L`\x16[\ft\x01\f<t\x01\f@9t\x01è\f!\x14¡\x01\fé=\x01êß!\x14¡\x01\fë=\x01êß!\x14ì\f!\x14¡\x01\fí=¡\x01ìî C!\x14ß\x16_\f
§\x01\f<\x16`\fr\x02\fï=¹\x01~r\x02\fð=Å\x01ñ r\x02\fò=Ö\x01ó Ë\x01ñ r\x02\f9ø\x01ôõö\f!\"ø\x01÷øùö\f!\"!\x16OÝúñ r\x02\x0e`r\x02\f\x1ecé\x1cû\v!\x1edÈ\x1e/ü\x0edËß#\x16dü\x0edÌß#\x16dü\x0edÊï#\x16dý\x0ec!\x0ecA\x16c@\x16/q\x02rþ\x0e/!qÿ\x16bg\0\x0ed!\x16]m\x02h\0\x0e/i\0j\0\x0eb!k\0\x0e]R\"\x0e\\B\x16\\\ni\x02ÿ\x0eb\\\x12)'\x02,\x0e[b\x0e`Ü\x03l\0\x0eF\x0eG\x0eK
\x02m\0#ebß\x16ao°\x02\x0eaÈ\x16a°\x02n\0`o\0\"°\x02e\x16N¾\x02p\0`o\0\"\x16NÜ\x03\x0eNbn\0\x0eNo\0\"\x16M\x02q\0ù!r\0s\0!Ø\x03t\0ùùZ!\x16OØ\x03\x0eO\x0eBXØ\x03\x0eD\x0f\x03u\0\x0eO\b\"A\x12\x03v\0\x12\x03v\0\x16P\x0eI\x1f\x03øà!?\x03w\0âx\0î y\0 \x1eez\0{\0øà!!*#øà!\"\x16Q\x0eE
~\x03|\0`!\x16Su\0}\0\x0eS\"A~\x03u\0~\0\x0eS\"A~\x03u\0\x7f\0\x0eS\"A~\x03u\0\0\x0eS\"A\x16R\x0e@\x03\x0eOùU\x03\0\x0e\\B\x16\\\0\0\x0eO!\0\x0eE®\x03\x0eR\0P±\x03v\0\x0eP\x0eQ\x0eP
\0\0\x0eOS\0\"\x0ePj\0\x0eM!\x0eP
\0°\r\x0e\\B\x16\\)\x02\x0e\\\x16\\\rù\x03\x0e\\
Å\x05\0\0\x0e\\\0#Å\x05 b\0\x0eA/\x04\0\0\x0efA!ù\0O\0\x0eH'\x04\0\x0e^\0Q*\x04v\0\0°\x05\x0e`:\x04\0=\x04v\0\0\x0eEK\x04\0N\x04v\0\0%\nY\x04\x0eb\x12\0\0\x0e`k\x04\0n\x04v\0\x0eEy\x04\0|\x04\0\0j\0\n\x04ÿ!\0&\x06\0È\x0e\\\"\x16\\@;»\x04\x0e\\@GùV»\x04\x0e\\@ÿàO\0»\x04\x0e\\\x0e\\A\x16\\\0\0\0\0È\x0e\\\"\x0e`Ö\x04\0Ù\x04\0#!\0ù!É\v\0\"\x16VQ\x05\x0eV\0=4\x05\x0e`\0\x05ù\x01\x05ÿ\x0eB\\Ï\\\x16Wâ \0\x0eWà\x0e`\x18\x05ù\x19\x05ÿÏ\\\x0e`$\x05ù%\x05ÿÏ\\\x0eWS&\x06cß\x16U\x05\x0eV;H\x05¡\0\x0eV±\x02ß\x16U\x05Ù¢\0!\x05É\v£\0\"\x16T;\x05ô¤\0\x0eT\"\x05ß\x16U\0øùÉ\v£\0\"\"±\x02q\0ÿ!\x0eLb¥\0Èw¦\0 \x0eU·\x05\x0eV\0=¯\x05§\0\x0eWȨ\0#©\0c)ª\0«\0!\x0e_Ä\x05ùu¬\0 \n.(" [hlchars ins total-time params scope tostring ((1 . "*") (2 . "/")) make-marker nil plist-get :scope :tostring :multifile :header :maxlevel 3 :step :emphasize :timestamp :tstart :tend :block :link :tags org-make-tags-matcher error "Clocktable `:step' can only be used with `:block' or `:tstart,:end'" org-clocktable-steps throw exit org-clock-special-range t 2 calendar-gregorian-from-absolute format "%4d-%02d-%02d" org-float-time apply encode-time org-parse-time-string eval agenda org-agenda-files agenda-with-archives org-add-archive-files file-with-archives buffer-file-name file subtree org-narrow-to-subtree ...] 14)
org-dblock-write:clocktable((:name "clocktable" :link t :maxlevel 2 :tstart 734105 :tend 734106 :scope agenda :indentation-column 0 :content "\n"))
byte-code("`\x18Æ\x18\b\f\0\bbn\x14\0Ç\x15\0ÈÉÇ`\"\\*\x19Ê \x1aË\nÌ\"^[Ë\nÍ\"\x1cÎÏ\vP!\x1dÐÑ\v #\r\n!ÐÒ\v #\bb\f
}\0\fÈV
}\0Ó\fÔ\"\x14Õ ÇyÖ\x0e\x1c!i\0\fc×Ø!X\0Ö\x0e\x1c!
|\0ÖÙ!z\0ÚÛ!\fc).\x06" [pos line params name indent cmd nil 1 0 count-lines org-prepare-dblock plist-get :name :indentation-column intern "org-dblock-write:" message "Updating dynamic block `%s' at line %d..." "Updating dynamic block `%s' at line %d...done" make-string 32 org-beginning-of-dblock looking-at beginning-of-line 2 "[ ]+" replace-match "" org-dblock-end-re] 4)
org-update-dblock()
org-get-clocktable(:link t :maxlevel 2 :tstart 734105 :tend 734106 :scope agenda)
apply(org-get-clocktable (:link t :maxlevel 2 :tstart 734105 :tend 734106 :scope agenda))
org-agenda-list(nil nil 1)
eval((org-agenda-list (quote nil) nil 1))
(let nil (eval org-agenda-redo-command))
eval((let nil (eval org-agenda-redo-command)))
org-let(nil (eval org-agenda-redo-command))
org-agenda-redo()
org-agenda-later(-1)
org-agenda-earlier(1)
call-interactively(org-agenda-earlier)
recursive-edit()
byte-code("Æ\x10 @Ç=!\0ÈÉÊ\"ËÉ!\x1aA@)¢Ì=!\0ÈÍÊ\"Î\v!Ï Ð !\fc\0Ñed\"\rVW\0ebÒ\r¥y`\x1e^[dbÒ\r¥\rZy\x0e^[`|)ÓcebÔÕÖ \"× ÔØ!ÙÊ\x1e\x1c\x1e\x1dÔØ!Ú +Ù" [unread-command-char debugger-args x debugger-buffer noninteractive debugger-batch-max-lines -1 debug backtrace-debug 4 t backtrace-frame lambda 5 pop-to-buffer debugger-mode debugger-setup-buffer count-lines 2 "...\n" message "%s" buffer-string kill-emacs "" nil recursive-edit middlestart buffer-read-only standard-output] 4)
debug(error (error "Not allowed in nil-type agenda buffers"))
signal(error ("Not allowed in nil-type agenda buffers"))
error("Not allowed in %s-type agenda buffers" nil)
org-agenda-check-type(t agenda)
org-agenda-clockreport-mode()
call-interactively(org-agenda-clockreport-mode)
I haven't found a link to a bug report util on the website, hope this
list is the correct place to report bugs.
Cheers,
Benjamin
--
* Benjamin Drieu <bdrieu@april.org> - http://www.april.org/
* Soutenez le logiciel libre, rejoignez l'April
http://www.april.org/association/campagne-adhesion/
* La comptabilité personnelle libre pour tous - http://grisbi.org/
[-- Attachment #1.2: Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Bug report : choke on clocktable mode with accents in headlines
2010-11-30 11:45 Bug report : choke on clocktable mode with accents in headlines Benjamin Drieu
@ 2010-12-12 20:09 ` David Maus
0 siblings, 0 replies; 2+ messages in thread
From: David Maus @ 2010-12-12 20:09 UTC (permalink / raw)
To: Benjamin Drieu; +Cc: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 988 bytes --]
At Tue, 30 Nov 2010 12:45:57 +0100,
Benjamin Drieu wrote:
>
> [1 <multipart/signed (7bit)>]
> [1.1 <text/plain; utf-8 (quoted-printable)>]
>
> Hey org-moders,
>
> when going to clocktable mode in an agenda buffer, I get the following
> error if one of the headlines contains an accent. If no headline
> contain any accent, everything works as expected.
Thanks for the report. This is a know glitch with Org mode's link
escaping: It has a hardcoded list some non-ASCII characters to escape
and merely this list (C-h vorg-link-escape-chars) contains only a
small subset of non-ASCII characters. I am currently working on a
better implementation of Org's link escaping that will handle
non-ASCII characters properly w/o the necessity of specifying them in
a list.
I am looking forward to release a first patch during the following
week that should fix this particular problem.
Best,
-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de
[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-12 20:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-30 11:45 Bug report : choke on clocktable mode with accents in headlines Benjamin Drieu
2010-12-12 20:09 ` David Maus
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).