all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: richardeng <richardeng@foxmail.com>
To: Juri Linkov <juri@jurta.org>, 1863@emacsbugs.donarmstrong.com
Cc: jidanni@jidanni.org
Subject: bug#1863: Improved grep prompt
Date: Fri, 16 Jan 2009 17:27:33 +0800	[thread overview]
Message-ID: <49705305.5060304@foxmail.com> (raw)
In-Reply-To: <87fxjkccbk.fsf@jurta.org>

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

Juri Linkov wrote:
>>>> In your case I myself see nothing that can help then ;-) but I think
>>>> newbees would benefit from having all the search and replace commands
>>>> under search and replace in the edit menu.
>>>>         
>>> I can't believe we still don't have these useful commands in the menu.
>>> But why do you think they should be placed in the Edit menu?
>>>       
>> That is where the search and replace commands normally are. Why do you
>> doubt they should be there?
>>     
>
> The `Grep' menu entry is traditionally in the Tools menu because it reads
> an external command like `Compile' and `Shell Command' do.  So perhaps we
> should add `rgrep' and `lgrep' to the Tools menu.
>
> A less controversial change is to add `rgrep' and `lgrep' to the
> grep mode menu:
>
> Index: lisp/progmodes/grep.el
> ===================================================================
> RCS file: /sources/emacs/emacs/lisp/progmodes/grep.el,v
> retrieving revision 1.98
> diff -u -r1.98 grep.el
> --- lisp/progmodes/grep.el	5 Jan 2009 03:23:37 -0000	1.98
> +++ lisp/progmodes/grep.el	16 Jan 2009 00:27:48 -0000
> @@ -204,12 +204,18 @@
>      (define-key map [menu-bar grep compilation-compile]
>        '(menu-item "Compile..." compile
>  		  :help "Compile the program including the current buffer.  Default: run `make'"))
> +    (define-key map [menu-bar grep compilation-lgrep]
> +      '(menu-item "Local grep..." lgrep
> +		  :help "User-friendly grep"))
> +    (define-key map [menu-bar grep compilation-rgrep]
> +      '(menu-item "Recursive grep..." rgrep
> +		  :help "User-friendly recursive grep in directory tree"))
> +    (define-key map [menu-bar grep compilation-grep-find]
> +      '(menu-item "Grep via Find..." grep-find
> +		  :help "Run grep via find, with user-specified args"))
>      (define-key map [menu-bar grep compilation-grep]
>        '(menu-item "Another grep..." grep
>  		  :help "Run grep, with user-specified args, and collect output in a buffer."))
> -    (define-key map [menu-bar grep compilation-grep-find]
> -      '(menu-item "Recursive grep..." grep-find
> -		  :help "Run grep via find, with user-specified args"))
>      (define-key map [menu-bar grep compilation-recompile]
>        '(menu-item "Repeat grep" recompile
>  		  :help "Run grep again"))
>
>   
I think many emacs users discovery useful command from the menu instead 
of  searching the release notes.
I suggest to add rgrep,lgrep,grep-find to menu.



[-- Attachment #2: Type: text/html, Size: 2923 bytes --]

  parent reply	other threads:[~2009-01-16  9:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-12  2:07 bug#1863: Improved grep prompt jidanni
2009-01-14  1:18 ` Juri Linkov
2009-01-14  1:33   ` jidanni
2009-01-14 23:52     ` Juri Linkov
2009-01-15  0:40       ` jidanni
2009-01-15  1:09         ` Lennart Borgman
2009-01-15  1:27           ` Juri Linkov
2009-01-15  1:55             ` Lennart Borgman
2009-01-16  0:31               ` Juri Linkov
2009-01-16  0:54                 ` Lennart Borgman
2009-01-16  9:27                 ` richardeng [this message]
2009-01-15  2:54         ` Stefan Monnier
2018-04-15 22:12   ` Lars Ingebrigtsen

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=49705305.5060304@foxmail.com \
    --to=richardeng@foxmail.com \
    --cc=1863@emacsbugs.donarmstrong.com \
    --cc=jidanni@jidanni.org \
    --cc=juri@jurta.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.