From: Richard Sent <richard@freakingpenguin.com>
To: help-gnu-emacs@gnu.org
Subject: Changing the behavior of display-buffer in next-error-no-select
Date: Fri, 03 May 2024 11:33:42 -0400 [thread overview]
Message-ID: <87zft6q59l.fsf@freakingpenguin.com> (raw)
Hi Emacs,
When cycling through, say, a rgrep result buffer with n
(next-error-no-select) and p (previous-error-no-select), file results
are displayed in every open window, with the exception of the window
containing the rgrep results themselves.
I'd rather have file results remain in just one window so that I can use
other buffers while still viewing search results. Is this possible?
I see that next-error-no-select contains
display-buffer-overriding-action, so I suspect the answer might be
advising next-error-no-select and let-binding
display-buffer-overriding-action, but actually working that out is a bit
difficult.
How would I go about this? Are there any better options?
--
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.
next reply other threads:[~2024-05-03 15:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-03 15:33 Richard Sent [this message]
2024-05-14 6:41 ` Changing the behavior of display-buffer in next-error-no-select 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=87zft6q59l.fsf@freakingpenguin.com \
--to=richard@freakingpenguin.com \
--cc=help-gnu-emacs@gnu.org \
/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.