[Pkg-emacsen-addons] Bug#944249: Bug#944249: gnuplot-mode does not work with emacs26
Agustin Martin
agmartin at debian.org
Mon Nov 18 12:03:43 GMT 2019
On Mon, Nov 18, 2019 at 07:28:45AM -0400, David Bremner wrote:
> 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?
>
Hi, David,
> That's not loaded by elpa packages.
But AFAIK it should be loaded by Emacs,
> The general approach is to add an autoload cookie to set
> auto-mode-alist. See "HINTS" in dh_elpa(1).
I was looking at it and noticed the autoloads part, but nothing about
`auto-mode-alist'. Where is it?
> 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.
By the way, previous emacsen-startup file also used the .gnuplot extension.
Regards,
--
Agustin
More information about the Pkg-emacsen-addons
mailing list