From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Siyuan Chen Newsgroups: gmane.emacs.bugs Subject: bug#71603: Mouse clicking on a list-bookmarks' entry can not jump the cursor Date: Mon, 17 Jun 2024 08:31:02 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000246de7061b0b1580" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2161"; mail-complaints-to="usenet@ciao.gmane.io" To: 71603@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 17 02:32:24 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sJ0IJ-0000Qr-1I for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 17 Jun 2024 02:32:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sJ0Hz-000855-7J; Sun, 16 Jun 2024 20:32:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sJ0Hx-00084d-Eg for bug-gnu-emacs@gnu.org; Sun, 16 Jun 2024 20:32:01 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sJ0Hx-0001tZ-73 for bug-gnu-emacs@gnu.org; Sun, 16 Jun 2024 20:32:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sJ0Hy-0006sc-Ge for bug-gnu-emacs@gnu.org; Sun, 16 Jun 2024 20:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Siyuan Chen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Jun 2024 00:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71603 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.171858428426391 (code B ref -1); Mon, 17 Jun 2024 00:32:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Jun 2024 00:31:24 +0000 Original-Received: from localhost ([127.0.0.1]:56969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJ0HL-0006rY-Mt for submit@debbugs.gnu.org; Sun, 16 Jun 2024 20:31:24 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:39328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJ0HJ-0006rQ-Io for submit@debbugs.gnu.org; Sun, 16 Jun 2024 20:31:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sJ0HG-00080Z-G0 for bug-gnu-emacs@gnu.org; Sun, 16 Jun 2024 20:31:19 -0400 Original-Received: from mail-yw1-x1132.google.com ([2607:f8b0:4864:20::1132]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sJ0HE-0001qm-W7 for bug-gnu-emacs@gnu.org; Sun, 16 Jun 2024 20:31:18 -0400 Original-Received: by mail-yw1-x1132.google.com with SMTP id 00721157ae682-632597a42b4so18086577b3.0 for ; Sun, 16 Jun 2024 17:31:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718584273; x=1719189073; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=j01WcsO1/iyAgTLyXv3oO8sdRwmhM6BHXw+ARQwRUtQ=; b=P/68OLhAHMlj1+v/hkL4t2S8rTHm4PKMCJJcCfubREZC9O+9Ha8rxNcdXrKQI/gHxN +iug1n9Jb7iQmJjRpCWiCWDRqi/8D316eY18PrFb34kDJNGRDcClk38KDgIU7VPcU0N+ rlF+NtxqbIQqogkcFG/ozH6C7YG/KURmVmGRSlti880ltAJ51pWWp2jMx2TiYkHHWNCD HHX8Fd4EmWOPZd6RqU1nym6NhoAaJ0tH3mAh+unqHDw0qeKYBsEGDJnU7kM1GRCj3rJV pBWQM5m6s3a3Kr4J4MHqWN8uaE4KI73gsoVXheNdXRWnb1eUX04jbNk9pICY1FM9+Ufl 7SEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718584273; x=1719189073; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=j01WcsO1/iyAgTLyXv3oO8sdRwmhM6BHXw+ARQwRUtQ=; b=l7W5eYsEURb7qxThlAWJ8O4gjzfFr5QlXTl1Bpg0My2reIHqlqvC4Mt424YMq8fzj/ fWEyR4PlraEgbH233fab1n6A7sRdi5BuLJdTQFl46t+Feum3gdz4ArxckBh3eNWX60SI wCNEJ5vAjQt3zZHpGJuNbxN8DNg1zPyiADxGW6LwJH/OBugEorkqzo0Ph5o7zyTGhipP Bl36wJ3RSAqya9DN6DpcYrLjBmbFUO1Teo14fXr3BZWk8ZGtoIleRpZYeuh0glk+BpUy tbjnjluY0C4vV23JPqcTu9QGxkcQ1iREueveo9VsWDodBnWHXd3VKLs6bch9oaQ6DKsL 5AJw== X-Gm-Message-State: AOJu0YyiJqiHeypRzLAcS+ZoHyUvWYdM7CARd0DL3byhe+5w52YIU1Us oxQTQyS6ED9sl8ij/bw/6vGWrMpys/8em4Zm/+gFTkHerSPDLtU57koy5/wzZblazA0ghJx0GW2 /3KyOp6qd0rmKH4oc1nLPjHWSZ5ddMs5JGJg= X-Google-Smtp-Source: AGHT+IHx7CA1s2cxCOmfxAADd9qFgNeGpRv+TpUjmOVsaQIOloTBAPiq3beq7vDo/rL01HdZuZFYxXqJ9SpcL6lImM8= X-Received: by 2002:a05:690c:4b09:b0:617:b979:a4db with SMTP id 00721157ae682-632064d7b7amr63057537b3.21.1718584273560; Sun, 16 Jun 2024 17:31:13 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::1132; envelope-from=chansey97@gmail.com; helo=mail-yw1-x1132.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:287347 Archived-At: --000000000000246de7061b0b1580 Content-Type: text/plain; charset="UTF-8" The reproduce steps: 1. Open Emacs 29.3 on Windows with -Q 2. Open a .el file which included some code, e.g. init.el 3. M-x `bookmark-delete-all` to cleanup bookmarks if you have 4. M-x `bookmark-set` at some locations, e.g. bk1 bk2 5. M-x `list-bookmarks` to open *Bookmark List* which should have 2 entries 6. Split 2 windows, the up window displays init.el, the bottom window displays *Bookmark List* 7. Mouse left click (or press 'on' ) on bk1 or bk2 in *Bookmark List* The expected behavior: jump cursor to bk1 or bk2 The actual behavior: nothing happens, except the left fringe displays an additional bookmark icon if your current point is not at one of the bookmark locations. I don't know if this is a bug or the intended behavior, but when I put the mouse on the bk1 or bk2 entry it will show "mouse-1: go to this bookmark in other window", so I believe it is a bug. In addition, if you click the entries via Mouse middle click, i.e. mouse-2, then it seems to half work with a different weird behavior. Simply traced the code and found that both invoke `bookmark-bmenu-other-window-with-mouse` but I don't know why they have different behaviors. P.s. I can workaround it via hacking bookmark.el because `bookmark-jump` works perfectly, but I just want to know if this is a real bug. Thanks. Best regards, Siyuan Chen --000000000000246de7061b0b1580 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The reproduce steps:

1. Open Emacs 29.3 on Windo= ws with -Q

2. Open a .el file which included some code, e.g. init.el=

3. M-x `bookmark-delete-all` to cleanup bookmarks if you have
4. M-x `bookmark-set` at some locations, e.g. bk1 bk2

5. M-x `list= -bookmarks` to open *Bookmark List* which should have 2 entries

6. S= plit 2 windows, the up window displays init.el, the bottom window displays = *Bookmark List*

7. Mouse left click (or press 'on' ) on bk1 = or bk2 in *Bookmark List*

The expected behavior: jump cursor to bk1= or bk2

The actual behavior: nothing happens, except the left fringe= displays an additional bookmark icon if your current point is not at one o= f the bookmark locations.

I don't know if this is a bug or the i= ntended behavior, but when I put the mouse on the bk1 or bk2 entry it will = show "mouse-1: go to this bookmark in other window", so I believe= it is a bug.

In addition, if you clic= k the entries via Mouse middle click, i.e. mouse-2, then it seems to half work with a different weird = behavior. Simply traced the code and found that both invoke `bookmark-bmenu-other= -window-with-mouse` but I don't know why they have different behaviors.=

P.s. I can workaround it via h= acking bookmark.el because `bookmark-jump` works perfectly, but I just want to know if this is a real = bug.

Thanks.

Best regards,

Siyuan Chen<= br>
--000000000000246de7061b0b1580--