From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rares Vernica Newsgroups: gmane.emacs.help Subject: Re: C-c C-c for a file extension Date: Thu, 11 May 2006 20:12:16 -0700 Organization: University of California, Irvine Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1147405255 5866 80.91.229.2 (12 May 2006 03:40:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 12 May 2006 03:40:55 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 12 05:40:55 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FeOWL-0004hB-CZ for geh-help-gnu-emacs@m.gmane.org; Fri, 12 May 2006 05:40:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FeOWK-0002I7-Ph for geh-help-gnu-emacs@m.gmane.org; Thu, 11 May 2006 23:40:52 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!ihnp4.ucsd.edu!news.service.uci.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: cse104g.ics.uci.edu User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) In-Reply-To: Original-Xref: shelby.stanford.edu gnu.emacs.help:139366 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:34989 Archived-At: 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.