emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* 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Ï\x1e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x0edÊï#\x16dý\x0ec!ˆ\x0ec‰A\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\\\n†i\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\x0eNbˆn\0\x0eNo\0\"‰\x16Mƒ’\x02Šq\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\x0eEƒK\x04•\0‚N\x04v\0–\0%ˆ\n†Y\x04\x0eb\x12‹\0—\0\x0e`ƒk\x04„\0‚n\x04v\0\x0eEƒy\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\"‰\x16VƒQ\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\"\"±\x02ˆq\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 "\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\f!\"ƒø\x01÷øùö\f!\"!\x16OÝúˆñ ˆ‚r\x02\x0e`ƒr\x02\f\x1ecé\x1cû\v!\x1edÈ\x1e/ü\x0edËß#\x16dü\x0edÌß#\x16dü\x0edÊï#\x16dý\x0ec!ˆ\x0ec‰A\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\\\n†i\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\x0eNbˆn\0\x0eNo\0\"‰\x16Mƒ’\x02Šq\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\x0eEƒK\x04•\0‚N\x04v\0–\0%ˆ\n†Y\x04\x0eb\x12‹\0—\0\x0e`ƒk\x04„\0‚n\x04v\0\x0eEƒy\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\"‰\x16VƒQ\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\"\"±\x02ˆq\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\bbˆnƒ\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!ˆÏ ˆÐ	!ˆ\fƒc\0Ñed\"\rVƒW\0ebˆÒ\r¥yˆ`\x1e^[dbˆÒ\r¥\rZyˆ\x0e^[`|ˆ)ÓcˆebˆÔÕÖ \"ˆ× ˆÔØ!ˆÙÊ\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).