X-Loop: help-debbugs@HIDDEN
Subject: bug#79831: 30.2; flymake-margin-indicator-position left-margin is a bad default
Resent-From: Peter Eisentraut <peter@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 14 Nov 2025 12:27:01 +0000
Resent-Message-ID: <handler.79831.B.176312318619317 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 79831
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 79831 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.176312318619317
(code B ref -1); Fri, 14 Nov 2025 12:27:01 +0000
Received: (at submit) by debbugs.gnu.org; 14 Nov 2025 12:26:26 +0000
Received: from localhost ([127.0.0.1]:60383 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vJssj-00051V-IP
for submit <at> debbugs.gnu.org; Fri, 14 Nov 2025 07:26:26 -0500
Received: from lists.gnu.org ([2001:470:142::17]:43994)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <peter@HIDDEN>)
id 1vJssh-00051P-1F
for submit <at> debbugs.gnu.org; Fri, 14 Nov 2025 07:26:23 -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 <peter@HIDDEN>)
id 1vJss0-000668-LD
for bug-gnu-emacs@HIDDEN; Fri, 14 Nov 2025 07:25:45 -0500
Received: from fhigh-a8-smtp.messagingengine.com ([103.168.172.159])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <peter@HIDDEN>)
id 1vJsry-0002fW-EP
for bug-gnu-emacs@HIDDEN; Fri, 14 Nov 2025 07:25:40 -0500
Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45])
by mailfhigh.phl.internal (Postfix) with ESMTP id 5986614000CE
for <bug-gnu-emacs@HIDDEN>; Fri, 14 Nov 2025 07:25:35 -0500 (EST)
Received: from phl-mailfrontend-01 ([10.202.2.162])
by phl-compute-05.internal (MEProxy); Fri, 14 Nov 2025 07:25:35 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org;
h=cc:content-transfer-encoding:content-type:content-type:date
:date:from:from:in-reply-to:message-id:mime-version:reply-to
:subject:subject:to:to; s=fm2; t=1763123135; x=1763209535; bh=kU
2pT395ywi/+VwRC8qmrO0qR5XH26ePQYAhkAVQxvs=; b=qO3x1GLJPPVTAhYNdq
qWCkwa6o6+M2Ha/ah+6Unl8HYdGnhqjL+PwSn7U3ovBzuV2Xr+wkR3UA/TWlUi6C
a61NBL0lXbhGu3rSWSsjM2RFnWJYv1wkAoKnNkydBkuEOKH1/yUlQaSOgEJVsDtM
+SYdCt6PK4I9a1OXWPe0Vr4+ypbDhK4XCSoJMDQNqhKDWcf8KkzfqcEaK2l/SHwo
NdblmkowfCLvAYIRAx8J1XZp5JkX0rLbP1e2A4p46AlS8ByCR9OQxXbaXuZReFmy
DedxUoBKfrGCHEocOGjywj8v7urBBEi45q0+qyc3WgySpYFHeFmPxKyEJ6PcbUIJ
J1RA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
messagingengine.com; h=cc:content-transfer-encoding:content-type
:content-type:date:date:feedback-id:feedback-id:from:from
:in-reply-to:message-id:mime-version:reply-to:subject:subject:to
:to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=
1763123135; x=1763209535; bh=kU2pT395ywi/+VwRC8qmrO0qR5XH26ePQYA
hkAVQxvs=; b=YM7Yq3SFW2eU9Mt737bvSGfw6PHA8nPbGUmaocx934XenArkXE3
FuQK1SNllCXj4x3ueegRCjdGhku58sqzKwy6RHN/3Wtmg/yI0t2ru4gDio6B9Mh/
hJusU6GM462agcC9IQClD6QaKfi8QpX0wotsDnIS9vk4bF61ukIbSRLPs3fVP5Sa
8yznNBnNblupPYtWq9Ycpu9ji4iTDDNydTpDZq4A5hGvCOOyDPYlBjD1miFH6r8C
i/yhK6yw0veje96vx0nZnqs0+ibvYIrtuh7bol/X3iijSh6mOOVEjqfK6+/a/Lp8
yulOygybOVgd957azX9EHYHkZjPW7kRjJbA==
X-ME-Sender: <xms:vx8XaaRC5CgM2zq8CnQf8WBfmT-BKQ5SGaeYKbUccezHBA5perv4oA>
<xme:vx8XaVpJ3ZYvszMDRprsDSpthblehQEf1flZUfMq6AhKMDc21PUgxfF3vrZYcWq-b
gmFnCFlx7hCqnTT9NKRpvNyYQnP0radw6w8WLVpPGGealS7NjCd>
X-ME-Received: <xmr:vx8XaS7kx789OtbRemhjk26DjYEFBb75gDySRpuc1kFczVCY_f9Q5vwJ2DI1B56o3r9FCjfCTKtzUfiJrB8iCumoheP78Q>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvtdelkeduucetufdoteggodetrf
dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu
rghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfhuffvtgfgsehtjeertddtvd
ejnecuhfhrohhmpefrvghtvghrucfgihhsvghnthhrrghuthcuoehpvghtvghrsegvihhs
vghnthhrrghuthdrohhrgheqnecuggftrfgrthhtvghrnhepffetvedutdefleejveekge
efteffueeugefgfeegkedvudelveelheduffdvveehnecuvehluhhsthgvrhfuihiivgep
tdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvrhesvghishgvnhhtrhgruhhtrd
horhhgpdhnsggprhgtphhtthhopedupdhmohguvgepshhmthhpohhuthdprhgtphhtthho
pegsuhhgqdhgnhhuqdgvmhgrtghssehgnhhurdhorhhg
X-ME-Proxy: <xmx:vx8XaS2QJSRHDfR6Q0OzIYjK94hhgfFOycFSlLc0J7GaFU7qxcWuzQ>
<xmx:vx8XaXE8JY8wJ6PnIPZX0e8IN-GVxu63UF0AdmFofmh1k59B6OR44g>
<xmx:vx8XaUTDyYWz3F-uyyEncr8oOxzFO-RqmmdRcgJhO456y82jI5wUwQ>
<xmx:vx8XaWAxLNhL4Vz1aIdFM-qCX5Rwa0agJnvhQttBu7-Fkd4JbKxmVg>
<xmx:vx8XaThUNqzBn5spXzLEahjqc1W0dltQmf4nJAJo1O3Pq03iMK_a_nwp>
Feedback-ID: ie0a040ee:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA for
<bug-gnu-emacs@HIDDEN>; Fri, 14 Nov 2025 07:25:34 -0500 (EST)
Message-ID: <90dba62d-e59e-4c40-a490-1945b8a51062@HIDDEN>
Date: Fri, 14 Nov 2025 13:25:32 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
From: Peter Eisentraut <peter@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=103.168.172.159;
envelope-from=peter@HIDDEN; helo=fhigh-a8-smtp.messagingengine.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 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_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=0.001,
RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, 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.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 (/)
Emacs 30 introduced the variable flymake-margin-indicator-position with
a default of left-margin. I think this is a bad default and suggest
changing it.
I use Emacs mainly through emacsclient from the terminal in a variety of
modes, and I use eglot, which has been a great addition recently.
The effect of this new default is that now, depending on the mode and
whether it supports eglot and/or flymake, the left margin jumps around.
This is distracting.
Moreover, I often copy and paste from and to the terminal, and the extra
left margin prevents doing that cleanly.
Also, in c-mode with eglot and clangd, the default clangd configuration
sometimes is a bit aggressive about generating warnings (often from
clang-tidy, which not all code is prepared for), so then you get a bunch
of exclamation points showing by default.
It also took me quite a bit of detective work to figure out where this
is coming from, and I suspect many users will struggle finding how to
configure this.
I think by default there shouldn't be any non-content characters or
spacing appearing on the same line as content when Emacs is called from
the terminal. It might be fine if it's called as a standalone GUI
program, since there the decoration and the content is more clearly
separable.
(Also, I now get squiggly underlines for flymake warnings/errors, which
is nice, but it makes the extra margin indicators less important.)
If people really like these margin indicators, at least move them to the
right margin by default, so they are clearly separate from the content
and don't make the left margin bounce around. Or it might be better to
turn them off by default.
In GNU Emacs 30.2 (build 1, aarch64-apple-darwin24.4.0) of 2025-08-15
built on Sequoia-arm64.local
System Description: macOS 15.7.2
Configured using:
'configure --disable-acl --disable-silent-rules
--enable-locallisppath=/opt/homebrew/share/emacs/site-lisp
--infodir=/opt/homebrew/Cellar/emacs/30.2/share/info/emacs
--prefix=/opt/homebrew/Cellar/emacs/30.2 --with-gnutls --without-x
--with-xml2 --without-dbus --with-modules --without-ns
--without-imagemagick --without-selinux --with-tree-sitter'
Configured features:
GMP GNUTLS LIBXML2 MODULES NOTIFY KQUEUE PDUMPER SQLITE3 THREADS
TREE_SITTER ZLIB
Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
Major mode: C/*l
Minor modes in effect:
eglot-inlay-hints-mode: t
eglot--managed-mode: t
flymake-mode: t
mouse-wheel-mode: t
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
show-paren-mode: t
electric-indent-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
minibuffer-regexp-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
abbrev-mode: t
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny dired
dnd dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config
gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils time-date cl-extra eglot external-completion
jsonrpc xref flymake mwheel thingatpt project compat diff diff-mode
track-changes easy-mmode ert pp ewoc debug backtrace help-mode find-func
filenotify warnings compile text-property-search comint ansi-osc
ansi-color ring tool-bar pcase url-util url-parse auth-source cl-seq
eieio eieio-core cl-macs icons password-cache json subr-x map url-vars
imenu cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align
cc-engine cc-vars cc-defs regexp-opt cl-loaddefs cl-lib term/xterm xterm
byte-opt gv bytecomp byte-compile rmc iso-transl tooltip cconv eldoc
paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode
tabulated-list replace newcomment text-mode lisp-mode prog-mode register
page tab-bar menu-bar rfn-eshadow isearch easymenu timer select 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 kqueue multi-tty make-network-process emacs)
Memory information:
((conses 16 118375 11556) (symbols 48 12220 0) (strings 32 33041 1741)
(string-bytes 1 1016467) (vectors 16 19194)
(vector-slots 8 165690 7876) (floats 8 50 10) (intervals 56 331 20)
(buffers 992 16))
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: Peter Eisentraut <peter@HIDDEN> Subject: bug#79831: Acknowledgement (30.2; flymake-margin-indicator-position left-margin is a bad default) Message-ID: <handler.79831.B.176312318619317.ack <at> debbugs.gnu.org> References: <90dba62d-e59e-4c40-a490-1945b8a51062@HIDDEN> X-Gnu-PR-Message: ack 79831 X-Gnu-PR-Package: emacs Reply-To: 79831 <at> debbugs.gnu.org Date: Fri, 14 Nov 2025 12:27: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 79831 <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 79831: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D79831 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.