emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Juan Pechiar <juan@pechiar.com>
To: Nick Dokos <nicholas.dokos@hp.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Change DOCTYPE declaration?
Date: Wed, 17 Nov 2010 21:02:12 -0200	[thread overview]
Message-ID: <20101117230211.GI2450@soloJazz.com> (raw)
In-Reply-To: <27942.1290032705@gamaville.americas.hpqcorp.net>

On Wed, Nov 17, 2010 at 05:25:05PM -0500, Nick Dokos wrote:
> #+BIND: uriel-change-doctype t
>
> but a good (if not scalable) solution to the problem.
>
> I have a question however: why is it that hooks can't be set using
> this mechanism?

From my limited understanding, the #+BIND directive is for binding
variables.

For correctly adding a hook you must call add-hook, which adds a
function to the corresponding hook list.

  parent reply	other threads:[~2010-11-17 23:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20101117130409.773797d2amscopub-mail@yahoo.com@dove.localdomain>
2010-11-17 18:34 ` Change DOCTYPE declaration? Juan Pechiar
2010-11-17 20:23   ` Uriel Avalos
     [not found]   ` <20101117152308.63473cd6amscopub-mail@yahoo.com@dove.localdomain>
2010-11-17 21:45     ` Juan Pechiar
     [not found]       ` <27942.1290032705@gamaville.americas.hpqcorp.net>
2010-11-17 23:02         ` Juan Pechiar [this message]
2010-11-18 15:35       ` Uriel Avalos
     [not found]       ` <20101118103550.33442d0eamscopub-mail@yahoo.com@dove.localdomain>
2010-11-18 15:51         ` Uriel Avalos
2010-11-18 15:52         ` Juan Pechiar
2010-11-17 18:04 Uriel Avalos

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=20101117230211.GI2450@soloJazz.com \
    --to=juan@pechiar.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.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).