GNU bug report logs - #76064
31.0.50; Display issue with flymake-show-diagnostics-at-end-of-line

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Ergus <spacibba@HIDDEN>; dated Tue, 4 Feb 2025 23:26:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 76064) by debbugs.gnu.org; 5 Feb 2025 15:45:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 05 10:45:22 2025
Received: from localhost ([127.0.0.1]:51951 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tfhac-0007Fo-8T
	for submit <at> debbugs.gnu.org; Wed, 05 Feb 2025 10:45:22 -0500
Received: from sonic303-2.consmr.mail.bf2.yahoo.com ([74.6.131.41]:33433)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <spacibba@HIDDEN>) id 1tfhaZ-0007FV-KK
 for 76064 <at> debbugs.gnu.org; Wed, 05 Feb 2025 10:45:20 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048;
 t=1738770313; bh=GgNhDpOWvu7lUITCwJvf8tuRs8W5OFeZnf81xlZzWhE=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To;
 b=cwwSfvisWTSsvWmFInRV7MdhOGO9fkuQwMyw5GEFC3r+M4l4dX8dzCQW/FV5bdMR/SxtiowXNV8WeDk8B6kdVj7BnqkO7ZjZc2L/RCvsVX4lmfY6FpGG18lmYdCZ60/w05/MWJR8UOsCY54gfZdc6ZDsNZPbu4g7EVPllnCT5GXY/QK3+dJuE1VZgn25yY+KVSOIMFOIZAmd/rm2X8JQZNb8FuJa2O5Hfo6WbQbL0UUwqST2M7DdJ6GsP+kBHglZ78tZE/AeTsZDBayuSlGNlN3ueRumDSopvUWHe+rKtiHkQydFbyV5hTqPf4AGD4MN6WGAp9wcQ8BnRhRH26TZUg==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1738770313; bh=mL3AEsMEBo7XoiBAa5FYHV9MfoHZIAhtbCHlQyca2OH=;
 h=X-Sonic-MF:Date:From:To:Subject:From:Subject;
 b=fR9OEKKJ6L0Hr49T99Bb1N5qGc0n0cVICJOfhGdncsM6U+6/ZClnBhlKqhPyJn92XcF58KMWBCTN9FVIgK5o3oRg3DNcwyY/0zVZXJM+Yv7/kRaozdULElCztqBJKiGLyofhesIPwwEHsoL/QdPliZx4PoKZIypkocITS/KPeoDI3i77co9epVGbdCz8TuNs7KoDXKCNgSbcXfVM5l9lAuwgIYcoUF3guPOXXF/dhebRFci+zaWRkPx3r1TxzIxPrXum1q/yZJIlNEyRzPaMhkFKoKPjGAmEtEGNCW9iLw/KxdNXw1n28YaeIPY7jLp7khpFAjkzais/nTukldqtgA==
