unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* A few questions about occur-mode
@ 2002-09-20 11:44 Juanma Barranquero
  2002-09-21 19:39 ` Richard Stallman
  0 siblings, 1 reply; 14+ messages in thread
From: Juanma Barranquero @ 2002-09-20 11:44 UTC (permalink / raw)


1.- Would anyone object to making some occur functions (namely
`occur-mode-goto-occurrence', `occur-mode-display-occurrence' and
`occur-mode-goto-occurrence-other-window') to accept an optional
argument and do a (recenter arg) after moving the point? My main use of
occur is:

M-x occur "whatever"
C-x o
C-n C-n ... C-o    # see something
C-n C-n ... C-o    # again...

and it's very handy to put that "something" at the beginning of the
window.

2.- Why are the functions called occur-mode-* instead of simply occur-*?

3.- Do `occur-next' and `occur-prev' do something, or are they remnants
of some long-deleted code, a half-implemented idea, or what? AFAICS, the
'occur-point property is only referenced in `occur-next', `occur-prev'
and `sh-mark-line' (in progmodes/sh-script.el).

4.- IMO it'd be nice to have bindings in occur-mode to do C-n C-o and
C-p C-o (I'd put them in M-n, M-p instead of occur-{next|prev}, but
C-M-n and C-M-p would do fine too). Useful, or something to be relegated
to my .emacs? :-)

Thanks,


                                                           /L/e/k/t/u

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2002-09-24 23:33 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-20 11:44 A few questions about occur-mode Juanma Barranquero
2002-09-21 19:39 ` Richard Stallman
2002-09-22 17:32   ` Juanma Barranquero
2002-09-22 23:45     ` John Paul Wallington
2002-09-23 11:04       ` Juanma Barranquero
2002-09-23 11:50         ` Juanma Barranquero
2002-09-23 20:53           ` John Paul Wallington
2002-09-24  8:55             ` Juanma Barranquero
2002-09-23 15:59       ` Richard Stallman
2002-09-24  8:43         ` Juanma Barranquero
2002-09-24 10:22           ` Juanma Barranquero
2002-09-24 23:33             ` Richard Stallman
2002-09-24 23:33           ` Richard Stallman
2002-09-23  0:16     ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).