From: Juri Linkov <juri@jurta.org>
To: nisse@lysator.liu.se (Niels Möller)
Cc: 10916@debbugs.gnu.org
Subject: bug#10916: Using occur to list occurrencies of the symbol at point
Date: Thu, 01 Mar 2012 14:28:07 +0200 [thread overview]
Message-ID: <87aa40pkcx.fsf@mail.jurta.org> (raw)
In-Reply-To: <nn62eoo6pq.fsf@stalhein.lysator.liu.se> ("Niels \=\?iso-8859-1\?Q\?M\=F6ller\=22's\?\= message of "Thu, 01 Mar 2012 13:18:09 +0100")
> 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.
next prev parent reply other threads:[~2012-03-01 12:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-01 10:10 bug#10916: Using occur to list occurrencies of the symbol at point Niels Möller
2012-03-01 10:42 ` Juri Linkov
2012-03-01 12:18 ` Niels Möller
2012-03-01 12:28 ` Juri Linkov [this message]
2019-11-01 22:33 ` Stefan Kangas
2019-11-13 20:58 ` Juri Linkov
2019-12-05 11:04 ` Stefan Kangas
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=87aa40pkcx.fsf@mail.jurta.org \
--to=juri@jurta.org \
--cc=10916@debbugs.gnu.org \
--cc=nisse@lysator.liu.se \
/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.