X-Loop: help-debbugs@HIDDEN Subject: bug#58176: 29.0.50; mouse-set-point region flicker with highlight-nonselected-windows=t and same buffer in two windows Resent-From: miha@HIDDEN Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 29 Sep 2022 17:25:01 +0000 Resent-Message-ID: <handler.58176.B.166447228212725 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 58176 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 58176 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.166447228212725 (code B ref -1); Thu, 29 Sep 2022 17:25:01 +0000 Received: (at submit) by debbugs.gnu.org; 29 Sep 2022 17:24:42 +0000 Received: from localhost ([127.0.0.1]:39520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1odxH7-0003JA-KI for submit <at> debbugs.gnu.org; Thu, 29 Sep 2022 13:24:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:56882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <miha@HIDDEN>) id 1odxH3-0003Iz-8B for submit <at> debbugs.gnu.org; Thu, 29 Sep 2022 13:24:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33388) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <miha@HIDDEN>) id 1odxH2-0001Ss-AW for bug-gnu-emacs@HIDDEN; Thu, 29 Sep 2022 13:24:37 -0400 Received: from kamnitnik.top ([2001:19f0:5001:bf2:5400:2ff:fee0:2626]:59990) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <miha@HIDDEN>) id 1odxH0-0003pB-GD for bug-gnu-emacs@HIDDEN; Thu, 29 Sep 2022 13:24:36 -0400 From: miha@HIDDEN DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kamnitnik.top; s=mail; t=1664472268; bh=E4QgHnIN183OC0XFicFSvsY/yrUJZqKks/g1imCVzd0=; h=From:To:Subject:Date:From; b=Jf6GYeUar3NOmD5Ej0advCrSC2uvnPuvOuEeI8GPGdAqJmNyEiPmsecGstU248Q7d 9pjXbvyVKZZ4D6ENuISwAhq9zqQLwUKWPF55gTjFEbAS8lzyKcxc372+IZGfJAJh66 1jrd34PxrMy5zo7gIS3nrQbiIzyKiZTA7FEjfZjHPwD87UrXQd+1A6icvdvKF0Hvvh 5eai1/tR43O95u8y0aTnTAHA8/N7gNYEWAfk24XwRbuiubOelnIqbI5FD0rzFQ4Ahn XFkmgVjKLzet+hFBbXqhNDymis2Ed6z4NGwub2HIXx5chlaZ31PCBTE0WkybwxklPf XG9XNmv48TEeg== Date: Thu, 29 Sep 2022 19:38:28 +0200 Message-ID: <86pmfeaxnv.fsf@miha-pc> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2001:19f0:5001:bf2:5400:2ff:fee0:2626; envelope-from=miha@HIDDEN; helo=kamnitnik.top X-Spam_score_int: 0 X-Spam_score: -0.1 X-Spam_bar: / X-Spam_report: (-0.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.001, FROM_SUSPICIOUS_NTLD_FP=1.999, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_PDS_OTHER_BAD_TLD=0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 2.6 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: emacs -q: 1. (setq highlight-nonselected-windows t) 2. 'C-x 2' 3. Click with mouse-1 somewhere to move point Notice that for the duration mouse-1 being held down for the click, region highlighting appears in the non-selected window. Usually the click is short so the region only appears for a short time, whic [...] Content analysis details: (2.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: kamnitnik.top (top)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=miha%40kamnitnik.top; ip=209.51.188.17; r=debbugs.gnu.org] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 2.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 0.0 FROM_SUSPICIOUS_NTLD From abused NTLD X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.4 (/) --=-=-= Content-Type: text/plain emacs -q: 1. (setq highlight-nonselected-windows t) 2. 'C-x 2' 3. Click with mouse-1 somewhere to move point Notice that for the duration mouse-1 being held down for the click, region highlighting appears in the non-selected window. Usually the click is short so the region only appears for a short time, which can be perceived as a somewhat annoying flicker. In GNU Emacs 29.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.17.6) of 2022-09-29 built on miha-pc Repository revision: 0edd7770e0ce70cac59f239134962d10f48dec79 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Arch Linux Configured using: 'configure -C --prefix=/usr --without-libsystemd --enable-checking=yes,glyphs --enable-check-lisp-object-type 'CFLAGS=-O0 -g3'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: en_US.utf8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t buffer-read-only: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date subr-x cl-loaddefs cl-lib rmc iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 38907 4530) (symbols 48 5110 0) (strings 32 13189 1629) (string-bytes 1 377949) (vectors 16 9355) (vector-slots 8 148819 10571) (floats 8 25 24) (intervals 56 348 5) (buffers 1000 11)) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJHBAEBCAAxFiEEmxVnesoT5rQXvVXnswkaGpIVmT8FAmM12BQTHG1paGFAa2Ft bml0bmlrLnRvcAAKCRCzCRoakhWZP/tlEACruiHHsTbKsKjv0nPHlu+LW0Pw5Vdk 74zVWDKh1jdVlSu+62E226RLR1VVvaaFNxKZutJSJcPrfFSxWxmxX7S+8marR18C HP1UwgIF58lu+RPz9/D5ulGMPad3hZsXH28K3NaLmX1mBLWgMGmXkdl4VUkC6Teu iUC5PZ/T6AUVqjYBhT80n20owI9NfradDihvgmhOnKktEdoO8NJ8wH10BORr9LIm mq/6g+k6skJJYoxi7mvS2Ib0V/Gxrh5q1/K2rKWefsRNz1WUhRUQTH5N36I6ew4F qZ5QOCK0/9q/5Aw75Kd2LtMHTNw/OAfW1OKLAsxSigr822uM5NLwrZ9OTlhHU0gk 9cX1XVSsXdyOw1u3sVW8IxnAF8WE70YIX6Z0s4jVJ0ucW/bIVpkr8Cl8TPfDR1cz K4iIapYdN0FDTk1aFh3TDzZer6V8ZBNwkOk4NbhuJZ3IwHhhXn261m42CdicqqpO ybgfcBkfHHuY66WUsXOWWjI0FUDJHIPmUrwOVvnj/csGwkWYo1Yby6Cj4ZdNTUed fwkfjQbEJAsmZPmazEMZw5zKOZSF7nb0HnsaEHd508shen3Lf21YgZrTxW9RgsVz PXW+SoK/ASnyaA5MriHFXUavsV07PTDRXbdgNgoFkifwj1/vcnVBYZUmZZiSx6Jx c7bYqymoJXf0JQ== =kff2 -----END PGP SIGNATURE----- --=-=-=--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: miha@HIDDEN Subject: bug#58176: Acknowledgement (29.0.50; mouse-set-point region flicker with highlight-nonselected-windows=t and same buffer in two windows) Message-ID: <handler.58176.B.166447228212725.ack <at> debbugs.gnu.org> References: <86pmfeaxnv.fsf@miha-pc> X-Gnu-PR-Message: ack 58176 X-Gnu-PR-Package: emacs Reply-To: 58176 <at> debbugs.gnu.org Date: Thu, 29 Sep 2022 17:25:01 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 58176 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 58176: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D58176 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#58176: 29.0.50; mouse-set-point region flicker with highlight-nonselected-windows=t and same buffer in two windows Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 29 Sep 2022 18:55:01 +0000 Resent-Message-ID: <handler.58176.B58176.166447768421453 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 58176 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: miha@HIDDEN Cc: 58176 <at> debbugs.gnu.org Received: via spool by 58176-submit <at> debbugs.gnu.org id=B58176.166447768421453 (code B ref 58176); Thu, 29 Sep 2022 18:55:01 +0000 Received: (at 58176) by debbugs.gnu.org; 29 Sep 2022 18:54:44 +0000 Received: from localhost ([127.0.0.1]:39587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1odygG-0005Zw-2I for submit <at> debbugs.gnu.org; Thu, 29 Sep 2022 14:54:44 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1odygB-0005Zg-I9 for 58176 <at> debbugs.gnu.org; Thu, 29 Sep 2022 14:54:42 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41468) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1odyg4-0002rU-FC; Thu, 29 Sep 2022 14:54:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=1k3k/YMKn05XdFjNrkuDyqka8YKTBfo6qw3FFLMZOHc=; b=kPtvBWfx1FxW DTsBygaZs9w4AcMB7FDZQOXtAPbZhulCCj06OBuwOOd3udfz2vqhZKNEqAiOQHIUU6hZAJazxxzTW E+782xE2vl4Csc7Ir4VOPq9x/3Bc9GL42IuTAWquqjQuOmjQNGOEHRka6vVIi+CYmLY3Ktux8OhTu n1AMKVxg4+zAzi0gXRllcuunPcx7pOn2lbLuHLEAKIVTpoEMb8mnNJ6wmVJCm7KABKvswfnYqX6/6 +LiO9/r/PCy4kzS3eQOa3qFsUshyeUCE1vDIyLMwB1rdCDdj3Rhl7a2ljW2WlzPVGfGJ8bZSCdGHn giygHhMhwqwzZXfnafaZBA==; Received: from [87.69.77.57] (port=4958 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1odyfl-0005DI-Ca; Thu, 29 Sep 2022 14:54:22 -0400 Date: Thu, 29 Sep 2022 21:54:03 +0300 Message-Id: <838rm2f1v8.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <86pmfeaxnv.fsf@miha-pc> (bug-gnu-emacs@HIDDEN) References: <86pmfeaxnv.fsf@miha-pc> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Thu, 29 Sep 2022 19:38:28 +0200 > From: miha--- via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> > > 1. (setq highlight-nonselected-windows t) > 2. 'C-x 2' > 3. Click with mouse-1 somewhere to move point > > Notice that for the duration mouse-1 being held down for the click, > region highlighting appears in the non-selected window. Usually the > click is short so the region only appears for a short time, which can be > perceived as a somewhat annoying flicker. It's a direct consequence of the fact that point is different in each window. I don't see any bug here, FWIW. If you don't like this side effect of highlight-nonselected-windows, then don't set it non-nil.
X-Loop: help-debbugs@HIDDEN Subject: bug#58176: 29.0.50; mouse-set-point region flicker with highlight-nonselected-windows=t and same buffer in two windows Resent-From: <miha@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 29 Sep 2022 20:56:02 +0000 Resent-Message-ID: <handler.58176.B58176.16644849481091 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 58176 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 58176 <at> debbugs.gnu.org Received: via spool by 58176-submit <at> debbugs.gnu.org id=B58176.16644849481091 (code B ref 58176); Thu, 29 Sep 2022 20:56:02 +0000 Received: (at 58176) by debbugs.gnu.org; 29 Sep 2022 20:55:48 +0000 Received: from localhost ([127.0.0.1]:39792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oe0ZQ-0000HX-Cq for submit <at> debbugs.gnu.org; Thu, 29 Sep 2022 16:55:48 -0400 Received: from kamnitnik.top ([209.250.245.214]:50858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <miha@HIDDEN>) id 1oe0ZN-0000HL-Kl for 58176 <at> debbugs.gnu.org; Thu, 29 Sep 2022 16:55:46 -0400 From: <miha@HIDDEN> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kamnitnik.top; s=mail; t=1664484942; bh=FLNbXC7PlWXDVGYipufuKniGEhWZo/Yg+TUJeoW/jHo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=DyqvtRGRh5UaJJaCPqkff2L7BXFZHGH1D4hTu7FUh514yBqcUmi62mWsoryqpN9fW zgRwiNKFrZBIydTgvvMF93vP+9f+BjzwCHMGo5P/NIyhRgUpAH0b5iD1wgg5qAKC2T DbaioupV2Fw/smB9C0nJkqjLBytUt7PnqEub9CiAw4b3Q5j22RmXJKdDECfIi2eoiy yS76ZjdJutpdacqzjsjtCeLmaTxzOJMRrCGqHMUSJIWX8Yt9xW3Yo5EjTIJqarFJrK 7bRMfjU5NHDRQBH9KKPXVW7+K465zSCNl+Sj+CGX0hbUbP42v2mbN9Lt0JveKMALEI 2gL99Z68XxnZg== In-Reply-To: <838rm2f1v8.fsf@HIDDEN> References: <86pmfeaxnv.fsf@miha-pc> <838rm2f1v8.fsf@HIDDEN> Date: Thu, 29 Sep 2022 23:09:37 +0200 Message-ID: <87wn9lubu6.fsf@miha-pc> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Eli Zaretskii <eliz@HIDDEN> writes: >> Date: Thu, 29 Sep 2022 19:38:28 +0200 >> From: miha--- via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> >> >> 1. (setq highlight-nonselected-windows [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: kamnitnik.top (top)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 FROM_SUSPICIOUS_NTLD From abused NTLD X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Eli Zaretskii <eliz@HIDDEN> writes: >> Date: Thu, 29 Sep 2022 19:38:28 +0200 >> From: miha--- via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> >> >> 1. (setq highlight-nonselected-windows [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: kamnitnik.top (top)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD 0.0 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eli Zaretskii <eliz@HIDDEN> writes: >> Date: Thu, 29 Sep 2022 19:38:28 +0200 >> From: miha--- via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> >>=20 >> 1. (setq highlight-nonselected-windows t) >> 2. 'C-x 2' >> 3. Click with mouse-1 somewhere to move point >>=20 >> Notice that for the duration mouse-1 being held down for the click, >> region highlighting appears in the non-selected window. Usually the >> click is short so the region only appears for a short time, which can be >> perceived as a somewhat annoying flicker. > > It's a direct consequence of the fact that point is different in each > window. I don't see any bug here, FWIW. If you don't like this side > effect of highlight-nonselected-windows, then don't set it non-nil. Well, maybe we could try a bit harder to reduce the flicker for ordinary non-dragging mouse-1 clicks. One idea could be to prevent down-mouse-1 from activating mark until the region becomes non-zero length, so something like this patch. diff --git a/lisp/mouse.el b/lisp/mouse.el index e38a4f8a71..a0f48de923 100644 =2D-- a/lisp/mouse.el +++ b/lisp/mouse.el @@ -1729,7 +1729,7 @@ mouse-drag-track '(only) (cons 'only transient-mark-mode))) (let ((range (mouse-start-end start-point start-point click-coun= t))) =2D (push-mark (nth 0 range) t t) + (push-mark (nth 0 range) t (not (eql (nth 0 range) (nth 1 rang= e)))) (goto-char (nth 1 range))) =20 (setf (terminal-parameter nil 'mouse-drag-start) start-event) @@ -1794,7 +1794,10 @@ mouse--drag-set-mark-and-point (goto-char beg)) (t (set-mark beg) =2D (goto-char end))))) + (goto-char end))) + (unless mark-active + (unless (eql beg end) + (activate-mark 'no-tmm))))) =20 ;; Commands to handle xterm-style multiple clicks. (defun mouse-skip-word (dir) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJHBAEBCAAxFiEEmxVnesoT5rQXvVXnswkaGpIVmT8FAmM2CZETHG1paGFAa2Ft bml0bmlrLnRvcAAKCRCzCRoakhWZP3t8D/9RJmzT1zcSgQ610ENgmoLXTE3EKuUg 5mUngkjVrTiDvbzzVytK0MFeBZce2xp5HKpfTd48FgBgmm1+k06FgAEpRDSWxslq FfSLTBMRoLYJR+W+KAsVthimmG6DW6FfT+PIzAKTpiF93b3NKhnwRBgPgWf9Xg8Y HnpdQZK0b/yyS0hwv3GoYUVrMsBlmq7quCsa5+lzpq8HR1gh+qJPLxXdU2Ha/XRd Pb1OE23i9jV0Fh2mti3zOqpGs6iYlQw+u5MSwUO0DH/YigyjiwqfsFqmhdCox+RA H3dFLJQ0VF3U+6YQE+DBRjFdeoIpRqx73f9X9B/lYo/GvXVutEYwBOeNSiTkQ3Ds yVXhudZbRUdF7nOGKEresuHjmqC48zGHqyDSX0aMSgaSxF5ze6mS4eUAFc8yj6c5 4f6TwP/fFimXzIJtyKAVazmJTe8h7GCPXeu4QxneikO9bhTNLK1162h4PTOufJVc CxWZxJKxMePd2rKZve4dVRJOy+Rb30fYCbhg6qZoepW20fr2ylI5GWLtmhVaoyKn XrM88uNYAml2RfnAWx5rmaK2n+tuhGbhFjakJsxJ/T6LiCkJCJ1gTol/uT17iohQ CclnO9/WAQGBtdgDqMjHfeLd0AalSXZFgTbHOapWWKh63HvEhAplXv08TIe4i2p3 59BAOFDih4ib8w== =4RaE -----END PGP SIGNATURE----- --=-=-=--
X-Loop: help-debbugs@HIDDEN Subject: bug#58176: 29.0.50; mouse-set-point region flicker with highlight-nonselected-windows=t and same buffer in two windows Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 30 Sep 2022 05:47:02 +0000 Resent-Message-ID: <handler.58176.B58176.166451677021146 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 58176 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: <miha@HIDDEN> Cc: 58176 <at> debbugs.gnu.org Received: via spool by 58176-submit <at> debbugs.gnu.org id=B58176.166451677021146 (code B ref 58176); Fri, 30 Sep 2022 05:47:02 +0000 Received: (at 58176) by debbugs.gnu.org; 30 Sep 2022 05:46:10 +0000 Received: from localhost ([127.0.0.1]:40276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oe8qf-0005Uz-W3 for submit <at> debbugs.gnu.org; Fri, 30 Sep 2022 01:46:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1oe8qc-0005UE-KF for 58176 <at> debbugs.gnu.org; Fri, 30 Sep 2022 01:46:09 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39840) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1oe8qW-0007Ux-CU; Fri, 30 Sep 2022 01:46:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=X8KYG+ZVo6xIvLNMi9rP9ZM7qjkQnO9NyLzarGwd6Ms=; b=GsKOGydW0iH0 oYHEOYSyEK17mFU4Eqx7bknW+B3PU7QafYiZJEdwQpmyfyiGi2KN/UhLT7bbd6sUtW0TKFSmCYqvJ h1DjOMgX9l+cXYHzT+MU35UnNehmPcK1ryzBk1mKQO8YqAn6bJ/cH5pCVSAnu4HqxTe5SihnRj3VO TQdaH/CqjGaY0JVvSnEPRf9tI/y/mgXfZEWeqx7+VWZoqFN2xmlxAq0u15K//6G2uscXnHucrTkr8 yUoTt4B9Pk30B8H8/2SWprmS3SxyPg61/q56IXBl2e2SoSatrbrSl2RvXnEQDbUsrpEyq1crNESAX 6hESKPmsEzGLLzbmiDqLRQ==; Received: from [87.69.77.57] (port=4809 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1oe8qV-0005w0-N1; Fri, 30 Sep 2022 01:46:00 -0400 Date: Fri, 30 Sep 2022 08:45:44 +0300 Message-Id: <835yh5fm9j.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <87wn9lubu6.fsf@miha-pc> References: <86pmfeaxnv.fsf@miha-pc> <838rm2f1v8.fsf@HIDDEN> <87wn9lubu6.fsf@miha-pc> X-Spam-Score: -0.3 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.3 (-) > From: <miha@HIDDEN> > Cc: 58176 <at> debbugs.gnu.org > Date: Thu, 29 Sep 2022 23:09:37 +0200 > > > It's a direct consequence of the fact that point is different in each > > window. I don't see any bug here, FWIW. If you don't like this side > > effect of highlight-nonselected-windows, then don't set it non-nil. > > Well, maybe we could try a bit harder to reduce the flicker for ordinary > non-dragging mouse-1 clicks. One idea could be to prevent down-mouse-1 > from activating mark until the region becomes non-zero length, so > something like this patch. Thanks, but this is exactly the opposite of the behavior we want. We currently make a significant effort to show regions of zero length.
X-Loop: help-debbugs@HIDDEN Subject: bug#58176: 29.0.50; mouse-set-point region flicker with highlight-nonselected-windows=t and same buffer in two windows Resent-From: <miha@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 30 Sep 2022 21:02:01 +0000 Resent-Message-ID: <handler.58176.B58176.166457169917992 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 58176 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 58176 <at> debbugs.gnu.org Received: via spool by 58176-submit <at> debbugs.gnu.org id=B58176.166457169917992 (code B ref 58176); Fri, 30 Sep 2022 21:02:01 +0000 Received: (at 58176) by debbugs.gnu.org; 30 Sep 2022 21:01:39 +0000 Received: from localhost ([127.0.0.1]:43040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oeN8d-0004g8-5x for submit <at> debbugs.gnu.org; Fri, 30 Sep 2022 17:01:39 -0400 Received: from kamnitnik.top ([209.250.245.214]:56672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <miha@HIDDEN>) id 1oeN8a-0004fy-Hg for 58176 <at> debbugs.gnu.org; Fri, 30 Sep 2022 17:01:37 -0400 From: <miha@HIDDEN> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kamnitnik.top; s=mail; t=1664571694; bh=ukUyqtCQCSWYTHBDqK3w9r5xCCsl+OQw9/D9uB4k4hI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=hB7HLQj7jn+NwU0HJN+4WKdEVk6ILsXkUEuc+/dPYlyka4Jp7JpMl0rlBaGrVJ8DQ gXRyofQopdHL0l2oyUfqux97tdylC7j9ue/GetluWVNnsdqa/dnWDW29e8vAXbsMRI 7tVS34Nj5Gytk4RXqXVeWHTQxcqUdDsKeJ2+QLsmggj1Wl3kN7JV4fhfNE3gQqFYfs 3/IjIwev2IaFv4Y7wYurAOBvZDIECIMXQUL4v/m0kkX93TojV3dygaFtRNoOrm7oZW neaAIzyBuAvLmwS0K70Br6kiPDnreuXyZfy4ohi8ybE3e/HidpFHqeGwPQhhdpIS3B k06ci6n20O1BQ== In-Reply-To: <835yh5fm9j.fsf@HIDDEN> References: <86pmfeaxnv.fsf@miha-pc> <838rm2f1v8.fsf@HIDDEN> <87wn9lubu6.fsf@miha-pc> <835yh5fm9j.fsf@HIDDEN> Date: Fri, 30 Sep 2022 23:15:31 +0200 Message-ID: <87h70otvgs.fsf@miha-pc> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Eli Zaretskii <eliz@HIDDEN> writes: >> From: <miha@HIDDEN> >> Cc: 58176 <at> debbugs.gnu.org >> Date: Thu, 29 Sep 2022 23:09:37 +0200 >> >> Well, maybe we could try a bit harder to reduce the flicker for ordinary >> non-dragging mouse [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: kamnitnik.top (top)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 FROM_SUSPICIOUS_NTLD From abused NTLD X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Eli Zaretskii <eliz@HIDDEN> writes: >> From: <miha@HIDDEN> >> Cc: 58176 <at> debbugs.gnu.org >> Date: Thu, 29 Sep 2022 23:09:37 +0200 >> >> Well, maybe we could try a bit harder to reduce the flicker for ordinary >> non-dragging mouse [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: kamnitnik.top (top)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD 0.0 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eli Zaretskii <eliz@HIDDEN> writes: >> From: <miha@HIDDEN> >> Cc: 58176 <at> debbugs.gnu.org >> Date: Thu, 29 Sep 2022 23:09:37 +0200 >>=20 >> Well, maybe we could try a bit harder to reduce the flicker for ordinary >> non-dragging mouse-1 clicks. One idea could be to prevent down-mouse-1 >> from activating mark until the region becomes non-zero length, so >> something like this patch. > > Thanks, but this is exactly the opposite of the behavior we want. We > currently make a significant effort to show regions of zero length. (I'm assuming that by "show regions of zero length", you mean that the "Copy text" toolbar icon is enabled.) I hope I'm not arguing semantics too much, but my patch doesn't actually hide an (active) region of zero length, it prevents one from being activated. It only prevents it in the specific case of a non-dragging mouse-1 click, which makes quite a lot sense to me. The current behaviour of a non-dragging mouse-1 click is that the zero-length region is only active for the duration of the mouse button being held down. Once the button is released, the zero-length region is deactivated, which makes it not very useful, as far as I can see. For example, pressing M-w or C-w during the mouse button being held down doesn't seem to work on the correct zero-length region and you can't click on the "Copy text" toolbar icon (maybe you could in a multi-pointer setup, but that's a pretty bizarre use-case). If you want to create a zero-length region that stays active after releasing mouse-1, you have to drag the mouse a little first to make the region length non-zero and then drag the mouse back to the starting position to make the region length zero again. This use case is still supported by my patch. (Perhaps I missed some use-cases of a zero-length region active during a non-dragging mouse-1 button hold. If you know any, please let me know about them.) This, together with the fact that it reduces the "flicker" from the original message, makes me insist on the patch. Best regards. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJHBAEBCAAxFiEEmxVnesoT5rQXvVXnswkaGpIVmT8FAmM3XHMTHG1paGFAa2Ft bml0bmlrLnRvcAAKCRCzCRoakhWZP/pLEAC4TNUROaNp+Y0/SD7t71FJfVAi7Wd9 T80a22mnwG2j+Ap6du+DbdV7hzpnNYNN5sCBAzUTByV/i+WYaXorvJROM3gF21ZQ uVt7OUuVnk37QtUr141tYb5GEedLNo3ZcSIj1cVYidTw7EGJL8x2EPgiTehwn8/I 1HT7Wbqpe9KcU+xRARrCk4IMLf4KDniz1TGprduWwzU8LRQ4tbfwxi6lZ8fJKiYv m0vJXtMvWcCjdN/hWXCzYFR8SFSa5dfoRraM6AlrvieSFqa3A53I5XmerqF/oYhc 4D5wLzpbRm8GiNb7e12uK2rdPjkmQrxAjajc7FPDzDHxCW869Nea7uzXvLkKEONh PJlWp901e35MMrwHHsKy+g9aySAiuuhCVUXCiAeo7e+2IAIgptLmcXgsmyUdRir4 5QLZ87c2R0i53S7pQnykZQ3lCm6w1P2tUJ+MVAjnTJBhdbMyAoUVabZlcivV2eY4 63o/a0oE4fvAK6orQX2DEomXrrPy6F0AnWRrcFh2WiFCpgn3pHbRaoQbF5RWmTkb kX55pjZ90yazIL264GMonJrkurj8KjUxc51w8wjrHYYChkKe5MrLkdzPV1fktInm 0AP+OFtupztj2P1KydI11c9rhvYTarz8fD2WNQuzkI73lwjHCgJ7J0Ze0TrwWZUd tvcgtQxDqivfRg== =M3Q/ -----END PGP SIGNATURE----- --=-=-=--
X-Loop: help-debbugs@HIDDEN Subject: bug#58176: 29.0.50; mouse-set-point region flicker with highlight-nonselected-windows=t and same buffer in two windows Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 01 Oct 2022 05:39:02 +0000 Resent-Message-ID: <handler.58176.B58176.16646027013734 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 58176 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: <miha@HIDDEN> Cc: 58176 <at> debbugs.gnu.org Received: via spool by 58176-submit <at> debbugs.gnu.org id=B58176.16646027013734 (code B ref 58176); Sat, 01 Oct 2022 05:39:02 +0000 Received: (at 58176) by debbugs.gnu.org; 1 Oct 2022 05:38:21 +0000 Received: from localhost ([127.0.0.1]:43438 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oeVCf-0000y9-AM for submit <at> debbugs.gnu.org; Sat, 01 Oct 2022 01:38:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1oeVCc-0000xv-Q4 for 58176 <at> debbugs.gnu.org; Sat, 01 Oct 2022 01:38:19 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55712) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1oeVCX-0007Qj-1T; Sat, 01 Oct 2022 01:38:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=qEtbhbnMO9WYEjMj8zR8QXtSVFGmR37uwwqbgM/QN50=; b=IG9nhNAqOP7M 8ElF6jZkdt78iPXg75ellJBbtRAqXbnqLpVlLBOEJhr5alMYVui6B3GurQztYSTdRSk2SQmVJZtiH BkLRDVDZ/lnqrkDGLPyVC7hqtYzl3VzEt5/YStPCAJ76uHHAVEi5EDFtGLoHWgB/s1u8YVuhvvVVh +2b1F0DGjz8mLzqeHhgpCTB87HYESNpc6fAOAkiRQNvGhJHCXswgpaVI54Bt81yWx6UBAGFxMfH+3 16yJGiVt2qW4DuT4HdnuNIyMAOlCBVIjzLou/3s4Mp/g6oYjJxbDxNlvrp/QT3DiFzt1G4s34xfmI ngdpGq9pG1kR95KGDK2gfg==; Received: from [87.69.77.57] (port=4912 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1oeVCW-0002Gp-BW; Sat, 01 Oct 2022 01:38:12 -0400 Date: Sat, 01 Oct 2022 08:38:01 +0300 Message-Id: <83czbccddy.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <87h70otvgs.fsf@miha-pc> References: <86pmfeaxnv.fsf@miha-pc> <838rm2f1v8.fsf@HIDDEN> <87wn9lubu6.fsf@miha-pc> <835yh5fm9j.fsf@HIDDEN> <87h70otvgs.fsf@miha-pc> X-Spam-Score: -0.3 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.3 (-) > From: <miha@HIDDEN> > Cc: 58176 <at> debbugs.gnu.org > Date: Fri, 30 Sep 2022 23:15:31 +0200 > > >> Well, maybe we could try a bit harder to reduce the flicker for ordinary > >> non-dragging mouse-1 clicks. One idea could be to prevent down-mouse-1 > >> from activating mark until the region becomes non-zero length, so > >> something like this patch. > > > > Thanks, but this is exactly the opposite of the behavior we want. We > > currently make a significant effort to show regions of zero length. > > (I'm assuming that by "show regions of zero length", you mean that the > "Copy text" toolbar icon is enabled.) No, we actually attempt to display zero-length regions in the text. > I hope I'm not arguing semantics too much, but my patch doesn't actually > hide an (active) region of zero length, it prevents one from being > activated. Which is against the behavior we want, I think. > It only prevents it in the specific case of a non-dragging mouse-1 > click, which makes quite a lot sense to me. The current behaviour of a > non-dragging mouse-1 click is that the zero-length region is only active > for the duration of the mouse button being held down. Once the button is > released, the zero-length region is deactivated, which makes it not very > useful, as far as I can see. It is useful in the much more frequent use case where the user then drags the mouse. > If you want to create a zero-length region that stays active after > releasing mouse-1, you have to drag the mouse a little first to make the > region length non-zero and then drag the mouse back to the starting > position to make the region length zero again. This use case is still > supported by my patch. > > (Perhaps I missed some use-cases of a zero-length region active during a > non-dragging mouse-1 button hold. If you know any, please let me know > about them.) > > This, together with the fact that it reduces the "flicker" from the > original message, makes me insist on the patch. I still insist that what you propose is the opposite of the behavior we want.
X-Loop: help-debbugs@HIDDEN Subject: bug#58176: 29.0.50; mouse-set-point region flicker with highlight-nonselected-windows=t and same buffer in two windows Resent-From: <miha@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 01 Oct 2022 09:47:01 +0000 Resent-Message-ID: <handler.58176.B58176.16646176123229 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 58176 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 58176 <at> debbugs.gnu.org Received: via spool by 58176-submit <at> debbugs.gnu.org id=B58176.16646176123229 (code B ref 58176); Sat, 01 Oct 2022 09:47:01 +0000 Received: (at 58176) by debbugs.gnu.org; 1 Oct 2022 09:46:52 +0000 Received: from localhost ([127.0.0.1]:43661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oeZ59-0000q1-OF for submit <at> debbugs.gnu.org; Sat, 01 Oct 2022 05:46:52 -0400 Received: from kamnitnik.top ([209.250.245.214]:59802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <miha@HIDDEN>) id 1oeZ55-0000pp-9J for 58176 <at> debbugs.gnu.org; Sat, 01 Oct 2022 05:46:49 -0400 From: <miha@HIDDEN> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kamnitnik.top; s=mail; t=1664617605; bh=d4uuILqey/cdDfCUI3ktPGPBYUh2n4LfsEV165aFYuw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=akobv9TAvxBy82LxNAhcy/MJ8VpQzA4dYf8cXu3PtMjTF/ObR9sFrWI/yR8yIf2tv l2DLKln5ivXhPtt8U+22jTMa4oHcTDwDxxA4rUlv1FRllKu0gysEIzhe+cEE4uup5V oeWZRHt83Hct8YFIrmfFuyxAqNFL+TZKA3MD3FnuiwAxnMAshf/6dw/rbUG8wTItom JLTB0W1o9I64Px/Vtti5mYXJdDoTDMqOri3H0H2O0euOFDCAH+px71n3OA8YKS0AX7 QUWv6dzei33mgGSSwxbgRG6fKDkZwhHTQr2n6FsR5OGxg4S0rGk7UTaH30vaW6Z0W1 rtKo8eiUcgFbQ== In-Reply-To: <83czbccddy.fsf@HIDDEN> References: <86pmfeaxnv.fsf@miha-pc> <838rm2f1v8.fsf@HIDDEN> <87wn9lubu6.fsf@miha-pc> <835yh5fm9j.fsf@HIDDEN> <87h70otvgs.fsf@miha-pc> <83czbccddy.fsf@HIDDEN> Date: Sat, 01 Oct 2022 12:00:43 +0200 Message-ID: <87edvrualw.fsf@miha-pc> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Eli Zaretskii <eliz@HIDDEN> writes: >> (I'm assuming that by "show regions of zero length", you mean that the >> "Copy text" toolbar icon is enabled.) > > No, we actually attempt to display zero-length regions in the text. Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: kamnitnik.top (top)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 FROM_SUSPICIOUS_NTLD From abused NTLD X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Eli Zaretskii <eliz@HIDDEN> writes: >> (I'm assuming that by "show regions of zero length", you mean that the >> "Copy text" toolbar icon is enabled.) > > No, we actually attempt to display zero-length regions in the text. Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: kamnitnik.top (top)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD 0.0 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eli Zaretskii <eliz@HIDDEN> writes: >> (I'm assuming that by "show regions of zero length", you mean that the >> "Copy text" toolbar icon is enabled.) > > No, we actually attempt to display zero-length regions in the text. Maybe there's something obvious I'm missing, but in a graphical emacs =2Dq, I can't see a zero length active region in the text at all. That is, after activating it with C-SPC or a non-dragging mouse-1 button press, I can't see a single pixel around point changing to indicate the region. I even tried it after considerably enlarging the font with 'C-x C-+ + + + + ...'. (On the other hand, zero-length rectangular regions, created with C-x SPC, are properly indicated with a thin vertical line, but we aren't talking about rectangular regions here.) >> I hope I'm not arguing semantics too much, but my patch doesn't actually >> hide an (active) region of zero length, it prevents one from being >> activated. > > Which is against the behavior we want, I think. > >> It only prevents it in the specific case of a non-dragging mouse-1 >> click, which makes quite a lot sense to me. The current behaviour of a >> non-dragging mouse-1 click is that the zero-length region is only active >> for the duration of the mouse button being held down. Once the button is >> released, the zero-length region is deactivated, which makes it not very >> useful, as far as I can see. > > It is useful in the much more frequent use case where the user then > drags the mouse. This use case is, of course, still supported by my patch. I was talking about the very specific zero-length region, active for the duration of a non-dragging mouse-1 button being held down. My patch affects only this specific use-case >> If you want to create a zero-length region that stays active after >> releasing mouse-1, you have to drag the mouse a little first to make the >> region length non-zero and then drag the mouse back to the starting >> position to make the region length zero again. This use case is still >> supported by my patch. >>=20 >> (Perhaps I missed some use-cases of a zero-length region active during a >> non-dragging mouse-1 button hold. If you know any, please let me know >> about them.) >>=20 >> This, together with the fact that it reduces the "flicker" from the >> original message, makes me insist on the patch. > > I still insist that what you propose is the opposite of the behavior > we want. Another unrelated thing to consider is the current behaviour of clicking/dragging C-M-mouse-1. It doesn't activate a rectangular region until the user drags C-M-mouse-1. In fact, if the user only does a non-dragging C-M-mouse-1 click, the rectangular region is never activated, only the point moves. You can try experimenting with C-M-mouse-1 and see, if this is really the opposite of the behaviour we want. In essence, my patch tries to make behaviour of mouse-1 region activation more similar to C-M-mouse-1 rectangular region activation. (Emacs build info follows, since the non-display of zero-length non-rectangular regions in the text could be dependent on build configuration.) In GNU Emacs 29.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.17.6) of 2022-09-29 built on miha-pc Repository revision: 0edd7770e0ce70cac59f239134962d10f48dec79 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Arch Linux Configured using: 'configure -C --prefix=3D/usr --without-libsystemd --enable-checking=3Dyes,glyphs --enable-check-lisp-object-type 'CFLAGS=3D-O0 -g3'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: en_US.utf8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t buffer-read-only: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date subr-x cl-loaddefs cl-lib rmc iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 38907 4530) (symbols 48 5110 0) (strings 32 13189 1629) (string-bytes 1 377949) (vectors 16 9355) (vector-slots 8 148819 10571) (floats 8 25 24) (intervals 56 348 5) (buffers 1000 11)) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJHBAEBCAAxFiEEmxVnesoT5rQXvVXnswkaGpIVmT8FAmM4D8sTHG1paGFAa2Ft bml0bmlrLnRvcAAKCRCzCRoakhWZP2aRD/9eHU5+4m2eVl8UnYen+w9LYa5toQmF DOTJd600ykCUKE3i0oJisuxzdLk0KVDgy0sbMRLR/ZjZefsDRUrqBzpH9EuX1fZD rhRpqX9X2lOftR9vicx//zsQiNVRqGCb9CO/JVyEK+vk8mpgsrAllVftSWQiG4aa SmsadQ9S1GDjpNNoFZsMVnh3e2EiI/rUpmxbiU0xq8ciol1WGNCu9lINvgYm5HuP z5QSDi/cNgyv4XdNlJNQc6hSbM9036M7wfBfw+N3wc70fHCQxOYquKOb2RkHlSKm BR1lhsLTAJbnxA+oYzroLZchb+MsngqKZJr/5hCWre0VxGFoptpJEd5AFpAB0wFe IYb7AEb32/mnUXagw8HrZCsHZy8h1/+NO9SXONo3VqpFN8jH3pTLTuOVze8riZM4 k9OOTUkxoAl/4i899/YvdlbWHQj7XBbsEmq4jOi3Xc6mz1pHLUG6CCBLPSjdxv8d faNMDKs8V5pX3L35YnTGHY0rWgvX9Domxw0gQRVjQNpyPiyXcbLrqVFL6b7VwT4X 23wa0v4gcFJsnN17zKqSGi4M9o8CmT2TbKneZM3iAb4dmm7IndiDQTgaUqaJO0jy SgByHwKEcOXf7DRtFhekLNgG7w2jJUnWPjYV0zXuG9aBTMMtcv3O1jIeZ4Qm6Vzh FUrSNTNYWrzv8A== =7hsO -----END PGP SIGNATURE----- --=-=-=--
X-Loop: help-debbugs@HIDDEN Subject: bug#58176: 29.0.50; mouse-set-point region flicker with highlight-nonselected-windows=t and same buffer in two windows Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 01 Oct 2022 10:00:02 +0000 Resent-Message-ID: <handler.58176.B58176.16646183454498 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 58176 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: <miha@HIDDEN> Cc: 58176 <at> debbugs.gnu.org Received: via spool by 58176-submit <at> debbugs.gnu.org id=B58176.16646183454498 (code B ref 58176); Sat, 01 Oct 2022 10:00:02 +0000 Received: (at 58176) by debbugs.gnu.org; 1 Oct 2022 09:59:05 +0000 Received: from localhost ([127.0.0.1]:43690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oeZGy-0001AU-PW for submit <at> debbugs.gnu.org; Sat, 01 Oct 2022 05:59:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1oeZGv-00019r-CB for 58176 <at> debbugs.gnu.org; Sat, 01 Oct 2022 05:59:04 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58266) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1oeZGp-0007ma-E4; Sat, 01 Oct 2022 05:58:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=O8D94D9nXuXZ+ialoCf/F8t1onFt2tf1KuguWKT7LVY=; b=Ecw11ScsYJsB +TXXAnGuOahNG/MuXyCyKVE4bjJeR3O/jVbjh4sxqksBxwD0Ax78n4olq2D8zfM5UnaI5iHbO55bc CEYGa2qsZkIs9+zd7cJWQ7+CSRVfzeBNvxN9kC8skHnnQo0s+7zRWF6RB26ahouotLktbjLwdoOAa K3MPTCDH1WiDK+LqDotQKVQqLxA10pqLbyMOuY+H0+RRuThlUWMwsysOSlsUjgT1WRFLIBTywwcdX O31pPfJ65z568/gtTG+BBo6O2bqWeW5irzBr8PGWLBrFNATuKPCR6vyW/KLTCUnjQqNRHljBQkx3g AISI75SzQC1HNwsyafF5Lg==; Received: from [87.69.77.57] (port=1900 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1oeZGo-0004lg-Qn; Sat, 01 Oct 2022 05:58:55 -0400 Date: Sat, 01 Oct 2022 12:58:44 +0300 Message-Id: <83r0zrc1bf.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <87edvrualw.fsf@miha-pc> References: <86pmfeaxnv.fsf@miha-pc> <838rm2f1v8.fsf@HIDDEN> <87wn9lubu6.fsf@miha-pc> <835yh5fm9j.fsf@HIDDEN> <87h70otvgs.fsf@miha-pc> <83czbccddy.fsf@HIDDEN> <87edvrualw.fsf@miha-pc> X-Spam-Score: -0.3 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.3 (-) > From: <miha@HIDDEN> > Cc: 58176 <at> debbugs.gnu.org > Date: Sat, 01 Oct 2022 12:00:43 +0200 > > Eli Zaretskii <eliz@HIDDEN> writes: > > >> (I'm assuming that by "show regions of zero length", you mean that the > >> "Copy text" toolbar icon is enabled.) > > > > No, we actually attempt to display zero-length regions in the text. > > Maybe there's something obvious I'm missing, but in a graphical emacs > -q, I can't see a zero length active region in the text at all. That is, > after activating it with C-SPC or a non-dragging mouse-1 button press, I > can't see a single pixel around point changing to indicate the region. I > even tried it after considerably enlarging the font with 'C-x C-+ + + + > + ...'. > > (On the other hand, zero-length rectangular regions, created with C-x > SPC, are properly indicated with a thin vertical line, but we aren't > talking about rectangular regions here.) I was talking about what we show for zero-width rectangular regions, yes. > In essence, my patch tries to make behaviour of mouse-1 region > activation more similar to C-M-mouse-1 rectangular region activation. Sorry, I'm not convinced.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.