unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* rgrep-find a separate frame?
@ 2016-03-25 16:35 Sharon Kimble
  2016-03-25 18:36 ` Emanuel Berg
  0 siblings, 1 reply; 4+ messages in thread
From: Sharon Kimble @ 2016-03-25 16:35 UTC (permalink / raw)
  To: help-emacs

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

How can I have the results of 'M-x rgrep-find' appear in a separate
frame please? I'm doing a lot of parsing latex files for the words in
the glossary and creating each glossary-item from the rgrep buffer.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.3, fluxbox 1.3.7, emacs 25.0.92

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

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

* Re: rgrep-find a separate frame?
  2016-03-25 16:35 rgrep-find a separate frame? Sharon Kimble
@ 2016-03-25 18:36 ` Emanuel Berg
  2016-03-25 21:00   ` Sharon Kimble
  0 siblings, 1 reply; 4+ messages in thread
From: Emanuel Berg @ 2016-03-25 18:36 UTC (permalink / raw)
  To: help-gnu-emacs

Sharon Kimble <boudiccas@skimble.plus.com> writes:

> How can I have the results of 'M-x rgrep-find'

Should it really be "rgrep-find", and not `grep-find',
or `rgrep'?

-- 
underground experts united .... http://user.it.uu.se/~embe8573
Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic
                   - so far: 19 Blogomatic articles -                   




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

* Re: rgrep-find a separate frame?
  2016-03-25 18:36 ` Emanuel Berg
@ 2016-03-25 21:00   ` Sharon Kimble
  2016-03-25 21:35     ` Emanuel Berg
  0 siblings, 1 reply; 4+ messages in thread
From: Sharon Kimble @ 2016-03-25 21:00 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 645 bytes --]

Emanuel Berg <embe8573@student.uu.se> writes:

> Sharon Kimble <boudiccas@skimble.plus.com> writes:
>
>> How can I have the results of 'M-x rgrep-find'
>
> Should it really be "rgrep-find", and not `grep-find',
> or `rgrep'?

You're right, it should just be 'M-x rgrep' and followed by 'C-x `'
which then works its way through all the iterations that it has found.

But what I'm looking for is the ability to have 'C-x 5 2' automatically
to open up rgrep's findings in another frame.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.3, fluxbox 1.3.7, emacs 25.0.92

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

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

* Re: rgrep-find a separate frame?
  2016-03-25 21:00   ` Sharon Kimble
@ 2016-03-25 21:35     ` Emanuel Berg
  0 siblings, 0 replies; 4+ messages in thread
From: Emanuel Berg @ 2016-03-25 21:35 UTC (permalink / raw)
  To: help-gnu-emacs

Sharon Kimble <boudiccas@skimble.plus.com> writes:

> You're right, it should just be 'M-x rgrep' and
> followed by 'C-x `' which then works its way through
> all the iterations that it has found.
>
> But what I'm looking for is the ability to have 'C-x
> 5 2' automatically to open up rgrep's findings in
> another frame.

I don't use frames but windows which I'd recommend...
But unlike the moais of the Pua Mau valley, I'm not
cut in stone. Try this code. The "grep-frame" is what
you should use interactively (well, it is the only
thing you can use interactively). If it works bind it
to whatever shortcut, but note that `C-x 5 2' is
spoken for.

(defvar *grep-frame* nil)

(defun new-frame-show-grep ()
  (let ((new-frame (make-frame-command)))
    (setq *grep-frame* new-frame)
    (with-selected-frame new-frame
      (switch-to-buffer "*grep*") )))

(defun grep-frame ()
  (interactive)
  (if *grep-frame* (select-frame-set-input-focus *grep-frame*)
    (new-frame-show-grep) ))

-- 
underground experts united .... http://user.it.uu.se/~embe8573
Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic
                   - so far: 19 Blogomatic articles -                   




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

end of thread, other threads:[~2016-03-25 21:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-25 16:35 rgrep-find a separate frame? Sharon Kimble
2016-03-25 18:36 ` Emanuel Berg
2016-03-25 21:00   ` Sharon Kimble
2016-03-25 21:35     ` Emanuel Berg

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