On Wed, 6 Apr 2011, Derek Homeier wrote:

> with my Emacs 23.1.1, it's automatically loaded when opening a script
> e.g.
> with a .gp extension. Otherwise 'M-x gnuplot-mode' should do it.
>
> Ah, wait - back in the time when I was using gnuplot, I had actually put
> the following into my .emacs (not sure if all of them are still
> necessary):
>
> ;; these lines enable the use of gnuplot mode
>   (autoload 'gnuplot-mode "gnuplot" "gnuplot major mode" t)
>   (autoload 'gnuplot-make-buffer "gnuplot" "open a buffer in gnuplot
> mode" t)
>
> ;; this line automatically causes all files with the .gp extension to
> ;; be loaded into gnuplot mode
> (setq auto-mode-alist (append '(("\\.gp\\'" . gnuplot-mode)) auto-mode-
> alist))

Ah. thanks. I've found similar commands in the web that didn't work; but 
the commands in the comment header of gnuplot.el did it (apparently the 
same you just posted).

I am just wondering why gnuplot.el is loaded automatically, for example, 
on Ubuntu, while the user has to manually insert these lines in .emacs.

Is this gnuplot.el from 2002 really the most recent? The current release 
version is from 2011...

Google doesn't really help here...

Best wishes,

Ingo
-- 
==========================================
Dr. Ingo Thies
Argelander-Institut fuer Astronomie (AIfA)
Sternwarte, University of Bonn
Auf dem Huegel 71, D-53121 Bonn, Germany
Tel : +49 (0)228 73-3659
Mail: [email protected]

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to