Stéphane Marks <shipmints@HIDDEN>
to control <at> debbugs.gnu.org.
Full text available.Stéphane Marks <shipmints@HIDDEN>
to control <at> debbugs.gnu.org.
Full text available.
Received: (at 81435) by debbugs.gnu.org; 18 Jul 2026 20:33:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 18 16:33:00 2026
Received: from localhost ([127.0.0.1]:49922 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1wlBiV-0003ga-0d
for submit <at> debbugs.gnu.org; Sat, 18 Jul 2026 16:33:00 -0400
Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]:58690)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.84_2) (envelope-from <shipmints@HIDDEN>)
id 1wlBiQ-0003fw-73
for 81435 <at> debbugs.gnu.org; Sat, 18 Jul 2026 16:32:56 -0400
Received: by mail-ed1-x52a.google.com with SMTP id
4fb4d7f45d1cf-697bd21fdc2so7134709a12.1
for <81435 <at> debbugs.gnu.org>; Sat, 18 Jul 2026 13:32:54 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1784406768; cv=none;
d=google.com; s=arc-20260327;
b=QlXi6HbSE94zP9vYrPGfpzVnNhKKvDkRaOjAsI7PzdCsQ16BycD345sEsjCjgL2kGj
V0ebjRk2SdYndf1zcKqZcgK9LoQwK8hlJwRprrcLDM2COA8KFjA/fJq6A68Sdl5m/NWR
gWS1eR+/zVtQG1cLMjxeCsJmPe+K2YPI1XJxA/L6wYcZSXpsG6H2XbW0b82aOtAOxkPN
UDrWKzOmLDzSVGnXOXYabJJB3HFw280EZRnwokdt5UC6a1rWyu8GUsi0VDZucSMEtmmQ
zRe9k9vYkwReF9ZAfdxxxV0TsomyddiVToADYZybgqCnWj1vr6r7JoKh5V/69pwFQQ8D
2ETw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20260327;
h=cc:to:subject:message-id:date:from:in-reply-to:references
:mime-version:dkim-signature;
bh=0ecO4wdIau5zhhDnKEDH4U0coeHZ9gDvIZ/k+tODhzg=;
fh=RZumUEK4CuCYK29UEttesDoV4DeeZmLVrcP1dH+dfzw=;
b=h1YKdb9sWCY7aCdo91EpgqEJj4oZIMviFsAh7EubIPLKfx0eJ2RAVQ2I1/rwCTjivK
EE6VxAYNqzmOp6qfcOHg/ImB/DuQq/UrdA0a4bSMtAb7T+BnfybfUFlQ1mP8aINYlwX6
G1zedg2SACj5Ha9vwI7WUgbSywyKQ2059NMmCYz1OZByx/pqlPMwn8wNhbTukAAOj6Dm
4ZvW7Yb6nz9NgsRUUO/GWuBSyI/o6ZDNk9TrVyOKYV2nhLP7qx5GAINkrTPA14v0PIuB
hixRLqoqdKL/0ueaqVZkTW76FOTJvNU16pLAuP9cpL7Q3EhrEIvlXpbrPJuaZhWIHS39
e/4w==; darn=debbugs.gnu.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20251104; t=1784406768; x=1785011568; darn=debbugs.gnu.org;
h=content-type:cc:to:subject:message-id:date:from:in-reply-to
:references:mime-version:from:to:cc:subject:date:message-id:reply-to
:content-type; bh=0ecO4wdIau5zhhDnKEDH4U0coeHZ9gDvIZ/k+tODhzg=;
b=rLhpdQ5NXrOv37YjwjHJcHL4xdDy7iB6PJqe/svc5Nljd5WvwyHFmavQwf2jy9Ih66
nU74a5pEnGWRG3KcsbSB1nyWoIyeALVkOxiqkf3cNllmVfwE/pk+dlAJj3NMYFG7Yosa
uDM3S3ICIZ4mDYBOP7arh377MYSWiQF3FZc9a5bdjLwJPni8AhgwuzolgCbVPGwC/VPO
4AIivWpXXgkPLDhM2/W/ISXpqoa3hmWxWIr3TxNXpC5/TY2frlPty4J3L8bJyWRGDppb
QAzQaq0FfFOlQLZYL/CQtvFxyQAkZ/Ii6f57Kan3/pKmC6vxEbfwl3NdHZSYMBAtUtl8
jLFw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20251104; t=1784406768; x=1785011568;
h=content-type:cc:to:subject:message-id:date:from:in-reply-to
:references:mime-version:x-gm-gg:x-gm-message-state:from:to:cc
:subject:date:message-id:reply-to:content-type;
bh=0ecO4wdIau5zhhDnKEDH4U0coeHZ9gDvIZ/k+tODhzg=;
b=qxQjTBWaeAq5iJNjtfWlFTLMdfgAtxX07NY8n2ASeTOaMrnDttUiNYy4pidIaE3wm9
v9h91RUCUPnPOnTHDM3xiFr7nokv4UiqbAZevnXxFLdQBPBk7XiZuqB2y1Cbe7DtC2KR
X1g6fwmYqLe+dJPZkP2lY0DqlUc7yWR60CNlDkYLupYK73ispr9pG+bh4ukOVOXi5NBG
eyaNx5xRY8rrF5b0fFhYS+hhcsc0NlqiiTCQukXL/6Hx1rlk7HUlqKT4k+A0RiohMAHa
FVT8bxJ/ikZtR1g5Y06EfUWHYFpGscHSMWi9koXWn+a6rHRb8AcnWuEztUuV7HheBPrV
LlEQ==
X-Gm-Message-State: AOJu0Yx6uTBShHd7IZC6bPkflGX0YKjEo2bVYAkxycrJffZnN0oUmeGE
4PxXjniPkpIzw3HOOlGQFxVRxVLK2XhUGEjHKWB3ESxKoREFQ/egtDtu0FEu6/mGR8nt0lmtFJR
kH8X9k4Y7B49D4TnKM5uzuqXYmbFgvHo=
X-Gm-Gg: AfdE7ckUkYTPHoo9d04BETzQ5QB7noWDtUiT1feh1BzCRJWq7MTRmNAJsF0ULgV+CJ2
S12Ajr8l5Mn3bgJXeYH97x5HQUrHcB1ZmTvEwrN2HOIOSgMWeWvNAUNL0WJGBG7tLPq6yGOYqER
cd+NZWTRkwUB9WLryOa5jot+qlkwgqPtHpyvRHcrJldO6BoOy5xfVaUdBsw4IPqFjr+z+1bmmhE
GbJweWf8x2wNyADICzng3UFex1fhQTh6VPHwp8PXCxv4kZE/C58fUPBkCg2uY39kkXpy5UHVbFJ
7GCdaOBRLEEX4mr9UjZWyN1MTMHOmVi8nMScJGaacpkBn7X6QWctRrpbeh1jv0bU1zHXtJf7bQS
8C0FW3zh+GzML3lGF667esBZLUP0Rqu67Sp729eYdmeOe8QoFRFht1PP5YxfdINyWuWWUCSYyF1
ejLnxg6xec
X-Received: by 2002:a05:6402:450c:b0:69c:40ed:9bb3 with SMTP id
4fb4d7f45d1cf-69e652e1e98mr3037379a12.25.1784406767757; Sat, 18 Jul 2026
13:32:47 -0700 (PDT)
MIME-Version: 1.0
References: <87mrvof3tw.fsf@HIDDEN>
In-Reply-To: <87mrvof3tw.fsf@HIDDEN>
From: =?UTF-8?Q?St=C3=A9phane_Marks?= <shipmints@HIDDEN>
Date: Sat, 18 Jul 2026 22:32:34 +0200
X-Gm-Features: AUfX_mzVp6oTlJXgcXVHsP3Bm3RBQg_CMLzecy3x0XCzfD0P7ztmWtKjkllKH5I
Message-ID: <CAN+1HbrngZ6Z+jWiNPsYzF2FXiO2KZv_Rv1nL-gwfGkihA1Htw@HIDDEN>
Subject: Re: bug#81435: 32.0.50;
mark deactivated on next-line when using mode-line-format-right-align
To: Amin Bandali <bandali@HIDDEN>
Content-Type: multipart/alternative; boundary="00000000000086eee70656e8932a"
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 81435
Cc: 81435 <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.0 (/)
--00000000000086eee70656e8932a
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
merge 81254 81435
stop
On Sat, Jul 18, 2026 at 4:21=E2=80=AFPM Amin Bandali <bandali@HIDDEN> wrot=
e:
> In the past month, I've noticed unreliability with the mark and it
> being seemingly randomly deactivated sometimes, including shortly
> after activating it with C-SPC then pressing C-n (next-line).
>
> To reproduce, add mode-line-format-right-align to mode-line-format
> like so:
>
> (setq-default
> mode-line-format '("" mode-line-format-right-align "foo"))
>
> Evaluate that and/or restart emacs and visit a file like .emacs,
> activate the mark with C-SPC, then hit C-n for next line. You'll see
> that instead of remaining active and forming a selection, the mark
> gets deactivated right away. Some actions seem to make it stop
> happening in a buffer, such as clicking on buffer text with the mouse.
>
> I finally got the chance today to do some poking and bisecting,
> and managed to narrow it down to a bad interaction between using
> mode-line-format-right-align in mode-line-format and the changes
> introduced by commit c6c4888ced296b6bda7752066df44d95f591cb06.
> (I haven't scrutinized the commit, so I don't know the why.)
>
> It happens at least with --with-pgtk (both in graphical environment
> and the linux console) or --with-x-toolkit=3Dno (at least on console).
>
> In GNU Emacs 32.0.50 (build 25, x86_64-pc-linux-gnu, GTK+ Version
> 3.24.49, cairo version 1.18.4) of 2026-07-18 built on marita
> Repository revision: 0f086c307c12b74aeedfba07cfe5b57ef2f99808
> Repository branch: master
> System Description: Debian GNU/Linux 13 (trixie)
>
> Configured using:
> 'configure --without-gconf --without-gsettings --without-gpm
> --with-pgtk --with-native-compilation --with-mailutils'
>
> Configured features:
> ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS HARFBUZZ JPEG LCMS2 LIBOTF
> LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG
> RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS
> TREE_SITTER WEBP XIM GTK3 ZLIB
>
> Important settings:
> value of $LC_COLLATE: C
> value of $LANG: en_CA.UTF-8
> locale-coding-system: utf-8-unix
>
> Major mode: Summary
>
> Minor modes in effect:
> server-mode: t
> repeat-mode: t
> winner-mode: t
> windmove-mode: t
> minibuffer-depth-indicate-mode: t
> pixel-scroll-mode: t
> recentf-mode: t
> save-place-mode: t
> display-battery-mode: t
> global-auto-revert-mode: t
> display-time-mode: t
> global-diff-hl-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
> undelete-frame-mode: t
> minibuffer-nonselected-mode: t
> minibuffer-regexp-mode: t
> buffer-read-only: t
> column-number-mode: t
> line-number-mode: t
> transient-mark-mode: t
> auto-composition-mode: t
> auto-encryption-mode: t
> auto-compression-mode: t
> temp-buffer-resize-mode: t
>
> Load-path shadows:
> /home/bandali/.emacs.d/user-lisp/ledger-mode/tools/format hides
> /home/bandali/src/gnu/emacs/trunk/lisp/format
> /home/bandali/.emacs.d/user-lisp/ledger-mode/tools/benchmark hides
> /home/bandali/src/gnu/emacs/trunk/lisp/emacs-lisp/benchmark
>
> Features:
> (qp gnus-ml disp-table textsec uni-scripts idna-mapping ucs-normalize
> uni-confusable textsec-check gnus-notifications gnus-fun notifications
> thingatpt shadow sort gnus-cite flyspell ispell mail-extr cl-extra
> shortdoc shortdoc-doc help-fns emacsbug gnus-topic nndraft nnmh utf-7
> epa-file network-stream nsm nnfolder nnnil gnus-agent gnus-srvr
> gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015
> mm-view mml-smime smime gnutls dig nntp gnus-cache gnus-sum shr
> pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start
> gnus-cloud nnimap nnmail browse-url url url-proxy url-privacy
> url-expand url-methods url-history url-cookie url-domsuf url-util
> url-parse url-vars mail-source utf7 nnoo gnus-spec gnus-int gnus-range
> message sendmail mailcap yank-media puny gnus-dired dired-x dired
> dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config
> mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
> ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus nnheader
> gnus-util mail-utils range mm-util mail-prsvr tramp-sh tramp-cache
> time-stamp tramp trampver tramp-integration tramp-message help-mode
> tramp-compat xdg shell pcomplete parse-time iso8601 time-date
> auth-source cl-seq eieio eieio-core cl-macs gv password-cache json map
> tramp-loaddefs vc-git files-x cursor-sensor server repeat winner
> windmove mb-depth pixel-scroll format-spec
> display-fill-column-indicator recentf tree-widget saveplace battery
> dbus autorevert filenotify time xml appt diary-lib diary-loaddefs
> diff-hl log-view log-edit add-log pcvs-util vc-dir ewoc vc
> vc-dispatcher diff-mode track-changes easy-mmode holidays
> holiday-loaddefs cal-menu calendar cal-loaddefs doric-oak-theme
> doric-themes color pcase .user-lisp-autoloads warnings byte-opt
> compile text-property-search comint subr-x mule-util ansi-osc
> ansi-color ring comp-run comp-common rx cus-edit pp cus-start cus-load
> icons wid-edit cl-loaddefs cl-lib loaddefs-gen generate-lisp-file
> lisp-mnt radix-tree bytecomp byte-compile bash-completion-autoloads
> debbugs-autoloads diff-hl-autoloads doric-themes-autoloads
> elpher-autoloads shell-command+-autoloads package-activate rmc
> iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
> vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win
> term/common-win touch-screen pgtk-dnd tool-bar dnd fontset image
> regexp-opt fringe tabulated-list replace newcomment text-mode
> lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
> easymenu timer select scroll-bar mouse jit-lock font-lock syntax
> font-core term/tty-colors frame minibuffer nadvice seq simple
> cl-generic indonesian philippine cham georgian utf-8-lang misc-lang
> vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
> hebrew greek romanian slovak czech european ethiopic indian cyrillic
> chinese composite emoji-zwj charscript charprop case-table epa-hook
> jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button
> loaddefs 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 dynamic-setting font-render-setting cairo gtk pgtk
> lcms2 multi-tty move-toolbar make-network-process tty-child-frames
> native-compile emacs)
>
> Memory information:
> ((conses 16 592922 37658) (symbols 48 24004 4)
> (strings 32 102336 6598) (string-bytes 1 3447958) (vectors 16 58759)
> (vector-slots 8 775490 197789) (floats 8 496 1963)
> (intervals 56 19650 0) (buffers 1064 36))
>
Please see https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D81254 there's a
patch pending.
--00000000000086eee70656e8932a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:monospace"><span style=3D"font-family:Arial,Helvetica,sans-serif;b=
ackground-color:transparent">merge=C2=A0</span><span style=3D"font-family:A=
rial,Helvetica,sans-serif;background-color:transparent">81254 81435</span><=
/div><div class=3D"gmail_default" style=3D"font-family:monospace"><span sty=
le=3D"font-family:Arial,Helvetica,sans-serif;background-color:transparent">=
stop</span></div><div class=3D"gmail_default" style=3D"font-family:monospac=
e"><span style=3D"font-family:Arial,Helvetica,sans-serif;background-color:t=
ransparent"><br></span></div><div class=3D"gmail_default" style=3D"font-fam=
ily:monospace"><span style=3D"font-family:Arial,Helvetica,sans-serif;backgr=
ound-color:transparent">On Sat, Jul 18, 2026 at 4:21=E2=80=AFPM Amin Bandal=
i <<a href=3D"mailto:bandali@HIDDEN">bandali@HIDDEN</a>> wrote:</sp=
an></div></div><div class=3D"gmail_quote gmail_quote_container"><blockquote=
class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px so=
lid rgb(204,204,204);padding-left:1ex">In the past month, I've noticed =
unreliability with the mark and it<br>
being seemingly randomly deactivated sometimes, including shortly<br>
after activating it with C-SPC then pressing C-n (next-line).<br>
<br>
To reproduce, add mode-line-format-right-align to mode-line-format<br>
like so:<br>
<br>
=C2=A0 =C2=A0 (setq-default<br>
=C2=A0 =C2=A0 =C2=A0mode-line-format '("" mode-line-format-ri=
ght-align "foo"))<br>
<br>
Evaluate that and/or restart emacs and visit a file like .emacs,<br>
activate the mark with C-SPC, then hit C-n for next line.=C2=A0 You'll =
see<br>
that instead of remaining active and forming a selection, the mark<br>
gets deactivated right away.=C2=A0 Some actions seem to make it stop<br>
happening in a buffer, such as clicking on buffer text with the mouse.<br>
<br>
I finally got the chance today to do some poking and bisecting,<br>
and managed to narrow it down to a bad interaction between using<br>
mode-line-format-right-align in mode-line-format and the changes<br>
introduced by commit c6c4888ced296b6bda7752066df44d95f591cb06.<br>
(I haven't scrutinized the commit, so I don't know the why.)<br>
<br>
It happens at least with --with-pgtk (both in graphical environment<br>
and the linux console) or --with-x-toolkit=3Dno (at least on console).<br>
<br>
In GNU Emacs 32.0.50 (build 25, x86_64-pc-linux-gnu, GTK+ Version<br>
=C2=A03.24.49, cairo version 1.18.4) of 2026-07-18 built on marita<br>
Repository revision: 0f086c307c12b74aeedfba07cfe5b57ef2f99808<br>
Repository branch: master<br>
System Description: Debian GNU/Linux 13 (trixie)<br>
<br>
Configured using:<br>
=C2=A0'configure --without-gconf --without-gsettings --without-gpm<br>
=C2=A0--with-pgtk --with-native-compilation --with-mailutils'<br>
<br>
Configured features:<br>
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS HARFBUZZ JPEG LCMS2 LIBOTF<br>
LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG<br>
RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS<br>
TREE_SITTER WEBP XIM GTK3 ZLIB<br>
<br>
Important settings:<br>
=C2=A0 value of $LC_COLLATE: C<br>
=C2=A0 value of $LANG: en_CA.UTF-8<br>
=C2=A0 locale-coding-system: utf-8-unix<br>
<br>
Major mode: Summary<br>
<br>
Minor modes in effect:<br>
=C2=A0 server-mode: t<br>
=C2=A0 repeat-mode: t<br>
=C2=A0 winner-mode: t<br>
=C2=A0 windmove-mode: t<br>
=C2=A0 minibuffer-depth-indicate-mode: t<br>
=C2=A0 pixel-scroll-mode: t<br>
=C2=A0 recentf-mode: t<br>
=C2=A0 save-place-mode: t<br>
=C2=A0 display-battery-mode: t<br>
=C2=A0 global-auto-revert-mode: t<br>
=C2=A0 display-time-mode: t<br>
=C2=A0 global-diff-hl-mode: t<br>
=C2=A0 tooltip-mode: t<br>
=C2=A0 global-eldoc-mode: t<br>
=C2=A0 show-paren-mode: t<br>
=C2=A0 electric-indent-mode: t<br>
=C2=A0 mouse-wheel-mode: t<br>
=C2=A0 file-name-shadow-mode: t<br>
=C2=A0 global-font-lock-mode: t<br>
=C2=A0 font-lock-mode: t<br>
=C2=A0 undelete-frame-mode: t<br>
=C2=A0 minibuffer-nonselected-mode: t<br>
=C2=A0 minibuffer-regexp-mode: t<br>
=C2=A0 buffer-read-only: t<br>
=C2=A0 column-number-mode: t<br>
=C2=A0 line-number-mode: t<br>
=C2=A0 transient-mark-mode: t<br>
=C2=A0 auto-composition-mode: t<br>
=C2=A0 auto-encryption-mode: t<br>
=C2=A0 auto-compression-mode: t<br>
=C2=A0 temp-buffer-resize-mode: t<br>
<br>
Load-path shadows:<br>
/home/bandali/.emacs.d/user-lisp/ledger-mode/tools/format hides /home/banda=
li/src/gnu/emacs/trunk/lisp/format<br>
/home/bandali/.emacs.d/user-lisp/ledger-mode/tools/benchmark hides /home/ba=
ndali/src/gnu/emacs/trunk/lisp/emacs-lisp/benchmark<br>
<br>
Features:<br>
(qp gnus-ml disp-table textsec uni-scripts idna-mapping ucs-normalize<br>
uni-confusable textsec-check gnus-notifications gnus-fun notifications<br>
thingatpt shadow sort gnus-cite flyspell ispell mail-extr cl-extra<br>
shortdoc shortdoc-doc help-fns emacsbug gnus-topic nndraft nnmh utf-7<br>
epa-file network-stream nsm nnfolder nnnil gnus-agent gnus-srvr<br>
gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015<br>
mm-view mml-smime smime gnutls dig nntp gnus-cache gnus-sum shr<br>
pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start<br>
gnus-cloud nnimap nnmail browse-url url url-proxy url-privacy<br>
url-expand url-methods url-history url-cookie url-domsuf url-util<br>
url-parse url-vars mail-source utf7 nnoo gnus-spec gnus-int gnus-range<br>
message sendmail mailcap yank-media puny gnus-dired dired-x dired<br>
dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config<br>
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045<br>
ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus nnheader<br>
gnus-util mail-utils range mm-util mail-prsvr tramp-sh tramp-cache<br>
time-stamp tramp trampver tramp-integration tramp-message help-mode<br>
tramp-compat xdg shell pcomplete parse-time iso8601 time-date<br>
auth-source cl-seq eieio eieio-core cl-macs gv password-cache json map<br>
tramp-loaddefs vc-git files-x cursor-sensor server repeat winner<br>
windmove mb-depth pixel-scroll format-spec<br>
display-fill-column-indicator recentf tree-widget saveplace battery<br>
dbus autorevert filenotify time xml appt diary-lib diary-loaddefs<br>
diff-hl log-view log-edit add-log pcvs-util vc-dir ewoc vc<br>
vc-dispatcher diff-mode track-changes easy-mmode holidays<br>
holiday-loaddefs cal-menu calendar cal-loaddefs doric-oak-theme<br>
doric-themes color pcase .user-lisp-autoloads warnings byte-opt<br>
compile text-property-search comint subr-x mule-util ansi-osc<br>
ansi-color ring comp-run comp-common rx cus-edit pp cus-start cus-load<br>
icons wid-edit cl-loaddefs cl-lib loaddefs-gen generate-lisp-file<br>
lisp-mnt radix-tree bytecomp byte-compile bash-completion-autoloads<br>
debbugs-autoloads diff-hl-autoloads doric-themes-autoloads<br>
elpher-autoloads shell-command+-autoloads package-activate rmc<br>
iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook<br>
vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win<br>
term/common-win touch-screen pgtk-dnd tool-bar dnd fontset image<br>
regexp-opt fringe tabulated-list replace newcomment text-mode<br>
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch<br>
easymenu timer select scroll-bar mouse jit-lock font-lock syntax<br>
font-core term/tty-colors frame minibuffer nadvice seq simple<br>
cl-generic indonesian philippine cham georgian utf-8-lang misc-lang<br>
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932<br>
hebrew greek romanian slovak czech european ethiopic indian cyrillic<br>
chinese composite emoji-zwj charscript charprop case-table epa-hook<br>
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button<br>
loaddefs theme-loaddefs faces cus-face macroexp files window<br>
text-properties overlay sha1 md5 base64 format env code-pages mule<br>
custom widget keymap hashtable-print-readable backquote threads<br>
dbusbind inotify dynamic-setting font-render-setting cairo gtk pgtk<br>
lcms2 multi-tty move-toolbar make-network-process tty-child-frames<br>
native-compile emacs)<br>
<br>
Memory information:<br>
((conses 16 592922 37658) (symbols 48 24004 4)<br>
=C2=A0(strings 32 102336 6598) (string-bytes 1 3447958) (vectors 16 58759)<=
br>
=C2=A0(vector-slots 8 775490 197789) (floats 8 496 1963)<br>
=C2=A0(intervals 56 19650 0) (buffers 1064 36))<br></blockquote><div><br></=
div><div class=3D"gmail_default" style=3D"font-family:monospace">Please see=
=C2=A0<a href=3D"https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D81254">htt=
ps://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D81254</a>=C2=A0there's a p=
atch pending.</div></div></div>
--00000000000086eee70656e8932a--
bug-gnu-emacs@HIDDEN:bug#81435; Package emacs.
Full text available.
Received: (at submit) by debbugs.gnu.org; 18 Jul 2026 20:20:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 18 16:20:35 2026
Received: from localhost ([127.0.0.1]:49891 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1wlBWV-000337-3S
for submit <at> debbugs.gnu.org; Sat, 18 Jul 2026 16:20:35 -0400
Received: from lists1p.gnu.org ([2001:470:142::17]:49372)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <bandali@HIDDEN>) id 1wlBWR-00032d-6e
for submit <at> debbugs.gnu.org; Sat, 18 Jul 2026 16:20:34 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <bandali@HIDDEN>) id 1wlBWC-0007Jq-Sn
for bug-gnu-emacs@HIDDEN; Sat, 18 Jul 2026 16:20:20 -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 <bandali@HIDDEN>) id 1wlBWC-0003xX-KU
for bug-gnu-emacs@HIDDEN; Sat, 18 Jul 2026 16:20:16 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to:
references; bh=bGpExlwiSlnXgz1ua7eL6wTd4bXiva4Zt+8zQjs2Ei8=; b=jPhgGyETb7iuou
4GpmoJZsqn9aEfSYq9t1ZCeQNgJtY4pHtKzUFtkZUDxhRXefFjtEvhCBXoiJXLG4WUFINcAuEAvkI
CnVpmeYbdKUE/oFRRrs0XTYuv0+Awf8Gd9Tb2gjVQlGqC1J8yWu8lPn0mebSSZsr3KpeevY5ZnzUy
Tw56cAxdhDISEONWZEHW+7b+UdbBGeXH6+DbXcacJdB2ZuLQH6sCApZlNa0Y+YwPGY3mghRT0/u3u
r9zJvqK05QBu54yv4BisPPimCump826hto3yPxjBxPSG8KnV4mKp2oI/ANhu9a580tiUOpSV/gjwp
iFsY81ySaA0P3WQuugGg==;
From: Amin Bandali <bandali@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 32.0.50; mark deactivated on next-line when using
mode-line-format-right-align
X-Debbugs-Cc: =?utf-8?Q?St=C3=A9phane?= Marks <shipmints@HIDDEN>
Date: Sat, 18 Jul 2026 16:19:39 -0400
Message-ID: <87mrvof3tw.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/32.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
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: -1.0 (-)
In the past month, I've noticed unreliability with the mark and it
being seemingly randomly deactivated sometimes, including shortly
after activating it with C-SPC then pressing C-n (next-line).
To reproduce, add mode-line-format-right-align to mode-line-format
like so:
(setq-default
mode-line-format '("" mode-line-format-right-align "foo"))
Evaluate that and/or restart emacs and visit a file like .emacs,
activate the mark with C-SPC, then hit C-n for next line. You'll see
that instead of remaining active and forming a selection, the mark
gets deactivated right away. Some actions seem to make it stop
happening in a buffer, such as clicking on buffer text with the mouse.
I finally got the chance today to do some poking and bisecting,
and managed to narrow it down to a bad interaction between using
mode-line-format-right-align in mode-line-format and the changes
introduced by commit c6c4888ced296b6bda7752066df44d95f591cb06.
(I haven't scrutinized the commit, so I don't know the why.)
It happens at least with --with-pgtk (both in graphical environment
and the linux console) or --with-x-toolkit=no (at least on console).
In GNU Emacs 32.0.50 (build 25, x86_64-pc-linux-gnu, GTK+ Version
3.24.49, cairo version 1.18.4) of 2026-07-18 built on marita
Repository revision: 0f086c307c12b74aeedfba07cfe5b57ef2f99808
Repository branch: master
System Description: Debian GNU/Linux 13 (trixie)
Configured using:
'configure --without-gconf --without-gsettings --without-gpm
--with-pgtk --with-native-compilation --with-mailutils'
Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS HARFBUZZ JPEG LCMS2 LIBOTF
LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG
RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS
TREE_SITTER WEBP XIM GTK3 ZLIB
Important settings:
value of $LC_COLLATE: C
value of $LANG: en_CA.UTF-8
locale-coding-system: utf-8-unix
Major mode: Summary
Minor modes in effect:
server-mode: t
repeat-mode: t
winner-mode: t
windmove-mode: t
minibuffer-depth-indicate-mode: t
pixel-scroll-mode: t
recentf-mode: t
save-place-mode: t
display-battery-mode: t
global-auto-revert-mode: t
display-time-mode: t
global-diff-hl-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
undelete-frame-mode: t
minibuffer-nonselected-mode: t
minibuffer-regexp-mode: t
buffer-read-only: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
temp-buffer-resize-mode: t
Load-path shadows:
/home/bandali/.emacs.d/user-lisp/ledger-mode/tools/format hides /home/bandali/src/gnu/emacs/trunk/lisp/format
/home/bandali/.emacs.d/user-lisp/ledger-mode/tools/benchmark hides /home/bandali/src/gnu/emacs/trunk/lisp/emacs-lisp/benchmark
Features:
(qp gnus-ml disp-table textsec uni-scripts idna-mapping ucs-normalize
uni-confusable textsec-check gnus-notifications gnus-fun notifications
thingatpt shadow sort gnus-cite flyspell ispell mail-extr cl-extra
shortdoc shortdoc-doc help-fns emacsbug gnus-topic nndraft nnmh utf-7
epa-file network-stream nsm nnfolder nnnil gnus-agent gnus-srvr
gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015
mm-view mml-smime smime gnutls dig nntp gnus-cache gnus-sum shr
pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start
gnus-cloud nnimap nnmail browse-url url url-proxy url-privacy
url-expand url-methods url-history url-cookie url-domsuf url-util
url-parse url-vars mail-source utf7 nnoo gnus-spec gnus-int gnus-range
message sendmail mailcap yank-media puny gnus-dired dired-x dired
dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus nnheader
gnus-util mail-utils range mm-util mail-prsvr tramp-sh tramp-cache
time-stamp tramp trampver tramp-integration tramp-message help-mode
tramp-compat xdg shell pcomplete parse-time iso8601 time-date
auth-source cl-seq eieio eieio-core cl-macs gv password-cache json map
tramp-loaddefs vc-git files-x cursor-sensor server repeat winner
windmove mb-depth pixel-scroll format-spec
display-fill-column-indicator recentf tree-widget saveplace battery
dbus autorevert filenotify time xml appt diary-lib diary-loaddefs
diff-hl log-view log-edit add-log pcvs-util vc-dir ewoc vc
vc-dispatcher diff-mode track-changes easy-mmode holidays
holiday-loaddefs cal-menu calendar cal-loaddefs doric-oak-theme
doric-themes color pcase .user-lisp-autoloads warnings byte-opt
compile text-property-search comint subr-x mule-util ansi-osc
ansi-color ring comp-run comp-common rx cus-edit pp cus-start cus-load
icons wid-edit cl-loaddefs cl-lib loaddefs-gen generate-lisp-file
lisp-mnt radix-tree bytecomp byte-compile bash-completion-autoloads
debbugs-autoloads diff-hl-autoloads doric-themes-autoloads
elpher-autoloads shell-command+-autoloads package-activate rmc
iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win
term/common-win touch-screen pgtk-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple
cl-generic indonesian philippine cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button
loaddefs 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 dynamic-setting font-render-setting cairo gtk pgtk
lcms2 multi-tty move-toolbar make-network-process tty-child-frames
native-compile emacs)
Memory information:
((conses 16 592922 37658) (symbols 48 24004 4)
(strings 32 102336 6598) (string-bytes 1 3447958) (vectors 16 58759)
(vector-slots 8 775490 197789) (floats 8 496 1963)
(intervals 56 19650 0) (buffers 1064 36))
Amin Bandali <bandali@HIDDEN>:shipmints@HIDDEN, bug-gnu-emacs@HIDDEN.
Full text available.shipmints@HIDDEN, bug-gnu-emacs@HIDDEN:bug#81435; Package emacs.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.