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

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

Strange behaviour of track-mouse and make-local-variable


From: Torsten Hilbrich
Subject: Strange behaviour of track-mouse and make-local-variable
Date: Sun, 26 May 2002 18:40:27 +0200
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386-debian-linux-gnu)

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-debian-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2002-03-22 on raven, modified by Debian
configured using `configure  i386-debian-linux-gnu --prefix=/usr 
--sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib 
--infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --with-x=yes 
--with-x-toolkit=athena --without-gif'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: de_DE
  value of $LC_MESSAGES: POSIX
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

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

=========================================================================

Here is a short example what seems to be wrong:

;; first statement
(progn
  (make-local-variable 'track-mouse)
  (if (local-variable-p 'track-mouse)
      (message "okay")
    (error "Error"))

  (with-output-to-temp-buffer "*Help*"
    nil)
  (delete-other-windows))

;; second statement
(if (local-variable-p 'track-mouse)
    (message "okay")
  (error "Error"))

All the statements must be manually evaluated using C-x C-e
(eval-last-sexp), I was unable to reproduce this error using
eval-region yet).  It seems that the return to toplevel before the
second statement is essential to trigger that bug.

Normally I would expect that these statements completes without any
error message, however in my experiments the last statement yields the
error message.

This behaviour can hardly be normal, it is too scary ;-)

If I replace the builtin variable track-mouse by another variable
(tested with 'test) the above error is not triggered.

I also tested the current CVS version (21.3.50.1, updated some minutes
ago) and got the same behaviour in this emacs version.

Regards,

        Torsten

=========================================================================


Recent input:
v a r i a b l e SPC i s SPC s t i l l SPC m a r k e 
d SPC a s SPC l o c a l : M-q <M-return> C-x k <return> 
y e s <return> g <down-mouse-2> <mouse-2> <help-echo> 
<help-echo> t SPC C-u g SPC M-u q <up> <return> <return> 
t t n n n n n n n n n n <up> <return> SPC n n SPC n 
n n n n n n n <help-echo> <down-mouse-1> <mouse-1> 
M-u q g M-x r e p o <tab> r t <tab> <return>

Recent messages:
Auto-saving...
Reading active file from localhost via nntp...
Reading active file via nnml...
nnml: Reading incoming mail from maildir... [3 times]
nnml: Reading incoming mail from file...
nnml: Reading incoming mail (no new mail)...done
Reading active file via nnml...done
Checking new news...done
Auto-saving...
Making completion list...




reply via email to

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