Juri Linkov <juri@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 78945) by debbugs.gnu.org; 3 Jul 2025 17:36:13 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 03 13:36:13 2025 Received: from localhost ([127.0.0.1]:51286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uXNr2-0007ow-GW for submit <at> debbugs.gnu.org; Thu, 03 Jul 2025 13:36:12 -0400 Received: from mout-y-209.mailbox.org ([91.198.250.237]:58996) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1uXNqw-0007n4-Dw; Thu, 03 Jul 2025 13:36:10 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-y-209.mailbox.org (Postfix) with ESMTPS id 4bY3p600Cfz9yYJ; Thu, 3 Jul 2025 19:35:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; t=1751564158; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=i2L17Ixjde4vox7MpOiRaU71XKCavyN8bgWmqSyB1Jo=; b=ss1Muhrej5PaBP2inIbtfJdVi6P+6T/Uh881TZxk/tei++QzqV4PVzLVWooqEB++Fj0xNO XQQU5RvbXwTj9bqKwIkS9ayQOsjh7fYBsK16pSPUOdS2EJCUNfBAYykLTe3KG6qhd4D3r9 cIx2bdfwYO72W5qGxEiEaRcIh1a57r+VHt+CozJ6Gpeej99knwqQRO8tu0Ol80EspwLnHz +3H2dvsKCBpgRdLNqrJ8O3QH8JC1fuPCL3kJ3XXoLNcaFLYau4IJfkxF5T25fzeR8g6IJq lPElJ5HPTDnJa1HDo46IC+g/JCVtxE1zJzBT1AxnuOzlKdn3atcBLR3vhQcAHg== From: Juri Linkov <juri@HIDDEN> To: Alcor <alcor@HIDDEN> Subject: Re: bug#78945: 30.1; C-x 4 4 and C-x 5 5 do not work with `dired-mouse-find-file' In-Reply-To: <87bjq1w6x2.fsf@HIDDEN> Organization: LINKOV.NET References: <87tt3uflwb.fsf@HIDDEN> <86ikk9285o.fsf@HIDDEN> <871pqxajk4.fsf@HIDDEN> <87qzyx3hp5.fsf@HIDDEN> <87bjq1w6x2.fsf@HIDDEN> Date: Thu, 03 Jul 2025 20:34:42 +0300 Message-ID: <87ldp5jhzh.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 78945 Cc: 78945 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN> 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.5 (-) close 78945 31.0.50 thanks > I just have a question regarding possible side effects: I understand > that this change ignores `mouse-drag-region' events. I'm not sure > whether it's possible to bind functions to these events, but if yes, > wouldn't this preclude any commands/functions bound to > `mouse-drag-region' from being affected by C-x 4 4 or C-x 5 5? Indeed. So I pushed a better patch that handles both down-mouse-1 and mouse-1 events. `dired-mouse-find-file' is on mouse-1/2, so it's not ignored anymore: diff --git a/lisp/window.el b/lisp/window.el index af7680e4486..068b4d61f79 100644 --- a/lisp/window.el +++ b/lisp/window.el @@ -9672,7 +9679,10 @@ display-buffer-override-next-command (> (minibuffer-depth) minibuffer-depth) ;; But don't remove immediately after ;; adding the hook by the same command below. - (eq this-command command)) + (eq this-command command) + ;; Don't exit on mouse down event + ;; in anticipation of mouse release event. + (memq 'down (event-modifiers last-input-event))) (funcall exitfun)))) ;; Call post-function after the next command finishes (bug#49057). (add-hook 'post-command-hook postfun)
bug-gnu-emacs@HIDDEN
:bug#78945
; Package emacs
.
Full text available.Received: (at 78945) by debbugs.gnu.org; 3 Jul 2025 16:55:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 03 12:55:31 2025 Received: from localhost ([127.0.0.1]:50915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uXNDe-0001gH-OL for submit <at> debbugs.gnu.org; Thu, 03 Jul 2025 12:55:31 -0400 Received: from tilde.club ([142.44.150.184]:55596 ident=postfix) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <alcor@HIDDEN>) id 1uXNDZ-0001fF-3V for 78945 <at> debbugs.gnu.org; Thu, 03 Jul 2025 12:55:26 -0400 Received: from osiris.tilde.club (unknown [IPv6:2001:9e8:7e6:f600:39e3:d398:36ff:de33]) by tilde.club (Postfix) with ESMTPSA id D9175221A49F5; Thu, 03 Jul 2025 16:55:22 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 tilde.club D9175221A49F5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tilde.club; s=mail; t=1751561723; bh=bqGwc/+x2Um1cf1I2dML2JzxaS3eR5xFerlI254yZbY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=rUZ0DHUVh0bU4aZQCxOjRfEXTH/08nCMrowHLft2b+qzqvI0+8t1eVR5vXm9gWXqh XSYFivuVqHNz8Z7lM8P84F394IIJgnZwtVEX7liQXG1b4OhH7vDPR6othH2IwnnPLL ZJhmxs19BUnlOwbcM+EmKScUzpeMn75JrqquUWNw= From: Alcor <alcor@HIDDEN> To: Juri Linkov <juri@HIDDEN> Subject: Re: bug#78945: 30.1; C-x 4 4 and C-x 5 5 do not work with `dired-mouse-find-file' In-Reply-To: <87qzyx3hp5.fsf@HIDDEN> (Juri Linkov's message of "Thu, 03 Jul 2025 09:35:18 +0300") References: <87tt3uflwb.fsf@HIDDEN> <86ikk9285o.fsf@HIDDEN> <871pqxajk4.fsf@HIDDEN> <87qzyx3hp5.fsf@HIDDEN> Date: Thu, 03 Jul 2025 18:55:21 +0200 Message-ID: <87bjq1w6x2.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 78945 Cc: 78945 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN> 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.8 (/) Juri Linkov <juri@HIDDEN> writes: > Thanks for the corrected reproducer. The 'C-h l' (view-lossage) > shows that 'mouse-drag-region' gets in the way: > > C-x 5 5 ;; other-frame-prefix > <down-mouse-1> ;; mouse-drag-region > <mouse-1> ;; dired-mouse-find-file > C-h l ;; view-lossage > > If there are no better ideas, maybe it should be ignored explicitly: > > diff --git a/lisp/window.el b/lisp/window.el > index af7680e4486..3e245741caa 100644 > --- a/lisp/window.el > +++ b/lisp/window.el > @@ -9672,7 +9679,8 @@ display-buffer-override-next-command > (> (minibuffer-depth) minibuffer-depth) > ;; But don't remove immediately after > ;; adding the hook by the same command below. > - (eq this-command command)) > + (eq this-command command) > + (memq this-command '(mouse-drag-region))) > (funcall exitfun)))) > ;; Call post-function after the next command finishes (bug#49057). > (add-hook 'post-command-hook postfun) Thanks for the above patch, I can also confirm this fixes the issue when applied on 30.1. I just have a question regarding possible side effects: I understand that this change ignores `mouse-drag-region' events. I'm not sure whether it's possible to bind functions to these events, but if yes, wouldn't this preclude any commands/functions bound to `mouse-drag-region' from being affected by C-x 4 4 or C-x 5 5? Cheers, -A.
bug-gnu-emacs@HIDDEN
:bug#78945
; Package emacs
.
Full text available.Received: (at 78945) by debbugs.gnu.org; 3 Jul 2025 10:09:34 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 03 06:09:34 2025 Received: from localhost ([127.0.0.1]:44144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uXGsn-0006CH-Ny for submit <at> debbugs.gnu.org; Thu, 03 Jul 2025 06:09:34 -0400 Received: from mout.gmx.net ([212.227.15.19]:36315) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <rudalics@HIDDEN>) id 1uXGsk-0006BB-La for 78945 <at> debbugs.gnu.org; Thu, 03 Jul 2025 06:09:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at; s=s31663417; t=1751537349; x=1752142149; i=rudalics@HIDDEN; bh=EymmMNfVaum21YE6jtNg2lDNTFo2TFUf0NZie9cPyFo=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=pW8LWd3rxKfJG3TCizG4PpWOMHnz9Brr9yYb4hHfdKaJfrTfMW7MLGJ7ZuuqrpB9 rNCeDKw89xStxGHy3Ha+xppCz/hkPHYLKUSkGwR7mXBZeaDUxy2dxu5TRJ3C1RCPX gqvwBVLqfz3jDepdop+tfSjp57pf3Aw6JgVx+nnN9QBOQGNZjxf0S52ZU3EwjTHDV cN33Tb5Y161MPxGYNw+GdLabNyS1r6/8OTWZUjWZKU7lUSvSHxr1OQCWrtVsy13hQ k4fJ0CpBqpyrj2AbyJY25MO2zuXaiKLVzX/XtDm4hDgsnYQV6mNOzm06Xhz0V/1kS FoIb1lQuXCoe3OfVLQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.31.113] ([212.95.8.154]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MmlT2-1uwBVb1RPq-00lmyM; Thu, 03 Jul 2025 12:09:09 +0200 Message-ID: <af9ab9ca-9d54-4530-8ee6-9808ecb7b069@HIDDEN> Date: Thu, 3 Jul 2025 12:09:07 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#78945: 30.1; C-x 4 4 and C-x 5 5 do not work with `dired-mouse-find-file' To: Eli Zaretskii <eliz@HIDDEN>, Alcor <alcor@HIDDEN>, Stefan Monnier <monnier@HIDDEN>, Juri Linkov <juri@HIDDEN> References: <87tt3uflwb.fsf@HIDDEN> <86ikk9285o.fsf@HIDDEN> <871pqxajk4.fsf@HIDDEN> <864ivt20ll.fsf@HIDDEN> Content-Language: en-US From: martin rudalics <rudalics@HIDDEN> In-Reply-To: <864ivt20ll.fsf@HIDDEN> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:SvuXivXSnFiCz84yiekNpXnU1c0mYhKEnR3e65JOhbhSslSu8f+ UA2Ww3wscRwsuRTZR+aBn/Kh8sXGYfG3Ilcw+2yndcCUl4RT6ipB7lwFTnqBzPAtZXOokKr J9sVDbQesW7HUIPl8dfN5P8kWGBpMbds554k0tZ3qkddn8oghyI3b4Pt+93hjF93ax6Si5m EY0YBndVXpW1vgDR/M/1w== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:9VOnOYWP/rU=;Az4pW9kI0/hCvWEWfeEp+oA3NWG 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 X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 78945 Cc: 78945 <at> debbugs.gnu.org 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.5 (-) > Thanks, I do see this, and I added the relevant people to this > discussion, in the hope that they will explain why we lose the effect > of "C-x 4 4" while redirecting mouse-1 to mouse-2. I cannot contribute much. Here rebinding mouse-2 is not necessary to show the faulty behavior and Juri's patch fixes the behavior for mouse-1 and also for mouse-2 if it is rebound. And the standard behavior here is to always show a buffer for the file in a new window, that is C-x 4 4 would not be needed anyway. martin
bug-gnu-emacs@HIDDEN
:bug#78945
; Package emacs
.
Full text available.Received: (at 78945) by debbugs.gnu.org; 3 Jul 2025 07:30:16 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 03 03:30:16 2025 Received: from localhost ([127.0.0.1]:42284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uXEOe-0001lU-19 for submit <at> debbugs.gnu.org; Thu, 03 Jul 2025 03:30:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48764) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uXEOa-0001gr-SO for 78945 <at> debbugs.gnu.org; Thu, 03 Jul 2025 03:30:14 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1uXEOT-0006Fc-Iz; Thu, 03 Jul 2025 03:30:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=LL9UBOie/prcnOu6xtAv1Ici5lc0bGRp5a1mKOLy/PM=; b=cmftjY/FadN+ whqOg28kZRnC8c+CHL8c6ws0ENtjyQj1rF8uCpHXU1vT5TejE3CSpMmevxEweGSWAsDOF7xW7wKiR VUwkRTKGTz4LyXA+z3NirJaqcfiTUZcrdWyCc/3POmIN0euqrDEZaiLSQP3RhEZIBjjA1h8PMPEJo 6/1fn531OzlGocugYOJ4wsYDNL02hsUSc+QCA6aBDr76+ras32ULBULlBjU/1UWhxxGPY0VrV9ENI OlCmoJRVBqSsYERrKFQ9bolZUReLh6pttPVuOn1qiyVHfdqASxYTurNknc59HpFOQQ6alPw0CYQAR 8sYlWYdk6Tny1U/+gbb7hA==; Date: Thu, 03 Jul 2025 10:29:58 +0300 Message-Id: <864ivt20ll.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Alcor <alcor@HIDDEN>, martin rudalics <rudalics@HIDDEN>, Stefan Monnier <monnier@HIDDEN>, Juri Linkov <juri@HIDDEN> In-Reply-To: <871pqxajk4.fsf@HIDDEN> (message from Alcor on Thu, 03 Jul 2025 08:13:15 +0200) Subject: Re: bug#78945: 30.1; C-x 4 4 and C-x 5 5 do not work with `dired-mouse-find-file' References: <87tt3uflwb.fsf@HIDDEN> <86ikk9285o.fsf@HIDDEN> <871pqxajk4.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 78945 Cc: 78945 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Alcor <alcor@HIDDEN> > Cc: 78945 <at> debbugs.gnu.org > Date: Thu, 03 Jul 2025 08:13:15 +0200 > > Eli Zaretskii <eliz@HIDDEN> writes: > > > P.S. Your Subject says dired-mouse-find-file, whereas the recipe uses > > dired-find-file. I tried both, and I get the expected behavior with > > both. > > I apologize, there is one important distinction in the bug report I > should have made: I meant "single-click" by "click", i.e. <mouse-1> in > Emacs jargon. > > Clicking <mouse-2> directly works correctly and does exhibit the > expected behavior. The issue here is that C-x 4 4 and C-x 5 5 do not > work when the <mouse-2> is translated from <mouse-1>. > > As for `dired-mouse-find-file' vs. `dired-find-file' - I have meant to > write `dired-mouse-find-file' in the original message, but the behavior > should be reproducible with both. > > For completeness, the corrected reproducer looks like this: > > 1. Start a fresh emacs -Q process > 2. Open some directory in dired via e.g. C-x C-f /tmp RET > 3. Rebind <mouse-2> to dired-mouse-find-file via (define-key dired-mode-map > (kbd "<mouse-2>") #'dired-mouse-find-file) > 4a. Try C-x 4 4 and single-click (<mouse-1>) on a filename > OR > 4b. Try C-x 5 5 and single-click (<mouse-1>) on a filename Thanks, I do see this, and I added the relevant people to this discussion, in the hope that they will explain why we lose the effect of "C-x 4 4" while redirecting mouse-1 to mouse-2. > I'm not sure how I should describe/retitle the issue - maybe "C-x 4 4 > and C-x 5 5 do not work with `dired-mouse-find-file' using a translated > keybind"? > > Also, I'd like to mention that this behavior is not just limited to GUI > Emacs. Trying the above with `emacs -nw' with M-x xterm-mouse-mode > yields the same results. > > Cheers, > -A. >
bug-gnu-emacs@HIDDEN
:bug#78945
; Package emacs
.
Full text available.Received: (at 78945) by debbugs.gnu.org; 3 Jul 2025 06:36:57 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 03 02:36:56 2025 Received: from localhost ([127.0.0.1]:42139 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uXDZ2-0002Nb-GA for submit <at> debbugs.gnu.org; Thu, 03 Jul 2025 02:36:56 -0400 Received: from mout-y-111.mailbox.org ([91.198.250.236]:33718) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1uXDYz-0002MP-Ej for 78945 <at> debbugs.gnu.org; Thu, 03 Jul 2025 02:36:54 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-y-111.mailbox.org (Postfix) with ESMTPS id 4bXn9T0VQSz9xqg; Thu, 3 Jul 2025 08:36:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; t=1751524605; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=LrqqjySlMo3y0oZU+cvVPHDdlBbItSUg9RV/uE/KHOk=; b=dwRaOtdLSK+wdPBOOKCsiGnJw/fwcf67mEWXhR2V9906I+y+cSceMuYrzJgoUN7+SybotO SM/qJqpc1m3tHNPJkl994CE4gwtF8GtT/IRdEfddKmFMTituu2J1VAwV9IsscrT8R1ldWK J+u9RqADrpNL6TIM8DV3M2ae/vFldB6XzNm06eDHr/Ij2htkkLreOyDSIN5vSEZba8mLlN czJNbNXRv/T6P7aJQAaejSqMXYfBGTaCaHihbpVUMbw+4DXHDACJsTGqLdWIEZo/mLroFP GtD3N74lpchjyHK7S69Iy0cm/xFD49RIabWWiKN28vCLQqIxywUsEF3+ZL7kRQ== From: Juri Linkov <juri@HIDDEN> To: Alcor <alcor@HIDDEN> Subject: Re: bug#78945: 30.1; C-x 4 4 and C-x 5 5 do not work with `dired-mouse-find-file' In-Reply-To: <871pqxajk4.fsf@HIDDEN> Organization: LINKOV.NET References: <87tt3uflwb.fsf@HIDDEN> <86ikk9285o.fsf@HIDDEN> <871pqxajk4.fsf@HIDDEN> Date: Thu, 03 Jul 2025 09:35:18 +0300 Message-ID: <87qzyx3hp5.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 4bXn9T0VQSz9xqg X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 78945 Cc: 78945 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN> 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.5 (-) > For completeness, the corrected reproducer looks like this: > > 1. Start a fresh emacs -Q process > 2. Open some directory in dired via e.g. C-x C-f /tmp RET > 3. Rebind <mouse-2> to dired-mouse-find-file via (define-key dired-mode-map > (kbd "<mouse-2>") #'dired-mouse-find-file) > 4a. Try C-x 4 4 and single-click (<mouse-1>) on a filename > OR > 4b. Try C-x 5 5 and single-click (<mouse-1>) on a filename Thanks for the corrected reproducer. The 'C-h l' (view-lossage) shows that 'mouse-drag-region' gets in the way: C-x 5 5 ;; other-frame-prefix <down-mouse-1> ;; mouse-drag-region <mouse-1> ;; dired-mouse-find-file C-h l ;; view-lossage If there are no better ideas, maybe it should be ignored explicitly: diff --git a/lisp/window.el b/lisp/window.el index af7680e4486..3e245741caa 100644 --- a/lisp/window.el +++ b/lisp/window.el @@ -9672,7 +9679,8 @@ display-buffer-override-next-command (> (minibuffer-depth) minibuffer-depth) ;; But don't remove immediately after ;; adding the hook by the same command below. - (eq this-command command)) + (eq this-command command) + (memq this-command '(mouse-drag-region))) (funcall exitfun)))) ;; Call post-function after the next command finishes (bug#49057). (add-hook 'post-command-hook postfun)
bug-gnu-emacs@HIDDEN
:bug#78945
; Package emacs
.
Full text available.Received: (at 78945) by debbugs.gnu.org; 3 Jul 2025 06:13:26 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 03 02:13:26 2025 Received: from localhost ([127.0.0.1]:42042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uXDCG-0007OB-SP for submit <at> debbugs.gnu.org; Thu, 03 Jul 2025 02:13:26 -0400 Received: from tilde.club ([142.44.150.184]:57030 ident=postfix) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <alcor@HIDDEN>) id 1uXDCE-0007NC-5D for 78945 <at> debbugs.gnu.org; Thu, 03 Jul 2025 02:13:23 -0400 Received: from osiris.tilde.club (unknown [IPv6:2001:9e8:7e6:f600:8be4:cac:8001:499c]) by tilde.club (Postfix) with ESMTPSA id DE9CA22363AD5; Thu, 03 Jul 2025 06:13:17 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 tilde.club DE9CA22363AD5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tilde.club; s=mail; t=1751523198; bh=dNdQULwteMhMNH4LyVW/mjqVwGxbJRLndBm1AnRaQ4Y=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=gmL4Bwrjsyl3a+Sbe/B5PtJtpMbYvzWNOVyXgdB8iwaQwkL9g4yxqM93g/UPva1Rh Io6LI+h9lWPY/YRX0gjDGnKkMQoIfvG0N2h8/Z1/c+wRIffJJVMEbRSEzaJWst0aXY aPQ5SjcOF+PGrL0U8nfRCilwtRaLIyX6kgKE/QLw= From: Alcor <alcor@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#78945: 30.1; C-x 4 4 and C-x 5 5 do not work with `dired-mouse-find-file' In-Reply-To: <86ikk9285o.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 03 Jul 2025 07:46:43 +0300") References: <87tt3uflwb.fsf@HIDDEN> <86ikk9285o.fsf@HIDDEN> Date: Thu, 03 Jul 2025 08:13:15 +0200 Message-ID: <871pqxajk4.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 78945 Cc: 78945 <at> debbugs.gnu.org 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.8 (/) Eli Zaretskii <eliz@HIDDEN> writes: > P.S. Your Subject says dired-mouse-find-file, whereas the recipe uses > dired-find-file. I tried both, and I get the expected behavior with > both. I apologize, there is one important distinction in the bug report I should have made: I meant "single-click" by "click", i.e. <mouse-1> in Emacs jargon. Clicking <mouse-2> directly works correctly and does exhibit the expected behavior. The issue here is that C-x 4 4 and C-x 5 5 do not work when the <mouse-2> is translated from <mouse-1>. As for `dired-mouse-find-file' vs. `dired-find-file' - I have meant to write `dired-mouse-find-file' in the original message, but the behavior should be reproducible with both. For completeness, the corrected reproducer looks like this: 1. Start a fresh emacs -Q process 2. Open some directory in dired via e.g. C-x C-f /tmp RET 3. Rebind <mouse-2> to dired-mouse-find-file via (define-key dired-mode-map (kbd "<mouse-2>") #'dired-mouse-find-file) 4a. Try C-x 4 4 and single-click (<mouse-1>) on a filename OR 4b. Try C-x 5 5 and single-click (<mouse-1>) on a filename I'm not sure how I should describe/retitle the issue - maybe "C-x 4 4 and C-x 5 5 do not work with `dired-mouse-find-file' using a translated keybind"? Also, I'd like to mention that this behavior is not just limited to GUI Emacs. Trying the above with `emacs -nw' with M-x xterm-mouse-mode yields the same results. Cheers, -A.
bug-gnu-emacs@HIDDEN
:bug#78945
; Package emacs
.
Full text available.Received: (at 78945) by debbugs.gnu.org; 3 Jul 2025 04:47:01 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 03 00:47:00 2025 Received: from localhost ([127.0.0.1]:41357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uXBqd-0002aT-Iq for submit <at> debbugs.gnu.org; Thu, 03 Jul 2025 00:47:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39922) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uXBqa-0002ZZ-HQ for 78945 <at> debbugs.gnu.org; Thu, 03 Jul 2025 00:46:57 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1uXBqU-00057K-9D; Thu, 03 Jul 2025 00:46:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=i6JThgtT1a+ZBQOGkSod/oQ0r1UJm/ONvLEuBSTyOSk=; b=FzZQFsywJJSY ZwtWQHKjhHxy9o/8Jw+ZNfakCJpocFq+23UAFTXiw+gV1scO+xbet/pHAjnVvQYMYNEctnAUvA4CZ HBb2+5AJFQYAQBodGej6177DhqruVYNeMQPfSYAsr2Ehn+lkTksEMRXGakxY3QxRvZ5K7OE6Xh3Sf SE3lP7B5LB7WB1mZGYFCwODjZZ9/wltl/NvqekXOQ8Js6swyFe9E7TNbD5+KN7VibqKH4K3E1jgRC 0J23ZhsQ4/TyvfPZCE/ff1G4Ba6Mu03RK/xE1hnhwsbBJhzEIASpqiLL9/A0q+Cpmg8RomuB7Lijj AfQmkB9mwjeJIcVTUFhz5g==; Date: Thu, 03 Jul 2025 07:46:43 +0300 Message-Id: <86ikk9285o.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Alcor <alcor@HIDDEN> In-Reply-To: <87tt3uflwb.fsf@HIDDEN> (bug-gnu-emacs@HIDDEN) Subject: Re: bug#78945: 30.1; C-x 4 4 and C-x 5 5 do not work with `dired-mouse-find-file' References: <87tt3uflwb.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 78945 Cc: 78945 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Wed, 02 Jul 2025 21:11:32 +0200 > From: Alcor via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> > > > Steps to reproduce: > > 1. Start a fresh emacs -Q process > 2. Open some directory in dired via e.g. C-x C-f /tmp RET > 3. Rebind <mouse-2> to dired-find-file via (define-key dired-mode-map > (kbd "<mouse-2>") #'dired-find-file) > 4a. Try C-x 4 4 and click on a filename > OR > 4b. Try C-x 5 5 and click on a filename > > Expected behavior: > > The file is opened in a new window (if 4a i.e. C-x 4 4) or a new frame > (if 4b aka C-x 5 5). > > Observed behavior: > > C-x 4 4 or C-x 5 5 are ignored. `dired-find-file' always opens the > clicked file in the same window. I cannot reproduce this. I tried both in Emacs 30.1 and in the current pretest of Emacs 30.2, and I get the expected behavior in both cases. I'm not on Ubuntu, but I doubt if this could be specific to Ubuntu or to X. Can anyone else reproduce this? P.S. Your Subject says dired-mouse-find-file, whereas the recipe uses dired-find-file. I tried both, and I get the expected behavior with both.
bug-gnu-emacs@HIDDEN
:bug#78945
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 2 Jul 2025 19:12:06 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 02 15:12:06 2025 Received: from localhost ([127.0.0.1]:39455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uX2sH-0001e0-BA for submit <at> debbugs.gnu.org; Wed, 02 Jul 2025 15:12:05 -0400 Received: from lists.gnu.org ([2001:470:142::17]:54866) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <alcor@HIDDEN>) id 1uX2sC-0001cA-V8 for submit <at> debbugs.gnu.org; Wed, 02 Jul 2025 15:12:02 -0400 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 <alcor@HIDDEN>) id 1uX2s5-0000s1-7p for bug-gnu-emacs@HIDDEN; Wed, 02 Jul 2025 15:11:53 -0400 Received: from tilde.club ([142.44.150.184]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <alcor@HIDDEN>) id 1uX2rt-0005yw-U0 for bug-gnu-emacs@HIDDEN; Wed, 02 Jul 2025 15:11:52 -0400 Received: from osiris.tilde.club (unknown [IPv6:2001:9e8:7dc:4e00:222:c11f:3316:598d]) by tilde.club (Postfix) with ESMTPSA id 953652236052E for <bug-gnu-emacs@HIDDEN>; Wed, 02 Jul 2025 19:11:34 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 tilde.club 953652236052E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tilde.club; s=mail; t=1751483494; bh=KjcAEJnMvnAZTqtkwhN+zpoF8lumRg4k0k4SByJigl8=; h=From:To:Subject:Date:From; b=o+pL89I1hhDDOjAghWUzJD2lKkmQSB2YhbwsZrzoa/Lw85kjnkHxD5MhE49DUPHvY 4vOmgCel8tOriIZW1Aa5Wczir/upms7LIyfpBV13BSrTc0V43ZAg5ONw3jLfKRbfFR LLG9y4zmpaezL+D8zMJHfr33kDxZp0B5uM/oAQdg= From: Alcor <alcor@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 30.1; C-x 4 4 and C-x 5 5 do not work with `dired-mouse-find-file' X-Debbugs-Cc: Date: Wed, 02 Jul 2025 21:11:32 +0200 Message-ID: <87tt3uflwb.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=142.44.150.184; envelope-from=alcor@HIDDEN; helo=tilde.club X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.237, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit 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.1 (/) Steps to reproduce: 1. Start a fresh emacs -Q process 2. Open some directory in dired via e.g. C-x C-f /tmp RET 3. Rebind <mouse-2> to dired-find-file via (define-key dired-mode-map (kbd "<mouse-2>") #'dired-find-file) 4a. Try C-x 4 4 and click on a filename OR 4b. Try C-x 5 5 and click on a filename Expected behavior: The file is opened in a new window (if 4a i.e. C-x 4 4) or a new frame (if 4b aka C-x 5 5). Observed behavior: C-x 4 4 or C-x 5 5 are ignored. `dired-find-file' always opens the clicked file in the same window. In GNU Emacs 30.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) of 2025-06-29 built on lcy02-amd64-115 Repository revision: 3c103e7c295c18cc75553fc09b3d603dab7b6703 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12302006 System Description: Ubuntu 24.04.2 LTS Configured using: 'configure --prefix=/snap/emacs/current/usr --with-x-toolkit=gtk3 --without-xaw3d --with-modules --with-cairo --with-native-compilation=aot --without-pgtk --with-xinput2 --with-tree-sitter 'CFLAGS=-isystem /build/emacs/parts/emacs/install/usr/include -isystem /build/emacs/parts/emacs/install/usr/include/x86_64-linux-gnu -isystem /build/emacs/stage/usr/include -O2' 'CPPFLAGS=-isystem /build/emacs/parts/emacs/install/usr/include -isystem /build/emacs/parts/emacs/install/usr/include/x86_64-linux-gnu -isystem /build/emacs/stage/usr/include' 'LDFLAGS=-L/build/emacs/parts/emacs/install/lib -L/build/emacs/parts/emacs/install/usr/lib -L/build/emacs/parts/emacs/install/lib/x86_64-linux-gnu -L/build/emacs/parts/emacs/install/usr/lib/x86_64-linux-gnu -L/build/emacs/stage/usr/lib'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Text Minor modes in effect: whitespace-mode: t display-line-numbers-mode: t goto-address-mode: t which-key-mode: t winner-mode: t windmove-mode: t recentf-mode: t global-auto-revert-mode: t fido-vertical-mode: t icomplete-vertical-mode: t icomplete-mode: t fido-mode: t desktop-save-mode: t minibuffer-depth-indicate-mode: t delete-selection-mode: t repeat-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t column-number-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 nnoo parse-time iso8601 gnus-spec gnus-int gnus-range gnus-win emacsbug message yank-media puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums disp-table whitespace display-line-numbers goto-addr thingatpt gnus nnheader gnus-util text-property-search time-date mail-utils range mm-util mail-prsvr doom-themes-ext-org doom-themes-ext-visual-bell face-remap doom-nord-theme pcase doom-themes doom-themes-base which-key finder-inf use-package-ensure winner ring windmove recentf tree-widget autorevert filenotify icomplete desktop frameset mb-depth delsel repeat edmacro kmacro use-package-bind-key bind-key easy-mmode cus-edit pp cus-load wid-edit use-package-core site-start comp comp-cstr cl-extra help-mode comp-common warnings rx doom-themes-autoloads erc-irc-format-autoloads markdown-mode-autoloads rainbow-delimiters-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs icons password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo gtk x-toolkit xinput2 x multi-tty move-toolbar make-network-process native-compile emacs) Memory information: ((conses 16 495938 18679) (symbols 48 24742 0) (strings 32 134936 4843) (string-bytes 1 3328789) (vectors 16 36024) (vector-slots 8 432373 11360) (floats 8 525 7563) (intervals 56 459 0) (buffers 992 10))
Alcor <alcor@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#78945
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.