* file opened in front buffer as argument ? @ 2018-07-20 16:00 Jean-Christophe Helary 2018-07-20 17:23 ` Eli Zaretskii 0 siblings, 1 reply; 3+ messages in thread From: Jean-Christophe Helary @ 2018-07-20 16:00 UTC (permalink / raw) To: Help Gnu Emacs mailing list I want to launch a shell command always on the file that's opened in the front buffer. How can I systematically call that file without explicitly referring to its path ? Jean-Christophe Helary ----------------------------------------------- http://mac4translators.blogspot.com @brandelune ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: file opened in front buffer as argument ? 2018-07-20 16:00 file opened in front buffer as argument ? Jean-Christophe Helary @ 2018-07-20 17:23 ` Eli Zaretskii 2018-07-20 23:32 ` Jean-Christophe Helary 0 siblings, 1 reply; 3+ messages in thread From: Eli Zaretskii @ 2018-07-20 17:23 UTC (permalink / raw) To: help-gnu-emacs > From: Jean-Christophe Helary <brandelune@gmail.com> > Date: Sat, 21 Jul 2018 01:00:00 +0900 > > I want to launch a shell command always on the file that's opened in the front buffer. > > How can I systematically call that file without explicitly referring to its path ? Use buffer-file-name? ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: file opened in front buffer as argument ? 2018-07-20 17:23 ` Eli Zaretskii @ 2018-07-20 23:32 ` Jean-Christophe Helary 0 siblings, 0 replies; 3+ messages in thread From: Jean-Christophe Helary @ 2018-07-20 23:32 UTC (permalink / raw) Cc: Help Gnu Emacs mailing list > On Jul 21, 2018, at 2:23, Eli Zaretskii <eliz@gnu.org> wrote: > >> From: Jean-Christophe Helary <brandelune@gmail.com> >> Date: Sat, 21 Jul 2018 01:00:00 +0900 >> >> I want to launch a shell command always on the file that's opened in the front buffer. >> >> How can I systematically call that file without explicitly referring to its path ? > > Use buffer-file-name? :) Thank you ! Jean-Christophe Helary ----------------------------------------------- http://mac4translators.blogspot.com @brandelune ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-07-20 23:32 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-07-20 16:00 file opened in front buffer as argument ? Jean-Christophe Helary 2018-07-20 17:23 ` Eli Zaretskii 2018-07-20 23:32 ` Jean-Christophe Helary
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.