all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: help-gnu-emacs@gnu.org
Subject: Re: buffer local part of a hook
Date: Mon, 07 Mar 2016 12:31:41 -0500	[thread overview]
Message-ID: <jwvsi026vqe.fsf-monnier+Inbox@gnu.org> (raw)
In-Reply-To: <5259b4d6-c2f8-5279-1d0f-abd19b10a63c@yandex.ru> (Dmitry Gutov's message of "Mon, 7 Mar 2016 17:41:18 +0200")

>> No, it's part of the exposed functionality, since add/remove-hook
>> specify explicitly with the `local' argument whether the specified
>> function should be added-to/removed-from the global or the local part.
> So we're fine with users changing the values of hooks directly, without
> using add-hook/remove-hook?

No.  But we're fine with exposing the concept that a hook as a "local
part" and a "global part".


        Stefan



  reply	other threads:[~2016-03-07 17:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-07 12:52 buffer local part of a hook Matthias Pfeifer
2016-03-07 12:54 ` Dmitry Gutov
2016-03-07 14:36   ` Stefan Monnier
2016-03-07 15:41     ` Dmitry Gutov
2016-03-07 17:31       ` Stefan Monnier [this message]
2016-03-08 13:08         ` Dmitry Gutov
2016-03-08 14:49           ` Stefan Monnier
2016-03-09  3:50             ` Dmitry Gutov
2016-03-09  4:01               ` Stefan Monnier

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

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

  git send-email \
    --in-reply-to=jwvsi026vqe.fsf-monnier+Inbox@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=dgutov@yandex.ru \
    --cc=help-gnu-emacs@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.