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

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

syntax of _ in python-mode


From: Tom Tromey
Subject: syntax of _ in python-mode
Date: 26 Jul 2002 19:42:26 -0600

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.2.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2002-04-08 on porky.devel.redhat.com
configured using `configure  i386-redhat-linux --prefix=/usr --exec-prefix=/usr 
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share 
--includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec 
--localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man 
--infodir=/usr/share/info --with-gcc --with-pop --with-sound'
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: en_US.iso885915
  locale-coding-system: iso-latin-9
  default-enable-multibyte-characters: nil

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:


Right now the `_' character seems to have word syntax in python-mode.
M-f and M-b don't stop at an underscore.

I thought the standard in Emacs was that `_' ought to have "symbol
constituent" syntax.

Anyway, I was surprised by the behavior of M-b and M-f in python mode.
I would prefer that the syntax of _ be changed there.



Recent input:
d m e m a c s <return> d m l i s <tab> C-a C-k e l 
<tab> <return> s s y n t a x <return> m <return> s 
_ <return> s <return> s <return> s <return> s <return> 
s <return> s <return> s <return> s <return> C-v s <return> 
C-v s <return> s <return> s <return> s <return> s <return> 
s <return> s <return> t C-s s t a n d C-a m <return> 
C-s s y n t a x C-s C-a C-s C-g C-v C-v C-v C-v C-v 
C-v C-v C-l q M-x M-p <return>

Recent messages:
Type C-x 1 to remove help window.  C-M-v to scroll the help.
Composing main Info directory...
Mark set
Composing main Info directory...done
Composing main Info directory...
Mark set
Composing main Info directory...done
Searching subfile elisp-37...

Mark saved where search started [2 times]
isearch-abort: Quit
Tom



reply via email to

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