emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Felix <felixfcaf@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Capture aborts after selecting template
Date: Sat, 26 Nov 2011 15:56:13 +0000 (UTC)	[thread overview]
Message-ID: <loom.20111126T164932-314@post.gmane.org> (raw)
In-Reply-To: 87ty5qgamv.fsf@norang.ca

> 
> I think the problem is your 'nil' entries.
> 
> My text-mode-hook looks like this:
> 
> --8<---------------cut here---------------start------------->8---
> text-mode-hook's value is 
> (text-mode-hook-identify)
> --8<---------------cut here---------------end--------------->8---
> 
> I would remove the nil entries and see if that helps
> 
> My org-mode-hook looks like this:
> --8<---------------cut here---------------start------------->8---
> Value: 
> (org-clock-load
>  (lambda nil
>    (abbrev-mode 1))
>  (lambda nil
>    (add-hook 'before-save-hook 'org-encrypt-entries nil t))
>  (lambda nil
>    (org-add-hook 'change-major-mode-hook 'org-show-block-all 'append 'local))
>  (lambda nil
>    (org-add-hook 'change-major-mode-hook 'org-babel-show-result-all 'append
'local))
>  org-babel-result-hide-spec org-babel-hide-all-hashes turn-on-flyspell
>  (lambda nil
>    (org-defkey org-mode-map "[" 'undefined)
>    (org-defkey org-mode-map "]" 'undefined))
>  (lambda nil
>    (local-set-key
>     (kbd "C-c M-o")
>     'bh/mail-subtree)))
> --8<---------------cut here---------------end--------------->8---
> 
> I'm on GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11
on raven, modified by Debian
> 
> Regards,
> Bernt
> 
> 

Please forgive the question, but how do you remove the nil entries?

In .emacs I have (add-hook 'text-mode-hook (setq adaptive-fill-mode nil))
and so I'm not sure how text-mode-hook ends up with (nil
(text-mode-hook-identify)). 

I tried (add-hook 'text-mode-hook (text-mode-hook-identify)) but this set
text-mode-hook to (t text-mode-hook-identify) and when I tried C-c c t
to enter a task, I get the message "Capture template 't':
org-called-interactively-p" and nothing happens.

  reply	other threads:[~2011-11-26 15:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-26 10:42 Capture aborts after selecting template Felix
2011-11-26 12:24 ` Bernt Hansen
2011-11-26 14:34   ` Felix
2011-11-26 15:35     ` Bernt Hansen
2011-11-26 15:56       ` Felix [this message]
2011-11-26 19:46         ` Bernt Hansen
2011-11-27  9:11           ` Felix

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=loom.20111126T164932-314@post.gmane.org \
    --to=felixfcaf@gmail.com \
    --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).