GNU bug report logs - #46485
28.0.50; Recent change to count-lines broke gnus-cite faces

Previous Next

Package: emacs;

Reported by: Kévin Le Gouguec <kevin.legouguec <at> gmail.com>

Date: Sat, 13 Feb 2021 11:07:01 UTC

Severity: normal

Found in version 28.0.50

Done: Kévin Le Gouguec <kevin.legouguec <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 46485 in the body.
You can then email your comments to 46485 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to larsi <at> gnus.org, bug-gnu-emacs <at> gnu.org:
bug#46485; Package emacs. (Sat, 13 Feb 2021 11:07:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kévin Le Gouguec <kevin.legouguec <at> gmail.com>:
New bug report received and forwarded. Copy sent to larsi <at> gnus.org, bug-gnu-emacs <at> gnu.org. (Sat, 13 Feb 2021 11:07:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kévin Le Gouguec <kevin.legouguec <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; Recent change to count-lines broke gnus-cite faces
Date: Sat, 13 Feb 2021 12:06:11 +0100
[Message part 1 (text/plain, inline)]
Hello,

Since a few days ago, Gnus sometimes applies gnus-cite faces to
paragraphs below the actual citations.  For example, save the attached
article somewhere, then, from emacs -Q:

- M-x gnus-no-server
- G f /path/to/repro.mbox
- RET RET

There are a few things that seem to go wrong with fontification of
citations; for example, the line that starts with "That is a concern" is
erroneously fontified with gnus-cite-1.

I've tried to bisect this, and Git points out 2021-02-07 "Use
`line-number-at-pos' in `count-lines'" (7c5938ad7d).

When time permits, I'll start looking into what causes the bug, and
maybe whip up a test case; I figure someone more familiar with the code
might easily beat me to it though, so I'm reporting this before having
fully figured it out.

[repro.mbox (application/mbox, attachment)]
[Message part 3 (text/plain, inline)]

In GNU Emacs 28.0.50 (build 13, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0)
 of 2021-02-08 built on my-little-tumbleweed
Repository revision: 9a698da7dea51a59aa9ddfb71887ac6b865883dc
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12010000
System Description: openSUSE Tumbleweed

Configured using:
 'configure --with-xwidgets --with-cairo'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY
PDUMPER PNG RSVG SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM
XWIDGETS GTK3 ZLIB

Important settings:
  value of $LC_CTYPE: en_US.UTF-8
  value of $LC_TIME: en_GB.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=local
  locale-coding-system: utf-8-unix

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#46485; Package emacs. (Sat, 13 Feb 2021 11:55:02 GMT) Full text and rfc822 format available.

Message #8 received at 46485 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Kévin Le Gouguec <kevin.legouguec <at> gmail.com>
Cc: 46485 <at> debbugs.gnu.org
Subject: Re: bug#46485: 28.0.50; Recent change to count-lines broke
 gnus-cite faces
Date: Sat, 13 Feb 2021 12:53:47 +0100
Kévin Le Gouguec <kevin.legouguec <at> gmail.com> writes:

> Since a few days ago, Gnus sometimes applies gnus-cite faces to
> paragraphs below the actual citations.  For example, save the attached
> article somewhere, then, from emacs -Q:

This was fixed in 

f3fd9591cfca5450b4bc74274340f24068f96fc7

a few days ago, I believe.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Reply sent to Kévin Le Gouguec <kevin.legouguec <at> gmail.com>:
You have taken responsibility. (Sat, 13 Feb 2021 16:40:02 GMT) Full text and rfc822 format available.

Notification sent to Kévin Le Gouguec <kevin.legouguec <at> gmail.com>:
bug acknowledged by developer. (Sat, 13 Feb 2021 16:40:02 GMT) Full text and rfc822 format available.

Message #13 received at 46485-done <at> debbugs.gnu.org (full text, mbox):

From: Kévin Le Gouguec <kevin.legouguec <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 46485-done <at> debbugs.gnu.org
Subject: Re: 28.0.50; Recent change to count-lines broke gnus-cite faces
Date: Sat, 13 Feb 2021 17:39:27 +0100
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> This was fixed in 
>
> f3fd9591cfca5450b4bc74274340f24068f96fc7
>
> a few days ago, I believe.

Indeed it was 🤦

I'll close this then; apologies for the noise!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 14 Mar 2021 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 139 days ago.

Previous Next


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