On 6 Apr 2011, at 21:44, Ingo Thies wrote:

> Ah thanks. And how do I make emacs use this file? I never had to  
> customize
> such things before...

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))

Cheers,
                                                        Derek


------------------------------------------------------------------------------
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
Fink-users@lists.sourceforge.net
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