[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fix for bug#29935 copyright-update inserts year at random places
From: |
Stefan Monnier |
Subject: |
Re: fix for bug#29935 copyright-update inserts year at random places |
Date: |
Thu, 04 Jan 2018 13:23:33 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
>> This said, I actually do like that the buffer is shown in its
>> own frame.
> So using pop-to-buffer-same-window, rather than pop-to-buffer, is ok for you.
Yes.
>> It would be nice to re-iconify the frame afterwards, tho.
> Apparently completion (or maybe read-from-minibuffer) does re-iconify a
> popped up frame (that happened once in my experiments). I looked thru
> the C code for read-from-minibuffer, and it has comments that talk about
> preserving the frame state, but I did not see where it minimizes the
> frame on return. So I don't know how to do that from elisp in
> copyright-update-year.
I think rather than save-window-excursion, it uses a kind of
"un-pop-to-buffer". Can't remember if it's bury-buffer or what, tho.
Stefan
- fix for bug#29935 copyright-update inserts year at random places, Stephen Leake, 2018/01/01
- Re: fix for bug#29935 copyright-update inserts year at random places, Lele Gaifax, 2018/01/02
- Re: fix for bug#29935 copyright-update inserts year at random places, Eli Zaretskii, 2018/01/02
- Re: fix for bug#29935 copyright-update inserts year at random places, Stephen Leake, 2018/01/03
- Re: fix for bug#29935 copyright-update inserts year at random places, Stefan Monnier, 2018/01/03
- Re: fix for bug#29935 copyright-update inserts year at random places, Stephen Leake, 2018/01/03
- Re: fix for bug#29935 copyright-update inserts year at random places, Stefan Monnier, 2018/01/04
- Re: fix for bug#29935 copyright-update inserts year at random places, Stephen Leake, 2018/01/04
- Re: fix for bug#29935 copyright-update inserts year at random places,
Stefan Monnier <=
- Re: fix for bug#29935 copyright-update inserts year at random places, martin rudalics, 2018/01/07
- Re: fix for bug#29935 copyright-update inserts year at random places, Stefan Monnier, 2018/01/07
- Re: fix for bug#29935 copyright-update inserts year at random places, martin rudalics, 2018/01/08
- Re: fix for bug#29935 copyright-update inserts year at random places, Stefan Monnier, 2018/01/08
- Re: fix for bug#29935 copyright-update inserts year at random places, Stephen Leake, 2018/01/08
- Re: fix for bug#29935 copyright-update inserts year at random places, martin rudalics, 2018/01/08
- Re: fix for bug#29935 copyright-update inserts year at random places, Eli Zaretskii, 2018/01/08
- Re: fix for bug#29935 copyright-update inserts year at random places, Stephen Leake, 2018/01/11
- Re: fix for bug#29935 copyright-update inserts year at random places, martin rudalics, 2018/01/08
- Re: fix for bug#29935 copyright-update inserts year at random places, Stefan Monnier, 2018/01/08