GNU bug report logs - #14284
24.3; regression, python.el, abbrevs don't expand

Previous Next

Package: emacs;

Reported by: Andreas Röhler <andreas.roehler <at> easy-emacs.de>

Date: Sat, 27 Apr 2013 06:20:02 UTC

Severity: normal

Found in version 24.3

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
Subject: bug#14284: closed (Re: bug#14284: 24.3; regression, python.el,
 abbrevs don't expand)
Date: Sat, 27 Apr 2013 13:10:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#14284: 24.3; regression, python.el, abbrevs don't expand

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 14284 <at> debbugs.gnu.org.

-- 
14284: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14284
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
Cc: 14284-done <at> debbugs.gnu.org
Subject: Re: bug#14284: 24.3; regression, python.el, abbrevs don't expand
Date: Sat, 27 Apr 2013 09:09:33 -0400
> However, when in Python-mode and cursor behind "ts", SPACE, resp.
> M-x expand-abbrev has no effect.
> Does not happen with Emacs 24.2

Indeed, it's a bug in Emacs-24.3: you need to enable
`python-skeleton-autoinsert'.

I fixed it recently in trunk so that `python-skeleton-autoinsert' only
applies to python-mode's skeletons and not to other abbrevs.


        Stefan

[Message part 3 (message/rfc822, inline)]
From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3; regression, python.el, abbrevs don't expand
Date: Sat, 27 Apr 2013 08:20:50 +0200
in Python-mode from emacs -Q,

M-x edit-abbrevs displays

"class" (sys)	    0 ""		     python-skeleton-class
"def" (sys)	    0 ""		     python-skeleton-def
"for" (sys)	    0 ""		     python-skeleton-for
"if" (sys)	    0 ""		     python-skeleton-if
"pst"	       0    "pdb.set_trace()"
"try" (sys)	    0 ""		     python-skeleton-try
"ts"	       0    "time.sleep(0.1)"
"tuir"	       0    "the unbelievable is reality"
"while" (sys)	    0 ""		     python-skeleton-while

However, when in Python-mode and cursor behind "ts", SPACE, resp.
M-x expand-abbrev has no effect.

Does not happen with Emacs 24.2


In GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 2.24.14)
 of 2013-03-05
Windowing system distributor `The X.Org Foundation', version 11.0.11302000
System Description:	openSUSE 12.3 Beta 1 (i586)

Configured using:
 `configure 'CFLAGS=-g -O2 -fno-optimize-sibling-calls''

Important settings:
  value of $LC_CTYPE: de_DE.UTF-8
  value of $LANG: de_DE.utf8
  value of $XMODIFIERS: @im=local
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Python

Minor modes in effect:
  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
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent input:
C-x C-f p r a b <tab> <backspace> <backspace> o g a
<tab> p y t <tab> h o n / e <tab> y p . p y <return>
<down> <down> C-SPC M-> C-w <return> M-x a b b r e
v - m o d e <return> M-x e d i t - a b b <tab> <return>
C-x b <return> t s SPC <backspace> M-x e x p a n d
- a b b <tab> <return> M-x r e p o r t - r <backspace>
e m a c s - b u g <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list... [2 times]
Mark set
Abbrev mode enabled
You can run the command `expand-abbrev' with C-x '

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils python rx comint ring ansi-color help-mode
easymenu time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel
x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list
newcomment lisp-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev minibuffer loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
dbusbind dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty emacs)



This bug report was last modified 12 years and 26 days ago.

Previous Next


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