unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* imenu in a shell buffer?
@ 2005-12-19 22:06 gamename
  2005-12-19 22:54 ` Drew Adams
       [not found] ` <mailman.19870.1135032926.20277.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: gamename @ 2005-12-19 22:06 UTC (permalink / raw)


Hi
Can an imenu expression list be defined for a shell buffer?

I running a looong series of tests that all begin with "msg: starting
test xxx" and end with "msg: ending test xxx", etc.. Naturally, its
easy to get lost and lose track of exactly which test I'm looking at.

I was thinking I could define an imenu expression and then easily jump
from one to another without too much trouble.  Is that possible?

TIA,
-T

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

* RE: imenu in a shell buffer?
  2005-12-19 22:06 imenu in a shell buffer? gamename
@ 2005-12-19 22:54 ` Drew Adams
       [not found] ` <mailman.19870.1135032926.20277.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Drew Adams @ 2005-12-19 22:54 UTC (permalink / raw)


    Can an imenu expression list be defined for a shell buffer?

    I running a looong series of tests that all begin with "msg: starting
    test xxx" and end with "msg: ending test xxx", etc.. Naturally, its
    easy to get lost and lose track of exactly which test I'm looking at.

    I was thinking I could define an imenu expression and then easily jump
    from one to another without too much trouble.  Is that possible?

I'm sure you can, but someone else will have to tell you how.

I would think, however, that accessing a menu for this would be pretty slow.
Why not just use `M-x occur RET msg: starting test', and then access the
individual tests by clicking their start lines in buffer *Occur*. Instead of
reopening the menu each time, just keep *Occur* open in its own window or
frame, and use it whenever you want to visit or revisit a test.

If you do decide to use `occur', one thing that I find helps to know where
you've been is highlighting the line numbers of visited lines, in *Occur*. I
have a library that does that as well as a few other things for `occur'.
Description here:
http://www.emacswiki.org/cgi-bin/wiki/OccurBuffer#ReplacePlus. Library here:
http://www.emacswiki.org/cgi-bin/emacs/replace+.el. HTH.

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

* Re: imenu in a shell buffer?
       [not found] ` <mailman.19870.1135032926.20277.help-gnu-emacs@gnu.org>
@ 2005-12-20  0:28   ` gamename
  0 siblings, 0 replies; 3+ messages in thread
From: gamename @ 2005-12-20  0:28 UTC (permalink / raw)



Thanks Drew.  As always, you're helpful and have a better solution.  :)

-T

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

end of thread, other threads:[~2005-12-20  0:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-19 22:06 imenu in a shell buffer? gamename
2005-12-19 22:54 ` Drew Adams
     [not found] ` <mailman.19870.1135032926.20277.help-gnu-emacs@gnu.org>
2005-12-20  0:28   ` gamename

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).