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

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

bug#47918: M-x occur should jump to the first match


From: Stefan Kangas
Subject: bug#47918: M-x occur should jump to the first match
Date: Tue, 20 Apr 2021 15:24:58 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

tags 47918 wontfix notabug
close 47918
thanks

積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:

> occur is an interactive compiled Lisp function in ‘replace.el’.
>
> Odd that it doesn't jump to the first match like other similar emacs
> functions do.
>
> So it should, unless the user disables it via a variable.

That would break existing workflows.  Also, `rgrep' and `compile'
doesn't jump to the first match, so I don't see why `occur' should be
different.

If you want to do this, I recommend:

    (add-hook 'occur-hook #'next-error)

Closing as wontfix.





reply via email to

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