From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Billon Subject: Re: Bug with footnote mode + org-mode ? Date: Mon, 31 May 2010 19:42:58 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0883330580==" Return-path: Received: from [140.186.70.92] (port=50575 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJ911-0004dt-4i for emacs-orgmode@gnu.org; Mon, 31 May 2010 13:43:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJ90w-00082p-HL for emacs-orgmode@gnu.org; Mon, 31 May 2010 13:43:07 -0400 Received: from mail-fx0-f41.google.com ([209.85.161.41]:43179) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJ90w-00082e-7N for emacs-orgmode@gnu.org; Mon, 31 May 2010 13:43:02 -0400 Received: by fxm20 with SMTP id 20so524130fxm.0 for ; Mon, 31 May 2010 10:43:00 -0700 (PDT) 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: emacs-orgmode@gnu.org --===============0883330580== Content-Type: multipart/alternative; boundary=00163649918b392e820487e763d8 --00163649918b392e820487e763d8 Content-Type: text/plain; charset=UTF-8 The problem disappears when I comment out those two lines (add-hook 'org-mode-hook 'footnote-mode) (setq footnote-prefix [[(control c) (f)]]) When I do not comment them out, I get the following backtraces : 1. When I create a new org file testest.org Debugger entered--Lisp error: (error "Key sequence contains invalid event") define-key((keymap) [[(control c) (f)]] (keymap (115 . Footnote-set-style) (114 . Footnote-renumber-footnotes) (103 . Footnote-goto-footnote) (100 . Footnote-delete-footnote) (99 . Footnote-cycle-style) (98 . Footnote-back-to-message) (97 . Footnote-add-footnote))) byte-code("\303 \304 \n#\210 )\207" [map footnote-prefix footnote-mode-map make-sparse-keymap define-key] 4) (defvar footnote-minor-mode-map (byte-code "\303 \304 \n#\210 )\207" [map footnote-prefix footnote-mode-map make-sparse-keymap define-key] 4) ("/Applications/Aquamacs.app/Contents/Resources/lisp/mail/footnote.elc" . 19879)) footnote-mode() run-hooks(text-mode-hook outline-mode-hook org-mode-hook) apply(run-hooks (text-mode-hook outline-mode-hook org-mode-hook)) run-mode-hooks(org-mode-hook) org-mode() set-auto-mode-0(org-mode nil) set-auto-mode() normal-mode(t) after-find-file(t t) find-file-noselect-1(# "~/Documents/Textes/org/ testestest.org" nil nil "~/Documents/Textes/org/testestest.org" nil) find-file-noselect("~/Documents/Textes/org/testestest.org" nil nil t) (let ((value ...)) (if tabbar-mode (if ... ... ...) (if ... ... ...))) aquamacs-find-file-2("~/Documents/Textes/org/testestest.org" t) call-interactively(aquamacs-find-file-2) (if filename (aquamacs-find-file-2 filename) (call-interactively (quote aquamacs-find-file-2))) (if (or (not one-buffer-one-frame) filename (< ... 2)) (if filename (aquamacs-find-file-2 filename) (call-interactively ...)) (new-empty-buffer nil (quote fundamental-mode)) (let (...) (unwind-protect ... ...))) aquamacs-find-file() call-interactively(aquamacs-find-file nil nil) recursive-edit() byte-code("\306 @\307=\203! 2. When I convert to html the fragment JJJ " Debugger entered--Lisp error: (error "Key sequence contains invalid event") define-key((keymap) [[(control c) (f)]] (keymap (115 . Footnote-set-style) (114 . Footnote-renumber-footnotes) (103 . Footnote-goto-footnote) (100 . Footnote-delete-footnote) (99 . Footnote-cycle-style) (98 . Footnote-back-to-message) (97 . Footnote-add-footnote))) byte-code("\303 \304 \n#\210 )\207" [map footnote-prefix footnote-mode-map make-sparse-keymap define-key] 4) (defvar footnote-minor-mode-map (byte-code "\303 \304 \n#\210 )\207" [map footnote-prefix footnote-mode-map make-sparse-keymap define-key] 4) ("/Applications/Aquamacs.app/ Contents/Resources/lisp/mail/footnote.elc" . 19879)) footnote-mode() run-hooks(text-mode-hook outline-mode-hook org-mode-hook) apply(run-hooks (text-mode-hook outline-mode-hook org-mode-hook)) run-mode-hooks(org-mode-hook) org-mode() org-export-preprocess-string(#("\nJJJJ\n" 0 1 (fontified t) 1 6 (fontified t)) :emph-multiline t :for-html t :skip-before-1st-heading nil :drawers nil :todo-keywords t :tags not-in-toc :priority nil :footnotes t :timestamps t :archived-trees headline :select-tags ("export") :exclude-tags ("noexport") :add-text nil :LaTeX-fragments nil) org-export-as-html(nil nil nil "*Org HTML Export*") org-export-as-html-to-buffer(nil) call-interactively(org-export-as-html-to-buffer) org-export(nil) call-interactively(org-export nil nil) 2010/5/30 Alexandre Billon > Dear list members, > I updated my org-mode files a month ago and since then, I get the following > error message > > "byte-code: Key sequence contains invalid event " > > when I > > 1. Try to export files to other formats (LaTex and html) > 2. Try to use org-remember > 3. create a new .org file > > This makes 1 and 2 unsuccessful. Can anyone help? > > I am currently using org-mode 6-36c on Mac-OS X either with Acquamacs 2 or > with Emacs 23.2. > > Best regards, > > Alexandre > > > > > --00163649918b392e820487e763d8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable The problem disappears when I comment out those two lines


(add-= hook 'org-mode-hook 'footnote-mode)



(setq footnote-p= refix [[(control c) (f)]])

