unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Nordlöw <per.nordlow@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Shrinking grep/compile window to fit contents of buffer
Date: Tue, 13 Nov 2007 09:52:56 +0100	[thread overview]
Message-ID: <473965E8.6030404@gmail.com> (raw)
In-Reply-To: <1194941921.778084.96870@v3g2000hsg.googlegroups.com>

Nordlöw wrote:
> How can I make emacs call shrink-window-if-larger-than-buffer() in the
> message buffer upon completion of compile/grep?
> 
> Thanks in advance,
> Nordlöw


(info "(elisp) Standard Hooks")

Look at compilation-finish-functions.

  reply	other threads:[~2007-11-13  8:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-13  8:18 Shrinking grep/compile window to fit contents of buffer Nordlöw
2007-11-13  8:52 ` Lennart Borgman (gmail) [this message]
     [not found] ` <mailman.3418.1194943989.18990.help-gnu-emacs@gnu.org>
2007-11-13  9:38   ` Nordlöw
2007-11-13  9:56     ` Juanma Barranquero
     [not found]     ` <mailman.3423.1194947780.18990.help-gnu-emacs@gnu.org>
2007-11-13 10:06       ` Nordlöw
2007-11-14  9:26         ` David Rod

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=473965E8.6030404@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=per.nordlow@gmail.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.
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).