GNU logs - #75841, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#75841: [PATCH] [UPDATE3] Fix mouse click on flymake
Resent-From: Ergus <spacibba@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 25 Jan 2025 21:28:02 +0000
Resent-Message-ID: <handler.75841.B.173784042519515 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 75841
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Juri Linkov <juri@HIDDEN>
Cc: sbaugh@HIDDEN, eliz@HIDDEN, 75841 <at> debbugs.gnu.org, emacs-devel@HIDDEN
X-Debbugs-Original-Cc: sbaugh@HIDDEN, Eli Zaretskii <eliz@HIDDEN>, bug-gnu-emacs@HIDDEN, emacs-devel@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.173784042519515
          (code B ref -1); Sat, 25 Jan 2025 21:28:02 +0000
Received: (at submit) by debbugs.gnu.org; 25 Jan 2025 21:27:05 +0000
Received: from localhost ([127.0.0.1]:52899 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tbngH-00054g-1X
	for submit <at> debbugs.gnu.org; Sat, 25 Jan 2025 16:27:05 -0500
Received: from lists.gnu.org ([2001:470:142::17]:41134)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <spacibba@HIDDEN>) id 1tbngE-000546-D1
 for submit <at> debbugs.gnu.org; Sat, 25 Jan 2025 16:27:03 -0500
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 <spacibba@HIDDEN>) id 1tbng7-0000Pa-SE
 for bug-gnu-emacs@HIDDEN; Sat, 25 Jan 2025 16:26:55 -0500
Received: from sonic316-12.consmr.mail.bf2.yahoo.com ([74.6.130.122])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <spacibba@HIDDEN>) id 1tbng5-000094-8g
 for bug-gnu-emacs@HIDDEN; Sat, 25 Jan 2025 16:26:55 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048;
 t=1737840409; bh=ByZAcDzeyDY/iSg8Dn8MbOu1eTiKbAmRwnpH6Rr2Bl8=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To;
 b=HK0QMMnUvQivFtnDIM/gskJ7iUU6fWL61pKVMJ8Old5rlM4C1f59kjiI+H2YHfRSJewuPg1iJVA1hLPDybXKwxKmVsNZbZ1zfn6MYiHR50q8N1ptJv/nCeBJ2Zli4iMnEAXSDRvJlosj68dShzsEpQgfQ2NmfGWcZMGAmrbZkAWf6x22L6t5bXPjDW99UktpARaKfOD4SQ2i1T3UbY1ATMptHZB5qznUC1At8EiEz90CAJYHc9SnA6f7fNOda9GfE4p/L4iNw2w/xo61inTKegimqaKOqvvQFNpW/PWgxM/pi0V/FySt+ZbHnuypDxcdMcjDfBmEF5hBwkwDVTFbLw==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1737840409; bh=Ef0lMCMfu/WeP//pL2aOBBDVKr1+FvQg7xPTZvbRduL=;
 h=X-Sonic-MF:Date:From:To:Subject:From:Subject;
 b=SNusl5J3UrqeHchbTY3l8cT76WGkUKt3zFw7BifwhhAW2Uej49JnECpyxLfGuOzxskWljjJokFE47tc1Mu8HFJPDYFO7QL/jBQ5YbmkFwIOCkn0Yq7bvYn3bFHMLge6KvsggHnuIyQB6V6WoxcAtw23kCH1Y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sAQ
 UUGx2_A88F3Cp21swKhyxnVYhbMlJiaEJvFqdOBNqhOF1grCoEE2CsdNh3EqDIgjyDIr_wMy2tDu
 4G6REOUJ61MFjTvIu8_S2.bz5H63NtNhYKQ44KpXcn38wwGMO0vryzyvmJlyNcqfe73mCceBBiN2
 bQIEbAh1IUcHYeSOAkSjCJfx5wGxJ0h8mwi4oQdmCHRqbzE2NIMjQyt5NuTGNjlIjLL5WmDcEQeT
 _UB1CLPxC_WfKBf5ZvpLmSW.9kvl4w2Ga_mVVW5TTgh.tMHkorrDEMUgXk_KnByerpAk2bKg.QRP
 I84dcv3ss5Q6I8rKKN2gpSmFBQbqp1czJkRBa1ks3GqkafH3yl.iFXUvsErut_1M21qbgO9nObJl
 _MV6ChL12dRaM
X-Sonic-MF: <spacibba@HIDDEN>
X-Sonic-ID: 730bd6cf-bc6b-4a2e-852f-83222b6104b8
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic316.consmr.mail.bf2.yahoo.com with HTTP; Sat, 25 Jan 2025 21:26:49 +0000
Received: by hermes--production-ir2-c694d79d9-f7l2b (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 3d0e5bfb8cf9e450cb8d136dcb64a42d; 
 Sat, 25 Jan 2025 21:26:45 +0000 (UTC)
Date: Sat, 25 Jan 2025 22:26:38 +0100
From: Ergus <spacibba@HIDDEN>
Message-ID: <whcg5olmy43oygl5jcjklgdiqxaih5ql2qf2sk4nej2ilpo6oj@slx7vkyud3jm>
References: <877c6pjtqe.fsf@HIDDEN>
 <285D34FD-8F62-4C49-83EB-1F8E3D486793@HIDDEN>
 <8634hc5lqr.fsf@HIDDEN>
 <EB9073DD-31C1-4A19-A601-563042041ADA@HIDDEN>
 <86ed0t23l9.fsf@HIDDEN>
 <cghqipziqfestwlqma6khqomrzvgw3kc4v3wgdko254o53wy5p@rniq2y7cm7jh>
 <86sep8y7iw.fsf@HIDDEN>
 <vlzgulkvp6hok6xipvpnwexbs5zhawsucphxdfk4p5obqbhlml@kdsbelm6u72u>
 <zzncrjvcfdp4g27k77xyva2mjy4s75iowf52jss57vianohdap@6rgszjwtgi2q>
 <87tt9m95hy.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="yti5t2tvs2sjo6sy"
Content-Disposition: inline
In-Reply-To: <87tt9m95hy.fsf@HIDDEN>
X-Mailer: WebService/1.1.23187
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol
Content-Length: 10347
Received-SPF: pass client-ip=74.6.130.122; envelope-from=spacibba@HIDDEN;
 helo=sonic316-12.consmr.mail.bf2.yahoo.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1,
 DKIM_SIGNED=0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001,
 RCVD_IN_MSPIKE_H2=-0.049, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.6 (/)
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 (/)


--yti5t2tvs2sjo6sy
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline

Hi Juri:

On Sat, Jan 25, 2025 at 07:48:33PM +0200, Juri Linkov wrote:
>> Please find attached the patch with the fix + the new feature.
>
>Your previous patch worked at least for margins, but new one doesn't work.
>
Try it now please. I actually detected the issue just now and was
planning to submit a new patch. when I saw your message

The issue was that I was checking for errors only in the event
position. But on fringe events `pos' is always the line start position,
where not necessarily needs to be any error overlay.

Now the code considers the whole line when the event is from the fringe
or margin and uses only pos in the flymake-menu's command.

If the line has more than one error, it highlights the first one
returned by flymake-diagnostics.

>> It includes:
>
>> 1. A new defcustom equivalent to xref-after-jump-hook.
>> 2. An optional argument to flymake-show-buffer-diagnostics.
>> 3. Modification to flymake-menu to use a new function that also highlights
>> the candidate when possible.
>
>Thanks, nice idea.
>
>> They look like too many, but are actually just a few lines, so I put
>> them together.
>
>I wonder why you don't send patches to bug-gnu-emacs
>where it's easier to track them.

I actually prefer to create a branch and so on, but I thought that this
patch would be just a couple of lines (like in my first message). But
things are never as simple as I would like ;)

Best,
Ergus

--yti5t2tvs2sjo6sy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment;
	filename="flymake-indicator-margin-click_v3.patch"

diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index 9dda53713f5..b7a68e382ef 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -748,34 +748,41 @@ flymake--severity
   (flymake--lookup-type-property type 'severity
                                  (warning-numeric-level :error)))
 
-(defun flymake--indicator-overlay-spec (indicator)
+(defun flymake--indicator-overlay-spec (type)
   "Return INDICATOR as propertized string to use in error indicators."
-  (let* ((value (if (symbolp indicator)
+  (let* ((indicator (flymake--lookup-type-property
+                     type
+                     (cond ((eq flymake-indicator-type 'fringes)
+                            'flymake-bitmap)
+                           ((eq flymake-indicator-type 'margins)
+                            'flymake-margin-string))
+                     (alist-get 'bitmap (alist-get type ; backward compat
+                                                   flymake-diagnostic-types-alist))))
+         (value (if (symbolp indicator)
                     (symbol-value indicator)
                   indicator))
-         (indicator-car (if (listp value)
-                            (car value)
-                          value))
-         (indicator-cdr (if (listp value)
-                            (cdr value))))
+         (valuelist (if (listp value)
+                        value
+                      (list value)))
+         (indicator-car (car valuelist)))
+
     (cond
      ((and (symbolp indicator-car)
            flymake-fringe-indicator-position)
       (propertize "!" 'display
-                  (cons flymake-fringe-indicator-position
-                        (if (listp value)
-                            value
-                          (list value)))))
+                  (cons flymake-fringe-indicator-position valuelist)))
      ((and (stringp indicator-car)
            flymake-margin-indicator-position)
       (propertize "!"
                   'display
                   `((margin ,flymake-margin-indicator-position)
-                    ,(propertize
-                      indicator-car
-                      'face
-                      `(:inherit (,indicator-cdr
-                                  default)))))))))
+                    ,(propertize indicator-car
+                                 'face `(:inherit (,(cdr valuelist) default))
+                                 'mouse-face 'highlight
+                                 'help-echo "Open Flymake diagnostics"
+                                 'keymap `,(define-keymap
+                                             (format "<%s> <mouse-1>" flymake-margin-indicator-position)
+                                             #'flymake-show-buffer-diagnostics-at-event-line))))))))
 
 (defun flymake--resize-margins (&optional orig-width)
   "Resize current window margins according to `flymake-margin-indicator-position'.
@@ -941,16 +948,7 @@ flymake--highlight-line
                   (overlay-put ov prop (flymake--lookup-type-property
                                         type prop value)))))
       (default-maybe 'face 'flymake-error)
-      (default-maybe 'before-string
-        (flymake--indicator-overlay-spec
-         (flymake--lookup-type-property
-          type
-          (cond ((eq flymake-indicator-type 'fringes)
-                 'flymake-bitmap)
-                ((eq flymake-indicator-type 'margins)
-                 'flymake-margin-string))
-          (alist-get 'bitmap (alist-get type ; backward compat
-                                        flymake-diagnostic-types-alist)))))
+      (default-maybe 'before-string (flymake--indicator-overlay-spec type))
       ;; (default-maybe 'after-string
       ;;                (flymake--diag-text diagnostic))
       (default-maybe 'help-echo
@@ -1369,12 +1367,21 @@ flymake-start
                   nil)))
              (flymake--import-foreign-diagnostics))))))
 
-(defvar flymake-mode-map
-  (let ((map (make-sparse-keymap)))
-    (define-key map `[,flymake-fringe-indicator-position mouse-1]
-                #'flymake-show-buffer-diagnostics)
-    map)
-  "Keymap for `flymake-mode'.")
+(defun flymake-show-buffer-diagnostics-at-event-line (event)
+  "Show diagnostics buffer on mouse click in the margin or fringe.
+This uses two different approaches to work.
+For margin it is set as a char property of the margin character directly.
+While in the fringe it is set as part of the `flymake-mode-map'."
+  (interactive "e")
+  (when-let* ((diagnostics (flymake-diagnostics-at-mouse-event event t)))
+    (flymake-show-buffer-diagnostics (car diagnostics))))
+
+;; Set the fringe mouse-1 action directly and perform the filtering
+;; latter iterating over the overlays.
+(defvar-keymap flymake-mode-map
+               :doc "Keymap for `flymake-mode'."
+               (format "<%s> <mouse-1>" flymake-fringe-indicator-position)
+               #'flymake-show-buffer-diagnostics-at-event-line)
 
 ;;;###autoload
 (define-minor-mode flymake-mode
@@ -1616,6 +1623,27 @@ flymake-goto-prev-error
                      t))
   (flymake-goto-next-error (- (or n 1)) filter interactive))
 
+(defun flymake-diagnostics-at-mouse-event (event full-line)
+  "Get the flymake diagnostics for a position given by a mouse EVENT.
+When FULL-LINE is not nil if gives all the diagnostics in the EVENT's
+line.
+"
+  (mouse-minibuffer-check event)
+  (let* ((posn (event-end event))
+	 (pos (posn-point posn)))
+    (when (numberp pos)
+      (with-selected-window (posn-window posn)
+	(with-current-buffer (window-buffer)
+	  (goto-char pos)
+          (if full-line
+              (flymake-diagnostics (line-beginning-position) (line-end-position))
+            (flymake-diagnostics pos (1+ pos))))))))
+
+(defun flymake-show-buffer-diagnostics-at-event-position (event)
+  (interactive "e")
+  (flymake-show-buffer-diagnostics
+   (car (flymake-diagnostics-at-mouse-event event nil))))
+
 
 ;;; Mode-line and menu
 ;;;
@@ -1624,7 +1652,7 @@ flymake-menu
     [ "Go to next problem"      flymake-goto-next-error t ]
     [ "Go to previous problem"  flymake-goto-prev-error t ]
     [ "Check now"               flymake-start t ]
-    [ "List all problems"       flymake-show-buffer-diagnostics t ]
+    [ "List all problems"       flymake-show-buffer-diagnostics-at-event-position t ]
     "--"
     [ "Go to log buffer"        flymake-switch-to-log-buffer t ]
     [ "Turn off Flymake"        flymake-mode t ]))
@@ -1652,6 +1680,15 @@ flymake-mode-line-lighter
   :type 'string
   :version "29.1")
 
