From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [steve@ims.uni-stuttgart.de: weirdness with mouse-sel-mode, mouse-save-then-kill, kill-ring] Date: Sat, 15 Jun 2002 08:13:45 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200206151413.g5FEDjR10310@aztec.santafe.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1024150569 18063 127.0.0.1 (15 Jun 2002 14:16:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 15 Jun 2002 14:16:09 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17JELZ-0004hE-00 for ; Sat, 15 Jun 2002 16:16:09 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17JEkr-0003vL-00 for ; Sat, 15 Jun 2002 16:42:17 +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 17JELP-0003Mj-00; Sat, 15 Jun 2002 10:15:59 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17JEJH-0003Dr-00; Sat, 15 Jun 2002 10:13:47 -0400 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.11.6) with ESMTP id g5FEDjQ05225; Sat, 15 Jun 2002 08:13:45 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g5FEDjR10310; Sat, 15 Jun 2002 08:13:45 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: mikew@gopher.dosli.govt.nz Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:4881 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4881 Are you still maintaining mouse-sel? If so, would you please take a look at this? X-Authentication-Warning: steve.ims.uni-stuttgart.de: steve set sender to steve@ims.uni-stuttgart.de using -f To: bug-gnu-emacs@gnu.org Subject: weirdness with mouse-sel-mode, mouse-save-then-kill, kill-ring Reply-to: steve@ims.uni-stuttgart.de From: Stephen Berman Sender: bug-gnu-emacs-admin@gnu.org Date: 07 Jun 2002 16:00:10 +0200 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 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2002-03-19 on steve Important settings: value of $LC_ALL: nil value of $LC_COLLATE: POSIX 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: 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: Mouse-sel-mode seems to interact weirdly with mouse-3 (mouse-save-then-kill) and the kill-ring: (i) Start emacs -q --no-site-file and open a nonempty writeable file (or just use the text in *scratch*). Carry out some sanity checks: Select a region with the mouse: as described in the manual, a region is selected (and highlighted) and put in the kill-ring by first clicking somewhere on the text with mouse-1 and then clicking elsewhere on the text with mouse-3. The region is killed by clicking mouse-3 again at either end; you can also simultaneously select and kill a region by clicking mouse-1 and then double-clicking mouse-3. The selected/killed text can be yanked to another position in the window, to another window in the same frame, to another frame, or to the window of another desktop application. So far so good. (ii) Now enable mouse-sel-mode by typing `M-x mouse-sel-mode'. Now selecting a region works as above, but killing it is possible only by double-clicking mouse-3, not by clicking it a second time after having selected the region. Yanking works as above. However, selecting the region by clicking with mouse-1 and mouse-3 does not put it in the kill-ring, though the region is nevertheless yankable everywhere. (iii) Now disable mouse-sel-mode by again typing `M-x mouse-sel-mode'. (a) Now clicking first with mouse-1 and then with mouse-3 fails to select a region: the clicked area of text is neither highlighted, nor can it be killed either by clicking mouse-3 again or by double-clicking it, nor can it be yanked. Instead, and unlike before enabling mouse-sel-mode, a region can now be selected (and highlighted) by clicking only mouse-3 at both ends, and killed by then double-clicking mouse-3 (but not by clicking it just once again). However, a region selected in this way but not killed is not inserted into the kill ring and, unlike the behavior described in (ii) above, cannot be yanked within the current Emacs, though it can be pasted to another desktop application (including another Emacs session). (b) If now mouse-1 is clicked and then held and dragged, a region of text is highlighted and put into the kill ring, but it is still not killable with mouse-3 (whether single-clicked again or double-clicked); however, it can be killed with `C-w' and also yanked -- but only within the same Emacs session, not to another desktop application (including another Emacs session). (c) If now transient-mark-mode is enabled (disabled by default in Emacs 21), then a region is again selected by clicking with mouse-1 and mouse-3, and killing and yanking it now functions as in (a) above. Recent input: M H q M-g SPC 1 2 SPC ^ SPC SPC q s C-h i m e m m m o u C * C-g M-x r e p o r t Recent messages: Saving /home/steve/.newsrc.eld...done Loading info...done Composing main Info directory... Mark set Composing main Info directory...done Making completion list... Loading view...done Quit Wrote /home/steve/.w3/history Loading emacsbug...done _______________________________________________ Bug-gnu-emacs mailing list Bug-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs