Gnus development mailing list
 help / color / mirror / Atom feed
From: Didier Verna <didier@didierverna.net>
To: Gnus Beta Testers <ding@gnus.org>
Subject: Problem with %a in topic line formats
Date: Wed, 20 Apr 2022 16:30:19 +0200	[thread overview]
Message-ID: <m2ilr3ddz8.fsf@didierverna.net> (raw)


  Hello,

I've recently upgraded a Homebrew emacs-mac distribution and got a new
error launching Gnus, which I tracked down to my topic line format using
the %a specifier.

Gnus complains at launch that "entries" is a void variable, and the
culprit I think is here:

(defconst gnus-topic-line-format-alist
  '((?n name ?s)
    (?v visible ?s)
    (?i indentation ?s)
    (?g number-of-groups ?d)
    (?a (gnus-topic-articles-in-topic entries) ?d)
    (?A total-number-of-articles ?d)
    (?l level ?d)))

When I compare this with another installation that still works on
another Mac, I can see that Emacs goes from 27.1 to 28.1, but Gnus stays
at version 5.13. However, there /is/ a difference, namely, the fact that
in the more recent installation, the gnus-topic library has a
lexical-binding on (in the file's header).

I suspect this is the problem. Is this known? I don't know where this
comes from, but it's unfortunate that there are differences between two
gnus installs that advertise the saem version...

Thanks!

-- 
Resistance is futile. You will be jazzimilated.

Lisp, Jazz, Aïkido: http://www.didierverna.info


             reply	other threads:[~2022-04-20 14:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-20 14:30 Didier Verna [this message]
2022-04-20 15:05 ` Andreas Schwab
2022-04-21  7:11   ` Didier Verna

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

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

  git send-email \
    --in-reply-to=m2ilr3ddz8.fsf@didierverna.net \
    --to=didier@didierverna.net \
    --cc=ding@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.
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 NNTP newsgroup(s).