bug#2238: 23.0.90; [PATCH] Regression in python.el

Ian Eure <[email protected]>
Newsgroups gmane.emacs.bugs,gmane.emacs.pretest.bugs
Message-ID <[email protected]>
In Emacs 22, python-mode had an option, python-use-skeletons, which
controlled whether you would get a skeleton when you entered "def", or
the plain text.

This option is missing from Emacs 23 CVS, and I want the behavior
back, as I find the skeletons to be obnoxious and undesirable.

Patch is against current CVS HEAD.

In GNU Emacs 23.0.90.1 (i386-apple-darwin9.6.0, NS
apple-appkit-949.43)
  of 2009-02-03 on 64-71-7-199.static.wiline.com
Windowing system distributor `Apple', version 10.3.949
configured using `configure  '--with-ns''

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: nil
   value of $LC_CTYPE: nil
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: nil
   value of $XMODIFIERS: nil
   locale-coding-system: nil
   default-enable-multibyte-characters: t

Major mode: Diff

Minor modes in effect:
   diff-auto-refine-mode: t
   twit-mode: t
   yas/minor-mode: t
   which-function-mode: t
   ime-bindings: t
   shell-dirtrack-mode: t
   show-paren-mode: t
   recentf-mode: t
   iswitchb-mode: t
   cua-mode: t
   auto-insert-mode: t
   tooltip-mode: t
   mouse-wheel-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   global-auto-composition-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   size-indication-mode: t
   column-number-mode: t
   line-number-mode: t
   transient-mark-mode: t
   abbrev-mode: t

Recent input:
M-/ C-M-h C-M-\ C-_ C-x C-s C-x b s h e l C-g C-c !
<return> l s <return> d i f f SPC - u SPC P <backspace>
p y <tab> SPC p y <tab> <tab> . <tab> <return> M-p
SPC <backspace> > SPC ~ / u s e - M-b p y h o n <backspace>
<backspace> <backspace> t h i n <backspace> <backspace>
o n C-e C-b C-b C-b C-b - C-e s k e l e t o n s . d
i f f <return> m v SPC ~ / p y <tab> ~ D <backspace>
/ D e <tab> <return> <help-echo> <down-mouse-1> <mouse-1>
C-x C-f ~ / P r <tab> e m <tab> <return> C-x C-d <return>
- n a m e SPC p y t h o n . e l <return> <return> C-s
; ; SPC s k e l e t C-e C-x 4 b p y <return> C-n C-p
C-n C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
C-p C-p C-p C-p C-p C-p C-p C-p C-SPC C-n C-n C-n C-n
C-n C-e M-w C-x o <return> <return> C-y C-n C-v C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-p C-p C-p C-p M-m M-1 M-( o r
<backspace> <backspace> i f SPC p y M-/ M-/ <M-backspace>
<M-backspace> <M-backspace> u s M-/ SPC C-o C-n <tab>
C-n C-p C-p M-m C-SPC C-n C-n C-e C-n C-M-\ C-x C-s
C-x v = C-x C-w ~ / p y t h o n - u s e - s k e l e
t o n s . C-b - C V S H E A D C-e d i f f <return>
<menu-bar> <help-menu> <send-emacs-bug-report>

Recent messages:
Completed [2 times]
find-dired *Find* finished.
Loading vc-cvs...done
Mark saved where search started
Mark set [3 times]
Saving file /Users/ieure/Projects/emacs/lisp/progmodes/python.el...
Mark set
Wrote /Users/ieure/Projects/emacs/lisp/progmodes/python.el
Finding changes in
/Users/ieure/Projects/emacs/lisp/progmodes/python.el...done
Wrote /Users/ieure/python-use-skeletons-CVSHEAD.diff
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.