GNU bug report logs - #67767
30.0.50; ERC 5.6: Add track integration to the nicks module

Previous Next

Package: emacs;

Reported by: "J.P." <jp <at> neverwas.me>

Date: Mon, 11 Dec 2023 15:29:02 UTC

Severity: normal

Tags: patch

Found in version 30.0.50

Done: "J.P." <jp <at> neverwas.me>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "J.P." <jp <at> neverwas.me>
To: 67767 <at> debbugs.gnu.org
Cc: emacs-erc <at> gnu.org
Subject: bug#67767: 30.0.50; ERC 5.6: Add track integration to the nicks module
Date: Fri, 04 Oct 2024 18:40:25 -0700
"J.P." <jp <at> neverwas.me> writes:

> +(defun erc-nicks--track-always (current contender contenders ranks normals)
> +  "Return a viable `nicks' face, possibly CURRENT, among CONTENDERS.
> +See `erc-track--select-mode-line-face' for parameter types."
> +  (when-let
> +      ((spkr (erc-nicks--assess-track-faces current contender ranks normals)))
> +    (catch 'contender
> +      (dolist (candidate (cdr (reverse contenders)))
                             ~~~~~~~~~~~~~~~~~~~~~~~

That should be

         (dolist (candidate (reverse (cdr contenders)))

Also, `spkr' is unused.

> +        (when (erc-nicks--ours-p candidate)
> +          (cl-assert (gethash candidate normals))
>            (throw 'contender candidate))))))
>  
>  (defun erc-nicks--setup-track-integration ()




This bug report was last modified 217 days ago.

Previous Next


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