-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 4/6/11 4:26 PM, Ingo Thies wrote: > 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.
Fink Is Not Kubuntu. But, seriously, it's because none of the Fink maintainers of gnuplot, including myself, set it up to do that. I'm not an emacs expert, so I don't happen to know what needs to be done beyond the incantations used by most of our packages. I've released a new revision to unstable that does this. > > Is this gnuplot.el from 2002 really the most recent? It's what came with the gnuplot tarball, and our gnuplot isn't _that_ old. The current release > version is from 2011... > > Google doesn't really help here... > > Best wishes, > > Ingo - -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2c/DgACgkQB8UpO3rKjQ8qNQCfVWARkYvtDCf794N0nuyvC1VD vDAAn25eBIbJFQD1qjt/mCFJLyfc/pT8 =Nmnw -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ 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