From: scame@fastmail.fm
To: help-gnu-emacs@gnu.org
Subject: Re: Run Shell Command on Buffer
Date: Thu, 25 Jan 2007 01:01:01 +0100 [thread overview]
Message-ID: <1169683261.8948.1171086063@webmail.messagingengine.com> (raw)
In-Reply-To: <51q2rgF1l2pk6U1@mid.individual.net>
That looks promising... is it possible to use the variable "inside"
shell-command? I'm thinking of something like
M-x shell-command <RET>
grep 'bla' $buffer-file-name
Thx,
super-nub
On Wed, 24 Jan 2007 22:58:57 +0100, "Marc Tfardy" <m-t-o@web.de> said:
> super-nub wrote:
> > Hi!
> >
> > is there a shortcut to the file name of the current buffer
>
> (buffer-file-name) ;; function
>
> or
>
> buffer-file-name ;; variable
>
>
> regards
>
> Marc
>
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
next prev parent reply other threads:[~2007-01-25 0:01 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.3538.1169672554.2155.help-gnu-emacs@gnu.org>
2007-01-24 21:58 ` Run Shell Command on Buffer Marc Tfardy
2007-01-25 0:01 ` scame [this message]
[not found] <mailman.3595.1169759151.2155.help-gnu-emacs@gnu.org>
2007-01-26 15:57 ` Ted Zlatanov
[not found] <mailman.3575.1169739977.2155.help-gnu-emacs@gnu.org>
2007-01-25 20:11 ` Ted Zlatanov
2007-01-25 21:04 ` Drew Adams
2007-01-24 21:02 super-nub
2007-01-24 21:24 ` Peter Dyballa
2007-01-24 23:40 ` super-nub
2007-01-25 6:47 ` reader
2007-01-25 10:52 ` super-nub
2007-01-25 15:45 ` Drew Adams
[not found] ` <mailman.3545.1169683280.2155.help-gnu-emacs@gnu.org>
2007-01-25 2:32 ` Barry Margolin
2007-01-25 10:11 ` scame
2007-01-25 10:44 ` super-nub
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=1169683261.8948.1171086063@webmail.messagingengine.com \
--to=scame@fastmail.fm \
--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).