X-YMail-OSG: rGWtslQVM1n71OmlM9XUr4_iqHCrGk6mlI.IdI.j.4UdH0xg8k_72Aeo8FwZ4m5
 scZjmvbMeUH09p7sz0YPsAYz.NYdaK_LD2o2_fK8cfrtftsJIztQeDaxB0MiWK_m.oytEwRrByx.
 8FNXKSVQEwjey9Le3FfyqFXjWjdIjvVErqcwDsmXgAngP2qAID2k8dFvROjvbB0YrYCKePgrYNB3
 ouc1jX6R1FxES3aNvPDIvU8l1IefDhSJFkSPQAOynLr6PYAj2GS_OTCMAfqGdusw9crnO9yQCd8q
 s9Yw6wSwXdpE6H0BwshhlM2w06iLTDcjfOkKICCTdicLPb8HxvBViZYih91D05eFXkz4tCbREBNv
 eJZ8Wn4DnbUG3W4iFvNzJ_eDQp42Q3lv_cqysu7eSOFA6cGAI9SMNQJNuncS3nbVfYYdX0cFLRnw
 idHBnlKML4mUgFOvJw1yRIZU_Mgc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9uUx8_Q.zIHZHhZfeyBwZKGBs6sAYNXOnoCaIJRVzFkIcf0xE0GWtCaF1Te5vA.mW0493
 o4Jb4TK.Shf_c1NWXm1ULAFiMQ8TmC6mheuSwiAVyvfnH0MZhBOayDiguBlCunr6SlFqmiddzqt5
 IwyKubTqA7Lir4v6CnkkoxsisQhRc4SlqwigSQcIMvaFcPX7Cj3jWr2eZVf5Q3KUj.YpQA2yV85J
 kbbVZUTplpZsOjUSAheWKNgAasV1K3cnzgbfF47GPP_yxbw3_XruV.Q4vfZbd0VTIMrez4CYy3v4
 ihu4VZ595vAydEcpy5NJ5QnF9LRXAqya5xF83FpJWErHVj4A3d3i8N0rWVxTHjStPTL1H89Gozri
 Nt8dTSPK2SqEi8zZRunkdZl3FRMiML6RlOkv5hxmW1BICDZg9JYz5ULV_4aZgw2iIuPbgbPH9ewB
 8OsfuBoFPm4Xl9ZanuvHMwdaJ7EdvaYQ9s7Dex7LUOBB7uIsKkwH7627DJTkwJBQlCvqtGtLHpTW
 R5ip4Bjp43QmzkrV3IxOzt0GpwsdVwnmCk78UfefbFX6MozgX4ASU3ietlAWt0D.Xjosnau5HSJA
 vC79m7xDUwKM8DFombobfSGcjnzjxk0TRFCHaWcJAsz1VQTj10N3XKUAQKKzXsGju7VPhYQs4DTo
 E1TfvcLdd3t5heNOFwZulnjgJWXX_WElgEGdiECnUNgYELrC0Pcm7iEaXaOsI2EwjFpXgFbzNsA_
 gUA--