+(defcustom flymake-after-jump-hook '(pulse-momentary-highlight-one-line)
+  "Hook called after jumping to a diagnostic line.
+
+This hooks are called when `flymake-show-buffer-diagnostics' receives an
+the optional `diagnostic' argument and it matches an entry in the
+diagnostic's buffer."
+  :type 'hook
+  :version "31.0")
+
 (defvar flymake-mode-line-title '(:eval (flymake--mode-line-title))
   "Mode-line construct to show Flymake's mode name and menu.")
 
@@ -1969,7 +2006,7 @@ flymake--diagnostics-buffer-name
 (define-obsolete-function-alias 'flymake-show-diagnostics-buffer
   'flymake-show-buffer-diagnostics "1.2.1")
 
-(defun flymake-show-buffer-diagnostics ()
+(defun flymake-show-buffer-diagnostics (&optional diagnostic)
   "Show a list of Flymake diagnostics for current buffer."
   (interactive)
   (unless flymake-mode
@@ -1987,7 +2024,15 @@ flymake-show-buffer-diagnostics
                       `((display-buffer-reuse-window
                          display-buffer-below-selected)
                         (window-height . (lambda (window)
-                          (fit-window-to-buffer window 10))))))))
+                                           (fit-window-to-buffer window 10)))))
+      (when (and diagnostic flymake-after-jump-hook)
+        (goto-char (point-min))
+        (catch 'done
+          (while-let ((id (tabulated-list-get-id (point))))
+            (if (eq (plist-get id :diagnostic) diagnostic)
+                (progn (run-hooks 'flymake-after-jump-hook)
+                       (throw 'done nil))
+              (forward-line))))))))
 
 
 ;;; Per-project diagnostic listing
diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index 263b980ac18..791aeef5765 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -1559,7 +1559,6 @@ project-compile-helper
 ;;;###autoload (autoload 'project-test "project")
 (project-compile-helper project-test :test-command)
 
-
 ;;;###autoload
 (defun project-recompile (&optional edit-command)
   "Run `recompile' in the project root with an appropriate buffer."

--yti5t2tvs2sjo6sy--




Message sent:


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: Ergus <spacibba@HIDDEN>
Subject: bug#75841: Acknowledgement ([PATCH] [UPDATE3] Fix mouse click on
 flymake)
Message-ID: <handler.75841.B.173784042519515.ack <at> debbugs.gnu.org>
References: <whcg5olmy43oygl5jcjklgdiqxaih5ql2qf2sk4nej2ilpo6oj@slx7vkyud3jm>
X-Gnu-PR-Message: ack 75841
X-Gnu-PR-Package: emacs
X-Gnu-PR-Keywords: patch
Reply-To: 75841 <at> debbugs.gnu.org
Date: Sat, 25 Jan 2025 21:28:02 +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 75841 <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
75841: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D75841
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#75841: [PATCH] [UPDATE3] Fix mouse click on flymake
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 27 Jan 2025 19:04:02 +0000
Resent-Message-ID: <handler.75841.B75841.173800462711886 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75841
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Ergus <spacibba@HIDDEN>
Cc: sbaugh@HIDDEN, eliz@HIDDEN, 75841 <at> debbugs.gnu.org
Received: via spool by 75841-submit <at> debbugs.gnu.org id=B75841.173800462711886
          (code B ref 75841); Mon, 27 Jan 2025 19:04:02 +0000
Received: (at 75841) by debbugs.gnu.org; 27 Jan 2025 19:03:47 +0000
Received: from localhost ([127.0.0.1]:34458 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tcUOh-00035e-4X
	for submit <at> debbugs.gnu.org; Mon, 27 Jan 2025 14:03:47 -0500
Received: from relay5-d.mail.gandi.net ([217.70.183.197]:57061)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1tcUOf-00035P-1u
 for 75841 <at> debbugs.gnu.org; Mon, 27 Jan 2025 14:03:45 -0500
Received: by mail.gandi.net (Postfix) with ESMTPSA id E1DDD1C0002;
 Mon, 27 Jan 2025 19:03:34 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
In-Reply-To: <whcg5olmy43oygl5jcjklgdiqxaih5ql2qf2sk4nej2ilpo6oj@slx7vkyud3jm>
 (Ergus's message of "Sat, 25 Jan 2025 22:26:38 +0100")
Organization: LINKOV.NET
References: <877c6pjtqe.fsf@HIDDEN>
 <285D34FD-8F62-4C49-83EB-1F8E3D486793@HIDDEN>
 <8634hc5lqr.fsf@HIDDEN>
 <EB9073DD-31C1-4A19-A601-563042041ADA@HIDDEN>
 <86ed0t23l9.fsf@HIDDEN>
 <cghqipziqfestwlqma6khqomrzvgw3kc4v3wgdko254o53wy5p@rniq2y7cm7jh>
 <86sep8y7iw.fsf@HIDDEN>
 <vlzgulkvp6hok6xipvpnwexbs5zhawsucphxdfk4p5obqbhlml@kdsbelm6u72u>
 <zzncrjvcfdp4g27k77xyva2mjy4s75iowf52jss57vianohdap@6rgszjwtgi2q>
 <87tt9m95hy.fsf@HIDDEN>
 <whcg5olmy43oygl5jcjklgdiqxaih5ql2qf2sk4nej2ilpo6oj@slx7vkyud3jm>
Date: Mon, 27 Jan 2025 21:00:45 +0200
Message-ID: <87y0ywulnm.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
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.7 (-)

>>> Please find attached the patch with the fix + the new feature.
>>
>>Your previous patch worked at least for margins, but new one doesn't work.
>>
> Try it now please. I actually detected the issue just now and was
> planning to submit a new patch. when I saw your message

Thanks for the patch.  I tested it, and now it works.
Please see some comments below.

> I actually prefer to create a branch and so on, but I thought that this
> patch would be just a couple of lines (like in my first message). But
> things are never as simple as I would like ;)

Too many troubles with the branch because it requires recompilation
every time after switching the branch.  The patch is much simpler ;)

> +(defvar-keymap flymake-mode-map
> +               :doc "Keymap for `flymake-mode'."
> +               (format "<%s> <mouse-1>" flymake-fringe-indicator-position)
> +               #'flymake-show-buffer-diagnostics-at-event-line)

This dependency on 'flymake-fringe-indicator-position' can break
in the case when the user customizes the value
of 'flymake-fringe-indicator-position' to 'right-fringe'.
Then clicking will fail with "<right-fringe> <mouse-1> is undefined".

> +      (with-selected-window (posn-window posn)
> +	(with-current-buffer (window-buffer)
> +	  (goto-char pos)
> +          (if full-line
> +              (flymake-diagnostics (line-beginning-position) (line-end-position))
> +            (flymake-diagnostics pos (1+ pos))))))))

I don't know if '(with-selected-window (posn-window posn)' was intended
to handle this case, but clicking on the fringe still raises the error
"Flymake mode is not enabled in the current buffer" when clicking
from the diagnostics buffer.

> +(defcustom flymake-after-jump-hook '(pulse-momentary-highlight-one-line)
> +  "Hook called after jumping to a diagnostic line.
> +
> +This hooks are called when `flymake-show-buffer-diagnostics' receives an
> +the optional `diagnostic' argument and it matches an entry in the
> +diagnostic's buffer."
> +  :type 'hook
> +  :version "31.0")

Please note that this is not direct equivalent to xref-after-jump-hook.
xref-after-jump-hook is more like flymake-show-diagnostic and
flymake-goto-diagnostic that jumps from the diagnostic buffer to the
source buffer.  But this hook is about showing the diagnostic buffer.
So a less ambiguous name would be 'flymake-after-show-buffer-diagnostics-hook'.

Then 'pulse-momentary-highlight-one-line' works nicely.
For consistency it could use the same face 'highlight'
as 'pulse-momentary-highlight-region' in 'flymake-show-diagnostic'.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#75841: [PATCH] [UPDATE3] Fix mouse click on flymake
Resent-From: Ergus <spacibba@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 28 Jan 2025 13:00:02 +0000
Resent-Message-ID: <handler.75841.B75841.17380691825457 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75841
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Juri Linkov <juri@HIDDEN>
Cc: sbaugh@HIDDEN, eliz@HIDDEN, 75841 <at> debbugs.gnu.org
Received: via spool by 75841-submit <at> debbugs.gnu.org id=B75841.17380691825457
          (code B ref 75841); Tue, 28 Jan 2025 13:00:02 +0000
Received: (at 75841) by debbugs.gnu.org; 28 Jan 2025 12:59:42 +0000
Received: from localhost ([127.0.0.1]:35884 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tclBt-0001Px-TV
	for submit <at> debbugs.gnu.org; Tue, 28 Jan 2025 07:59:42 -0500
Received: from sonic312-20.consmr.mail.bf2.yahoo.com ([74.6.128.82]:41160)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <spacibba@HIDDEN>) id 1tclBn-0001Pb-6d
 for 75841 <at> debbugs.gnu.org; Tue, 28 Jan 2025 07:59:40 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048;
 t=1738069168; bh=OXXr0TPnjPyICIlcvKo7ZWXGuxp0lg5/3pJ3ZG+DQp0=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To;
 b=rBz1PzEHIliT5BoTg0tVA7fnTdV4YZwLQv88+71XEqiVXoj2kbxc1/M7gj0EVnH8VC0fJgZQcb2xwafIHDCX1O+gQhHRt0Fb/X6ipaJ2bbeIoA7dhmxsNtQQ+tjDX1HvFAiPNakrFoxWfhNHjEtEaQhcRSqbjkwE3RiyTLzZE39nO8H62I8c2hzOm8dHP9dUrY5hkZGw7L+1b4Z+CVzoI7a4XhSQRqlSEfnkItNBVdEFgxrKtvgyd70J5wPEUTIw/qvU1pJ0xg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ev2Q6ROYzMc9fwXnkTVMiY7ZAsXGNWR1IJmrJ4hG5VXTimpegnNlRjm_dK
 .YfuOdcHYOhDV6LPnXC3USt_TiEsLCLP0abwgJdGM3V4JEuxnNoMd4KfnpCAvH4amyodxCyFrxnH
 wOcne7OcWf1pr3lIAHF.5Lov3OmUJh5jvmHtexVoXjoba35yKHEDaTFTRIA1WAkqJV0gCE593tTg
 WHhi4csYZcrn3jv8F1N1h0szMcQHjwJ1_0ul8Rsfy27eUOqEScn.rKffgeuX0GHTaSpjuE2tA071
 gua4otBuEDllM0dZH2LvhKCZ3_dg_4KDqO_TkWo3VxawVaP.eOre97wtYAcNbZCSqL3_GnH1Zp2y
 h4IeK_osg9tIM0_GkkjlXPZk3j03LEzgNjtqX1Io2LoS6X6tkhde0r1LMeGLGESayaOvhr.pH7m2
 yeD8LbAuLME4QjFFEXwjJCRTTSOb62I1utWgWYZRIz9GDaoBWa2IJVrE5YIB4.Hns4u54n.PcAMq
 smbDCQ208RYAxRV9Yn1CqBYcJEc19AgMa224ZoA_mn0FOgJFofUMFvyMAvRkbRxCf3aTnor0riA7
 QME4G0P4b1Oar5ZNAfAy8lgOA60xLLrAt2zQWwHB.l3F5jPbEEskiBFqfKrxaBiRgjFvxfg3awqY
 KcBaX1hvnV67MOQI.z06mL0WhRjaqMqsii4IY9Uq.eZQ4LUyIBEeF4ZUBFGN5LXxfmOrUEfmp7iN
 lEuBh3A--
X-Sonic-MF: <spacibba@HIDDEN>
X-Sonic-ID: a190fbae-1434-4f04-b429-a79433d825a9
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic312.consmr.mail.bf2.yahoo.com with HTTP; Tue, 28 Jan 2025 12:59:28 +0000
Received: by hermes--production-ir2-c694d79d9-rpm9f (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID eb414b33a40062457f5836489e5a0c97; 
 Tue, 28 Jan 2025 12:59:24 +0000 (UTC)
Date: Tue, 28 Jan 2025 13:59:22 +0100
From: Ergus <spacibba@HIDDEN>
Message-ID: <4cazxxxaihei5aswrs7xwy3drgwsqt4faa4phn7ydnwzsodkpr@di6usnoc7axv>
References: <8634hc5lqr.fsf@HIDDEN>
 <EB9073DD-31C1-4A19-A601-563042041ADA@HIDDEN>
 <86ed0t23l9.fsf@HIDDEN>
 <cghqipziqfestwlqma6khqomrzvgw3kc4v3wgdko254o53wy5p@rniq2y7cm7jh>
 <86sep8y7iw.fsf@HIDDEN>
 <vlzgulkvp6hok6xipvpnwexbs5zhawsucphxdfk4p5obqbhlml@kdsbelm6u72u>
 <zzncrjvcfdp4g27k77xyva2mjy4s75iowf52jss57vianohdap@6rgszjwtgi2q>
 <87tt9m95hy.fsf@HIDDEN>
 <whcg5olmy43oygl5jcjklgdiqxaih5ql2qf2sk4nej2ilpo6oj@slx7vkyud3jm>
 <87y0ywulnm.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
In-Reply-To: <87y0ywulnm.fsf@HIDDEN>
X-Mailer: WebService/1.1.23187
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol
Content-Length: 3100
X-Spam-Score: -0.0 (/)
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.0 (-)

On Mon, Jan 27, 2025 at 09:00:45PM +0200, Juri Linkov wrote:
>>>> Please find attached the patch with the fix + the new feature.
>>>
>>>Your previous patch worked at least for margins, but new one doesn't work.
>>>
>> Try it now please. I actually detected the issue just now and was
>> planning to submit a new patch. when I saw your message
>
>Thanks for the patch.  I tested it, and now it works.
>Please see some comments below.
>
>> I actually prefer to create a branch and so on, but I thought that this
>> patch would be just a couple of lines (like in my first message). But
>> things are never as simple as I would like ;)
>
>Too many troubles with the branch because it requires recompilation
>every time after switching the branch.  The patch is much simpler ;)
>
It depends ;)

>> +(defvar-keymap flymake-mode-map
>> +               :doc "Keymap for `flymake-mode'."
>> +               (format "<%s> <mouse-1>" flymake-fringe-indicator-position)
>> +               #'flymake-show-buffer-diagnostics-at-event-line)
>
>This dependency on 'flymake-fringe-indicator-position' can break
>in the case when the user customizes the value
>of 'flymake-fringe-indicator-position' to 'right-fringe'.
>Then clicking will fail with "<right-fringe> <mouse-1> is undefined".
>
This works the same way. The previous code didn't support dynamically
change the flymake-fringe-indicator-position. We can try to solve it,
but we go back to the same issue tan in my first patch. We cannot change
the map.

>> +      (with-selected-window (posn-window posn)
>> +	(with-current-buffer (window-buffer)
>> +	  (goto-char pos)
>> +          (if full-line
>> +              (flymake-diagnostics (line-beginning-position) (line-end-position))
>> +            (flymake-diagnostics pos (1+ pos))))))))
>
>I don't know if '(with-selected-window (posn-window posn)' was intended
>to handle this case, but clicking on the fringe still raises the error
>"Flymake mode is not enabled in the current buffer" when clicking
>from the diagnostics buffer.
>
I haven't seen this, please tell me how to reproduce it.

>> +(defcustom flymake-after-jump-hook '(pulse-momentary-highlight-one-line)
>> +  "Hook called after jumping to a diagnostic line.
>> +
>> +This hooks are called when `flymake-show-buffer-diagnostics' receives an
>> +the optional `diagnostic' argument and it matches an entry in the
>> +diagnostic's buffer."
>> +  :type 'hook
>> +  :version "31.0")
>
>Please note that this is not direct equivalent to xref-after-jump-hook.
>xref-after-jump-hook is more like flymake-show-diagnostic and
>flymake-goto-diagnostic that jumps from the diagnostic buffer to the
>source buffer.  But this hook is about showing the diagnostic buffer.
>So a less ambiguous name would be 'flymake-after-show-buffer-diagnostics-hook'.
>
>Then 'pulse-momentary-highlight-one-line' works nicely.
>For consistency it could use the same face 'highlight'
>as 'pulse-momentary-highlight-region' in 'flymake-show-diagnostic'.

I will include these in the next patch. When I fix the
with-selected-window issue you mention before.


Best,
Ergus




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#75841: [PATCH] [UPDATE3] Fix mouse click on flymake
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 28 Jan 2025 18:20:02 +0000
Resent-Message-ID: <handler.75841.B75841.173808837426614 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75841
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Ergus <spacibba@HIDDEN>
Cc: sbaugh@HIDDEN, eliz@HIDDEN, 75841 <at> debbugs.gnu.org
Received: via spool by 75841-submit <at> debbugs.gnu.org id=B75841.173808837426614
          (code B ref 75841); Tue, 28 Jan 2025 18:20:02 +0000
Received: (at 75841) by debbugs.gnu.org; 28 Jan 2025 18:19:34 +0000
Received: from localhost ([127.0.0.1]:38472 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tcqBR-0006vC-GP
	for submit <at> debbugs.gnu.org; Tue, 28 Jan 2025 13:19:33 -0500
Received: from relay4-d.mail.gandi.net ([2001:4b98:dc4:8::224]:48687)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1tcqBN-0006up-U1
 for 75841 <at> debbugs.gnu.org; Tue, 28 Jan 2025 13:19:30 -0500
Received: by mail.gandi.net (Postfix) with ESMTPSA id AF5A4443BE;
 Tue, 28 Jan 2025 18:19:22 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
In-Reply-To: <4cazxxxaihei5aswrs7xwy3drgwsqt4faa4phn7ydnwzsodkpr@di6usnoc7axv>
 (Ergus's message of "Tue, 28 Jan 2025 13:59:22 +0100")
Organization: LINKOV.NET
References: <8634hc5lqr.fsf@HIDDEN>
 <EB9073DD-31C1-4A19-A601-563042041ADA@HIDDEN>
 <86ed0t23l9.fsf@HIDDEN>
 <cghqipziqfestwlqma6khqomrzvgw3kc4v3wgdko254o53wy5p@rniq2y7cm7jh>
 <86sep8y7iw.fsf@HIDDEN>
 <vlzgulkvp6hok6xipvpnwexbs5zhawsucphxdfk4p5obqbhlml@kdsbelm6u72u>
 <zzncrjvcfdp4g27k77xyva2mjy4s75iowf52jss57vianohdap@6rgszjwtgi2q>
 <87tt9m95hy.fsf@HIDDEN>
 <whcg5olmy43oygl5jcjklgdiqxaih5ql2qf2sk4nej2ilpo6oj@slx7vkyud3jm>
 <87y0ywulnm.fsf@HIDDEN>
 <4cazxxxaihei5aswrs7xwy3drgwsqt4faa4phn7ydnwzsodkpr@di6usnoc7axv>
Date: Tue, 28 Jan 2025 20:17:51 +0200
Message-ID: <87sep2950w.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-State: clean
X-GND-Score: 0
X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdektdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucenucfjughrpefhvfevufgjohhffffkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucggtffrrghtthgvrhhnpeffgeetfeevlefhleejfeeuheeiudeitdffhfdutdekfeffgffhveehteegueekheenucfkphepledurdduvdelrdeliedrledtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepledurdduvdelrdeliedrledtpdhhvghlohepmhgrihhlrdhgrghnughirdhnvghtpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhgspghrtghpthhtohepgedprhgtphhtthhopeejheekgeduseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepvghlihiisehgnhhurdhorhhgpdhrtghpthhtohepshgsrghughhhsehjrghnvghsthhrvggvthdrtghomhdprhgtphhtthhopehsphgrtghisggsrgesrgholhdrtghomh
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
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.7 (-)

>>> +(defvar-keymap flymake-mode-map
>>> +               :doc "Keymap for `flymake-mode'."
>>> +               (format "<%s> <mouse-1>" flymake-fringe-indicator-position)
>>> +               #'flymake-show-buffer-diagnostics-at-event-line)
>>
>>This dependency on 'flymake-fringe-indicator-position' can break
>>in the case when the user customizes the value
>>of 'flymake-fringe-indicator-position' to 'right-fringe'.
>>Then clicking will fail with "<right-fringe> <mouse-1> is undefined".
>>
> This works the same way. The previous code didn't support dynamically
> change the flymake-fringe-indicator-position. We can try to solve it,
> but we go back to the same issue tan in my first patch. We cannot change
> the map.

Do you see a problem with binding both initially:
'left-fringe' and 'right-fringe'?

>>> +      (with-selected-window (posn-window posn)
>>> +	(with-current-buffer (window-buffer)
>>> +	  (goto-char pos)
>>> +          (if full-line
>>> +              (flymake-diagnostics (line-beginning-position) (line-end-position))
>>> +            (flymake-diagnostics pos (1+ pos))))))))
>>
>>I don't know if '(with-selected-window (posn-window posn)' was intended
>>to handle this case, but clicking on the fringe still raises the error
>>"Flymake mode is not enabled in the current buffer" when clicking
>>from the diagnostics buffer.
>>
> I haven't seen this, please tell me how to reproduce it.

The previous code didn't support this case, so no need to handle this.
I just thought why with-selected-window can't handle the case
when the selected window was the diagnostics buffer, and then
can't click the fringe in the source buffer.

>>> +(defcustom flymake-after-jump-hook '(pulse-momentary-highlight-one-line)
>>> +  "Hook called after jumping to a diagnostic line.
>>> +
>>> +This hooks are called when `flymake-show-buffer-diagnostics' receives an
>>> +the optional `diagnostic' argument and it matches an entry in the
>>> +diagnostic's buffer."
>>> +  :type 'hook
>>> +  :version "31.0")
>>
>>Please note that this is not direct equivalent to xref-after-jump-hook.
>>xref-after-jump-hook is more like flymake-show-diagnostic and
>>flymake-goto-diagnostic that jumps from the diagnostic buffer to the
>>source buffer.  But this hook is about showing the diagnostic buffer.
>>So a less ambiguous name would be 'flymake-after-show-buffer-diagnostics-hook'.
>>
>>Then 'pulse-momentary-highlight-one-line' works nicely.
>>For consistency it could use the same face 'highlight'
>>as 'pulse-momentary-highlight-region' in 'flymake-show-diagnostic'.
>
> I will include these in the next patch. When I fix the
> with-selected-window issue you mention before.

Thanks.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#75841: [PATCH] [UPDATE4] Fix mouse click on flymake
Resent-From: Ergus <spacibba@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 28 Jan 2025 22:05:02 +0000
Resent-Message-ID: <handler.75841.B75841.173810186714804 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75841
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Juri Linkov <juri@HIDDEN>
Cc: sbaugh@HIDDEN, eliz@HIDDEN, 75841 <at> debbugs.gnu.org
Received: via spool by 75841-submit <at> debbugs.gnu.org id=B75841.173810186714804
          (code B ref 75841); Tue, 28 Jan 2025 22:05:02 +0000
Received: (at 75841) by debbugs.gnu.org; 28 Jan 2025 22:04:27 +0000
Received: from localhost ([127.0.0.1]:38977 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tcth4-0003qh-Q4
	for submit <at> debbugs.gnu.org; Tue, 28 Jan 2025 17:04:27 -0500
Received: from sonic316-12.consmr.mail.bf2.yahoo.com ([74.6.130.122]:41819)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <spacibba@HIDDEN>) id 1tcth2-0003qQ-DG
 for 75841 <at> debbugs.gnu.org; Tue, 28 Jan 2025 17:04:25 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048;
 t=1738101858; bh=M66/T01mrxLGTvUuPLzJRBQcpWwzCtdurLxgrbRFx8I=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To;
 b=LamZD4WnrDWCoy+h3zauWvZhZ9upg6qTOPvePm5uU7OdU2UwZZhSimfgYENpa4l469vw7EZERjVkZ2/pxqIL1Fayuw8yJxFZPWusDWhjiFwPv/db/MDdabf6jH5xo89mccY7qb3ZOHhaWwNEZIk85cirbovNLfgI5ShXuiaVc4hx7j1MfzgeFCq6Jh5/6LPzUP/bySbyaSDoyvIkNHcDr7sadEv7ZVi5kG6j7qw4d0rFZKmUcQlF/puVNAaNMavdelhogvtvII8qJfbePuB1Ca20IrhQSzunin+xXLukQO4VPnYPQa/1PyUCCyIPd9FxO8/bOR8Ldwhess4YKAWfvA==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1738101858; bh=LI8EFVjZkcLBipmxguOf1lZqBnFbvE4yuNeSTqrp7jf=;
 h=X-Sonic-MF:Date:From:To:Subject:From:Subject;
 b=qlvztY1NZFwgQtgLuARKLfJIRIeHsJJPYrfA7yIYu3hHQUXaM5/2MQ3n9HooOqALk1yyRjF2QGxWD1XrgVqq2F76gwxnhtjUDeatGtcw1pxzbCFI9R8i0RTHIdHcRpeuzKZa30bh81MC+0I49HZRxRKYJztZ9fGzmDCFymBVthJWdtekEwf4izjbmUeoeh7sZq6UmQJ57/xd4oyPBFyveqcwV8GHGENnVZ8RRFHLthipF4YimsxvYEb9qs8pzA0LXjybAsVPCHOdZrG9xoU/3hZtqD4tWciOFzNZNMQF4lEWrBVGP44AwuV2TnUavtWacoBqkcmPljv20cERvInx7Q==
X-YMail-OSG: LkhDABMVM1n7T1k_LSQObu4DvyNWB9XXrr.Ly_dBAEnsPNa9C7o0Q7XvmUMavqf
 d.pfijjSHI2pOo.n.NCMeDEmtWI41JnFvJO5Wz_GITeRAihndPtGQKALhohRW2aoIR_ONrTWeWl3
 GsouOd5N7biKm0L2rELy3018EnJoExSZshArHfdLy52ttpTYGmy4DlLrUSnI2eOIkHe1JPZlwE7X
 MseSNL2YUb.p6ICPW.FlX18QkFuA.xyWrKkL8LPD9HXiUhtx.rQ7TXuF_GL5oN0Tve77sbieA2oX
 0BxWu72n8brVlcYfB9KnKV0cfFTKM0tc2wNFpx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tMVBae2Y1b9DK3ZRLR2qz30MJAAgwHEgejjkjzHHggYUy.1AgB8.
 6JsERDnHt1IUvNpJDyOiA6891UcwgwrsebUXx_tbF80UB3p5bmFp86Z1vtKFFTwlvbACQdirUifd
 t9VVXpCmNuR0TUj09KfEtqMntW2JzoKFchyi1oF6SPQMPGQujvkDGzPdJECc9J8VVi.2mOUHlWYO
 UwreqptzM9ZLA97MiVu1mbGhYtzdcu3B3HkklU4h_A.AbjiXHNwJGVCnUcIGfxBdhvj7z.4P8Vlp
 0bDM56oIKdy3UdOnkQSv.5Mp8_yl_WjOLX4FyQIrz377kWPPB136GWeynWybaLsmPlo0yhXK2AbJ
 sxIv0VyBFXSiL.5QH3_MZMaI46fxEXTIj9y7Dto5on2nC7V2.PGiij7Ev1R1yPWx1hNH2SfY8NHj
 rooR9ThnLck_l1Hlzaev.dM7eXUJSoMoC34acfO.MdSVrx54d6PB0M_U1nZ2H15ks_okifPuD8_8
 tI_9QJZUuZXPXIHPwZpr.Pq3gl8ReUic4AMyohYwhwUG6X1M66tey8Zsz9xr0C01dWwIxgqYy3mh
 IOw5HlYvc94LPtZWbQBQKJJKDzWej4Hzv9YSsVOUzbKoPSRuoAY_OWf5PMYKi_SahvYqzYYeZQI8
 0XeVMxn_nOAPPVvt_x61SwivOTybovR4ZOxpyEOXsocOQ8mMEqhijoqXwqi5LwqakQdhmv5chdx_
 Diuh6RsB5AS0wD7YuNFTvmMtjSIez3EjwCch9Tg9fRRhKTssJsEokRJ00mrFjg2YEHDWh3spcHyZ
 VRqd5WH1CnDg39rACPeCZmF1Go2AHDv99SEOzblQTslgwF3KOKXICknqQDX7x85b6ZAVLrp7Zkvt
 6TKiNyYsg
X-Sonic-MF: <spacibba@HIDDEN>
X-Sonic-ID: 1542a1dc-6a05-44e1-ad4e-650ecc66592b
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic316.consmr.mail.bf2.yahoo.com with HTTP; Tue, 28 Jan 2025 22:04:18 +0000
Received: by hermes--production-ir2-c694d79d9-2zgj2 (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID cdc3f2a8b9d1aa6d1a834abcb25206e1; 
 Tue, 28 Jan 2025 22:04:14 +0000 (UTC)
Date: Tue, 28 Jan 2025 23:04:12 +0100
From: Ergus <spacibba@HIDDEN>
Message-ID: <xqpehs3emkudayauh533bk3kob5b235mzee3nvzm5nnfl2jdym@iijed6mnjazs>
References: <86ed0t23l9.fsf@HIDDEN>
 <cghqipziqfestwlqma6khqomrzvgw3kc4v3wgdko254o53wy5p@rniq2y7cm7jh>
 <86sep8y7iw.fsf@HIDDEN>
 <vlzgulkvp6hok6xipvpnwexbs5zhawsucphxdfk4p5obqbhlml@kdsbelm6u72u>
 <zzncrjvcfdp4g27k77xyva2mjy4s75iowf52jss57vianohdap@6rgszjwtgi2q>
 <87tt9m95hy.fsf@HIDDEN>
 <whcg5olmy43oygl5jcjklgdiqxaih5ql2qf2sk4nej2ilpo6oj@slx7vkyud3jm>
 <87y0ywulnm.fsf@HIDDEN>
 <4cazxxxaihei5aswrs7xwy3drgwsqt4faa4phn7ydnwzsodkpr@di6usnoc7axv>
 <87sep2950w.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="piplhkfwybxosyx6"
Content-Disposition: inline
In-Reply-To: <87sep2950w.fsf@HIDDEN>
X-Mailer: WebService/1.1.23187
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol
Content-Length: 13421
X-Spam-Score: -0.0 (/)
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.0 (-)


--piplhkfwybxosyx6
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline

Hi Juri:

Please try it now.

This version also fixes what I consider an issue which is moving the
cursor to the mouse click in the cases where there is not diagnostic
(and no action is expected to take place.)

Best,
Ergus

On Tue, Jan 28, 2025 at 08:17:51PM +0200, Juri Linkov wrote:
>>>> +(defvar-keymap flymake-mode-map
>>>> +               :doc "Keymap for `flymake-mode'."
>>>> +               (format "<%s> <mouse-1>" flymake-fringe-indicator-position)
>>>> +               #'flymake-show-buffer-diagnostics-at-event-line)
>>>
>>>This dependency on 'flymake-fringe-indicator-position' can break
>>>in the case when the user customizes the value
>>>of 'flymake-fringe-indicator-position' to 'right-fringe'.
>>>Then clicking will fail with "<right-fringe> <mouse-1> is undefined".
>>>
>> This works the same way. The previous code didn't support dynamically
>> change the flymake-fringe-indicator-position. We can try to solve it,
>> but we go back to the same issue tan in my first patch. We cannot change
>> the map.
>
>Do you see a problem with binding both initially:
>'left-fringe' and 'right-fringe'?
>
>>>> +      (with-selected-window (posn-window posn)
>>>> +	(with-current-buffer (window-buffer)
>>>> +	  (goto-char pos)
>>>> +          (if full-line
>>>> +              (flymake-diagnostics (line-beginning-position) (line-end-position))
>>>> +            (flymake-diagnostics pos (1+ pos))))))))
>>>
>>>I don't know if '(with-selected-window (posn-window posn)' was intended
>>>to handle this case, but clicking on the fringe still raises the error
>>>"Flymake mode is not enabled in the current buffer" when clicking
>>>from the diagnostics buffer.
>>>
>> I haven't seen this, please tell me how to reproduce it.
>
>The previous code didn't support this case, so no need to handle this.
>I just thought why with-selected-window can't handle the case
>when the selected window was the diagnostics buffer, and then
>can't click the fringe in the source buffer.
>
>>>> +(defcustom flymake-after-jump-hook '(pulse-momentary-highlight-one-line)
>>>> +  "Hook called after jumping to a diagnostic line.
>>>> +
>>>> +This hooks are called when `flymake-show-buffer-diagnostics' receives an
>>>> +the optional `diagnostic' argument and it matches an entry in the
>>>> +diagnostic's buffer."
>>>> +  :type 'hook
>>>> +  :version "31.0")
>>>
>>>Please note that this is not direct equivalent to xref-after-jump-hook.
>>>xref-after-jump-hook is more like flymake-show-diagnostic and
>>>flymake-goto-diagnostic that jumps from the diagnostic buffer to the
>>>source buffer.  But this hook is about showing the diagnostic buffer.
>>>So a less ambiguous name would be 'flymake-after-show-buffer-diagnostics-hook'.
>>>
>>>Then 'pulse-momentary-highlight-one-line' works nicely.
>>>For consistency it could use the same face 'highlight'
>>>as 'pulse-momentary-highlight-region' in 'flymake-show-diagnostic'.
>>
>> I will include these in the next patch. When I fix the
>> with-selected-window issue you mention before.
>
>Thanks.

--piplhkfwybxosyx6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment;
	filename="flymake-indicator-margin-click_v4.patch"

diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index 9dda53713f5..6141fd46c6e 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -748,34 +748,41 @@ flymake--severity
   (flymake--lookup-type-property type 'severity
                                  (warning-numeric-level :error)))
 
-(defun flymake--indicator-overlay-spec (indicator)
+(defun flymake--indicator-overlay-spec (type)
   "Return INDICATOR as propertized string to use in error indicators."
-  (let* ((value (if (symbolp indicator)
+  (let* ((indicator (flymake--lookup-type-property
+                     type
+                     (cond ((eq flymake-indicator-type 'fringes)
+                            'flymake-bitmap)
+                           ((eq flymake-indicator-type 'margins)
+                            'flymake-margin-string))
+                     (alist-get 'bitmap (alist-get type ; backward compat
+                                                   flymake-diagnostic-types-alist))))
+         (value (if (symbolp indicator)
                     (symbol-value indicator)
                   indicator))
-         (indicator-car (if (listp value)
-                            (car value)
-                          value))
-         (indicator-cdr (if (listp value)
-                            (cdr value))))
+         (valuelist (if (listp value)
+                        value
+                      (list value)))
+         (indicator-car (car valuelist)))
+
     (cond
      ((and (symbolp indicator-car)
            flymake-fringe-indicator-position)
       (propertize "!" 'display
-                  (cons flymake-fringe-indicator-position
-                        (if (listp value)
-                            value
-                          (list value)))))
+                  (cons flymake-fringe-indicator-position valuelist)))
      ((and (stringp indicator-car)
            flymake-margin-indicator-position)
       (propertize "!"
                   'display
                   `((margin ,flymake-margin-indicator-position)
-                    ,(propertize
-                      indicator-car
-                      'face
-                      `(:inherit (,indicator-cdr
-                                  default)))))))))
+                    ,(propertize indicator-car
+                                 'face `(:inherit (,(cdr valuelist) default))
+                                 'mouse-face 'highlight
+                                 'help-echo "Open Flymake diagnostics"
+                                 'keymap `,(define-keymap
+                                             (format "<%s> <mouse-1>" flymake-margin-indicator-position)
+                                             #'flymake-show-buffer-diagnostics-at-event-line))))))))
 
 (defun flymake--resize-margins (&optional orig-width)
   "Resize current window margins according to `flymake-margin-indicator-position'.
@@ -941,16 +948,7 @@ flymake--highlight-line
                   (overlay-put ov prop (flymake--lookup-type-property
                                         type prop value)))))
       (default-maybe 'face 'flymake-error)
-      (default-maybe 'before-string
-        (flymake--indicator-overlay-spec
-         (flymake--lookup-type-property
-          type
-          (cond ((eq flymake-indicator-type 'fringes)
-                 'flymake-bitmap)
-                ((eq flymake-indicator-type 'margins)
-                 'flymake-margin-string))
-          (alist-get 'bitmap (alist-get type ; backward compat
-                                        flymake-diagnostic-types-alist)))))
+      (default-maybe 'before-string (flymake--indicator-overlay-spec type))
       ;; (default-maybe 'after-string
       ;;                (flymake--diag-text diagnostic))
       (default-maybe 'help-echo
@@ -1369,12 +1367,28 @@ flymake-start
                   nil)))
              (flymake--import-foreign-diagnostics))))))
 
-(defvar flymake-mode-map
-  (let ((map (make-sparse-keymap)))
-    (define-key map `[,flymake-fringe-indicator-position mouse-1]
-                #'flymake-show-buffer-diagnostics)
-    map)
-  "Keymap for `flymake-mode'.")
+(defun flymake-show-buffer-diagnostics-at-event-line (event)
+  "Show diagnostics buffer on mouse click in the margin or fringe.
+This uses two different approaches to work.
+For margin it is set as a char property of the margin character directly.
+While in the fringe it is set as part of the `flymake-mode-map'."
+  (interactive "e")
+  (when-let* ((diagnostics (flymake-diagnostics-at-mouse-event event t))
+              (first-diag (car diagnostics)))
+    (with-selected-window (posn-window (event-end event))
+      (with-current-buffer (window-buffer)
+        (when (or (< (point) (flymake-diagnostic-beg first-diag))
+                  (> (point) (flymake-diagnostic-end first-diag)))
+          (goto-char (flymake-diagnostic-beg first-diag)))
+
+        (flymake-show-buffer-diagnostics first-diag)))))
+
+;; Set the fringe mouse-1 action directly and perform the filtering
+;; latter iterating over the overlays.
+(defvar-keymap flymake-mode-map
+               :doc "Keymap for `flymake-mode'."
+               (format "<%s> <mouse-1>" flymake-fringe-indicator-position)
+               #'flymake-show-buffer-diagnostics-at-event-line)
 
 ;;;###autoload
 (define-minor-mode flymake-mode
@@ -1616,6 +1630,28 @@ flymake-goto-prev-error
                      t))
   (flymake-goto-next-error (- (or n 1)) filter interactive))
 
+(defun flymake-diagnostics-at-mouse-event (event full-line)
+  "Get the flymake diagnostics for a position given by a mouse EVENT.
+When FULL-LINE is not nil it gives all the diagnostics in the EVENT's
+line. The function does not move the cursor position."
+  (mouse-minibuffer-check event)
+  (let* ((posn (event-end event))
+	 (pos (posn-point posn)))
+    (when (and (numberp pos)
+               (< pos (point-max))) ;; pos is == (point-max) when the click is after the buffer end.
+      (with-selected-window (posn-window posn)
+	(with-current-buffer (window-buffer)
+          (save-excursion
+            (goto-char pos)
+            (if full-line
+                (flymake-diagnostics (line-beginning-position) (line-end-position))
+              (flymake-diagnostics pos (1+ pos)))))))))
+
+(defun flymake-show-buffer-diagnostics-at-event-position (event)
+  (interactive "e")
+  (flymake-show-buffer-diagnostics
+   (car (flymake-diagnostics-at-mouse-event event nil))))
+
 
 ;;; Mode-line and menu
 ;;;
@@ -1624,7 +1660,7 @@ flymake-menu
     [ "Go to next problem"      flymake-goto-next-error t ]
     [ "Go to previous problem"  flymake-goto-prev-error t ]
     [ "Check now"               flymake-start t ]
-    [ "List all problems"       flymake-show-buffer-diagnostics t ]
+    [ "List all problems"       flymake-show-buffer-diagnostics-at-event-position t ]
     "--"
     [ "Go to log buffer"        flymake-switch-to-log-buffer t ]
     [ "Turn off Flymake"        flymake-mode t ]))
@@ -1652,6 +1688,15 @@ flymake-mode-line-lighter
   :type 'string
   :version "29.1")
 
+(defcustom flymake-after-show-buffer-diagnostics-hook '(flymake-pulse-momentary-highlight-region)
+  "Hook called after jumping to a diagnostic line.
+
+This hooks are called when `flymake-show-buffer-diagnostics' receives an
+the optional `diagnostic' argument and it matches an entry in the
+diagnostic's buffer."
+  :type 'hook
+  :version "31.0")
+
 (defvar flymake-mode-line-title '(:eval (flymake--mode-line-title))
   "Mode-line construct to show Flymake's mode name and menu.")
 
@@ -1822,6 +1867,17 @@ flymake-diagnostics-buffer-mode-map
     (define-key map (kbd "SPC") 'flymake-show-diagnostic)
     map))
 
+
+(defun flymake-pulse-momentary-highlight-region (&optional start end)
+  "Helper function to highlight region.
+This uses the point `line-beginning-position' and `line-end-position' to
+determine the optional START and END when the optional values are not
+specified."
+  (pulse-momentary-highlight-region (or start (line-beginning-position))
+                                    (or end (line-end-position))
+                                    'highlight))
+
+
 (defun flymake-show-diagnostic (pos &optional other-window)
   "Show location of diagnostic at POS."
   (interactive (list (point) t))
@@ -1833,9 +1889,7 @@ flymake-show-diagnostic
          (end (flymake--diag-end diag))
          (visit (lambda (b e)
                   (goto-char b)
-                  (pulse-momentary-highlight-region (point)
-                                                    (or e (line-end-position))
-                                                    'highlight))))
+                  (flymake-pulse-momentary-highlight-region b e))))
     (with-current-buffer (cond ((bufferp locus) locus)
                                (t (find-file-noselect locus)))
       (with-selected-window
@@ -1969,7 +2023,7 @@ flymake--diagnostics-buffer-name
 (define-obsolete-function-alias 'flymake-show-diagnostics-buffer
   'flymake-show-buffer-diagnostics "1.2.1")
 
-(defun flymake-show-buffer-diagnostics ()
+(defun flymake-show-buffer-diagnostics (&optional diagnostic)
   "Show a list of Flymake diagnostics for current buffer."
   (interactive)
   (unless flymake-mode
@@ -1987,7 +2041,15 @@ flymake-show-buffer-diagnostics
                       `((display-buffer-reuse-window
                          display-buffer-below-selected)
                         (window-height . (lambda (window)
-                          (fit-window-to-buffer window 10))))))))
+                                           (fit-window-to-buffer window 10)))))
+      (when (and diagnostic flymake-after-show-buffer-diagnostics-hook)
+        (goto-char (point-min))
+        (catch 'done
+          (while-let ((id (tabulated-list-get-id (point))))
+            (if (eq (plist-get id :diagnostic) diagnostic)
+                (progn (run-hooks 'flymake-after-show-buffer-diagnostics-hook)
+                       (throw 'done nil))
+              (forward-line))))))))
 
 
 ;;; Per-project diagnostic listing

--piplhkfwybxosyx6--




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#75841: [PATCH] [UPDATE4] Fix mouse click on flymake
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 29 Jan 2025 07:52:02 +0000
Resent-Message-ID: <handler.75841.B75841.173813706722530 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75841
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Ergus <spacibba@HIDDEN>
Cc: sbaugh@HIDDEN, eliz@HIDDEN, 75841 <at> debbugs.gnu.org
Received: via spool by 75841-submit <at> debbugs.gnu.org id=B75841.173813706722530
          (code B ref 75841); Wed, 29 Jan 2025 07:52:02 +0000
Received: (at 75841) by debbugs.gnu.org; 29 Jan 2025 07:51:07 +0000
Received: from localhost ([127.0.0.1]:39777 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1td2qo-0005rK-QI
	for submit <at> debbugs.gnu.org; Wed, 29 Jan 2025 02:51:07 -0500
Received: from relay3-d.mail.gandi.net ([2001:4b98:dc4:8::223]:44375)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1td2qh-0005qL-DL
 for 75841 <at> debbugs.gnu.org; Wed, 29 Jan 2025 02:50:59 -0500
Received: by mail.gandi.net (Postfix) with ESMTPSA id 4AF8C201D1;
 Wed, 29 Jan 2025 07:50:52 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
In-Reply-To: <xqpehs3emkudayauh533bk3kob5b235mzee3nvzm5nnfl2jdym@iijed6mnjazs>
 (Ergus's message of "Tue, 28 Jan 2025 23:04:12 +0100")
Organization: LINKOV.NET
References: <86ed0t23l9.fsf@HIDDEN>
 <cghqipziqfestwlqma6khqomrzvgw3kc4v3wgdko254o53wy5p@rniq2y7cm7jh>
 <86sep8y7iw.fsf@HIDDEN>
 <vlzgulkvp6hok6xipvpnwexbs5zhawsucphxdfk4p5obqbhlml@kdsbelm6u72u>
 <zzncrjvcfdp4g27k77xyva2mjy4s75iowf52jss57vianohdap@6rgszjwtgi2q>
 <87tt9m95hy.fsf@HIDDEN>
 <whcg5olmy43oygl5jcjklgdiqxaih5ql2qf2sk4nej2ilpo6oj@slx7vkyud3jm>
 <87y0ywulnm.fsf@HIDDEN>
 <4cazxxxaihei5aswrs7xwy3drgwsqt4faa4phn7ydnwzsodkpr@di6usnoc7axv>
 <87sep2950w.fsf@HIDDEN>
 <xqpehs3emkudayauh533bk3kob5b235mzee3nvzm5nnfl2jdym@iijed6mnjazs>
Date: Wed, 29 Jan 2025 09:48:01 +0200
Message-ID: <87o6zqawni.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-State: clean
X-GND-Score: 0
X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvgeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecunecujfgurhephffvvefujghofhffkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecuggftrfgrthhtvghrnhepffegteefveelhfeljeefueehieduiedtfffhuddtkeeffffghfevheetgeeukeehnecukfhppeeluddruddvledrleeirdeltdenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepihhnvghtpeeluddruddvledrleeirdeltddphhgvlhhopehmrghilhdrghgrnhguihdrnhgvthdpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnsggprhgtphhtthhopeegpdhrtghpthhtohepjeehkeegudesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrghdprhgtphhtthhopehssggruhhghhesjhgrnhgvshhtrhgvvghtrdgtohhmpdhrtghpthhtohepshhprggtihgssggrsegrohhlrdgtohhm
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
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.7 (-)

> Please try it now.
>
> This version also fixes what I consider an issue which is moving the
> cursor to the mouse click in the cases where there is not diagnostic
> (and no action is expected to take place.)

Thanks, I have tried it, and everything work nicely.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#75841: [PATCH] [UPDATE4] Fix mouse click on flymake
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 06 Feb 2025 07:53:01 +0000
Resent-Message-ID: <handler.75841.B75841.17388283306640 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75841
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Ergus <spacibba@HIDDEN>
Cc: sbaugh@HIDDEN, eliz@HIDDEN, 75841 <at> debbugs.gnu.org
Received: via spool by 75841-submit <at> debbugs.gnu.org id=B75841.17388283306640
          (code B ref 75841); Thu, 06 Feb 2025 07:53:01 +0000
Received: (at 75841) by debbugs.gnu.org; 6 Feb 2025 07:52:10 +0000
Received: from localhost ([127.0.0.1]:54131 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tfwgE-0001j2-2b
	for submit <at> debbugs.gnu.org; Thu, 06 Feb 2025 02:52:10 -0500
Received: from relay4-d.mail.gandi.net ([2001:4b98:dc4:8::224]:55537)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1tfwgB-0001iQ-9N
 for 75841 <at> debbugs.gnu.org; Thu, 06 Feb 2025 02:52:08 -0500
Received: by mail.gandi.net (Postfix) with ESMTPSA id 789FC44467;
 Thu,  6 Feb 2025 07:51:58 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
In-Reply-To: <xqpehs3emkudayauh533bk3kob5b235mzee3nvzm5nnfl2jdym@iijed6mnjazs>
Organization: LINKOV.NET
References: <86ed0t23l9.fsf@HIDDEN>
 <cghqipziqfestwlqma6khqomrzvgw3kc4v3wgdko254o53wy5p@rniq2y7cm7jh>
 <86sep8y7iw.fsf@HIDDEN>
 <vlzgulkvp6hok6xipvpnwexbs5zhawsucphxdfk4p5obqbhlml@kdsbelm6u72u>
 <zzncrjvcfdp4g27k77xyva2mjy4s75iowf52jss57vianohdap@6rgszjwtgi2q>
 <87tt9m95hy.fsf@HIDDEN>
 <whcg5olmy43oygl5jcjklgdiqxaih5ql2qf2sk4nej2ilpo6oj@slx7vkyud3jm>
 <87y0ywulnm.fsf@HIDDEN>
 <4cazxxxaihei5aswrs7xwy3drgwsqt4faa4phn7ydnwzsodkpr@di6usnoc7axv>
 <87sep2950w.fsf@HIDDEN>
 <xqpehs3emkudayauh533bk3kob5b235mzee3nvzm5nnfl2jdym@iijed6mnjazs>
Date: Thu, 06 Feb 2025 09:50:33 +0200
Message-ID: <87wme3wlyu.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-State: clean
X-GND-Score: 0
X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvheekfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucenucfjughrpefhvfevufgjohhffffkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucggtffrrghtthgvrhhnpeffgeetfeevlefhleejfeeuheeiudeitdffhfdutdekfeffgffhveehteegueekheenucfkphepledurdduvdelrdeliedrledtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepledurdduvdelrdeliedrledtpdhhvghlohepmhgrihhlrdhgrghnughirdhnvghtpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhgspghrtghpthhtohepgedprhgtphhtthhopeejheekgeduseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepvghlihiisehgnhhurdhorhhgpdhrtghpthhtohepshgsrghughhhsehjrghnvghsthhrvggvthdrtghomhdprhgtphhtthhopehsphgrtghisggsrgesrgholhdrtghomh
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
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.7 (-)

> This version also fixes what I consider an issue which is moving the
> cursor to the mouse click in the cases where there is not diagnostic
> (and no action is expected to take place.)

Is this patch ready to push?  Can we push it now?  I have more
issues with flymake indicators to report, not related to this patch.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#75841: [PATCH] [UPDATE4] Fix mouse click on flymake
Resent-From: Ergus <spacibba@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 07 Feb 2025 12:56:02 +0000
Resent-Message-ID: <handler.75841.B75841.17389329268147 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75841
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Juri Linkov <juri@HIDDEN>
Cc: sbaugh@HIDDEN, eliz@HIDDEN, 75841 <at> debbugs.gnu.org
Received: via spool by 75841-submit <at> debbugs.gnu.org id=B75841.17389329268147
          (code B ref 75841); Fri, 07 Feb 2025 12:56:02 +0000
Received: (at 75841) by debbugs.gnu.org; 7 Feb 2025 12:55:26 +0000
Received: from localhost ([127.0.0.1]:33363 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tgNtF-00027L-Mz
	for submit <at> debbugs.gnu.org; Fri, 07 Feb 2025 07:55:26 -0500
Received: from sonic305-2.consmr.mail.bf2.yahoo.com ([74.6.133.41]:40809)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <spacibba@HIDDEN>) id 1tgNtC-000274-1N
 for 75841 <at> debbugs.gnu.org; Fri, 07 Feb 2025 07:55:23 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048;
 t=1738932916; bh=wqxWH5icfKG0EMeoiApjDh8WNyto0Xcx1ww+X+Xj0V4=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To;
 b=QdwYUKtociViK7XZBaMO9Xqk8/GzZFARz+L7+VGmSUi7aPGYitidKsMt9m5NuD8qm82w9QNGC8q9iyQHEINZ+PwPblI4b7w/mpBJPK+NAtk34dl9ywbOdkwLHhV6wDeFvSpsiR2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xWBmJrs7Ub_B28qMJSGGdigHpXjybk_U_JE0W
 sxvT1RcMQuhhJyG3HdY1crne668YIbhM34csjq77BTAhADqTmU4s5ZsgLuJY0jlnYY8_QEb13yfE
 UmJwlOWzFdldaCwryihpYk9IyvpA1UUK8iL4kspq7ORO.Lk.ToVCezs_p2vLE6A_XQ112uCDsPnI
 h51uzjiCMygVmHdK5bv5izpRhQaMsIiYSNEglhwh_yQG_83F80Rv9KmXIHkxrJPPCd3knjfk7ivR
 7npJsaAVh_L3mKLUG3f0NvrdlwW0pFBnvNekKO8I09UYJ8Kx_DdN8Yt7mhGk1p5Yns6LLpT2QW.B
 GJ4E6wYnW06un29D6840B5_B_2iBk8Rj.2oKZvPO758KRHgMyqaI3RkCQ9QrgKL1cd02FMfyRQMN
 TypNbb9CiteUg7.Y024R3Y_WvxtATdfT5IRjh_xnFn.nv9GF6pgvaKFvuzavxhnwRm5VOvquER7X
 kSKlOviV0AlI3AYHBHgpY53YH9V6tf.iiOgslhR23WuoRKhKJymtonk8BV3KHhaiG2veFhfl3Ri3
 VjlPEJeWtuGqpMFWS4DspWvTn.kLF8jnR1vOodKRTr0Egg1iwJfACuV3x67GG5f8p9aR5bKiPfsv
 iWwBy5lnDX6YJ5t0k8FqsTePwwZ5ETpx05OOAg2AqwhrUI7qQ0WkQM4UOvICEGk_um4eC1HLkCJX
 NXlwKW5oNfDjmfelOAoijkwsreXxAhBjx3Zt5JQdssE8JWswQ42OZ38gjtnyKl2g2bPkBNxw8Nr_
 CXwjrlptnvNaKfxlrum5UOSiGXewt6OJ8avuM40YuvLkjalRrLmNuSPdzgFPDVA9DGrMBYDaIkPD
 GcA--
X-Sonic-MF: <spacibba@HIDDEN>
X-Sonic-ID: ca9c4164-8b1e-4eed-bc48-fa642b3880b5
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic305.consmr.mail.bf2.yahoo.com with HTTP; Fri, 7 Feb 2025 12:55:16 +0000
Received: by hermes--production-ir2-c694d79d9-nbvqz (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID c1051dd97aac6288d29eb4cf962064ae; 
 Fri, 07 Feb 2025 12:55:13 +0000 (UTC)
Date: Fri, 7 Feb 2025 13:55:11 +0100
From: Ergus <spacibba@HIDDEN>
Message-ID: <gtlziq5wtmfxo7b2p5ib63dusyvkykru2cdiiknkcomnagyynf@kft6yia6sjx2>
References: <86sep8y7iw.fsf@HIDDEN>
 <vlzgulkvp6hok6xipvpnwexbs5zhawsucphxdfk4p5obqbhlml@kdsbelm6u72u>
 <zzncrjvcfdp4g27k77xyva2mjy4s75iowf52jss57vianohdap@6rgszjwtgi2q>
 <87tt9m95hy.fsf@HIDDEN>
 <whcg5olmy43oygl5jcjklgdiqxaih5ql2qf2sk4nej2ilpo6oj@slx7vkyud3jm>
 <87y0ywulnm.fsf@HIDDEN>
 <4cazxxxaihei5aswrs7xwy3drgwsqt4faa4phn7ydnwzsodkpr@di6usnoc7axv>
 <87sep2950w.fsf@HIDDEN>
 <xqpehs3emkudayauh533bk3kob5b235mzee3nvzm5nnfl2jdym@iijed6mnjazs>
 <87wme3wlyu.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
In-Reply-To: <87wme3wlyu.fsf@HIDDEN>
X-Mailer: WebService/1.1.23187
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol
Content-Length: 538
X-Spam-Score: 0.0 (/)
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.0 (-)

On Thu, Feb 06, 2025 at 09:50:33AM +0200, Juri Linkov wrote:
>> This version also fixes what I consider an issue which is moving the
>> cursor to the mouse click in the cases where there is not diagnostic
>> (and no action is expected to take place.)
>
>Is this patch ready to push?

I think so. I haven't detected any new issue.

>Can we push it now?  I have more issues with flymake indicators to
>report, not related to this patch.

If you could add a couple of lines in NEWS and check the dockstrings it
is very welcome.

Best,
Ergus




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#75841: [PATCH] [UPDATE4] Fix mouse click on flymake
Resent-From: Ergus <spacibba@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 10 Feb 2025 15:47:02 +0000
Resent-Message-ID: <handler.75841.B75841.173920240327338 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75841
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Juri Linkov <juri@HIDDEN>
Cc: sbaugh@HIDDEN, eliz@HIDDEN, 75841 <at> debbugs.gnu.org
Received: via spool by 75841-submit <at> debbugs.gnu.org id=B75841.173920240327338
          (code B ref 75841); Mon, 10 Feb 2025 15:47:02 +0000
Received: (at 75841) by debbugs.gnu.org; 10 Feb 2025 15:46:43 +0000
Received: from localhost ([127.0.0.1]:52041 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1thVze-00076s-O8
	for submit <at> debbugs.gnu.org; Mon, 10 Feb 2025 10:46:42 -0500
Received: from sonic315-13.consmr.mail.bf2.yahoo.com ([74.6.134.123]:42467)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <spacibba@HIDDEN>) id 1thVzb-00076W-Sd
 for 75841 <at> debbugs.gnu.org; Mon, 10 Feb 2025 10:46:40 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048;
 t=1739202393; bh=OpGKQ3CqjbIl33r+qaF/eNmsHeXVwOrvjAQYWPn7Y64=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To;
 b=UzPOQVoK06LiNJX3UfI/K95I20BT73FhWqwnMmI/zzGdxnUVhEQrbs9hCiIKogf9zOHkEWi/Me/XKbocQ+YHZhKO1oWcGoKTE7Kl/hRHKcLuHK5SkrhDLhRuqe2waYMJ58wGJRGiH+lHYwanRloMZbfkq9woT+RyrjljwQtTIK0t+i2DhW7LX1f9U1KWlndOZlYZUzcgMCLA1T3YinoBwBsALMCjtcsZguSb+f/nEJ+YoXKigCDVPPewK/RlzfjzxUmkaQZ4xmogogbrnnetqBol5ff9G08v92JYndSlC807j6suyrPVE/kqXhgcJ7GiDulgO61D3fI5ar/SJ0NtHw==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1739202393; bh=LBGBvq8/MuvUq5P3z35oW5bvUc4nvCjUlnaNNRGbMSA=;
 h=X-Sonic-MF:Date:From:To:Subject:From:Subject;
 b=ThWerhFlWT0wpP9ljuOTm624CF9qJsG/KjwjUhliVecgHl04bCUJp0Lr2+d8fUoOEovuaim1laumZA5/2RLWLDIRcsYdeb+L83ct7cYhHU8Q2HLX2rVQ8n42zE+dFlqFo5qXCJ/gLLC9L6o83g6Fd7P+vPHu7ndABrON4Skr2K1XsRK2XO1a5m8lhp+PJhQaNumBEmnqirqw21ZmqFa6L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JJlJcK4WHfpZ
 8uLUKT1AKglVZ6GAlVHkfeqC4s_SSJVHnEzR5AI7cCAdgfvv2r14eaHyH3ckG4_btepRo1NmRvM7
 5AGR9B1nHDQty54DSA2utWIH0WCzdRido.Q49ZHohrdNsKJv3DbpYUcFmi.txxlOCoxaiIyLg5qs
 ozmUMXP9K78x4IR.L6wn2OGctIkdaY_BjjEr2iko2aIQfd4qEpfaLdL3RDWFkoMNs34AAhxqqb3I
 9YDDMuzxrQaY8..YJry_2ER6HQJw.eH1sAMRH_24v8zI5D3.13LTfGc_aty13xuVEjqsISCmfokq
 Y2Q--
X-Sonic-MF: <spacibba@HIDDEN>
X-Sonic-ID: a5505d38-bcb1-4df4-8a5e-2677fead3c6e
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic315.consmr.mail.bf2.yahoo.com with HTTP; Mon, 10 Feb 2025 15:46:33 +0000
Received: by hermes--production-ir2-c694d79d9-qjs6q (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID c57faf722bcaf8d33244ee5099b4ff54; 
 Mon, 10 Feb 2025 15:46:32 +0000 (UTC)
Date: Mon, 10 Feb 2025 16:46:30 +0100
From: Ergus <spacibba@HIDDEN>
Message-ID: <iop2jagykar3d6kotkw3jt6p3tuda2h4u6ultumnf4o3u3aeaf@smkfwi4urisv>
References: <86sep8y7iw.fsf@HIDDEN>
 <vlzgulkvp6hok6xipvpnwexbs5zhawsucphxdfk4p5obqbhlml@kdsbelm6u72u>
 <zzncrjvcfdp4g27k77xyva2mjy4s75iowf52jss57vianohdap@6rgszjwtgi2q>
 <87tt9m95hy.fsf@HIDDEN>
 <whcg5olmy43oygl5jcjklgdiqxaih5ql2qf2sk4nej2ilpo6oj@slx7vkyud3jm>
 <87y0ywulnm.fsf@HIDDEN>
 <4cazxxxaihei5aswrs7xwy3drgwsqt4faa4phn7ydnwzsodkpr@di6usnoc7axv>
 <87sep2950w.fsf@HIDDEN>
 <xqpehs3emkudayauh533bk3kob5b235mzee3nvzm5nnfl2jdym@iijed6mnjazs>
 <87wme3wlyu.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
In-Reply-To: <87wme3wlyu.fsf@HIDDEN>
X-Mailer: WebService/1.1.23187
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol
Content-Length: 426
X-Spam-Score: 0.0 (/)
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.0 (-)

Hi Juri:

Are you going to push this?

On Thu, Feb 06, 2025 at 09:50:33AM +0200, Juri Linkov wrote:
>> This version also fixes what I consider an issue which is moving the
>> cursor to the mouse click in the cases where there is not diagnostic
>> (and no action is expected to take place.)
>
>Is this patch ready to push?  Can we push it now?  I have more
>issues with flymake indicators to report, not related to this patch.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#75841: [PATCH] [UPDATE4] Fix mouse click on flymake
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 11 Feb 2025 18:29:01 +0000
Resent-Message-ID: <handler.75841.B75841.17392984933562 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75841
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Ergus <spacibba@HIDDEN>
Cc: sbaugh@HIDDEN, eliz@HIDDEN, 75841 <at> debbugs.gnu.org
Received: via spool by 75841-submit <at> debbugs.gnu.org id=B75841.17392984933562
          (code B ref 75841); Tue, 11 Feb 2025 18:29:01 +0000
Received: (at 75841) by debbugs.gnu.org; 11 Feb 2025 18:28:13 +0000
Received: from localhost ([127.0.0.1]:58560 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1thuzU-0000vO-S7
	for submit <at> debbugs.gnu.org; Tue, 11 Feb 2025 13:28:13 -0500
Received: from relay8-d.mail.gandi.net ([217.70.183.201]:56203)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1thuzS-0000v9-GJ
 for 75841 <at> debbugs.gnu.org; Tue, 11 Feb 2025 13:28:10 -0500
Received: by mail.gandi.net (Postfix) with ESMTPSA id 0EFBD4342A;
 Tue, 11 Feb 2025 18:27:59 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
In-Reply-To: <gtlziq5wtmfxo7b2p5ib63dusyvkykru2cdiiknkcomnagyynf@kft6yia6sjx2>
Organization: LINKOV.NET
References: <86sep8y7iw.fsf@HIDDEN>
 <vlzgulkvp6hok6xipvpnwexbs5zhawsucphxdfk4p5obqbhlml@kdsbelm6u72u>
 <zzncrjvcfdp4g27k77xyva2mjy4s75iowf52jss57vianohdap@6rgszjwtgi2q>
 <87tt9m95hy.fsf@HIDDEN>
 <whcg5olmy43oygl5jcjklgdiqxaih5ql2qf2sk4nej2ilpo6oj@slx7vkyud3jm>
 <87y0ywulnm.fsf@HIDDEN>
 <4cazxxxaihei5aswrs7xwy3drgwsqt4faa4phn7ydnwzsodkpr@di6usnoc7axv>
 <87sep2950w.fsf@HIDDEN>
 <xqpehs3emkudayauh533bk3kob5b235mzee3nvzm5nnfl2jdym@iijed6mnjazs>
 <87wme3wlyu.fsf@HIDDEN>
 <gtlziq5wtmfxo7b2p5ib63dusyvkykru2cdiiknkcomnagyynf@kft6yia6sjx2>
Date: Tue, 11 Feb 2025 20:20:09 +0200
Message-ID: <87tt909w1u.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-State: clean
X-GND-Score: 0
X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdegudejvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucenucfjughrpefhvfevufgjohhffffkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucggtffrrghtthgvrhhnpeffgeetfeevlefhleejfeeuheeiudeitdffhfdutdekfeffgffhveehteegueekheenucfkphepledurdduvdelrdelkedrheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeluddruddvledrleekrdehpdhhvghlohepmhgrihhlrdhgrghnughirdhnvghtpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhgspghrtghpthhtohepgedprhgtphhtthhopeejheekgeduseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepvghlihiisehgnhhurdhorhhgpdhrtghpthhtohepshgsrghughhhsehjrghnvghsthhrvggvthdrtghomhdprhgtphhtthhopehsphgrtghisggsrgesrgholhdrtghomh
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
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.7 (-)

>>> This version also fixes what I consider an issue which is moving the
>>> cursor to the mouse click in the cases where there is not diagnostic
>>> (and no action is expected to take place.)
>>
>>Is this patch ready to push?
>
> I think so. I haven't detected any new issue.
>
>>Can we push it now?  I have more issues with flymake indicators to
>>report, not related to this patch.
>
> If you could add a couple of lines in NEWS and check the dockstrings it
> is very welcome.

Sorry, still not pushed.  Whereas I could write a couple of lines in NEWS,
also we need the ChangeLog message that is much longer.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#75841: [PATCH] [UPDATE4] Fix mouse click on flymake
Resent-From: Stefan Kangas <stefankangas@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 23 Feb 2025 00:19:02 +0000
Resent-Message-ID: <handler.75841.B75841.174026993415836 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75841
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Juri Linkov <juri@HIDDEN>
Cc: 75841 <at> debbugs.gnu.org, sbaugh@HIDDEN, Ergus <spacibba@HIDDEN>, eliz@HIDDEN
Received: via spool by 75841-submit <at> debbugs.gnu.org id=B75841.174026993415836
          (code B ref 75841); Sun, 23 Feb 2025 00:19:02 +0000
Received: (at 75841) by debbugs.gnu.org; 23 Feb 2025 00:18:54 +0000
Received: from localhost ([127.0.0.1]:57955 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tlzhu-00047L-1g
	for submit <at> debbugs.gnu.org; Sat, 22 Feb 2025 19:18:54 -0500
Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]:57411)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>)
 id 1tlzhr-000473-8S
 for 75841 <at> debbugs.gnu.org; Sat, 22 Feb 2025 19:18:52 -0500
Received: by mail-ed1-x52f.google.com with SMTP id
 4fb4d7f45d1cf-5e0452f859cso5126965a12.2
 for <75841 <at> debbugs.gnu.org>; Sat, 22 Feb 2025 16:18:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1740269925; x=1740874725; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=Qv+ME8B1VaFCAY+TuBXuHw54fkfFwKswp6agf8cG1MA=;
 b=mEP20prYOPKw1Zvyljm+kzSL+qVS4ILr7+ajzyvqYwi492WKWG+6DTACRd1prHwdTV
 yDY3g7qpjobaRhpc4QaPOQy2mcMcrh9AWWv9UmONRzChdCrrA/KAj+Unka3ijO/F9w09
 yZGduc5NyhcP2bXZ3WqFL+dH8oLjlFGPgKl2m073iuCvsC/VoAxlCEG5H258DkTKRioG
 jvnXMZmaqgDbwX4RIC+rYumArHo6zDknTH4fOq6nx45XjtxVnpR14FPxITW3BgVIcm2J
 BwWdfhc49o43AF4Nal3lTRxnM8vQm7zf5c0OMJO3fK/3XJQjPOe7MPPLd7RVD7x8EPhE
 2k0g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1740269925; x=1740874725;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=Qv+ME8B1VaFCAY+TuBXuHw54fkfFwKswp6agf8cG1MA=;
 b=Kqu5SHZ5k63kaNqk6vVhWcTnGIjqxq7LhXSScg2ixdHRiWpaLyWzHl2gHHCLMBbPRz
 eytD5SCxq8VOWsHS6s5mSllQiDRwDaKBztmcqyYkCzcKxZju0AW8j6XYKmKjQDkD3lfz
 tlBY7fLT8XIBnnkNO2fe7MJzL9uEBTytLIEoIOEDpYEYZ8K7ZjQIkKOHlT+Z4ChkI9i3
 9sJ9ElIN/sQBhrj9FKV1rJ8xJ81gbWTowsZk4CvjvpUvT4Zonj/g0GHlNTAGZefmLGBH
 srL3qrEf3/WHIzZ3qkdbkFdgde8gLq1MaXwfi8i7DmcB47PEuzRtqsKAXHPO+fobTqtL
 JuMw==
X-Forwarded-Encrypted: i=1;
 AJvYcCXgGIzhqDynbIZls7fHvZHnhU0e6hI7Wr2V7yqgogGufjlf8Bbf5LItkIr4Dqwj1cF1z8FINg==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YzCb+5T/EPWs8jLadEEZDtXwAlsfwBaHHc1crjsxacLP2Upoh39
 AM59Nc83JE5PyHS8iGZPWOZzOLkTpTDvKdvGFQe1RAqxsDTzTCHaGYvlrVVdrMivH8/IynQionX
 weDyruD7P/oXtNv1VZH71YlJRN7M=
X-Gm-Gg: ASbGncsu+eb38OinYxm1DYR5emxhk+kG16Cc7q4ynPmKWucVrVfGVWEqNbGxM9U9t5b
 T77yb1Lweo1WmdksZ8BlayjI2cdkch11k1T8UfggrwquvIWJVi7zz3wRMOakxJr5tYA047hcMfu
 mI3odsj9SI
X-Google-Smtp-Source: AGHT+IHOlWkJsCzWXh73VkV1zxM73op60X7CAljDilrxVFlWFg9WT02F6vTkQFMmn0kJHF2cVbqiKg0hQMrDMGv5UeU=
X-Received: by 2002:a05:6402:50c7:b0:5dc:a44d:36bd with SMTP id
 4fb4d7f45d1cf-5e0b70d5790mr7009054a12.8.1740269925014; Sat, 22 Feb 2025
 16:18:45 -0800 (PST)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Sun, 23 Feb 2025 00:18:44 +0000
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <87tt909w1u.fsf@HIDDEN>
References: <86sep8y7iw.fsf@HIDDEN>
 <vlzgulkvp6hok6xipvpnwexbs5zhawsucphxdfk4p5obqbhlml@kdsbelm6u72u>
 <zzncrjvcfdp4g27k77xyva2mjy4s75iowf52jss57vianohdap@6rgszjwtgi2q>
 <87tt9m95hy.fsf@HIDDEN>
 <whcg5olmy43oygl5jcjklgdiqxaih5ql2qf2sk4nej2ilpo6oj@slx7vkyud3jm>
 <87y0ywulnm.fsf@HIDDEN>
 <4cazxxxaihei5aswrs7xwy3drgwsqt4faa4phn7ydnwzsodkpr@di6usnoc7axv>
 <87sep2950w.fsf@HIDDEN>
 <xqpehs3emkudayauh533bk3kob5b235mzee3nvzm5nnfl2jdym@iijed6mnjazs>
 <87wme3wlyu.fsf@HIDDEN>
 <gtlziq5wtmfxo7b2p5ib63dusyvkykru2cdiiknkcomnagyynf@kft6yia6sjx2>
 <87tt909w1u.fsf@HIDDEN>
MIME-Version: 1.0
Date: Sun, 23 Feb 2025 00:18:44 +0000
X-Gm-Features: AWEUYZnDb56OEbYLvfVlI0gKZQiXAf_MDRK6krtFFLXLbYM5F-KD9eZADtk_TKM
Message-ID: <CADwFkmniD8tjbE-EbT-HLZps_D1L4WsaUbgA2K70VgVCnAUn3w@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.7 (/)
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.3 (/)

Juri Linkov <juri@HIDDEN> writes:

>>>> This version also fixes what I consider an issue which is moving the
>>>> cursor to the mouse click in the cases where there is not diagnostic
>>>> (and no action is expected to take place.)
>>>
>>>Is this patch ready to push?
>>
>> I think so. I haven't detected any new issue.
>>
>>>Can we push it now?  I have more issues with flymake indicators to
>>>report, not related to this patch.
>>
>> If you could add a couple of lines in NEWS and check the dockstrings it
>> is very welcome.
>
> Sorry, still not pushed.  Whereas I could write a couple of lines in NEWS,
> also we need the ChangeLog message that is much longer.

Ergus, could you please resend the patch as an attachment as formatted
by

    git format-patch -1

and preferably also with a ChangeLog message as per CONTRIBUTE?

Thanks in advance.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#75841: [PATCH] [UPDATE4] Fix mouse click on flymake
Resent-From: Ergus <spacibba@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 25 Feb 2025 00:38:01 +0000
Resent-Message-ID: <handler.75841.B75841.17404438243486 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75841
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Stefan Kangas <stefankangas@HIDDEN>
Cc: sbaugh@HIDDEN, eliz@HIDDEN, 75841 <at> debbugs.gnu.org, Juri Linkov <juri@HIDDEN>
Received: via spool by 75841-submit <at> debbugs.gnu.org id=B75841.17404438243486
          (code B ref 75841); Tue, 25 Feb 2025 00:38:01 +0000
Received: (at 75841) by debbugs.gnu.org; 25 Feb 2025 00:37:04 +0000
Received: from localhost ([127.0.0.1]:43618 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tmiwY-0000tv-0r
	for submit <at> debbugs.gnu.org; Mon, 24 Feb 2025 19:37:03 -0500
Received: from sonic302-3.consmr.mail.bf2.yahoo.com ([74.6.135.42]:35301)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <spacibba@HIDDEN>) id 1tmiwV-0000tY-Nq
 for 75841 <at> debbugs.gnu.org; Mon, 24 Feb 2025 19:37:00 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048;
 t=1740443812; bh=Aq5MQKX9JgtdF9q+Q6tvqOsnvMFEvvJE9HLZv91hTgw=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To;
 b=VDrO+tr0tKKj4PsiZWX2rPYPc+NcOHTErir+CMxKExiyHJYfwU9YBSbE04wtieT0l8ApPZMILYQzfg4oLMegspTnIhPsdDg89qFz7SF7lrCyI7lenpp3kamBocP4q602sGnNw0VlEfgTpYKyUEAUR/MdhW1O/BkfJhNWcmo638zgfNFH3iHszU0fofRL9j+qYWbpNMYFRxLe8Fzou7PZ4cCJh4CjNRqo4vfEyYwBO5gOWH/QgK/D9Fn+zhftcxnYakZUvV86RCefQEmFopB5H88D5kWokWQ2KGlnpcwMzn/ao1azlLBD2mus2peily1UAtNNWM7lAq4qNBvv3haxMg==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1740443812; bh=6vmfkkos11kKRAseLVWK8a1OvwHG6Je8c0rY2wDFTGs=;
 h=X-Sonic-MF:Date:From:To:Subject:From:Subject;
 b=awFSp1dQbGxpqm6NE82EVltw0dTqwNG7WTpeD4dK3EkoG9EIwtotHS5/uIDijTvkz9mWm2e2SsmXIzd3A8X74D8TBp2CT66OZKekgs0Y++oX0oEYFT9jiwMnJ7tgnKpUzw4FS5/9bJnbL3CSIi0scVx1jSLOYgmPZfJ++0glr7lsC9ZTJheVcy95x9F2KulLF07lYYiofBOKw6BssSKxJ9UW+WKZy+7mf2w5Fu2N+szdZX9OZk572R2sT8zyXMZMc7tcb3MOaEg7AgUCTXkcQAkmJtihYDtFeCrdq+E129GaZXh+3wGJpGB+mzQxPPHTBP13U81NYg/62+yBkqJguw==
X-YMail-OSG: SvkmVjAVM1m_kb6lmeq6KG7gYyTwqTnNEArIjz0gSIStVzti0bUhF4hnIVyDDeu
 2_eZCvPqQsbO6J6bOGAqx_mCNN7ZJXTxw149ATdsf90A_7DxZcBflIB4zgwY42T7M4qs5RL4OQGq
 WwzhElO3.TSsA7ydyLy.sRm_kGp67J0GB2FWXf4m4Z7JX9wOK90nKpMm5f.Ht2yXChZ.Sa519reR
 ekov_YAdnTGdMXWieHFPzKJ3ihfJuqr0m2m7mRmnlX4ZDJaQVUcIiz_bHNb1C6D_l1_zJQ74h7in
 yvHQcV3i8Pdv487h23pciiAwXnoUVMHNjjOE5EvvQpeh76PzSlFu4W3rGbB.ywTiIm0m1S2p5JZc
 yWn0bkl4muoSlNvo7MjCfW949fJOyMUdOJ5Ha.uYNgDCfZyDO4VIOu_bvrsNbjdknHSJh7MSoE3j
 mO4f2X_7fm1jQyj0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kpTJm7y5aCy
 qATLkTJhRfCvxvIIN5nGeDwEiZjl7Z.kBVmvpLQUsxs.CVmQWO2MbBZIUdKbXx85y4qESboACqAP
 44NlgA5H3_sgFyEZyL2p9irmwfuj2Yj59dO7nVA26kRAKonHg_qimV64Tm9giA9u9W9V8ewJKjWR
 kGUz.VKjyx82WD.NeJz.k2JP9eWjb0TJ3MUX_3gv.5h9hRIB8YesBUTAnB485o8KVjUCQhuOrqIu
 njIey5AYs7lS_vxVg0Mnm3Gr0ceH8896h..kOFxhAHPZwULb9sLm9xlIHmTsps5QMLkvKdrm2r2u
 UXQBfv7Q3jCijEaRx8zE3x60kS8pTd1YtL7xvlHSD5PrhQ7Mif9Q.j0Lsub3LM_7AhvqEoj04xdw
 OTTMYbMOCcC87xjltbqymhoqI4ll57.3WDvba4Qh9bTt6puRZrWwvMq54yD3ugoelcrdlA3aYvqj
 hZhl0egjGQcxFbQvkWnNhC861DINcDTBTQKFmEE_gs94e08YXbgHEyBDhsou7ZA1O6pe8snyXtZV
 ZDRSIir6JOKTPJWCbjhrtSGMNSGKMrrzpxbHf1HjgjHlGcsFINcyBRMMtes._KBDh071f0Lrg86i
 54cK5cXWv_1iZ82.goIkZ0NW.RDPDLxbXpBvp0juV1a7kFfQUqJkL8azjX4mLpRL4ZA1w4KW9SpI
 oL7uZDJAM2YHUfXWMUXtjKGTEksnjbTQ2YwxrNZcC6PmPPR28MS62xDxp5hIHOBr1iam_dB3Pg3K
 Ewf0-
X-Sonic-MF: <spacibba@HIDDEN>
X-Sonic-ID: 1123c2a0-a9bb-4e08-8690-8a415444c01b
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic302.consmr.mail.bf2.yahoo.com with HTTP; Tue, 25 Feb 2025 00:36:52 +0000
Received: by hermes--production-ir2-c694d79d9-qdvzb (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 60afcfa37958c1153c954cd2b8a15e2a; 
 Tue, 25 Feb 2025 00:36:49 +0000 (UTC)
Date: Tue, 25 Feb 2025 01:36:47 +0100
From: Ergus <spacibba@HIDDEN>
Message-ID: <odhqkhqcbmz34rbqbb2orrgw24squg63q2k72ua4pvc4777ibi@dxxx7x3jpcsz>
References: <87tt9m95hy.fsf@HIDDEN>
 <whcg5olmy43oygl5jcjklgdiqxaih5ql2qf2sk4nej2ilpo6oj@slx7vkyud3jm>
 <87y0ywulnm.fsf@HIDDEN>
 <4cazxxxaihei5aswrs7xwy3drgwsqt4faa4phn7ydnwzsodkpr@di6usnoc7axv>
 <87sep2950w.fsf@HIDDEN>
 <xqpehs3emkudayauh533bk3kob5b235mzee3nvzm5nnfl2jdym@iijed6mnjazs>
 <87wme3wlyu.fsf@HIDDEN>
 <gtlziq5wtmfxo7b2p5ib63dusyvkykru2cdiiknkcomnagyynf@kft6yia6sjx2>
 <87tt909w1u.fsf@HIDDEN>
 <CADwFkmniD8tjbE-EbT-HLZps_D1L4WsaUbgA2K70VgVCnAUn3w@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="s7gyvc4nx4uzldcm"
Content-Disposition: inline
In-Reply-To: <CADwFkmniD8tjbE-EbT-HLZps_D1L4WsaUbgA2K70VgVCnAUn3w@HIDDEN>
X-Mailer: WebService/1.1.23369
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol
Content-Length: 11650
X-Spam-Score: 0.0 (/)
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.0 (-)


--s7gyvc4nx4uzldcm
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline

Hi Stefan:

Please find attached the patch.

Best,
Ergus

>
>Ergus, could you please resend the patch as an attachment as formatted
>by
>
>    git format-patch -1
>
>and preferably also with a ChangeLog message as per CONTRIBUTE?
>
>Thanks in advance.

--s7gyvc4nx4uzldcm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment;
	filename="0001-Add-jump-action-to-margin-indicators-in-flymake.patch"

From d5be93a2848ef638d6366566f0da25f8ea2bedb5 Mon Sep 17 00:00:00 2001
From: Jimmy Aguilar Mena <kratsbinovish@HIDDEN>
Date: Tue, 25 Feb 2025 01:32:16 +0100
Subject: [PATCH] Add jump action to margin indicators in flymake

(flymake--indicator-overlay-spec): Receive type instead of prepossessed
indicator
(flymake--resize-margins): Update reference call to
flymake--indicator-overlay-spec
(flymake-show-buffer-diagnostics-at-event-line):
(flymake-diagnostics-at-mouse-event):
(flymake-show-buffer-diagnostics-at-event-position): New functions
(flymake-after-show-buffer-diagnostics-hook): New custom with actions
when jumping to an error line
(flymake-pulse-momentary-highlight-region):
(flymake-show-buffer-diagnostics): Receive new optional argument with
current diagnostic information. Add code to jump and execute the new hook
after jumping.
---
 lisp/progmodes/flymake.el | 138 +++++++++++++++++++++++++++-----------
 1 file changed, 100 insertions(+), 38 deletions(-)

diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index 9dda53713f5..6141fd46c6e 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -748,34 +748,41 @@ flymake--severity
   (flymake--lookup-type-property type 'severity
                                  (warning-numeric-level :error)))
 
-(defun flymake--indicator-overlay-spec (indicator)
+(defun flymake--indicator-overlay-spec (type)
   "Return INDICATOR as propertized string to use in error indicators."
-  (let* ((value (if (symbolp indicator)
+  (let* ((indicator (flymake--lookup-type-property
+                     type
+                     (cond ((eq flymake-indicator-type 'fringes)
+                            'flymake-bitmap)
+                           ((eq flymake-indicator-type 'margins)
+                            'flymake-margin-string))
+                     (alist-get 'bitmap (alist-get type ; backward compat
+                                                   flymake-diagnostic-types-alist))))
+         (value (if (symbolp indicator)
                     (symbol-value indicator)
                   indicator))
-         (indicator-car (if (listp value)
-                            (car value)
-                          value))
-         (indicator-cdr (if (listp value)
-                            (cdr value))))
+         (valuelist (if (listp value)
+                        value
+                      (list value)))
+         (indicator-car (car valuelist)))
+
     (cond
      ((and (symbolp indicator-car)
            flymake-fringe-indicator-position)
       (propertize "!" 'display
-                  (cons flymake-fringe-indicator-position
-                        (if (listp value)
-                            value
-                          (list value)))))
+                  (cons flymake-fringe-indicator-position valuelist)))
      ((and (stringp indicator-car)
            flymake-margin-indicator-position)
       (propertize "!"
                   'display
                   `((margin ,flymake-margin-indicator-position)
-                    ,(propertize
-                      indicator-car
-                      'face
-                      `(:inherit (,indicator-cdr
-                                  default)))))))))
+                    ,(propertize indicator-car
+                                 'face `(:inherit (,(cdr valuelist) default))
+                                 'mouse-face 'highlight
+                                 'help-echo "Open Flymake diagnostics"
+                                 'keymap `,(define-keymap
+                                             (format "<%s> <mouse-1>" flymake-margin-indicator-position)
+                                             #'flymake-show-buffer-diagnostics-at-event-line))))))))
 
 (defun flymake--resize-margins (&optional orig-width)
   "Resize current window margins according to `flymake-margin-indicator-position'.
@@ -941,16 +948,7 @@ flymake--highlight-line
                   (overlay-put ov prop (flymake--lookup-type-property
                                         type prop value)))))
       (default-maybe 'face 'flymake-error)
-      (default-maybe 'before-string
-        (flymake--indicator-overlay-spec
-         (flymake--lookup-type-property
-          type
-          (cond ((eq flymake-indicator-type 'fringes)
-                 'flymake-bitmap)
-                ((eq flymake-indicator-type 'margins)
-                 'flymake-margin-string))
-          (alist-get 'bitmap (alist-get type ; backward compat
-                                        flymake-diagnostic-types-alist)))))
+      (default-maybe 'before-string (flymake--indicator-overlay-spec type))
       ;; (default-maybe 'after-string
       ;;                (flymake--diag-text diagnostic))
       (default-maybe 'help-echo
@@ -1369,12 +1367,28 @@ flymake-start
                   nil)))
              (flymake--import-foreign-diagnostics))))))
 
-(defvar flymake-mode-map
-  (let ((map (make-sparse-keymap)))
-    (define-key map `[,flymake-fringe-indicator-position mouse-1]
-                #'flymake-show-buffer-diagnostics)
-    map)
-  "Keymap for `flymake-mode'.")
+(defun flymake-show-buffer-diagnostics-at-event-line (event)
+  "Show diagnostics buffer on mouse click in the margin or fringe.
+This uses two different approaches to work.
+For margin it is set as a char property of the margin character directly.
+While in the fringe it is set as part of the `flymake-mode-map'."
+  (interactive "e")
+  (when-let* ((diagnostics (flymake-diagnostics-at-mouse-event event t))
+              (first-diag (car diagnostics)))
+    (with-selected-window (posn-window (event-end event))
+      (with-current-buffer (window-buffer)
+        (when (or (< (point) (flymake-diagnostic-beg first-diag))
+                  (> (point) (flymake-diagnostic-end first-diag)))
+          (goto-char (flymake-diagnostic-beg first-diag)))
+
+        (flymake-show-buffer-diagnostics first-diag)))))
+
+;; Set the fringe mouse-1 action directly and perform the filtering
+;; latter iterating over the overlays.
+(defvar-keymap flymake-mode-map
+               :doc "Keymap for `flymake-mode'."
+               (format "<%s> <mouse-1>" flymake-fringe-indicator-position)
+               #'flymake-show-buffer-diagnostics-at-event-line)
 
 ;;;###autoload
 (define-minor-mode flymake-mode
@@ -1616,6 +1630,28 @@ flymake-goto-prev-error
                      t))
   (flymake-goto-next-error (- (or n 1)) filter interactive))
 
+(defun flymake-diagnostics-at-mouse-event (event full-line)
+  "Get the flymake diagnostics for a position given by a mouse EVENT.
+When FULL-LINE is not nil it gives all the diagnostics in the EVENT's
+line. The function does not move the cursor position."
+  (mouse-minibuffer-check event)
+  (let* ((posn (event-end event))
+	 (pos (posn-point posn)))
+    (when (and (numberp pos)
+               (< pos (point-max))) ;; pos is == (point-max) when the click is after the buffer end.
+      (with-selected-window (posn-window posn)
+	(with-current-buffer (window-buffer)
+          (save-excursion
+            (goto-char pos)
+            (if full-line
+                (flymake-diagnostics (line-beginning-position) (line-end-position))
+              (flymake-diagnostics pos (1+ pos)))))))))
+
+(defun flymake-show-buffer-diagnostics-at-event-position (event)
+  (interactive "e")
+  (flymake-show-buffer-diagnostics
+   (car (flymake-diagnostics-at-mouse-event event nil))))
+
 
 ;;; Mode-line and menu
 ;;;
@@ -1624,7 +1660,7 @@ flymake-menu
     [ "Go to next problem"      flymake-goto-next-error t ]
     [ "Go to previous problem"  flymake-goto-prev-error t ]
     [ "Check now"               flymake-start t ]
-    [ "List all problems"       flymake-show-buffer-diagnostics t ]
+    [ "List all problems"       flymake-show-buffer-diagnostics-at-event-position t ]
     "--"
     [ "Go to log buffer"        flymake-switch-to-log-buffer t ]
     [ "Turn off Flymake"        flymake-mode t ]))
@@ -1652,6 +1688,15 @@ flymake-mode-line-lighter
   :type 'string
   :version "29.1")
 
+(defcustom flymake-after-show-buffer-diagnostics-hook '(flymake-pulse-momentary-highlight-region)
+  "Hook called after jumping to a diagnostic line.
+
+This hooks are called when `flymake-show-buffer-diagnostics' receives an
+the optional `diagnostic' argument and it matches an entry in the
+diagnostic's buffer."
+  :type 'hook
+  :version "31.0")
+
 (defvar flymake-mode-line-title '(:eval (flymake--mode-line-title))
   "Mode-line construct to show Flymake's mode name and menu.")
 
@@ -1822,6 +1867,17 @@ flymake-diagnostics-buffer-mode-map
     (define-key map (kbd "SPC") 'flymake-show-diagnostic)
     map))
 
+
+(defun flymake-pulse-momentary-highlight-region (&optional start end)
+  "Helper function to highlight region.
+This uses the point `line-beginning-position' and `line-end-position' to
+determine the optional START and END when the optional values are not
+specified."
+  (pulse-momentary-highlight-region (or start (line-beginning-position))
+                                    (or end (line-end-position))
+                                    'highlight))
+
+
 (defun flymake-show-diagnostic (pos &optional other-window)
   "Show location of diagnostic at POS."
   (interactive (list (point) t))
@@ -1833,9 +1889,7 @@ flymake-show-diagnostic
          (end (flymake--diag-end diag))
          (visit (lambda (b e)
                   (goto-char b)
-                  (pulse-momentary-highlight-region (point)
-                                                    (or e (line-end-position))
-                                                    'highlight))))
+                  (flymake-pulse-momentary-highlight-region b e))))
     (with-current-buffer (cond ((bufferp locus) locus)
                                (t (find-file-noselect locus)))
       (with-selected-window
@@ -1969,7 +2023,7 @@ flymake--diagnostics-buffer-name
 (define-obsolete-function-alias 'flymake-show-diagnostics-buffer
   'flymake-show-buffer-diagnostics "1.2.1")
 
-(defun flymake-show-buffer-diagnostics ()
+(defun flymake-show-buffer-diagnostics (&optional diagnostic)
   "Show a list of Flymake diagnostics for current buffer."
   (interactive)
   (unless flymake-mode
@@ -1987,7 +2041,15 @@ flymake-show-buffer-diagnostics
                       `((display-buffer-reuse-window
                          display-buffer-below-selected)
                         (window-height . (lambda (window)
-                          (fit-window-to-buffer window 10))))))))
+                                           (fit-window-to-buffer window 10)))))
+      (when (and diagnostic flymake-after-show-buffer-diagnostics-hook)
+        (goto-char (point-min))
+        (catch 'done
+          (while-let ((id (tabulated-list-get-id (point))))
+            (if (eq (plist-get id :diagnostic) diagnostic)
+                (progn (run-hooks 'flymake-after-show-buffer-diagnostics-hook)
+                       (throw 'done nil))
+              (forward-line))))))))
 
 
 ;;; Per-project diagnostic listing
-- 
2.48.1


--s7gyvc4nx4uzldcm--




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 25 Feb 2025 00:51:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 24 19:51:58 2025
Received: from localhost ([127.0.0.1]:43643 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tmjB0-0001c0-7f
	for submit <at> debbugs.gnu.org; Mon, 24 Feb 2025 19:51:58 -0500
Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]:58469)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>)
 id 1tmjAx-0001bg-79
 for control <at> debbugs.gnu.org; Mon, 24 Feb 2025 19:51:56 -0500
Received: by mail-ed1-x533.google.com with SMTP id
 4fb4d7f45d1cf-5ded69e6134so8304151a12.0
 for <control <at> debbugs.gnu.org>; Mon, 24 Feb 2025 16:51:55 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1740444709; x=1741049509; darn=debbugs.gnu.org;
 h=to:subject:message-id:date:mime-version:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=RnMGZeDWa+1wIyE3gnIFDR8NVqp3L+fEknaHb3RUPCI=;
 b=KmPekYE7WTTnjp2zSiSS01TkTC+JXTFoIY1xeI+M4XaQ9Ej9tABp/XmkGP2JkoG5xz
 ylM6tiFVMzr1XNK04vWlyrfScbbiCkX381i8gTIS/+NoZWiCMtpG6THvQae/AlAHcIsE
 2X+iUBDgxVGGIbI3bMONTQoEzVdQG8zx+t5rT9562xlSDAc5N4Y/GqqJfTm1KjYzQhNb
 QJ/j5OPF9EsrsthiCM9FYtdejC5oGxFOpPctP5vFgD5FZSKEXnJAqXx1k8UvpDc38Sjn
 UEnrU+oJ3CzIe0WJ0oPsrYdZd2yYqJmUPP4ECTpvoTlrGGd71wQjjI1O3TOPPEthLK/Y
 Qx/A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1740444709; x=1741049509;
 h=to:subject:message-id:date:mime-version:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=RnMGZeDWa+1wIyE3gnIFDR8NVqp3L+fEknaHb3RUPCI=;
 b=Vta4zFdLO2CybE6gWJI5a7LP/CCtdb5Og6PtT3Q4rRevYYLFdOYh/9589dlVZQrUwi
 5mjW0MByIYwSURcmhwWubqLOW4eQgGK596io+TiUNorRfhNXEhozKnaRwkTBxtZMw1Ih
 3QOLEIAco+5tba+BzBgcLsTMoBORAjincYbtjtjpTvG65XAD2IbO0UkXjZaBCP60g39B
 gBVCNSnCIs/Pw7A9z2M0LeFqoIT5PIV2BwkxHWv4ilyRXa0eYThErjNhu4dCD1m0tPmE
 xc/+bAMOvvmYs9/N5mBMFUWi5QVjrbYMvpo40+rTVs9aI7ofDqFkpg/Dum6zkp39HCgL
 pY2g==
X-Gm-Message-State: AOJu0Ywbl9ZdXP6pJxlgmHitczk1Rv3c5qFhozO7o/x+578bhOWulo8W
 oAx6a612aNCHFNKrXfSnoQGWUWVgJtXL7+30+jDVST2s5uw0kLJPMyPl47Y2pVr7JImmQjasfMa
 cx3rlmtN73EYJK7JAG+OGnoVGaMoI4RZS
X-Gm-Gg: ASbGncsHyCvXlH7Wn2aaj65N66dvT+3NZtqQWhwQ/aXnT2B16M3oXpT4TxA29bIo/np
 v53aaXikKz2NNuwq8fi1Z7oQMv8lXMoerDCefVcePOuGBcGKppkkPAMBdHwXhLCRIGGnnGR9D/V
 apWIOsuOYJ
X-Google-Smtp-Source: AGHT+IEK/xhKBxaQQLOHlJG7R2Hte1UAaxmH7NvfCR5YSDhmxoyfXx+Th6rR9V78gFEK2sgtoKxga8K6D1SHa4IzICE=
X-Received: by 2002:a05:6402:3550:b0:5de:44b1:478 with SMTP id
 4fb4d7f45d1cf-5e0b6fd559cmr16523243a12.0.1740444708787; Mon, 24 Feb 2025
 16:51:48 -0800 (PST)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Mon, 24 Feb 2025 18:51:48 -0600
From: Stefan Kangas <stefankangas@HIDDEN>
MIME-Version: 1.0
Date: Mon, 24 Feb 2025 18:51:48 -0600
X-Gm-Features: AWEUYZnsZHl13lAUjgUVBnuQMXgDVCH55fsosQ3_mcHgTMCvsTzUU9SRGdg1OxI
Message-ID: <CADwFkmnzsaUiK4OMY2xMKsRUaKr=GkMK_sTgUg_h9uMnV+p8pg@HIDDEN>
Subject: control message for bug #75841
To: control <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
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.0 (-)

retitle 75841 [PATCH] Fix mouse click on flymake
quit





Last modified: Tue, 25 Feb 2025 01:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.