From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Ridolfi Subject: org 4.54 bug with remember? Date: Wed, 15 Nov 2006 10:47:59 +0100 Message-ID: <20061115094758.GA4677@fastwebnet.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GkHN5-0003ex-9T for emacs-orgmode@gnu.org; Wed, 15 Nov 2006 04:47:55 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GkHN2-0003dU-Ft for emacs-orgmode@gnu.org; Wed, 15 Nov 2006 04:47:54 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GkHN1-0003d7-Rp for emacs-orgmode@gnu.org; Wed, 15 Nov 2006 04:47:52 -0500 Received: from [85.18.95.74] (helo=aa014msr.fastwebnet.it) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GkHN1-0003bc-Qh for emacs-orgmode@gnu.org; Wed, 15 Nov 2006 04:47:52 -0500 Received: from localhost (37.254.28.138) by aa014msr.fastwebnet.it (7.3.105.6) id 452E07B3015FE516 for emacs-orgmode@gnu.org; Wed, 15 Nov 2006 10:47:49 +0100 Received: from giovanni by localhost with local (Exim 4.63) (envelope-from ) id 1GkHN9-0001ER-44 for emacs-orgmode@gnu.org; Wed, 15 Nov 2006 10:47:59 +0100 Content-Disposition: inline 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 I think I found a bug in org-version is "4.54" emacs-version is "22.0.90.1" remember-version is "1.9" When I try to write a note using remember I get this message in *Message* buffer: .............................................................. org-remember-handler: Wrong type argument: stringp, nil OVERVIEW run-hooks: Symbol's function definition is void: turn-font-lock ............................................................ This is my .emacs: -----------------------.emacs---------- (setq org-directory "~/Plans/") (setq org-default-notes-file "~/Plans/.notes") (setq remember-annotation-functions '(org-remember-annotation)) (setq remember-handler-functions '(org-remember-handler)) (add-hook 'remember-mode-hook 'org-remember-apply-template) (setq org-remember-templates '((?t "* TODO %?\n %i\n %a" "~/Plan/TO-be-done.org") (?j "* %U %?\n\n %i\n %a" "~/Plan/JOURNAL.org"))) --------------- The file in my ~/ is a symlink: .notes -> ~/Plans/.notes However if I comment the lines that sets the variable remember-handler-functions *and* the add-hook command everything works. If I uncomment the variable line then I can write the note, but I can't save it. When I press C-c C-c In the buffer I get File name [~/Plans/.notes]: ~/Plans/ if I press : I get the error: ............................................... OVERVIEW run-hooks: Symbol's function definition is void: turn-font-lock .............................................................. if I write ".notes": I get the error File name [~/Plans/.notes]: ~/Plans/.notes ............................................................. OVERVIEW run-hooks: Symbol's function definition is void: turn-font-lock ................................................................ If I comment only the line setting the remember-handler-functions and uncomment the hook line I can choose the template, write the note, but I can't save: .......................................... template: t j run-hooks: Symbol's function definition is void: turn-font-lock org-ctrl-c-ctrl-c: C-c C-c can do nothing useful at this location. run-hooks: Symbol's function definition is void: turn-font-lock ................................................... I hope I sumbitted enough information cheers, Giovanni -- Giovanni Ridolfi, Chemist