GNU bug report logs - #10916
Using occur to list occurrencies of the symbol at point

Previous Next

Package: emacs;

Reported by: nisse <at> lysator.liu.se (Niels Möller)

Date: Thu, 1 Mar 2012 10:12:02 UTC

Severity: wishlist

Tags: wontfix

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

Bug is archived. No further changes may be made.

Full log


Message #14 received at 10916 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: nisse <at> lysator.liu.se (Niels Möller)
Cc: 10916 <at> debbugs.gnu.org
Subject: Re: bug#10916: Using occur to list occurrencies of the symbol at point
Date: Thu, 01 Mar 2012 14:28:07 +0200
> This is with emacs-23.2, but I think it's the same in other emacs
> versions I have used.

`C-u M-x occur' is a new feature in 24.1.  You can read about it in
http://bzr.sv.gnu.org/lh/emacs/trunk/annotate/head:/etc/NEWS#L968

>> Have you tried `M-x occur RET M-n RET'?
>
> Now I have. Seems to give the symbol at point in recent emacs versions.
> Slightly less convenient than a prefix argument, but I think that does
> what I want.

It's less convenient because the default value (displayed in parens)
for `occur' is not the symbol under point, but the last history element
(that is also easy to get via `M-p').  This is for historical reasons.




This bug report was last modified 5 years and 221 days ago.

Previous Next


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