X-Sonic-MF: <spacibba@HIDDEN>
X-Sonic-ID: fa334038-d51d-42fe-ac8d-d876ac978e6e
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic303.consmr.mail.bf2.yahoo.com with HTTP; Wed, 5 Feb 2025 15:45:13 +0000
Received: by hermes--production-ir2-c694d79d9-qjs6q (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID a549a39f750c85bac05ea1f1fc7d817b; 
 Wed, 05 Feb 2025 15:45:08 +0000 (UTC)
Date: Wed, 5 Feb 2025 16:45:07 +0100
From: Ergus <spacibba@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#76064: 31.0.50; Display issue with
 flymake-show-diagnostics-at-end-of-line
Message-ID: <2taknuragpovq2uixzyrpacww26itozivptjpyvnuex4olan2b@xp3mttidrwh2>
References: <87ikpp5m4v.fsf.ref@HIDDEN> <87ikpp5m4v.fsf@HIDDEN>
 <86o6zg8px6.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
In-Reply-To: <86o6zg8px6.fsf@HIDDEN>
X-Mailer: WebService/1.1.23187
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol
Content-Length: 2694
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76064
Cc: sbaugh@HIDDEN, 76064 <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.0 (-)

Hi Eli:

Looking at your suggestions I have my opinion I will share just in case
you care:

. don't change anything and live with the minor irregularity in the
    cursor positioning in what I consider to be rare cases
    - variation: turn on truncate-lines in such cases

Given that flymake has the new feature this is not an option. The issue
is pretty annoying and not infrequent at all. I think that this feature
was added because vscode and other editors around already have it, so I
expect it to become popular.

  . don't put the 'cursor' property on the diagnostic, in which case
    C-n will place the cursor after the end of the diagnostic on the
    screen line where the diagnostic ends

Maybe we need an extra property like at-end or something similar, to
indicate that the overlay does not belong to the line at all for
navigation purposes.

  . put the 'cursor' property at the last character of the diagnostic
    string, and have it displayed there

  . calculate the character on which to put the 'cursor' property
    dynamically using some convoluted logic

I don't understand how these two may fix the issue. At least not the 3
symptoms I described in the bug report.

  . implement display of diagnostics in a tooltip instead

IIUC this may be very slow right? How many tooltips will be needed?

I think that we are just missing some property in the overlay that
basically means "this text doesn't exist at all".

Is it really that hard?







On Wed, Feb 05, 2025 at 03:46:45PM +0200, Eli Zaretskii wrote:
>> Date: Wed, 05 Feb 2025 00:24:32 +0100
>> From:  Ergus via "Bug reports for GNU Emacs,
>>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
>>
>> I have been using flymake-show-diagnostics-at-end-of-line for a while
>> and I have noticed that the inlined diagnostics behaves wrongly.
>>
>> 1. If I am in a line with a diagnostic at the end, and I do C-e, the
>> cursor goes to the end of the diagnostic instead to the end of the line.
>>
>> 2. If after that I do C-a nothing happens, the cursor "stock" there
>> until I leave the line. Left or right arrow don't work either.
>>
>> 3. If we are in the last line and it has a diagnostic, it is impossible
>> to write at the end of the line because the cursor jumps constantly to
>> the end of the diagnostic when typing.
>
>This is bug#73863.  I explained why this happens in that bug, see
>
>  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73863#35
>
>I proposed several potential solutions for that here:
>
>  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73863#62
>
>(and a couple of other ideas elsewhere in that discussion).  But
>AFAIU, none of the suggestions were acceptable, so here we are.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76064; Package emacs. Full text available.

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


Received: (at 76064) by debbugs.gnu.org; 5 Feb 2025 13:47:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 05 08:47:01 2025
Received: from localhost ([127.0.0.1]:49117 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tffk4-0003Bd-Tf
	for submit <at> debbugs.gnu.org; Wed, 05 Feb 2025 08:47:01 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:38676)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tffk2-0003BN-64
 for 76064 <at> debbugs.gnu.org; Wed, 05 Feb 2025 08:46:59 -0500
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 1tffjv-0005Dl-TU; Wed, 05 Feb 2025 08:46:51 -0500
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=KP8Ju7+gStkkhYeSptp76ip/MIqVMdKQk4OTiA/gNPM=; b=KU16r+suLukF
 PLQMFHntnU9YPXOLE30nixWXgXqWleabx9OOTbP0GShPkfEpWOsO9DaXzkuqCIWB0Q7mM1Q5/6+0A
 5dA60gGhqOWRZ/8oTQ/b9BWLrbNQPxMQc4CtHD5TlavWHgaptaT/jVFdYCf3ibGchyxywX4YnDnsZ
 MuX9E5lgPAkTihcZgKeZ4EW/EjCfqDkwFU3znRfsghjGH7xzEMMSWpNUktGC4micz4KvCDi1yvjxJ
 3kqcmJ5pxR3JhPGuQnyDxr6NVP09hXpxnOGhW/IZTQk9HQevQPwE32mFc52gpZ00MaWOolaZ4hOOD
 mCITBSsbUunbBJUhkl1KsA==;
Date: Wed, 05 Feb 2025 15:46:45 +0200
Message-Id: <86o6zg8px6.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Ergus <spacibba@HIDDEN>, sbaugh@HIDDEN
In-Reply-To: <87ikpp5m4v.fsf@HIDDEN> (bug-gnu-emacs@HIDDEN)
Subject: Re: bug#76064: 31.0.50;
 Display issue with flymake-show-diagnostics-at-end-of-line
References: <87ikpp5m4v.fsf.ref@HIDDEN> <87ikpp5m4v.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 76064
Cc: 76064 <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, 05 Feb 2025 00:24:32 +0100
> From:  Ergus via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
> 
> I have been using flymake-show-diagnostics-at-end-of-line for a while
> and I have noticed that the inlined diagnostics behaves wrongly.
> 
> 1. If I am in a line with a diagnostic at the end, and I do C-e, the
> cursor goes to the end of the diagnostic instead to the end of the line.
> 
> 2. If after that I do C-a nothing happens, the cursor "stock" there
> until I leave the line. Left or right arrow don't work either.
> 
> 3. If we are in the last line and it has a diagnostic, it is impossible
> to write at the end of the line because the cursor jumps constantly to
> the end of the diagnostic when typing.

This is bug#73863.  I explained why this happens in that bug, see

  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73863#35

I proposed several potential solutions for that here:

  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73863#62

(and a couple of other ideas elsewhere in that discussion).  But
AFAIU, none of the suggestions were acceptable, so here we are.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76064; Package emacs. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 4 Feb 2025 23:25:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 04 18:25:20 2025
Received: from localhost ([127.0.0.1]:47223 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tfSIC-000107-24
	for submit <at> debbugs.gnu.org; Tue, 04 Feb 2025 18:25:20 -0500
Received: from lists.gnu.org ([2001:470:142::17]:36688)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <spacibba@HIDDEN>) id 1tfSI9-0000zq-Hk
 for submit <at> debbugs.gnu.org; Tue, 04 Feb 2025 18:25:18 -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 1tfSHt-0006Pu-RQ
 for bug-gnu-emacs@HIDDEN; Tue, 04 Feb 2025 18:25:02 -0500
Received: from sonic312-21.consmr.mail.bf2.yahoo.com ([74.6.128.83])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <spacibba@HIDDEN>) id 1tfSHr-0003gU-GB
 for bug-gnu-emacs@HIDDEN; Tue, 04 Feb 2025 18:25:01 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048;
 t=1738711493; bh=qiQYscRAX5aNdYziGWXzTPW1+8j3jeXftoG1quMTLaM=;
 h=From:To:Cc:Subject:Date:References:From:Subject:Reply-To;
 b=IEFKRoQQTSYdqzy5Etn4+wOJWt+4eH7JxT7MiNmRpoSmc0K/Ot5W2ucX/RGpuwaLP4cwFh1xXxKQKkRVGLv7K4oMKcyVxTcLxbwC/2ZtO797TwJOoAKBEAXTSzhdUY0rt5fhlzvzyXiBUoBfEntJTbHHKbhmCLDMHa15LKqG/ZRqIenm6iW10CiA5qaOW+WonytWGxXzKr64dG1W6QviIyOvRVjLmCpcNO0MJaMA5//diTyb1qc04w5xTrDmnf6supyPOkOBTAKbPOqqAeb2kYIMv+Xyt9L3hdJZeRR85LcvXwkN48ZuTQ9CISbcu2UkARKRTVUJ3jWCBzBfa8lsmA==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1738711493; bh=avxbd9F25SPg0rhWydzLuZGgknEudo93CKlFHLMr/6F=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=iFW2+U6ZrqGkhfune6dxKb5SY58l7vjo8kQh+7UEwtMq/MxIx94K5gPYXKsu/cT9i0ZEXzNtOC3+CBY8BF10g/XWWKTTCMqq6neZ7/DSpdk/GLIMI614Abaq0xRih4HeVlkCD1bRQrLXNk5AxXXs6OYfrWKZE+/bjN5irh/AGPdv0bisBa9+lfhvcedG2628015tcG32VsLQnRq7PMwfoSr7pofyZXPdoSlbnPsBGvu7OcLjRu+/XwLFwVmiob+wYXwPBUVDvsTXmE2Eio4CoIlw+9AWVqeyS7yBVNvqnabkX+iVXXh4lXz8+77DFlMk3xg3r5aQPaT5rUmEGntO5A==
