emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bianca Lutz <bialut@googlemail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Problems with search
Date: Tue, 2 Aug 2011 20:27:18 +0200	[thread overview]
Message-ID: <CAPeR956Q1YwR+8+NAO-Nr8wKcgLNE6jQJ5=XeWLeLzB0KHKSzQ@mail.gmail.com> (raw)
In-Reply-To: <CAPeR955y2+HF8wip7RB0g+pKUj6T0VqXPRGszTPv0NP4ExtDTg@mail.gmail.com>

> No, it's not the autopair-post-command-handler that I wondered about[fn:1],
> it's that *t*, the first element of the list: how did it get there?
>
> Nick
>
> Footnotes:
>
> [fn:1] Well, I did wonder about it, but only because I never heard of
> it; but I am more suspicious of that t.
>

Concerning that suspicious t I found the following in the
documentation of add-hook:

(add-hook HOOK FUNCTION &optional APPEND LOCAL)

[...]

The optional fourth argument, LOCAL, if non-nil, says to modify
the hook's buffer-local value rather than its default value.
This makes the hook buffer-local if needed, and it makes t a member
of the buffer-local value.  That acts as a flag to run the hook
functions in the default value as well as in the local value.

Best regards, Bianca.

       reply	other threads:[~2011-08-02 18:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAPeR955y2+HF8wip7RB0g+pKUj6T0VqXPRGszTPv0NP4ExtDTg@mail.gmail.com>
2011-08-02 18:27 ` Bianca Lutz [this message]
2011-07-07 20:58 Problems with search Henri-Paul Indiogine
2011-07-07 21:16 ` Nick Dokos
2011-07-07 22:16   ` Henri-Paul Indiogine
2011-07-07 23:18   ` Henri-Paul Indiogine
2011-07-08  2:25     ` Nick Dokos
2011-07-08  3:14       ` Henri-Paul Indiogine
2011-07-08  3:45         ` Nick Dokos

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='CAPeR956Q1YwR+8+NAO-Nr8wKcgLNE6jQJ5=XeWLeLzB0KHKSzQ@mail.gmail.com' \
    --to=bialut@googlemail.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).