all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Basil L. Contovounesios" <contovob@tcd.ie>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Gnus using lexical-binding
Date: Sat, 30 Jan 2021 15:07:16 +0000	[thread overview]
Message-ID: <87sg6iea57.fsf@tcd.ie> (raw)
In-Reply-To: <jwvft2js5ok.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Fri, 29 Jan 2021 18:11:35 -0500")

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

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> I'm working on converting all the lisp/gnus files to use
> lexical-binding.  I have a first version of the code ready and pushed to
> `scratch/lexical-gnus`.  It works for me, but please test it because my
> use of Gnus only exercises a small fraction of its functionality
> and packages.

Thanks.

> And please, after testing it, tell me how it went, regardless if you
> encountered problems or not.

Bootstrapping emits the following warnings:

  In mail-add-attachment:
  mail/sendmail.el:1809:25: Warning: ‘mm-default-file-encoding’ is an obsolete
      function (as of future); use ‘mm-default-file-type’ instead.

  In mh-minibuffer-read-type:
  mh-e/mh-mime.el:1728:24: Warning: ‘mm-default-file-encoding’ is an obsolete
      function (as of future); use ‘mm-default-file-type’ instead.

and starting Gnus only gets me as far as the splash screen; see the
attached backtrace, which I'm guessing is related to the following
setting:

  (setq-default
   gnus-group-line-format
   (concat "%M"           ; Marked articles
           "%S"           ; Subscription
           "%p"           ; Marked for processing
           "%m"           ; New mail
           "%B"           ; Open summary buffer
           "%P"           ; Topic indentation
           "%5y? %3T!"    ; Unread and ticked articles
           " : "          ; Colon
           "%(%-40,40c%)" ; Collapsed group name
           "%9u&dgroup;"  ; Last read
           "\n"))

(The last %-sequence is just a custom timestamp format.)

Let me know if you want me to test anything else out.

-- 
Basil


[-- Attachment #2: backtrace.el --]
[-- Type: application/emacs-lisp, Size: 2154 bytes --]

  parent reply	other threads:[~2021-01-30 15:07 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-29 23:11 Gnus using lexical-binding Stefan Monnier
2021-01-30  6:34 ` Lars Ingebrigtsen
2021-01-30  8:35 ` Eli Zaretskii
2021-01-30 13:43   ` Stefan Kangas
2021-01-30 13:52     ` Eli Zaretskii
2021-01-30 14:08       ` Eli Zaretskii
2021-01-30 15:24     ` Stefan Monnier
2021-01-30 15:07 ` Basil L. Contovounesios [this message]
2021-01-30 17:40   ` Stefan Monnier
2021-02-08 19:10     ` Ted Zlatanov
2021-02-09  0:10       ` Stefan Monnier
2021-02-10 10:24         ` Ted Zlatanov
2021-02-10 13:53           ` Stefan Monnier
2021-02-10 19:05           ` Lars Ingebrigtsen
2021-01-30 16:10 ` Andy Moreton
2021-01-30 17:35   ` Stefan Monnier
2021-01-30 18:00     ` Andy Moreton
2021-01-30 18:53       ` Stefan Monnier
2021-01-30 23:23         ` Andy Moreton
2021-01-31  0:06           ` Stefan Monnier
2021-01-31  0:46             ` Andy Moreton
2021-01-31 13:34             ` Basil L. Contovounesios
2021-02-02 18:17             ` Eric Abrahamsen
2021-02-02 19:40               ` Stefan Monnier
2021-02-02 20:31                 ` Eric Abrahamsen
2021-01-31  9:13 ` David Engster
2021-01-31 22:43   ` Stefan Monnier

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=87sg6iea57.fsf@tcd.ie \
    --to=contovob@tcd.ie \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.