[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Towards a cleaner build: bindat
From: |
Lars Ingebrigtsen |
Subject: |
Re: Towards a cleaner build: bindat |
Date: |
Sat, 15 Jun 2019 16:50:03 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
This one's funny:
In toplevel form:
mail/feedmail.el:2151:1:Warning: Unused lexical argument `helper'
(defun feedmail-queue-send-edit-prompt-inner (default prompt reprompt helper
standard-alist user-alist)
[...]
(if (= user-sez help-char)
;; FIXME: This seems to want to refer to the `helper' argument,
;; but it's quoted so the `helper' arg ends up unused!
(setq answer '(^ . helper))
[...]
(cdr answer))))
The only call to this function is
(feedmail-queue-send-edit-prompt-inner
feedmail-ask-before-queue-default
feedmail-ask-before-queue-prompt
feedmail-ask-before-queue-reprompt
'feedmail-message-action-help
feedmail-prompt-before-queue-standard-alist
feedmail-prompt-before-queue-user-alist
))
so `helper' is always `feedmail-message-action-help', but as the comment
says, it's never used, but instead the symbol `helper' is returned from
the function, and it's then funcalled:
(if (not feedmail-enable-queue) (feedmail-send-it-immediately-wrapper)
;; else, queuing is enabled, should we ask about it or just do it?
(if feedmail-ask-before-queue
(funcall (feedmail-queue-send-edit-prompt))
(feedmail-dump-message-to-queue feedmail-queue-directory 'after-queue)))
So this seems like a genuine bug.
Are there any feedmail users here? Is so, could you
(setq feedmail-enable-queue t) and see whether you get an error when
sending mail?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Towards a cleaner build: eieio, (continued)
- Re: Towards a cleaner build: eieio, Lars Ingebrigtsen, 2019/06/13
- Re: Towards a cleaner build: eieio, Stefan Monnier, 2019/06/13
- Re: Towards a cleaner build: eieio, Lars Ingebrigtsen, 2019/06/14
- Re: Towards a cleaner build: eieio, Stefan Monnier, 2019/06/14
- Re: Towards a cleaner build: eieio, Lars Ingebrigtsen, 2019/06/14
- Re: Towards a cleaner build: eieio, Stefan Monnier, 2019/06/14
- Re: Towards a cleaner build: eieio, Lars Ingebrigtsen, 2019/06/15
- Re: Towards a cleaner build: bindat, Lars Ingebrigtsen, 2019/06/15
- Re: Towards a cleaner build: bindat, Eli Zaretskii, 2019/06/15
- Re: Towards a cleaner build: bindat, Lars Ingebrigtsen, 2019/06/15
- Re: Towards a cleaner build: bindat,
Lars Ingebrigtsen <=
- Re: Towards a cleaner build: bindat, Eli Zaretskii, 2019/06/15
- Re: Towards a cleaner build: feedmail, Lars Ingebrigtsen, 2019/06/15
- Re: Towards a cleaner build: feedmail, Eli Zaretskii, 2019/06/15
- Re: Towards a cleaner build: feedmail, Lars Ingebrigtsen, 2019/06/15
- Re: Towards a cleaner build: tags, Lars Ingebrigtsen, 2019/06/15
- Re: Towards a cleaner build: srecode/insert, Lars Ingebrigtsen, 2019/06/15
- Re: Towards a cleaner build: srecode/insert, Eric Ludlam, 2019/06/16
- Re: Towards a cleaner build: srecode/insert, Lars Ingebrigtsen, 2019/06/16
- Re: Towards a cleaner build: tags, Dmitry Gutov, 2019/06/15
- Re: Towards a cleaner build: tags, Lars Ingebrigtsen, 2019/06/16