emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#14284: closed (24.3; regression, python.el, abbrev


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#14284: closed (24.3; regression, python.el, abbrevs don't expand)
Date: Sat, 27 Apr 2013 13:10:01 +0000

Your message dated Sat, 27 Apr 2013 09:09:33 -0400
with message-id <address@hidden>
and subject line Re: bug#14284: 24.3; regression, python.el, abbrevs don't 
expand
has caused the debbugs.gnu.org bug report #14284,
regarding 24.3; regression, python.el, abbrevs don't expand
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
14284: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14284
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.3; regression, python.el, abbrevs don't expand Date: Sat, 27 Apr 2013 08:20:50 +0200 User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5
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)



--- End Message ---
--- Begin Message --- Subject: Re: bug#14284: 24.3; regression, python.el, abbrevs don't expand Date: Sat, 27 Apr 2013 09:09:33 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
> 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


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]