all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Juri Linkov <juri@linkov.net>
Cc: 36859@debbugs.gnu.org
Subject: bug#36859: Customizable fit-window-to-buffer
Date: Thu, 8 Aug 2019 09:27:12 +0200	[thread overview]
Message-ID: <3323fa25-d095-06d1-6318-a902ba70c844@gmx.at> (raw)
In-Reply-To: <87o910my8p.fsf@mail.linkov.net>

 > I see there is a hook already in vc: 'vc-post-command-functions'.
 > But it's unclear how to use it to call 'shrink-window-if-larger-than-buffer'
 > from the hook only on vc-log and vc-diff commands.
 >
 > Maybe vc-log-internal-common and vc-diff-internal could provide new hooks,
 > e.g. vc-log-post-command-functions and vc-diff-post-command-functions.

What's the scope of a command?  When it invokes an asynchonous process
does it end when that process starts or when it finishes?  Since I
think that it's the former (how else could we then distiniguish "this"
command from the "last" command), the idiom "post-command" appears
inappropriate here.

martin





  reply	other threads:[~2019-08-08  7:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-30 20:23 bug#36859: Customizable fit-window-to-buffer Juri Linkov
2019-07-31  9:12 ` martin rudalics
2019-07-31 20:57   ` Juri Linkov
2019-08-03  7:57     ` martin rudalics
2019-08-03 21:16       ` Juri Linkov
2019-08-04  8:00         ` martin rudalics
2019-08-04 19:27           ` Juri Linkov
2019-08-05  9:23             ` martin rudalics
2019-08-05 22:03               ` Juri Linkov
2019-08-06  9:00                 ` martin rudalics
2019-08-06 22:16                   ` Juri Linkov
2019-08-07 22:01                     ` Juri Linkov
2019-08-08  7:27                       ` martin rudalics [this message]
2019-08-08 21:39                         ` Juri Linkov

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=3323fa25-d095-06d1-6318-a902ba70c844@gmx.at \
    --to=rudalics@gmx.at \
    --cc=36859@debbugs.gnu.org \
    --cc=juri@linkov.net \
    /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.