unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Kévin Le Gouguec" <kevin.legouguec@gmail.com>
To: 46485@debbugs.gnu.org
Cc: Lars Ingebrigtsen <larsi@gnus.org>
Subject: bug#46485: 28.0.50; Recent change to count-lines broke gnus-cite faces
Date: Sat, 13 Feb 2021 12:06:11 +0100	[thread overview]
Message-ID: <87k0rcdy70.fsf@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 773 bytes --]

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.


[-- Attachment #2: repro.mbox --]
[-- Type: application/mbox, Size: 6294 bytes --]

[-- Attachment #3: Type: text/plain, Size: 850 bytes --]



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

             reply	other threads:[~2021-02-13 11:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-13 11:06 Kévin Le Gouguec [this message]
2021-02-13 11:53 ` bug#46485: 28.0.50; Recent change to count-lines broke gnus-cite faces Lars Ingebrigtsen
2021-02-13 16:39   ` Kévin Le Gouguec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k0rcdy70.fsf@gmail.com \
    --to=kevin.legouguec@gmail.com \
    --cc=46485@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).