[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C-c C-c for a file extension
From: |
Reiner Steib |
Subject: |
Re: C-c C-c for a file extension |
Date: |
Fri, 05 May 2006 09:50:59 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
On Fri, May 05 2006, Kevin Rodgers wrote:
> Rares Vernica wrote:
>> For example, I have the gnuplot (.plt) file and I would like to run
>> "gnuplot %f" (where %f is the file name) when I press C-c C-c on
>> that file.
>
> Hmmm, when I visit a .plt file it's in Fundamental mode. You could
> define your own Gnuplot mode
gnuplot comes with a gnuplot mode in gnuplot.el (and gnuplot-gui.el).
> (with a local keymap that binds `C-c C-c' to an Emacs command that
> runs gnuplot on the visited file)
gnuplot.el has `C-c C-b' for `gnuplot-send-buffer-to-gnuplot'. It
would be better if they'd bind `gnuplot-send-buffer-to-gnuplot' or
`gnuplot-send-file-to-gnuplot' instead of
`gnuplot-gui-set-options-and-insert' to `C-c C-c'.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/