[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: display-buffer-alist actions
From: |
Garjola Dindi |
Subject: |
Re: display-buffer-alist actions |
Date: |
Thu, 25 Feb 2021 21:40:57 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
On Thu 25-Feb-2021 at 17:25:15 +01, Eric S Fraga <e.fraga@ucl.ac.uk>
wrote:
> On Wednesday, 24 Feb 2021 at 20:52, Joost Kremers wrote:
>> Yes, it's the easiest thing to grok. I've found Protesilaos Stavrou's
>> comments and Youtube video on the topic helpful:
>
> Indeed. His videos are excellent.
On the same topic, David Wilson recently did a video explaining how to
customize display-buffer:
https://www.youtube.com/watch?v=-H2nU0rsUMY
And just last Friday, he did a live coding session showing how to write
custom display action functions (starting at 34'30"):
https://www.youtube.com/watch?v=iqNhJsVmVUg
>
>> What you could do, however, is write your own display-buffer function,
>> which checks the frame dimensions and calls
>> `display-buffer-side-window` with either `(side . left)` or `(side
>> . bottom)`.
>
> Yes! Very simple and, in hindsight, kind of obvious <blush>. Thank
> you. I have now done this and it works perfectly.
--