all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Espen <despen@verizon.net>
To: help-gnu-emacs@gnu.org
Subject: Re: using find-grep in emacs
Date: Wed, 15 May 2013 14:49:58 -0400	[thread overview]
Message-ID: <icip2kqdrd.fsf@home.home> (raw)
In-Reply-To: 0aa2bea2-27b8-4486-9440-f76e22fea2b1@googlegroups.com

Rami A <rami.ammari@gmail.com> writes:

> Thank you all for your feedback.
> I am actually using 2 emacs binaries "24.3.1" and "23.3.1".
>
> I am trying to bind all this command that also defaults to search only [*.shc] files.
> How can I do that?
>
> Basically I want to be able to hit for example F1 and simply type the pattern I am looking for without continuously adding the [*.shc].
> Also I would like emacs to ask the default folder to look for the pattern underneath only once.
> Was not able to find a way to achieve all of that.

Someone else can tell you the variable that contains the initial string.
I'll just point out that you can recall the last command you typed with
M-p and probably with the arrow keys.

So, type it once per session, recall though the history with one or a
couple of keystrokes.

I don't think I'd mess with the initial command, I use Emacs in way too
many contexts. 

-- 
Dan Espen


  reply	other threads:[~2013-05-15 18:49 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-13 23:47 using find-grep in emacs Rami A
2013-05-14  0:45 ` Dan Espen
2013-05-14  2:36   ` Barry Margolin
2013-05-14 13:31     ` Ludwig, Mark
2013-05-14  4:45   ` Bob Proulx
2013-05-14 11:48     ` Andreas Röhler
2013-05-14 15:27       ` Peter Dyballa
2013-05-14 15:42         ` Bob Proulx
2013-05-14 17:19           ` Andreas Röhler
     [not found]         ` <mailman.25743.1368546134.855.help-gnu-emacs@gnu.org>
2013-05-14 19:41           ` Barry Margolin
2013-05-15 18:25 ` Rami A
2013-05-15 18:49   ` Dan Espen [this message]
2013-05-15 18:51   ` Andreas Röhler
     [not found]   ` <mailman.25858.1368643771.855.help-gnu-emacs@gnu.org>
2013-05-15 19:11     ` Rami A
2013-05-15 19:46       ` Andreas Röhler
2013-05-15 21:23         ` Peter Dyballa
2013-05-16  5:10           ` Andreas Röhler

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=icip2kqdrd.fsf@home.home \
    --to=despen@verizon.net \
    --cc=help-gnu-emacs@gnu.org \
    /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.