GNU bug report logs - #59810
[PATCH] Fix rcirc-markup-text-functions applying to the whole message

Previous Next

Package: emacs;

Reported by: Thuna <thuna.cing <at> gmail.com>

Date: Sun, 4 Dec 2022 00:01:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Thuna <thuna.cing <at> gmail.com>
To: 59810 <at> debbugs.gnu.org
Subject: bug#59810: [PATCH] Fix rcirc-markup-text-functions applying to the whole message
Date: Sun, 04 Dec 2022 01:00:19 +0100
[Message part 1 (text/plain, inline)]
Since `rcirc-markup-text-functions' is meant to apply only to the text,
the changed code, which applied it to the entirety of the message was
bugged.  The simplest example is `\me NICK' with `rcirc-color', where
NICK is supposed to be colored but isn't because the message reads
`[... NICK]' and the `]' is recognized as a part of the nick.

The patch should fix the issue, although it is possible that some
already existing functions put to `rcirc-markup-text-functions' will
break due to them expecting the previous behavior.  I still propose the
patch is applied as the issue is a bug on those functions' end and not
rcirc.

[0001-Fix-rcirc-markup-text-functions-applying-to-the-whol.patch (text/x-patch, attachment)]

This bug report was last modified 2 years and 47 days ago.

Previous Next


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