Your message dated Sun, 21 Jun 2020 06:28:26 -0300
with message-id <87mu4wsr7p....@tethera.net>
and subject line Re: Bug#963220: ELPA: pspp-mode.el installed in package pspp 
1.2.0-5 via dh_elpa cannot be installed
has caused the Debian Bug report #963220,
regarding ELPA: pspp-mode.el installed in package pspp 1.2.0-5 via dh_elpa 
cannot be installed
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
963220: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=963220
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dh-elpa
Version: 2.0.3

Hi,

i run some tests on debian testing. I installed the recently build
pspp 1.2.0-5 package which uses dh-elpa to install pspp-mode.el
for emacs. In the current emacs version in testing 1:26.3+1-2
I cannot install the package. When I run 

M-x package-list-packages

I see:
  ...
  zones              2019.7.13     available  Zones of text - like multiple 
regions
  ztree              1.0.5         available  Text mode directory tree
  poker              0.2           installed  Texas hold 'em poker
  psgml              1.3.4         installed  SGML-editing mode with parsing 
support
  dh-elpa            2.0.4         external   package.el style packages for 
Debian
  pspp-mode          1.0           external   Major mode for editing PSPP files
  ada-mode           4.0           built-in   major-mode for editing Ada sources
  ...

There are only the dh-elpa and the pspp-mode package listed as „external“. When
I type „i“ to install pspp-mode, then this does not work. This works for the
„available“ packages. So listing works, the info is shown but I cannot use the
package. It seems that nobody else uses dh-elpa right?

Friedrich

--- End Message ---
--- Begin Message ---
Friedrich Beckmann <friedrich.beckm...@gmx.de> writes:

>>> 
>>> i run some tests on debian testing. I installed the recently build
>>> pspp 1.2.0-5 package which uses dh-elpa to install pspp-mode.el
>>> for emacs.

I can't see anything here that looks like a bug in dh-elpa. I'm
closing the bug for now. Of course you can re-open it later if you
discover something new.

>>> M-x package-list-packages
>>> 
>>> I see:
>>>  ...
>>>  zones              2019.7.13     available  Zones of text - like multiple 
>>> regions
>>>  ztree              1.0.5         available  Text mode directory tree
>>>  poker              0.2           installed  Texas hold 'em poker
>>>  psgml              1.3.4         installed  SGML-editing mode with parsing 
>>> support
>>>  dh-elpa            2.0.4         external   package.el style packages for 
>>> Debian
>>>  pspp-mode          1.0           external   Major mode for editing PSPP 
>>> files
>> 
>>    * if you click on pspp-mode I think you'll find
>>      Status: External in 
>> ‘/usr/share/emacs/site-lisp/elpa-src/pspp-mode-1.0/pspp-mode.el’
>
> I see:
>      Status: External in ‘/usr/share/emacs/site-lisp/elpa/pspp-mode-1.0/’ 
> (unsigned).
>
>>    * "Status: External" means it has been installed.
>>    * What does M-x locate-library psp-mode return?
>
> M-x locate-library pspp-mode returns:
>
> Library is file /usr/share/emacs/site-lisp/pspp/pspp-mode.el

Your binary package contains two copies of pspp-mode.el; one in the old
place that you fine with locate-libary. This is because of

debian/pspp.install:pspp-mode.el usr/share/emacs/site-lisp/pspp

> Yes, I have and I expected that I can activate the pspp-mode simply
> with "M-x pspp-mode“, but that is not possible. I have to do
>
> M-x load-library pspp-mode.el (loading from 
> /usr/share/emacs/site-lisp/pspp/pspp-mode.el)
>
> and then I can do
>
> M-x pspp-mode
>
> to switch the mode. As far as I remember the only requirement for that
> would be to have just the pspp-mode.el file in that path, no?
>

dh_elpa relies on the elisp providing appropriate autoload
statements. "Debian-specific Lisp customizations" in dh_elpa(1)
discusses how these can be added.

--- End Message ---

Reply via email to