When I do not comment them out, I get the= following backtraces :


1. When I create a new org file testest.org
Debugger entered--Lisp error: (error "= ;Key sequence contains invalid event")
=C2=A0 define-key((keymap) [= [(control c) (f)]] (keymap (115 . Footnote-set-style) (114 . Footnote-renum= ber-footnotes) (103 . Footnote-goto-footnote) (100 . Footnote-delete-footno= te) (99 . Footnote-cycle-style) (98 . Footnote-back-to-message) (97 . Footn= ote-add-footnote)))
=C2=A0 byte-code("\303 \304 =C2=A0=C2=A0 =C2=A0\n#\210 )\207" [m= ap footnote-prefix footnote-mode-map make-sparse-keymap define-key] 4)
= =C2=A0 (defvar footnote-minor-mode-map (byte-code "\303 \304 =C2=A0= =C2=A0 =C2=A0\n#\210 )\207" [map footnote-prefix footnote-mode-map mak= e-sparse-keymap define-key] 4) ("/Applications/Aquamacs.app/Contents/R= esources/lisp/mail/footnote.elc" . 19879))
=C2=A0 footnote-mode()
=C2=A0 run-hooks(text-mode-hook outline-mode-hook= org-mode-hook)
=C2=A0 apply(run-hooks (text-mode-hook outline-mode-hook= org-mode-hook))
=C2=A0 run-mode-hooks(org-mode-hook)
=C2=A0 org-mode= ()
=C2=A0 set-auto-mode-0(org-mode nil)
=C2=A0 set-auto-mode()
=C2=A0 normal-mode(t)
=C2=A0 after-find-file(t= t)
=C2=A0 find-file-noselect-1(#<buffer testestest.org> "~/Documents/Textes/org= /testestest.org&quo= t; nil nil "~/Documents/Textes/org/testestest.org" nil)
=C2=A0 find-file-noselect("~/Documents/Textes/org/testestest.org" nil nil t)
=C2= =A0 (let ((value ...)) (if tabbar-mode (if ... ... ...) (if ... ... ...)))<= br>=C2=A0 aquamacs-find-file-2("~/Documents/Textes/org/testestest.org" t)
=C2=A0 call-interactively(aquamacs-find-file-2)
=C2=A0 (if filename (aqu= amacs-find-file-2 filename) (call-interactively (quote aquamacs-find-file-2= )))
=C2=A0 (if (or (not one-buffer-one-frame) filename (< ... 2)) (if= filename (aquamacs-find-file-2 filename) (call-interactively ...)) (new-em= pty-buffer nil (quote fundamental-mode)) (let (...) (unwind-protect ... ...= )))
=C2=A0 aquamacs-find-file()
=C2=A0 call-interactively(aquamacs-find-file= nil nil)
=C2=A0 recursive-edit()
=C2=A0 byte-code("\306 =C2=A0= =C2=A0 =C2=A0@\307=3D\203!


2. When I convert to html the fragmen= t JJJ "
Debugger entered--Lisp error: (error "Key sequence con= tains invalid event")
=C2=A0 define-key((keymap) [[(control c) (f)]] (keymap (115 . Footnote-set-style) (114 . Footnote-renumber-footnotes) (103 . Footnote-goto-footnote) (100 . Footnote-delete-footnote) (99 . Footnote-cycle-style) (98 . Footnote-back-to-message) (97 . Footnote-add-footnote)))
=C2=A0 byte-code("\303 \304 =C2=A0=C2=A0=C2=A0 \n#\210 )\207" [m= ap footnote-prefix footnote-mode-map make-sparse-keymap define-key] 4)
= =C2=A0 (defvar footnote-minor-mode-map (byte-code "\303 \304 =C2=A0=C2=A0=C2= =A0 \n#\210 )\207" [map footnote-prefix footnote-mode-map make-sparse-keymap define-key] 4) ("/Applications/Aquamacs.app/
Contents/Resources/li= sp/mail/footnote.elc" . 19879))
=C2=A0 footnote-mode()
=C2=A0 run-hooks(text-mode-hook outline-mode-hook= org-mode-hook)
=C2=A0 apply(run-hooks (text-mode-hook outline-mode-hook= org-mode-hook))
=C2=A0 run-mode-hooks(org-mode-hook)
=C2=A0 org-mode= ()
=C2=A0 org-export-preprocess-string(#("\nJJJJ\n" 0 1 (fontified t) 1 6 (fontified t)) :emph-multiline t :for-html t :skip-before-1st-heading nil :drawers nil :todo-keywords t :tags not-in-toc :priority nil :footnotes t :timestamps t :archived-trees headline :select-tags ("export") :exclude-tags ("noexport&qu= ot;) :add-text nil :LaTeX-fragments nil)
=C2=A0 org-export-as-html(nil nil nil "*Org HTML Export*")
=C2= =A0 org-export-as-html-to-buffer(nil)
=C2=A0 call-interactively(org-expo= rt-as-html-to-buffer)
=C2=A0 org-export(nil)
=C2=A0 call-interactivel= y(org-export nil nil)








2010/5/30 Alexandre Bi= llon <abillon@gmail.com>
Dear list members,
I updated my org-mode files a month ago and since th= en, I get the following error message

"byte-code: Key sequence = contains invalid event "

=C2=A0when I

1. Try to export f= iles to other formats (LaTex and html)
2. Try to use org-remember
3. create a new .org file

This makes 1= and 2 unsuccessful. Can anyone help?

I am currently using org-mode= 6-36c on Mac-OS X either with Acquamacs 2 or with Emacs 23.2.=C2=A0
Best regards,

Alexandre





--00163649918b392e820487e763d8-- --===============0883330580== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0883330580==--