[Pkg-emacsen-addons] Bug#944249: Bug#944249: gnuplot-mode does not work with emacs26

David Bremner david at tethera.net
Mon Nov 18 11:28:45 GMT 2019


Dima Kogan <dima at secretsauce.net> writes:

> Thanks for the patches, Agustin. I just tried it out. Works for the most
> part. One thing that doesn't work for me is (gnuplot-mode) being
> executed when opening a .gp file. You added this to the package, and the
> dh-elpa machinery is creating the appropriate file:
>
>   /etc/emacs/site-start.d/50elpa-gnuplot-mode.el
>
> I don't think this is being evaluated, however. Is it working for you?

That's not loaded by elpa packages.

The general approach is to add an autoload cookie to set
auto-mode-alist. See "HINTS" in dh_elpa(1). Of course the usual cautions
about auto-mode-alist apply, in particular there's no nice way to resolve
conflicts with other packages (e.g. pari-gp) that might want to use the
same suffix.



More information about the Pkg-emacsen-addons mailing list