unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: is there any hook like switch-buffer-hook or change-buffer-hook?
Date: Fri, 27 Aug 2004 16:18:00 GMT	[thread overview]
Message-ID: <jwvy8k0tv54.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: cgm0pk$muj$1@quimby.gnus.org

> i want to do something when i switch among buffers, but i don't find
> variable like switch-buffer-hook or change-buffer-hook.

I suspect that you don't really understand what is "a buffer
switch" seen from elisp's point of view (i.e. that you have your own idea
of what is a "buffer switch" but that Emacs would have to read your mind
in order to know when those things happen and when they don't).

So could you explain exactly what you want to do?


        Stefan

      parent reply	other threads:[~2004-08-27 16:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-27  0:48 is there any hook like switch-buffer-hook or change-buffer-hook? Vektor
2004-08-27  6:29 ` Joakim Hove
2004-08-28  5:41   ` Vektor
2004-08-27  7:23 ` Sandip Chitale
2004-08-27 10:04   ` Eli Zaretskii
     [not found]   ` <mailman.325.1093601689.1998.help-gnu-emacs@gnu.org>
2004-08-27 20:49     ` Sandip Chitale
2004-08-27 12:51 ` Johan Bockgård
2004-08-27 16:18 ` Stefan Monnier [this message]

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwvy8k0tv54.fsf-monnier+gnu.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    /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.
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).