From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Torsten Hilbrich Newsgroups: gmane.emacs.bugs Subject: Strange behaviour of track-mouse and make-local-variable Date: Sun, 26 May 2002 18:40:27 +0200 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <877klqsw04.fsf@myrkr.in-berlin.de> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1022431668 6561 127.0.0.1 (26 May 2002 16:47:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 26 May 2002 16:47:48 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17C1BM-0001hi-00 for ; Sun, 26 May 2002 18:47:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17C1C0-0002XC-00; Sun, 26 May 2002 12:48:28 -0400 Original-Received: from hirsch.in-berlin.de ([192.109.42.6]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17C18g-0001xc-00 for ; Sun, 26 May 2002 12:45:03 -0400 Original-Received: from hirsch.in-berlin.de (localhost [127.0.0.1]) by hirsch.in-berlin.de (8.12.1/8.12.1/Debian -2) with ESMTP id g4QGj1Ao029682 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for ; Sun, 26 May 2002 18:45:01 +0200 Original-Received: from myrkr.in-berlin.de (uucp@localhost) by hirsch.in-berlin.de (8.12.1/8.12.1/Debian -2) with BSMTP id g4QGj1h0029676 for bug-gnu-emacs@gnu.org; Sun, 26 May 2002 18:45:01 +0200 X-Envelope-From: email@myrkr.in-berlin.de X-Envelope-To: bug-gnu-emacs@gnu.org Original-Received: from torsten by myrkr.in-berlin.de with local (Exim 3.35 #1 (Debian)) id 17C14F-0006xk-00 for ; Sun, 26 May 2002 18:40:27 +0200 Original-To: bug-gnu-emacs@gnu.org X-Face: &h3VJ.Wf$"FwQv&ybX66{lt4*Mo%#kP6^"eU?7~UHhgF6l7)UB0f~g'}64W-b{tK1Jyh)^! %sc(cpH%Yv}bh"VwaJ>>!Kv*k4EJn^Lt[X|f< Original-Lines: 90 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386-debian-linux-gnu) Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:1612 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:1612 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 bug-gnu-emacs@gnu.org 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 C-x k y e s g t SPC C-u g SPC M-u q t t n n n n n n n n n n SPC n n SPC n n n n n n n n M-u q g M-x r e p o r t 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...