all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Nick Dokos <ndokos@gmail.com>
Cc: 47050@debbugs.gnu.org
Subject: bug#47050: 28.0.50; [PATCH] `next-error-find-buffer' does things in the wrong  order
Date: Mon, 15 Mar 2021 19:07:12 +0200	[thread overview]
Message-ID: <87y2eooa0v.fsf@mail.linkov.net> (raw)
In-Reply-To: <875z20xgmq.fsf@pierrot.dokosmarshall.org> (Nick Dokos's message of "Tue, 09 Mar 2021 14:37:49 -0500")

> The doc for `next-error' says:
> ...
> I interpreted that to mean that if I create e.g. two `grep' buffers and
> rename them uniquely to `*grep*<2>' and `*grep<3>', then switching
> to one or the other of them and calling `next-error' would use the hits
> from that buffer. However it always uses the hits from the last-used grep
> buffer and I have to change that explicitly, by calling
> `next-error-select-buffer', instead of letting the current buffer
> determine it.

Please try to customize 'next-error-find-buffer-function' to this value:

  (const :tag "Current buffer if next-error capable and outside navigation"
         next-error-buffer-unnavigated-current)

It provides the behavior that you described.





  parent reply	other threads:[~2021-03-15 17:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-09 19:37 bug#47050: 28.0.50; [PATCH] `next-error-find-buffer' does things in the wrong order Nick Dokos
2021-03-11 19:23 ` Juri Linkov
2021-03-15 17:07 ` Juri Linkov [this message]
2021-05-12 19:01   ` Lars Ingebrigtsen

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=87y2eooa0v.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=47050@debbugs.gnu.org \
    --cc=ndokos@gmail.com \
    /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.