GNU bug report logs - #47918
M-x occur should jump to the first match

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Tue, 20 Apr 2021 20:12:01 UTC

Severity: normal

Tags: notabug, wontfix

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 47918 <at> debbugs.gnu.org, 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Subject: bug#47918: M-x occur should jump to the first match
Date: Wed, 21 Apr 2021 19:54:35 +0300
> 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.

There is 'compilation-auto-jump-to-first-error',
but it doesn't visit matches.

> If you want to do this, I recommend:
>
>     (add-hook 'occur-hook #'next-error)

This is a nice solution to immediately visit matches.




This bug report was last modified 4 years and 21 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.