help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C-c C-c for a file extension


From: Rares Vernica
Subject: Re: C-c C-c for a file extension
Date: Thu, 11 May 2006 20:12:16 -0700
User-agent: Thunderbird 1.5.0.2 (Windows/20060308)

I installed gnuplot-module and everything works great.

Thanks a lot,
Ray

Reiner Steib wrote:
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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]