unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Torsten Hilbrich <email@myrkr.in-berlin.de>
Subject: Strange behaviour of track-mouse and make-local-variable
Date: Sun, 26 May 2002 18:40:27 +0200	[thread overview]
Message-ID: <877klqsw04.fsf@myrkr.in-berlin.de> (raw)

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 <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	other threads:[~2002-05-26 16:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-26 16:40 Torsten Hilbrich [this message]
2002-05-27 22:56 ` Strange behaviour of track-mouse and make-local-variable Richard Stallman
2002-05-30 19:21   ` Torsten Hilbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877klqsw04.fsf@myrkr.in-berlin.de \
    --to=email@myrkr.in-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).