From: wgreenhouse-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org (W. Greenhouse)
To: help-gnu-emacs-mXXj517/zsQ@public.gmane.org
Subject: Re: Hooks for new buffers?
Date: Fri, 05 Apr 2013 06:03:38 +0000 [thread overview]
Message-ID: <87r4ipfr9h.fsf@riseup.net> (raw)
In-Reply-To: CACeWA3hfmWeEko=FFrhVCnbZoyDrF=Cz-ykz84G7RhOSDBRbFw@mail.gmail.com
Steven Degutis <sbdegutis-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
> The easiest way to solve this is to find a hook that's called when
> new buffers are created, even if that's not its official purpose.
> Apparently after-change-major-mode-hook isn't enough, presumably
> because these never changed major modes. So is there such a hook?
>
> And if not, is there at least some hook that happens whenever new
> windows are opened?
>
> -Steven
`window-configuration-change-hook', maybe?
--
BOFH excuse #39:
terrorist activities
next prev parent reply other threads:[~2013-04-05 6:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-04 20:12 Hooks for new buffers? Steven Degutis
2013-04-05 6:03 ` W. Greenhouse [this message]
2013-04-05 8:47 ` Andreas Röhler
2013-04-05 11:09 ` Andreas Röhler
[not found] ` <mailman.23572.1365141815.855.help-gnu-emacs@gnu.org>
2013-04-05 14:45 ` Lowell Gilbert
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=87r4ipfr9h.fsf@riseup.net \
--to=wgreenhouse-sgozh3hwpm2stnjn9+bgxg@public.gmane.org \
--cc=help-gnu-emacs-mXXj517/zsQ@public.gmane.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.
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).