GNU bug report logs - #23126
24.3; format-message, phyton.el in GNU ELPA doesn't specify that it is required Emacs 25

Previous Next

Package: emacs;

Reported by: david lopez villegas <davidlvillegas <at> gmail.com>

Date: Sun, 27 Mar 2016 17:34:03 UTC

Severity: normal

Tags: patch

Merged with 23767

Found in versions 24.3, 24.4

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 23126 in the body.
You can then email your comments to 23126 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#23126; Package emacs. (Sun, 27 Mar 2016 17:34:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to david lopez villegas <davidlvillegas <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 27 Mar 2016 17:34:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: david lopez villegas <davidlvillegas <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3; format-message, phyton.el in GNU ELPA doesn't specify that it
 is required Emacs 25
Date: Sun, 27 Mar 2016 14:37:16 +0200
--text follows this line--

Debugger entered--Lisp error: (void-function format-message)
  (format-message "Add `%s' clause? " name)
  (let* ((name (symbol-name name)) (function-name (intern (concat
"python-skeleton--" name))) (msg (format-message "Add `%s' clause? "
name))) (if (not skel) (progn (setq skel (cons (quote <) (cons (format
"%s:" name) (quote (n n > _ n))))))) (cons (quote define-skeleton)
(cons function-name (cons (or doc (format "Auxiliary skeleton for %s
statement." name)) (cons nil (cons (cons (quote unless) (cons ...
...)) skel))))))
  (closure (python-shell--interpreter-args python-shell--interpreter
outline-heading-end-regexp view-return-to-alist t) (name doc &optional
&rest skel) "Define a `python-mode' auxiliary skeleton using NAME DOC
and SKEL.\nThe skeleton will be bound to python-skeleton-NAME." (let*
((name (symbol-name name)) (function-name (intern (concat
"python-skeleton--" name))) (msg (format-message "Add `%s' clause? "
name))) (if (not skel) (progn (setq skel (cons (quote <) (cons (format
"%s:" name) (quote ...)))))) (cons (quote define-skeleton) (cons
function-name (cons (or doc (format "Auxiliary skeleton for %s
statement." name)) (cons nil (cons (cons ... ...) skel)))))))(else
nil)
  (python-define-auxiliary-skeleton else nil)
  eval-buffer(#<buffer  *load*-689492> nil
"/home/user-name/.emacs.d/elpa/python-0.25.1/python.el" nil t)  ;
Reading at buffer position 170847
  load-with-code-conversion("/home/user-name/.emacs.d/elpa/python-0.25.1/python.el"
"/home/user-name/.emacs.d/elpa/python-0.25.1/python.el" nil t)
  require(python)
  eval-buffer(#<buffer  *load*> nil
"/home/user-name/.emacs.d/elpa/elpy-1.11.0/elpy.el" nil t)  ; Reading
at buffer position 1541
  load-with-code-conversion("/home/user-name/.emacs.d/elpa/elpy-1.11.0/elpy.el"
"/home/user-name/.emacs.d/elpa/elpy-1.11.0/elpy.el" nil t)
  command-execute(elpy-config record)
  execute-extended-command(nil "elpy-config")
  call-interactively(execute-extended-command nil nil)


If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/usr/share/emacs/24.3/etc/DEBUG.


In GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7)
 of 2014-03-07 on lamiak, modified by Debian
System Description:	Trisquel GNU/Linux 7.0, Belenos

Configured using:
 `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu'
 '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
 '--localstatedir=/var/lib' '--infodir=/usr/share/info'
 '--mandir=/usr/share/man' '--with-pop=yes'
 '--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3/site-lisp:/usr/share/emacs/site-lisp'
 '--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=yes'
 '--with-x-toolkit=gtk3' '--with-toolkit-scroll-bars'
 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector
 --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall'
 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'
 'CPPFLAGS=-D_FORTIFY_SOURCE=2''

Important settings:
  value of $LANG: es_ES.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Info

Minor modes in effect:
  gpm-mouse-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-n C-n C-n C-n C-n C-n RET C-v C-v C-u C-u C-n C-n
C-n C-p TAB C-p C-p TAB RET C-u C-n C-u C-n C-u C-n
C-f C-f C-n C-n RET C-v n C-v C-x ESC C-g C-x 3 C-x
o ESC x r e TAB p o TAB r TAB RET

Recent messages:
("emacs")
Loading 00debian-vars...done
Loading /etc/emacs/site-start.d/50cmake-data.el (source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...
Error while loading 50dictionaries-common: Symbol's value as variable
is void: debian-aspell-only-dictionary-alist
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list... [2 times]

Load-path shadows:
/usr/share/emacs24/site-lisp/cmake-data/cmake-mode hides
/usr/share/emacs/site-lisp/cmake-mode
/usr/share/emacs/24.3/site-lisp/debian-startup hides
/usr/share/emacs/site-lisp/debian-startup
/home/user-name/.emacs.d/elpa/company-0.8.12/.dir-locals hides
/usr/share/emacs/24.3/lisp/gnus/.dir-locals




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23126; Package emacs. (Sat, 04 Jun 2016 17:48:02 GMT) Full text and rfc822 format available.

Message #8 received at 23126 <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: 23126 <at> debbugs.gnu.org
Cc: david lopez villegas <davidlvillegas <at> gmail.com>
Subject: bug#23126: 24.3; format-message, phyton.el in GNU ELPA doesn't
 specify that it is required Emacs 25
Date: Sat, 4 Jun 2016 13:47:21 -0400
[Message part 1 (text/plain, inline)]
tag 23126 + patch
quit

I guess the point of having python.el in ELPA is to support older
emacs, so we should avoid calling format-message rather than require
Emacs 25? Patch attached.
[0001-Make-python.el-work-in-Emacs-24.patch (text/x-diff, attachment)]

Added tag(s) patch. Request was from Noam Postavsky <npostavs <at> users.sourceforge.net> to control <at> debbugs.gnu.org. (Sat, 04 Jun 2016 17:48:02 GMT) Full text and rfc822 format available.

Merged 23126 23767. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 14 Jun 2016 04:54:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23126; Package emacs. (Tue, 14 Jun 2016 05:38:02 GMT) Full text and rfc822 format available.

Message #15 received at 23126 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Noam Postavsky <npostavs <at> users.sourceforge.net>
Cc: 23126 <at> debbugs.gnu.org, david lopez villegas <davidlvillegas <at> gmail.com>
Subject: Re: bug#23126: 24.3;
 format-message, phyton.el in GNU ELPA doesn't specify that it is
 required Emacs 25
Date: Tue, 14 Jun 2016 01:37:23 -0400
Thanks, please apply. (Or we could just use \"%\" instead...)

(I guess I am not the only one who did not know that
lisp/progmodes/python.el gets used as-is in GNU elpa. Seems like a
recipe for confusion... I guess it gets it from the master branch, so
presumably you only need to patch it there?)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23126; Package emacs. (Tue, 14 Jun 2016 05:41:02 GMT) Full text and rfc822 format available.

Message #18 received at 23126 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Noam Postavsky <npostavs <at> users.sourceforge.net>
Cc: 23126 <at> debbugs.gnu.org, david lopez villegas <davidlvillegas <at> gmail.com>
Subject: Re: bug#23126: 24.3;
 format-message, phyton.el in GNU ELPA doesn't specify that it is
 required Emacs 25
Date: Tue, 14 Jun 2016 01:40:38 -0400
PS perhaps you will also need to bump the Version: header, so that elpa
offers it as a new package? I don't know how this stuff works...





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23126; Package emacs. (Tue, 14 Jun 2016 12:21:02 GMT) Full text and rfc822 format available.

Message #21 received at 23126 <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 23126 <at> debbugs.gnu.org, david lopez villegas <davidlvillegas <at> gmail.com>
Subject: Re: bug#23126: 24.3; format-message, phyton.el in GNU ELPA doesn't
 specify that it is required Emacs 25
Date: Tue, 14 Jun 2016 08:19:54 -0400
Oh, hah, I do have write access, don't I? I asked for it to push
yasnippet versions to ELPA, but didn't quite realize the access is to
both emacs and elpa repos.

On Tue, Jun 14, 2016 at 1:40 AM, Glenn Morris <rgm <at> gnu.org> wrote:
>
> PS perhaps you will also need to bump the Version: header, so that elpa
> offers it as a new package? I don't know how this stuff works...
>

I think that's right, based on archive--core-package-sync (in
elpa.git/admin/archive-contents.el), and what elpa.gnu.org is
currently serving. I've pushed to master now (2f523c15801), I'll close
the bug after the new python.el shows up in ELPA.




Reply sent to Noam Postavsky <npostavs <at> users.sourceforge.net>:
You have taken responsibility. (Tue, 14 Jun 2016 22:49:01 GMT) Full text and rfc822 format available.

Notification sent to david lopez villegas <davidlvillegas <at> gmail.com>:
bug acknowledged by developer. (Tue, 14 Jun 2016 22:49:01 GMT) Full text and rfc822 format available.

Message #26 received at 23126-done <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: 23126-done <at> debbugs.gnu.org
Cc: Glenn Morris <rgm <at> gnu.org>, david lopez villegas <davidlvillegas <at> gmail.com>
Subject: Re: bug#23126: 24.3; format-message, phyton.el in GNU ELPA doesn't
 specify that it is required Emacs 25
Date: Tue, 14 Jun 2016 18:48:01 -0400
Version: elpa/python-0.25.2

On Tue, Jun 14, 2016 at 8:19 AM, Noam Postavsky
<npostavs <at> users.sourceforge.net> wrote:
> I've pushed to master now (2f523c15801), I'll close
> the bug after the new python.el shows up in ELPA.

The fixed version is now being served from ELPA.




Reply sent to Noam Postavsky <npostavs <at> users.sourceforge.net>:
You have taken responsibility. (Tue, 14 Jun 2016 22:49:02 GMT) Full text and rfc822 format available.

Notification sent to wangjian <wangjiannuaa <at> outlook.com>:
bug acknowledged by developer. (Tue, 14 Jun 2016 22:49:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 13 Jul 2016 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 341 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.