From unknown Tue Aug 19 21:04:24 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#29538 <29538@debbugs.gnu.org> To: bug#29538 <29538@debbugs.gnu.org> Subject: Status: 26.0.90; Gnus, group buffer: Mouse click on empty space selects group Reply-To: bug#29538 <29538@debbugs.gnu.org> Date: Wed, 20 Aug 2025 04:04:24 +0000 retitle 29538 26.0.90; Gnus, group buffer: Mouse click on empty space selec= ts group reassign 29538 emacs submitter 29538 Benjamin Riefenstahl severity 29538 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 02 15:16:01 2017 Received: (at submit) by debbugs.gnu.org; 2 Dec 2017 20:16:01 +0000 Received: from localhost ([127.0.0.1]:42226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eLECe-0007DO-VM for submit@debbugs.gnu.org; Sat, 02 Dec 2017 15:16:01 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eLECd-0007DB-Jr for submit@debbugs.gnu.org; Sat, 02 Dec 2017 15:16:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eLECX-0005yV-2X for submit@debbugs.gnu.org; Sat, 02 Dec 2017 15:15:54 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56107) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eLECW-0005yA-VI for submit@debbugs.gnu.org; Sat, 02 Dec 2017 15:15:53 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44599) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eLECV-0007AX-99 for bug-gnu-emacs@gnu.org; Sat, 02 Dec 2017 15:15:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eLECQ-0005jo-Bs for bug-gnu-emacs@gnu.org; Sat, 02 Dec 2017 15:15:51 -0500 Received: from odoacer.turtle-trading.net ([217.91.34.180]:43325) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eLECQ-0005ZP-1O for bug-gnu-emacs@gnu.org; Sat, 02 Dec 2017 15:15:46 -0500 Received: from justinian.turtle-trading.net ([192.168.2.118]) by odoacer.turtle-trading.net with esmtp (Exim 4.80) (envelope-from ) id 1eLECH-00065f-DS; Sat, 02 Dec 2017 21:15:37 +0100 Received: from benny by justinian.turtle-trading.net with local (Exim 4.84_2) (envelope-from ) id 1eLECH-0005VC-8w; Sat, 02 Dec 2017 21:15:37 +0100 From: Benjamin Riefenstahl To: bug-gnu-emacs@gnu.org Subject: 26.0.90; Gnus, group buffer: Mouse click on empty space selects group Date: Sat, 02 Dec 2017 21:15:37 +0100 Message-ID: <87609oq42e.fsf@blei.turtle-trading.net> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) The behaviour of mouse clicks has changed in the Gnus group buffer from Emacs 25 to Emacs 26. In Emacs 25, when I clicked on empty space to the right of lines or after the last group, this did nothing. This was usefull to just activate the Emacs frame. In Emacs 26, clicking after lines opens the group on the line where I clicked or it opens the last group, if I click in the space after the last group. As I use the mouse mostly to activate Emacs and once Emacs is active I use the keyboard for most of my interaction, this is a rather annoying change for me. I would guess that for some reason, in Emacs 25 the lineend was inactive and in Emacs 26 it is now activated for mouse clicks. I currently do not even understand how activation for mouse clicks work in this buffer, so I can't provide a fix myself. --- In GNU Emacs 26.0.90 (build 1, i686-pc-linux-gnu, GTK+ Version 2.24.25) of 2017-12-02 built on justinian Repository revision: 8227087194e0817b984ce3b15099f5eae4dc011c Windowing system distributor 'The X.Org Foundation', version 11.0.11604000 System Description: Debian GNU/Linux 8.9 (jessie) Recent messages: Reading active file via nnfolder... Reading incoming mail from file... [2 times] Reading incoming mail from pop... nnfolder: Reading incoming mail (no new mail)...done Reading active file via nnfolder...done Reading active file via nndraft...done Checking new news...done When done with this frame, type C-x 5 0 Quit [2 times] Type C-x 1 to delete the help window, C-M-v to scroll help. Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND GPM GSETTINGS NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11 Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Help Minor modes in effect: desktop-save-mode: t delete-selection-mode: t display-time-mode: t diff-auto-refine-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort emacsbug cl-extra eieio-opt speedbar sb-image ezimage dframe find-func help-fns help-mode pp gnus-topic nndraft nnmh nndoc nnfolder bbdb-gnus network-stream nsm starttls gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg nntp gnus-cache pop3 nnrss gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range gnus-win cus-edit cus-start cus-load eww mm-url gnus nnheader wid-edit url-queue url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap shr svg xml dom edmacro kmacro conf-mode imenu elec-pair jka-compr desktop frameset highline benny-calendar-cfg ange-ftp benny-unicode generic-x autoinsert cc-cmds cc-engine cc-vars cc-defs ps-print ps-print-loaddefs ps-def lpr advice benny-url cmuscheme comint ansi-color ring scheme delsel disp-table time server protbuf cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs vc-git diff-mode easy-mmode vc-fossil vc vc-dispatcher diary-lib diary-loaddefs cal-menu calendar cal-loaddefs benny-file-cache message-x message rmc puny dired dired-loaddefs format-spec mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 gmm-utils mailheader bbdb-snarf mail-extr rfc822 bbdb-com mailabbrev bbdb-autoloads bbdb cl timezone sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils .loaddefs browse-url autoload radix-tree lisp-mnt finder-inf gh-common gh-profile rx s marshal eieio-compat ht json map dash info package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type 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 elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic 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 charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 8 430699 23066) (symbols 24 152994 2) (miscs 20 106 348) (strings 16 204009 6852) (string-bytes 1 5349834) (vectors 12 38477) (vector-slots 4 851193 36246) (floats 8 1019 104) (intervals 28 629 0) (buffers 536 28) (heap 1024 57025 1736)) From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 03 20:03:48 2017 Received: (at 29538) by debbugs.gnu.org; 4 Dec 2017 01:03:49 +0000 Received: from localhost ([127.0.0.1]:44028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eLfAi-0000Ie-Nw for submit@debbugs.gnu.org; Sun, 03 Dec 2017 20:03:48 -0500 Received: from mail-hampton.hostforweb.net ([205.234.186.191]:40725 helo=hampton.hostforweb.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eLfAg-0000IQ-Oq for 29538@debbugs.gnu.org; Sun, 03 Dec 2017 20:03:47 -0500 Received: from s70.gtokyofl21.vectant.ne.jp ([202.215.75.70]:60000 helo=localhost) by hampton.hostforweb.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) (envelope-from ) id 1eLfAX-003aiJ-AI; Sun, 03 Dec 2017 19:03:38 -0600 Date: Mon, 04 Dec 2017 10:03:37 +0900 Message-ID: From: Katsumi Yamaoka To: Benjamin Riefenstahl Subject: Re: bug#29538: 26.0.90; Gnus, group buffer: Mouse click on empty space selects group References: <87609oq42e.fsf@blei.turtle-trading.net> Organization: Emacsen advocacy group X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (i686-pc-cygwin) Cancel-Lock: sha1:t1J0chx5m60oBLgbmeRf85QaW3k= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OutGoing-Spam-Status: No, score=-1.5 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: authenticated_id: yamaoka/from_h X-Authenticated-Sender: hampton.hostforweb.net: yamaoka@jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 29538 Cc: 29538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Sat, 02 Dec 2017 21:15:37 +0100, Benjamin Riefenstahl wrote: > The behaviour of mouse clicks has changed in the Gnus group buffer from > Emacs 25 to Emacs 26. I found no difference in the end of a group line between 25 and 26. Don't you have a special treatment on `gnus-mouse-2'? In Emacs 25 the default value of it is `[mouse-2]' that Emacs 26 directly uses instead of `gnus-mouse-2'. Otherwise, isn't it due to your setting of `mouse-1-click-follows-link' or `mouse-1-click-in-non-selected-windows'? > In Emacs 25, when I clicked on empty space to the right of lines or > after the last group, this did nothing. This was usefull to just > activate the Emacs frame. Making the mouse click do so is easy anyway: (defadvice gnus-mouse-pick-group (around do-nothing-in-lineend activate) "Do nothing in the line end." (mouse-set-point e) (or (eolp) ad-do-it)) From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 04 14:48:03 2017 Received: (at 29538) by debbugs.gnu.org; 4 Dec 2017 19:48:03 +0000 Received: from localhost ([127.0.0.1]:45925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eLwih-00059r-LV for submit@debbugs.gnu.org; Mon, 04 Dec 2017 14:48:03 -0500 Received: from odoacer.turtle-trading.net ([217.91.34.180]:37294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eLwif-00059M-BO for 29538@debbugs.gnu.org; Mon, 04 Dec 2017 14:48:01 -0500 Received: from justinian.turtle-trading.net ([192.168.2.118]) by odoacer.turtle-trading.net with esmtp (Exim 4.80) (envelope-from ) id 1eLwiX-0007Yv-7j; Mon, 04 Dec 2017 20:47:53 +0100 Received: from benny by justinian.turtle-trading.net with local (Exim 4.84_2) (envelope-from ) id 1eLwiX-0006mM-4t; Mon, 04 Dec 2017 20:47:53 +0100 From: Benjamin Riefenstahl To: Katsumi Yamaoka Subject: Re: bug#29538: 26.0.90; Gnus, group buffer: Mouse click on empty space selects group References: <87609oq42e.fsf@blei.turtle-trading.net> Date: Mon, 04 Dec 2017 20:47:53 +0100 Message-ID: <87o9ne2s2e.fsf@blei.turtle-trading.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 29538 Cc: 29538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi, Thank you for looking into this. > On Sat, 02 Dec 2017 21:15:37 +0100, Benjamin Riefenstahl wrote: >> The behaviour of mouse clicks has changed in the Gnus group buffer from >> Emacs 25 to Emacs 26. Katsumi Yamaoka writes: > I found no difference in the end of a group line between 25 and 26. > Don't you have a special treatment on `gnus-mouse-2'? In Emacs 25 > the default value of it is `[mouse-2]' that Emacs 26 directly uses > instead of `gnus-mouse-2'. What is `gnus-mouse-2'? I do not seem to have a variable or function of that name. I tried C-h k mouse-1 after the line end and also inside the group string. For Enacs 25 I get this for after the line end: at that spot runs the command mouse-drag-region (found in global-map), [...] ----------------- up-event ---------------- at that spot runs the command mouse-set-point (found in global-map), [...] Inside the groups string I get: (translated from ) at that spot runs the command mouse-drag-region (found in global-map), [...] ----------------- up-event ---------------- at that spot runs the command gnus-mouse-pick-topic (found in gnus-topic-mode-map), [...] While for Emacs 26 I get this for both: at that spot runs the command mouse-drag-region (found in global-map), [...] ----------------- up-event (short click) ---------------- at that spot is remapped to , which runs the command gnus-mouse-pick-topic (found in gnus-topic-mode-map), [...] ----------------- up-event (long click) ---------------- Pressing at that spot for longer than 450 milli-seconds runs the command mouse-set-point (found in global-map), [...] IOW, after the line end there is an additional handler for mouse-2 in Emacs 26, that was not there in Emacs 25. > Otherwise, isn't it due to your setting of > `mouse-1-click-follows-link' or > `mouse-1-click-in-non-selected-windows'? `mouse-1-click-in-non-selected-windows' would change this particular behaviour, but it is not what I want either :-(. I prefer to have a button or link activate when I click on it, without having to care if the frame was active or not. It's just that in the case of the Gnus group buffer, the whole client space is active, even where it used to be not (and IMO should not be). > Making the mouse click do so is easy anyway: > > (defadvice gnus-mouse-pick-group (around do-nothing-in-lineend activate) > "Do nothing in the line end." > (mouse-set-point e) > (or (eolp) ad-do-it)) That works for me, thank you. It's `gnus-mouse-pick-topic' for me, because I have topics activated, sorry for not mentioning that before. (If I disable topics, the same problem occurs, so that by itself seems not to be the cause of this.) benny From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 04 21:08:26 2017 Received: (at 29538) by debbugs.gnu.org; 5 Dec 2017 02:08:26 +0000 Received: from localhost ([127.0.0.1]:46192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eM2eo-0002zE-Ii for submit@debbugs.gnu.org; Mon, 04 Dec 2017 21:08:26 -0500 Received: from mail-hampton.hostforweb.net ([205.234.186.191]:39057 helo=hampton.hostforweb.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eM2em-0002z0-Gl for 29538@debbugs.gnu.org; Mon, 04 Dec 2017 21:08:25 -0500 Received: from s70.gtokyofl21.vectant.ne.jp ([202.215.75.70]:60000 helo=localhost) by hampton.hostforweb.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) (envelope-from ) id 1eM2ee-001GoJ-A9; Mon, 04 Dec 2017 20:08:17 -0600 Date: Tue, 05 Dec 2017 11:08:15 +0900 Message-ID: From: Katsumi Yamaoka To: Benjamin Riefenstahl Subject: Re: bug#29538: 26.0.90; Gnus, group buffer: Mouse click on empty space selects group References: <87609oq42e.fsf@blei.turtle-trading.net> <87o9ne2s2e.fsf@blei.turtle-trading.net> Organization: Emacsen advocacy group X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (i686-pc-cygwin) Cancel-Lock: sha1:oC5TdjoIFdEr7puJwh0dpNgUdX4= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OutGoing-Spam-Status: No, score=-1.5 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: authenticated_id: yamaoka/from_h X-Authenticated-Sender: hampton.hostforweb.net: yamaoka@jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 29538 Cc: 29538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Mon, 04 Dec 2017 20:47:53 +0100, Benjamin Riefenstahl wrote: > Thank you for looking into this. >> On Sat, 02 Dec 2017 21:15:37 +0100, Benjamin Riefenstahl wrote: >>> The behaviour of mouse clicks has changed in the Gnus group buffer from >>> Emacs 25 to Emacs 26. > Katsumi Yamaoka writes: >> I found no difference in the end of a group line between 25 and 26. >> Don't you have a special treatment on `gnus-mouse-2'? In Emacs 25 >> the default value of it is `[mouse-2]' that Emacs 26 directly uses >> instead of `gnus-mouse-2'. > What is `gnus-mouse-2'? I do not seem to have a variable or function of > that name. There used to be many `gnus-ORIGINAL-FUNCTION-OR-VARIABLE-NAME' in old Gnus in order to keep the compatibility with old Emacsen and XEmacsen. As for the variable `gnus-mouse-2', the value was [mouse-2] in Emacs, and [button2] in XEmacs. > I tried C-h k mouse-1 after the line end and also inside the group > string. > For Enacs 25 I get this for after the line end: [...] > While for Emacs 26 I get this for both: [...] The same as here. And I got to be able to reproduce the problem in Emacs 26, not 25. Sorry, I tested only mouse-2 yesterday as I set `mouse-1-click-follows-link' to nil. But it's 450 now. In `gnus-group-mode-map' the [follow-link] key is bound to `mouse-face'. This causes the [mouse-1] event to be converted to the [mouse-2] event at the areas where the `mouse-face' exists if `mouse-1-click-follows-link' is non-nil. The difference between Emacs 25 and 26 is that only Emacs 26 is sensitive to the `mouse-face' text property even if the observation point is behind the area where the text property exists. Here is a test code. You may see "Hello World" in Emacs 26 when clicking the mouse-1 button just after the "group.name", whereas you will not see it in Emacs 25. Adding the `(rear-nonsticky t)' text property doesn't help. (require 'gnus-group) (let ((buffer (get-buffer-create "*testing*")) (keymap (copy-keymap gnus-group-mode-map))) (define-key keymap [mouse-2] (lambda () (interactive) (message "Hello World"))) (with-current-buffer buffer (erase-buffer) (use-local-map keymap) (insert " 123: " (propertize "group.name" 'mouse-face 'highlight) "\n")) (display-buffer buffer)) However the following test code 2 does not make the mouse-1 button sensitive at the line end even in Emacs 26. (let ((buffer (get-buffer-create "*testing*")) (keymap (make-keymap))) (define-key keymap [follow-link] 'mouse-face) (define-key keymap [mouse-2] (lambda () (interactive) (message "Hello World"))) (with-current-buffer buffer (erase-buffer) (use-local-map keymap) (insert " 123: " (propertize "group.name" 'mouse-face 'highlight) "\n")) (display-buffer buffer)) Does anyone know what is different between them? From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 04 22:10:03 2017 Received: (at 29538) by debbugs.gnu.org; 5 Dec 2017 03:10:03 +0000 Received: from localhost ([127.0.0.1]:46225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eM3cR-0004NZ-K9 for submit@debbugs.gnu.org; Mon, 04 Dec 2017 22:10:03 -0500 Received: from mail-hampton.hostforweb.net ([205.234.186.191]:41967 helo=hampton.hostforweb.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eM3cQ-0004N1-KR for 29538@debbugs.gnu.org; Mon, 04 Dec 2017 22:10:02 -0500 Received: from s70.gtokyofl21.vectant.ne.jp ([202.215.75.70]:60000 helo=localhost) by hampton.hostforweb.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) (envelope-from ) id 1eM3cH-001XGv-Ok; Mon, 04 Dec 2017 21:09:54 -0600 Date: Tue, 05 Dec 2017 12:09:53 +0900 Message-ID: From: Katsumi Yamaoka To: Benjamin Riefenstahl Subject: Re: bug#29538: 26.0.90; Gnus, group buffer: Mouse click on empty space selects group References: <87609oq42e.fsf@blei.turtle-trading.net> <87o9ne2s2e.fsf@blei.turtle-trading.net> Organization: Emacsen advocacy group X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (i686-pc-cygwin) Cancel-Lock: sha1:QidSHhlrKoDaLXcmA9OlsTwdgAE= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OutGoing-Spam-Status: No, score=-1.5 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: authenticated_id: yamaoka/from_h X-Authenticated-Sender: hampton.hostforweb.net: yamaoka@jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 29538 Cc: larsi@gnus.org, 29538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Tue, 05 Dec 2017 11:08:15 +0900, Katsumi Yamaoka wrote: > Does anyone know what is different between them? I don't know why and who did it but this fixes the problem: --- gnus-group.el~ 2017-10-27 01:14:04.569750000 +0000 +++ gnus-group.el 2017-12-05 03:03:45.672382200 +0000 @@ -630,3 +630,3 @@ [mouse-2] gnus-mouse-pick-group - [follow-link] 'mouse-face + [follow-link] mouse-face "<" beginning-of-buffer Oh, I'm not sure whether it's a fix either. Lars, WDYT? This makes `mouse-on-link-p' behave differently anyway. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 05 02:36:29 2017 Received: (at 29538) by debbugs.gnu.org; 5 Dec 2017 07:36:29 +0000 Received: from localhost ([127.0.0.1]:46349 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eM7mG-0002Fb-Dn for submit@debbugs.gnu.org; Tue, 05 Dec 2017 02:36:29 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:36130) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eM7mD-0002FP-O8 for 29538@debbugs.gnu.org; Tue, 05 Dec 2017 02:36:26 -0500 Received: from cm-84.215.25.180.getinternet.no ([84.215.25.180] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eM7m7-00039f-IE; Tue, 05 Dec 2017 08:36:21 +0100 From: Lars Ingebrigtsen To: Katsumi Yamaoka Subject: Re: bug#29538: 26.0.90; Gnus, group buffer: Mouse click on empty space selects group References: <87609oq42e.fsf@blei.turtle-trading.net> <87o9ne2s2e.fsf@blei.turtle-trading.net> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEWvmaFgV3QJAgTd1+F9 eJY+L0HOraoRCQ4lGSNMP1Z2GM4EAAACTklEQVQ4jXWTMYvcMBCF58C4FziFWzebXqDaBnGQ8goR XyfwIUi7EOQ/IKyUhjOc/m3ejLRHEoh22WXn03tPK89Q3HNy5VRKWWsXfJXL5RwjxZzda5GynQWV a81HJBHUuu35Q42FJcSCUw22Q83beX5b6BvMDmqC2c9Enmh+68JTcWsmEcAexd57T372y8iABYO1 z6j3Ifje951VSKEm6CnwYoCTFecAWMDlrSLPB7sACgsEgBgBCwNxIkJJgxnjfSdeAAMEvRRZEzxZ Tic+U3UyIjKeOg6hUp1C0Niu8TIACCGJ6BnoTUSaiEMYzLThSEa2a619A4OAoLkmS0IaCOGzrHWQ dFJ/gQ3vUBUVbFvbvpnQFOefwGz6HwDnR0LwDSgBuA69/QdIvmmXNbYr2XAjWwP0AO28CDHsxNn8 z8vj2g1nmBqxqKs9qB63DjO+xRrxQbVJeqQYBJnQk61P0LVny2abxn4arFIX+krAG7X2IXp6X9C+ a224uUMDEZepW4aFG7626DM6CL2LNdvxhdtqpT2h5XoeAyZ80lOVDwEwozLIgNjlfbk4IWWeqJR+ YBIELS+nusqV00GYQYwITnBaxf9gdDKEAJBA84o5HDF/y5XR6qsAJtml19GdOM75Jbn1wAzeIpvt 2bmLTS6XssM0R5qmW8ysSo6z0opk/D4Apsh2R0KSW8djj3lnRWRyn8Qw/zq+yy4Gt2m6A4DyvrjG e9wPBqjdJgZf4y3uab0j89OK6/gdf2YW55oxMalg2g/eE9kJ4DZ9rshhsa7fUj1Vj/x3k4kAAAAA SUVORK5CYII= Date: Tue, 05 Dec 2017 08:36:19 +0100 In-Reply-To: (Katsumi Yamaoka's message of "Tue, 05 Dec 2017 12:09:53 +0900") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 29538 Cc: Benjamin Riefenstahl , 29538@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Katsumi Yamaoka writes: > I don't know why and who did it but this fixes the problem: > > --- gnus-group.el~ 2017-10-27 01:14:04.569750000 +0000 > +++ gnus-group.el 2017-12-05 03:03:45.672382200 +0000 > @@ -630,3 +630,3 @@ > [mouse-2] gnus-mouse-pick-group > - [follow-link] 'mouse-face > + [follow-link] mouse-face > "<" beginning-of-buffer > > Oh, I'm not sure whether it's a fix either. Lars, WDYT? Looks like the right fix to me. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 05 03:23:14 2017 Received: (at 29538-done) by debbugs.gnu.org; 5 Dec 2017 08:23:14 +0000 Received: from localhost ([127.0.0.1]:46364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eM8VW-0005Ic-MF for submit@debbugs.gnu.org; Tue, 05 Dec 2017 03:23:14 -0500 Received: from mail-hampton.hostforweb.net ([205.234.186.191]:56129 helo=hampton.hostforweb.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eM8VV-0005IN-0P for 29538-done@debbugs.gnu.org; Tue, 05 Dec 2017 03:23:13 -0500 Received: from s70.gtokyofl21.vectant.ne.jp ([202.215.75.70]:60000 helo=localhost) by hampton.hostforweb.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) (envelope-from ) id 1eM8VL-002st7-Se; Tue, 05 Dec 2017 02:23:04 -0600 Date: Tue, 05 Dec 2017 17:23:02 +0900 Message-ID: From: Katsumi Yamaoka To: Lars Ingebrigtsen Subject: Re: bug#29538: 26.0.90; Gnus, group buffer: Mouse click on empty space selects group References: <87609oq42e.fsf@blei.turtle-trading.net> <87o9ne2s2e.fsf@blei.turtle-trading.net> Organization: Emacsen advocacy group X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (i686-pc-cygwin) Cancel-Lock: sha1:SmK/FDLLBXUjj8MI/w65ztGwupw= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OutGoing-Spam-Status: No, score=-2.9 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: authenticated_id: yamaoka/from_h X-Authenticated-Sender: hampton.hostforweb.net: yamaoka@jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 29538-done Cc: Benjamin Riefenstahl , 29538-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Tue, 05 Dec 2017 08:36:19 +0100, Lars Ingebrigtsen wrote: > Katsumi Yamaoka writes: >> I don't know why and who did it but this fixes the problem: >> --- gnus-group.el~ 2017-10-27 01:14:04.569750000 +0000 >> +++ gnus-group.el 2017-12-05 03:03:45.672382200 +0000 >> @@ -630,3 +630,3 @@ >> [mouse-2] gnus-mouse-pick-group >> - [follow-link] 'mouse-face >> + [follow-link] mouse-face >> "<" beginning-of-buffer >> Oh, I'm not sure whether it's a fix either. Lars, WDYT? > Looks like the right fix to me. I've pushed it to the emacs-26 branch. Thanks Lars. From unknown Tue Aug 19 21:04:24 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 02 Jan 2018 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator