emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Giovanni Ridolfi <gio.rido@tiscali.it>
To: emacs-orgmode@gnu.org
Subject: org 4.54 bug with remember?
Date: Wed, 15 Nov 2006 10:47:59 +0100	[thread overview]
Message-ID: <20061115094758.GA4677@fastwebnet.it> (raw)

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 <RET> : 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

             reply	other threads:[~2006-11-15  9:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-15  9:47 Giovanni Ridolfi [this message]
2006-11-15 10:24 ` org 4.54 bug with remember? Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061115094758.GA4677@fastwebnet.it \
    --to=gio.rido@tiscali.it \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).