From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jens Lechtenboerger Newsgroups: gmane.emacs.devel Subject: Re: message.el and mml-secure-bcc-is-safe Date: Sun, 22 Jan 2017 14:44:20 +0100 Message-ID: <874m0rgqff.fsf@informationelle-selbstbestimmung-im-internet.de> References: <87tw9b9jud.fsf@wavexx.thregr.org> <87y3y49xt7.fsf@gnus.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1485096587 18990 195.159.176.226 (22 Jan 2017 14:49:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 22 Jan 2017 14:49:47 +0000 (UTC) Cc: Yuri D'Elia , emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 22 15:49:43 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVJSP-0002yo-C8 for ged-emacs-devel@m.gmane.org; Sun, 22 Jan 2017 15:49:26 +0100 Original-Received: from localhost ([::1]:36635 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVJSS-0003Tg-KE for ged-emacs-devel@m.gmane.org; Sun, 22 Jan 2017 09:49:28 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55967) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVIRZ-0005nl-LP for emacs-devel@gnu.org; Sun, 22 Jan 2017 08:44:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVIRW-00028I-JJ for emacs-devel@gnu.org; Sun, 22 Jan 2017 08:44:29 -0500 Original-Received: from mx2.mailbox.org ([80.241.60.215]:33521) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cVIRW-00027W-DG for emacs-devel@gnu.org; Sun, 22 Jan 2017 08:44:26 -0500 Original-Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id CF71F447C5; Sun, 22 Jan 2017 14:44:23 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Original-Received: from smtp1.mailbox.org ([80.241.60.240]) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10030) with ESMTP id CjJpYw8-QBuY; Sun, 22 Jan 2017 14:44:21 +0100 (CET) OpenPGP: id=0xA142FD84; url=https://www.informationelle-selbstbestimmung-im-internet.de/A142FD84.asc In-Reply-To: <87y3y49xt7.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 21 Jan 2017 17:34:28 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 80.241.60.215 X-Mailman-Approved-At: Sun, 22 Jan 2017 09:49:23 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:211524 Archived-At: On 2017-01-21, at 17:34, Lars Ingebrigtsen wrote: > Yuri D'Elia writes: > >> I'd like to manipulate the mml tags on the message inside the >> 'message-send-hook depending on the recipient. >> >> By reading though message.el, this seems to be possible as the hook is >> ran early enough. >> >> However, I notice that (mml-secure-bcc-is-safe) is called before the >> hook. If I plan to modify the tags, it actually makes sense to run it >> just afterwards instead so that it checks the final headers and tags. >> >> Could we move (mml-secure-bcc-is-safe) just after the hook? >> It makes more sense to me, unless there's some specific reason to do so. > > I'm not sure... there might be subtleties there... I've added Jens to > the Cc; he added the code so he might have an opinion. There was no particular reason for adding the bcc-check before executing that hook. Feel free to exchange their order. Best wishes Jens