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

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

flyspell mode breaks mouse-2 paste


From: Paul Smith
Subject: flyspell mode breaks mouse-2 paste
Date: Fri, 18 Jan 2002 10:19:55 -0500

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.1.1 (i386-debian-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2001-12-06 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: 
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: C
  locale-coding-system: nil
  default-enable-multibyte-characters: t

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

If flyspell-mode is enabled in a buffer, then when you paste with the
mouse (using mouse-2; this is in X window mode, not in -nw) the mark is
no longer set.  I actually see a note in the message buffer saying that
the mark is being set, but then it's not set (maybe there is an extra
save-excursion outside of the paste somewhere which is breaking this?)

To reproduce:

  $ emacs -q -no-site-file

Then select some text from somewhere and paste it into the *scratch*
buffer using mouse-2.  Now use C-x C-x and the mark is properly set,
just as you'd expect.

Exit this Emacs and restart it, again with:

  $ emacs -q -no-site-file

Now, enable flyspell in the *scratch* buffer:

  M-x flyspell-mode RET

Now, select some text and paste it into the *scratch* buffer with
mouse-2.  Try C-x C-x and it'll say "Mark is not set".

:(

You don't have to restart Emacs; if you paste, then enable flyspell,
then paste again you'll see that the mark didn't change the second time:
it's still where it was after the first paste.


Recent input:
C-s <f3> <down-mouse-2> <mouse-2> n q p p p p p p C-n 
C-n C-n SPC 5 <return> q C-p C-p C-p C-p SPC 5 <return> 
a f l y s p e l l - m o d e SPC b r e a k s SPC m o 
u s e SPC p a s t i n g ? C-n C-a C-n C-p C-p C-e C-n 
C-a C-n C-n C-n C-n C-n C-n C-n C-n C-n C-o C-o C-x 
k C-g <switch-frame> M-x e m a c s <M-backspace> r 
e p o <tab> r <tab> <return>

Recent messages:
Scoring...done
Generating summary...done
No more unread articles
Retrieving newsgroup: gnu.emacs.bug...
Fetching headers for gnu.emacs.bug...done
Scoring...done
Generating summary...done
Quit
Making completion list...
Loading /usr/share/emacs/21.1/lisp/mail/emacsbug.elc...done


-- 
-------------------------------------------------------------------------------
 Paul D. Smith <pausmith@nortelnetworks.com> HASMAT: HA Software Mthds & Tools
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
   These are my opinions---Nortel Networks takes no responsibility for them.



reply via email to

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