[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#36859: Customizable fit-window-to-buffer
From: |
Juri Linkov |
Subject: |
bug#36859: Customizable fit-window-to-buffer |
Date: |
Fri, 09 Aug 2019 00:39:20 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) |
>> 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.
Indeed vc-post-command-functions is a misnomer, and should have been
called vc-post-process-functions.
- bug#36859: Customizable fit-window-to-buffer, martin rudalics, 2019/08/03
- bug#36859: Customizable fit-window-to-buffer, Juri Linkov, 2019/08/03
- bug#36859: Customizable fit-window-to-buffer, martin rudalics, 2019/08/04
- bug#36859: Customizable fit-window-to-buffer, Juri Linkov, 2019/08/04
- bug#36859: Customizable fit-window-to-buffer, martin rudalics, 2019/08/05
- bug#36859: Customizable fit-window-to-buffer, Juri Linkov, 2019/08/05
- bug#36859: Customizable fit-window-to-buffer, martin rudalics, 2019/08/06
- bug#36859: Customizable fit-window-to-buffer, Juri Linkov, 2019/08/06
- bug#36859: Customizable fit-window-to-buffer, Juri Linkov, 2019/08/07
- bug#36859: Customizable fit-window-to-buffer, martin rudalics, 2019/08/08
- bug#36859: Customizable fit-window-to-buffer,
Juri Linkov <=