emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Felix <felixfcaf@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Capture aborts after selecting template
Date: Sat, 26 Nov 2011 10:35:04 -0500	[thread overview]
Message-ID: <87ty5qgamv.fsf@norang.ca> (raw)
In-Reply-To: <loom.20111126T153209-889@post.gmane.org> (Felix's message of "Sat, 26 Nov 2011 14:34:57 +0000 (UTC)")

Felix <felixfcaf@gmail.com> writes:

> Thanks, Bernt. The values are as shown below. Please suggest any changes.
>
> Sincerely,
> Felix
>
> text-mode-hook's value is 
> (nil text-mode-hook-identify)
>
> outline-mode-hook's value is nil
>
> org-mode-hook is a variable defined in `org.el'.
> Its value is 
> (#[nil "\300\301\302\303\304$\207"
>        [org-add-hook change-major-mode-hook org-show-block-all append local]
>        5]
>  #[nil "\300\301\302\303\304$\207"
>        [org-add-hook change-major-mode-hook org-babel-show-result-all append local]
>        5]
>  org-babel-result-hide-spec org-babel-hide-all-hashes)

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

  reply	other threads:[~2011-11-26 15:35 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 [this message]
2011-11-26 15:56       ` Felix
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=87ty5qgamv.fsf@norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=felixfcaf@gmail.com \
    /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).