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

Agustin Martin agmartin at debian.org
Fri Nov 8 16:55:49 GMT 2019


On Wed, Nov 06, 2019 at 09:44:59PM -0800, Dima Kogan wrote:
> Hi.
> 
> It looks like the elpa-gnuplot-mode package is missing some of the
> debiany emacs machinery: the files in
> 
>   /usr/lib/emacsen-common/packages/...
> 
> Somebody should look at the packaging, and figure out what we're missing
> and add it. Likely it's just a line or two somewhere.

Hi,

Having played with gnuplot-mode before (but not with elpa) I have been
digging into this problem, which is not Emacs26 related.

Original problem seems to be a bogus hyphen in debian/rules that completely
disables the elpa machinery, so problem went undetected. It really took me
a while to spot this problem.

I also added a debian/gnuplot-mode-pkg.el file and fine tuned
elpa-gnuplot-mode.elpa to include it and be more selective regarding files
to install.

Once this is done I noticed that package did not pass the tests because
gnuplot package was missing at that time, so I added it to Build-Deps.

I finally added elpa-gnuplot-mode.emacsen-startup to keep the .gp -> gnuplot
mode association in Emacs auto-mode-alist.

I am attaching three git patches dealing with the above.

Hope they help

-- 
Agustin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Modify-to-work-better-with-elpa.patch
Type: text/x-diff
Size: 2216 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-emacsen-addons/attachments/20191108/9d61e09b/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-debian-control-Build-depend-on-gnuplot-to-allow-test.patch
Type: text/x-diff
Size: 1045 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-emacsen-addons/attachments/20191108/9d61e09b/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-elpa-gnuplot-mode.emacsen-startup-Add-auto-mode-alis.patch
Type: text/x-diff
Size: 1179 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-emacsen-addons/attachments/20191108/9d61e09b/attachment-0002.patch>


More information about the Pkg-emacsen-addons mailing list