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

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

python-describe-symbol wonky in unicode-2, OK in main branch


From: trentbuck
Subject: python-describe-symbol wonky in unicode-2, OK in main branch
Date: Sat, 03 Mar 2007 15:24:21 +1100

In a checkout of unicode-2 branch on 2007-03-02, I note the following:

    emacs-unicode-2 -Q -batch -f toggle-debug-on-error -f python-mode -eval 
'(insert "import")' -eval '(with-syntax-table python-dotty-syntax-table 
(current-word))'
    Debug on Error enabled globally
    Debugger entered--Lisp error: (error "Error in syntax_table logic for 
to-the-end intervals")
      skip-syntax-backward("w_")
      current-word()
      (progn (set-syntax-table python-dotty-syntax-table) (current-word))
      (unwind-protect (progn (set-syntax-table python-dotty-syntax-table) 
(current-word)) (save-current-buffer (set-buffer buffer) (set-syntax-table 
table)))
      (let ((table ...) (buffer ...)) (unwind-protect (progn ... ...) 
(save-current-buffer ... ...)))
      (with-syntax-table python-dotty-syntax-table (current-word))
      eval((with-syntax-table python-dotty-syntax-table (current-word)))
      command-line-1(("-f" "toggle-debug-on-error" "-f" "python-mode" "-eval" 
"(insert \"import\")" "-eval" "(with-syntax-table python-dotty-syntax-table 
(current-word))"))
      command-line()
      normal-top-level()

This does NOT manifest with a checkout of the main branch from the
same date.

This appears to affect python-describe-symbol and eldoc-mode when
editing Python source code.  Adding a comment on the first line of the
file (e.g. "#!/usr/bin/python") appears to avoid the error.

-- 
In GNU Emacs 23.0.0.1 (i486-pc-linux-gnu)
 of 2007-03-02 on rocinante, modified by Debian
 (Debian emacs-unicode-2 package, version 1:20070302-1)
configured using `configure  '--build' 'i486-linux-gnu' '--host' 
'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' 
'--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' 
'--mandir=/usr/share/man' '--with-pop=yes' 
'--enable-locallisppath=/etc/emacs-unicode-2:/etc/emacs:/usr/local/share/emacs/23.0.0/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.0/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.0.0/leim'
 '--with-x=no' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 
'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  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_AU.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: rcirc

Minor modes in effect:
  rcirc-track-minor-mode: t
  shell-dirtrack-mode: t
  xterm-mouse-mode: t
  partial-completion-mode: t
  show-paren-mode: t
  delete-selection-mode: t
  encoded-kbd-mode: t
  use-hard-newlines: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
SPC ESC f ) RET E m a c s SPC " 2 3 " SPC h a s SPC 
x f t SPC a n d SPC u n i c o d e SPC f u n c t i o 
n a l i t y , SPC a n d SPC m t t y SPC f u n c t i 
o n a l i y DEL t y SPC n SPC DEL ESC [ 1 ~ C-k ESC 
x r e p o r t SPC e m TAB b u TAB RET

Recent messages:
Wrote /home/twb/Desktop/tmp.py
Mark set
Type C-c C-c to return text to address@hidden, or C-c C-k to cancel
Mark set
Quit
Mark set [2 times]
iswitchb-read-buffer: Command attempted to use minibuffer while in minibuffer
call-interactively: No command name given
Quit
Loading emacsbug...done




reply via email to

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