X-YMail-OSG: F4_XY1YVM1n9dSr2ScYuM9ycihFTItt4OQJkttYuTaZ0JNJ6Xe63uUfNgqCiMvO
 FF8VvYrOk3qjdQm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B81rCnSN3
 4Wua_urVs1uySf8BTnS6gTMJ97SuEiveLAwl2QCK15bf95yNQCaGOfucBhyKoqspvUEXlPNjDH1h
 l72hpLqnf7dlRT9c-
X-Sonic-MF: <spacibba@HIDDEN>
X-Sonic-ID: 3956892c-d96c-4f25-a467-7a365f70905c
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic312.consmr.mail.bf2.yahoo.com with HTTP; Tue, 4 Feb 2025 23:24:53 +0000
Received: by hermes--production-ir2-c694d79d9-zzg9t (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 4e46344fceb80a5b17a69e901c3c17a1; 
 Tue, 04 Feb 2025 23:24:48 +0000 (UTC)
From: Ergus <spacibba@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 31.0.50; Display issue with flymake-show-diagnostics-at-end-of-line
X-Debbugs-Cc: 
Date: Wed, 05 Feb 2025 00:24:32 +0100
Message-ID: <87ikpp5m4v.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
References: <87ikpp5m4v.fsf.ref@HIDDEN>
X-Mailer: WebService/1.1.23187
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol
Content-Length: 8315
Received-SPF: pass client-ip=74.6.128.83; envelope-from=spacibba@HIDDEN;
 helo=sonic312-21.consmr.mail.bf2.yahoo.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=0.001,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.7 (/)
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.3 (/)


Hi:

I have been using flymake-show-diagnostics-at-end-of-line for a while
and I have noticed that the inlined diagnostics behaves wrongly.

1. If I am in a line with a diagnostic at the end, and I do C-e, the
cursor goes to the end of the diagnostic instead to the end of the line.

2. If after that I do C-a nothing happens, the cursor "stock" there
until I leave the line. Left or right arrow don't work either.

3. If we are in the last line and it has a diagnostic, it is impossible
to write at the end of the line because the cursor jumps constantly to
the end of the diagnostic when typing.



In GNU Emacs 31.0.50 (build 10, x86_64-pc-linux-gnu, GTK+ Version
 3.24.48, cairo version 1.18.2) of 2025-02-04 built on RTX
Repository revision: b4eb59a6a931a2d2751e155ec1a5082cab5e8509
Repository branch: project
System Description: Arch Linux

Configured using:
 'configure --prefix=/home/ergo/.local/ --with-mailutils --with-pgtk
 --with-modules --with-cairo --with-harfbuzz
 --with-native-compilation=aot
 '--program-transform-name=s/^ctags$/ctags.emacs/''

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
LCMS2 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 $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  global-auto-revert-mode: t
  recentf-mode: t
  electric-pair-mode: t
  whitespace-mode: t
  flyspell-mode: t
  completion-preview-mode: t
  diff-hl-margin-mode: t
  global-corfu-mode: t
  corfu-mode: t
  project-multi-mode: t
  gtags-mode: t
  repeat-mode: t
  xterm-mouse-mode: t
  xclip-mode: t
  override-global-mode: t
  winner-mode: t
  save-place-mode: t
  delete-selection-mode: t
  savehist-mode: t
  global-display-fill-column-indicator-mode: t
  display-fill-column-indicator-mode: t
  global-display-line-numbers-mode: t
  display-line-numbers-mode: t
  which-key-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  context-menu-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-regexp-mode: t
  size-indication-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:
/mnt/casa/gits/emacs_clones/gtags-mode/gtags-mode hides /home/ergo/.config/emacs/elpa/gtags-mode-1.8.2/gtags-mode
/home/ergo/.config/emacs/elpa/transient-20250201.1314/transient hides /home/ergo/.local/share/emacs/31.0.50/lisp/transient

Features:
(shadow sort mail-extr autorevert filenotify recentf tree-widget
wid-edit ffap thingatpt emacsbug elec-pair whitespace flyspell-correct
flyspell ispell completion-preview diff-hl-margin diff-hl-dired diff-hl
log-view log-edit message sendmail yank-media puny citre-lang-fileref
citre-tags citre-ctags citre-readtags citre-readtags-tables
citre-backend-interface citre-common-tag rx citre-common-util dired-x
dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068
epg-config gnus-util text-property-search time-date mm-decode mm-bodies
mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums
mail-prsvr mailabbrev mail-utils gmm-utils mailheader add-log pcvs-util
vc-dir ewoc vc vc-dispatcher diff-mode track-changes corfu
project-multi-mode gtags-mode files-x xref project term/tmux term/xterm
xterm init repeat markdown-ts-mode treesit cape compat
use-package-ensure package browse-url xdg 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 eieio
eieio-core cl-macs icons password-cache json subr-x map url-vars
use-package-diminish xt-mouse xclip edmacro kmacro byte-opt
use-package-bind-key bind-key cl-extra help-mode simple-16-theme winner
ring saveplace delsel savehist easy-mmode display-fill-column-indicator
display-line-numbers diminish which-key cl-seq use-package-core
cl-loaddefs cl-lib bytecomp byte-compile gv disp-table info
0blayout-autoloads ac-emoji-autoloads ac-haskell-process-autoloads
ac-html-autoloads arduino-cli-mode-autoloads auctex-autoloads tex-site
auto-complete-autoloads avy-zap-autoloads avy-autoloads
benchmark-init-autoloads better-shell-autoloads caml-autoloads
cape-autoloads citre-autoloads clang-format-autoloads
cobol-mode-autoloads compile-multi-autoloads compiler-explorer-autoloads
corfu-autoloads crdt-autoloads csv-mode-autoloads d-mode-autoloads
deadgrep-autoloads debbugs-autoloads diff-hl-autoloads
diminish-autoloads dired-sidebar-autoloads dired-subtree-autoloads
dired-hacks-utils-autoloads dumb-jump-autoloads e2ansi-autoloads
eglot-booster-autoloads emamux-autoloads esup-autoloads
evil-collection-autoloads annalist-autoloads evil-leader-autoloads
evil-autoloads face-explorer-autoloads fancy-compilation-autoloads
flx-autoloads flycheck-julia-autoloads flycheck-rust-autoloads
flycheck-autoloads flymake-nasm-autoloads flymake-quickdef-autoloads
flyspell-correct-autoloads git-commit-ts-mode-autoloads
git-modes-autoloads git-timemachine-autoloads gnuplot-autoloads
google-c-style-autoloads goto-chg-autoloads groovy-mode-autoloads
gtags-mode-autoloads haskell-mode-autoloads
highlight-indent-guides-autoloads i3wm-config-mode-autoloads
ibuffer-sidebar-autoloads iedit-autoloads imenu-list-autoloads
julia-ts-mode-autoloads julia-mode-autoloads languagetool-autoloads
lice-autoloads lorem-ipsum-autoloads lua-mode-autoloads magit-autoloads
magit-section-autoloads llama-autoloads markdown-mode-autoloads
markdown-ts-mode-autoloads modern-cpp-font-lock-autoloads
move-dup-autoloads multiple-cursors-autoloads mutt-mode-autoloads
nasm-mode-autoloads neotree-autoloads nftables-mode-autoloads
nginx-mode-autoloads notmuch-autoloads objed-autoloads
opencl-mode-autoloads paradox-autoloads phi-search-autoloads
pkg-info-autoloads epl-autoloads pkgbuild-mode-autoloads
platformio-mode-autoloads async-autoloads plz-autoloads popon-autoloads
popup-autoloads projectile-autoloads projection-autoloads
protobuf-mode-autoloads protobuf-ts-mode-autoloads
ptemplate-templates-autoloads ptemplate-autoloads
py-vterm-interaction-autoloads scopeline-autoloads
shell-command+-autoloads slime-autoloads macrostep-autoloads
sphinx-mode-autoloads f-autoloads dash-autoloads s-autoloads
spinner-autoloads ssh-config-mode-autoloads string-inflection-autoloads
sudo-edit-autoloads systemd-autoloads tmux-mode-autoloads
transient-autoloads tsc-autoloads urgrep-autoloads vdiff-autoloads
hydra-autoloads lv-autoloads vterm-toggle-autoloads vterm-autoloads
vundo-autoloads which-key-posframe-autoloads posframe-autoloads
with-editor-autoloads xclip-autoloads yasnippet-snippets-autoloads
yasnippet-autoloads early-init 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 system-font-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 192993 61392) (symbols 48 15750 2)
 (strings 32 55861 16121) (string-bytes 1 1888131) (vectors 16 20259)
 (vector-slots 8 236738 29574) (floats 8 108 60) (intervals 56 1234 0)
 (buffers 992 11))




Acknowledgement sent to Ergus <spacibba@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#76064; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 5 Feb 2025 16:00:02 UTC

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