bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#36917: 27.0.50; debbugs-gnu: Don't hardcode switch-to-buffer


From: Michael Heerdegen
Subject: bug#36917: 27.0.50; debbugs-gnu: Don't hardcode switch-to-buffer
Date: Wed, 21 Aug 2019 14:41:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Noam Postavsky <npostavs@gmail.com> writes:

> > Use 'pop-to-buffer-same-window' instead of 'switch-to-buffer' to
> > display bug reports so user can configure behavior via
> > 'display-buffer-alist' (Bug#36917).
> >
> > * packages/debbugs/debbugs-gnu.el (debbugs-gnu-show-reports): Use
> > 'pop-to-buffer-same-window' to display bug reports.
>
> I think you can combine these two paragraphs.

Done.

> > I didn't have a look at the other remaining `switch-to-buffer' calls.
> > Noam, did you mean to substitute all of them?
>
> If you think you might want to control the buffer switching of those
> other functions with display-buffer-alist, then yes.

I've installed the single change for now.  I'm not familiar with the
rest of the package, so I would want to leave that to the authors.


Thanks,

Michael.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]