[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Towards a cleaner build: erc.el
From: |
Stefan Monnier |
Subject: |
Re: Towards a cleaner build: erc.el |
Date: |
Thu, 13 Jun 2019 12:21:22 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> The problem here is that `str' is in the public calling convention on
> `erc-pre-send-hook':
[...]
> That's a quite, er, uhm, strange way of doing it, but... The
> traditional way is to offer a filter function that can alter the string.
I typically use (with-no-warnings (defvar str)) within the function
(but before the run-hook) for that.
> Would a way forward here be to obsolete this hook variable and add a new
> function along those lines?
I haven't looked in detail, but an erc-pre-send-function that filters the
string sounds good, yes.
Stefan
- Re: Towards a cleaner build: cedet, (continued)
- Re: Towards a cleaner build: calendar, Lars Ingebrigtsen, 2019/06/14
- Re: Towards a cleaner build: calendar, Eli Zaretskii, 2019/06/14
- Re: Towards a cleaner build: calendar, Lars Ingebrigtsen, 2019/06/15
- Re: Towards a cleaner build: disass.el, Lars Ingebrigtsen, 2019/06/12
- Re: Towards a cleaner build: disass.el, Eli Zaretskii, 2019/06/12
- Re: Towards a cleaner build: disass.el, Lars Ingebrigtsen, 2019/06/13
- Re: Towards a cleaner build: disass.el, Stefan Monnier, 2019/06/13
- Re: Towards a cleaner build: erc.el,
Stefan Monnier <=
- Re: Towards a cleaner build: erc.el, Lars Ingebrigtsen, 2019/06/14
- Re: Towards a cleaner build: project.el, Dmitry Gutov, 2019/06/13
- Re: Towards a cleaner build: project.el, Lars Ingebrigtsen, 2019/06/13
- Re: Towards a cleaner build: project.el, Dmitry Gutov, 2019/06/13
- Re: Towards a cleaner build: project.el, Lars Ingebrigtsen, 2019/06/13
- Re: Towards a cleaner build: byte-run.el, Lars Ingebrigtsen, 2019/06/13
- Re: Towards a cleaner build: byte-run.el, Stefan Monnier, 2019/06/13
- Re: Towards a cleaner build: byte-run.el, Lars Ingebrigtsen, 2019/06/14
- Re: Towards a cleaner build: viper-ex, Eli Zaretskii, 2019/06/12
- Re: Towards a cleaner build: viper-ex, Lars Ingebrigtsen, 2019/06/13