From: "Ye Wenbin" <wenbinye@163.com>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: How can I bind a shell command to a key?
Date: Mon, 22 May 2006 15:04:14 +0800 [thread overview]
Message-ID: <ops9xxxch3rgymni@ye> (raw)
In-Reply-To: <1148266311.755841.225520@g10g2000cwb.googlegroups.com>
I think abbrev is better way to do this:
(define-abbrev-table 'shell-mode-abbrev-table '(
("findx" "find . -type f -name \"*\" -print |etags -" nil 0)
))
On 21 May 2006 19:51:51 -0700, LUK <700MHz@gmail.com> wrote:
>
> Hi, I want to bind a shell command "find . -type f -name "*" -print |
> etags -"
> to"F1",
> what should I write in ".emacs"?
> Thanks!
>
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
next prev parent reply other threads:[~2006-05-22 7:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-22 2:51 How can I bind a shell command to a key? LUK
2006-05-22 7:01 ` Mathias Dahl
2006-05-22 7:02 ` Burton Samograd
2006-05-22 7:04 ` Ye Wenbin [this message]
2006-05-22 7:44 ` LUK
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ops9xxxch3rgymni@ye \
--to=wenbinye@163.com \
--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.
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).