[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[which hook?] (was: [defadvice, advice-add ])
From: |
Uwe Brauer |
Subject: |
[which hook?] (was: [defadvice, advice-add ]) |
Date: |
Wed, 12 Feb 2025 08:22:05 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
> Uwe Brauer via "Announcements and discussions for GNUS, the GNU Emacs
> Usenet newsreader (in English)" <info-gnus-english@gnu.org> writes:
> Most nadvice pieces, including :before advice pieces, are passed the
> arguments that are passed to the advised function.
> `gnus-summary-followup-with-original' is always called with at least one
> argument. You can just throw all arguments away:
> (defun my-toggle-bcc-check (&rest _) ...). Was it that?
Thanks
> But my remark was hinting at something different, actually: _instead_ of
> advising, in which way ever, would it be possible to use a hook instead?
Right, I prefer hooks always over advice and friends, but I just cannot
come up with the appropriate hook in this case.
smime.p7s
Description: S/MIME cryptographic signature
- Checking if user-mail-address is in To or CC (to avoid an embarrassing social situation) BCC, Uwe Brauer, 2025/02/10
- [Solution of sorts] (was: Checking if user-mail-address is in To or CC (to avoid an embarrassing social situation) BCC), Uwe Brauer, 2025/02/10
- Re: [Solution of sorts], Michael Heerdegen, 2025/02/10
- Re: [Solution of sorts], Uwe Brauer, 2025/02/11
- [defadvice, advice-add ] (was: [Solution of sorts]), Uwe Brauer, 2025/02/11
- Re: [defadvice, advice-add ], Michael Heerdegen, 2025/02/11
- [which hook?] (was: [defadvice, advice-add ]),
Uwe Brauer <=
- Re: [defadvice, advice-add ], Uwe Brauer, 2025/02/12
- Re: [defadvice, advice-add ], Christoph Groth, 2025/02/12
- Re: [defadvice, advice-add ], Uwe Brauer, 2025/02/13
- Re: [defadvice, advice-add ], Uwe Brauer, 2025/02/15
- [a better solution without using advice] (was: [defadvice, advice-add ]), Uwe Brauer, 2025/02/22
Re: Checking if user-mail-address is in To or CC (to avoid an embarrassing social situation) BCC, James Thomas, 2025/02/11