From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.help Subject: Re: Signing message reply problem Date: Wed, 02 Nov 2022 11:38:10 +0100 Message-ID: <878rktod4d.fsf@gmail.com> References: <87eduqfcah.fsf@gmail.com> <87mt9cp0z6.fsf@gmail.com> <878rkww0sm.fsf@gmail.com> <871qqooxu9.fsf@gmail.com> <874jvj9f2u.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28092"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Angel de Vicente Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 02 11:39:01 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oqB9A-00077C-G6 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 02 Nov 2022 11:39:00 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqB8l-0006Od-IX; Wed, 02 Nov 2022 06:38:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqB8S-0006NF-1g for help-gnu-emacs@gnu.org; Wed, 02 Nov 2022 06:38:16 -0400 Original-Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oqB8Q-0007Vc-H9 for help-gnu-emacs@gnu.org; Wed, 02 Nov 2022 06:38:15 -0400 Original-Received: by mail-wm1-x32c.google.com with SMTP id o30so705689wms.2 for ; Wed, 02 Nov 2022 03:38:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:gmane-reply-to-list:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=hOcE/vP1C/ittUgv9Xxw4I8K/cgiYakaTSCll1qcdvQ=; b=hiuXtMdwwQzJIyidbgmcxiQjYYsFgp7WZ9oYU4u6DDXF8WbwHeEwWLcZ0IrhD7qYwd iZo2jM7WAIjvnXsDkGxWTBq9fQru6eMHx6Sj635qkIVCEPEcWfRHTP8NPDeDH8lcy8si nm8FmjDHxGJUr4gI2ixfRnu6S2JGuW215t/CQUGFXmuaRFFonK5xcYlVbuWB5IBlGN/D Bl31WMZDQqk9c6+sLhaXetBjm0xq0+DaH2WJKX1m22KWuhLlwH2A8zFifhP3DTDaniDS yBWfTZInePVgzbpKAgb0MwRMlDw3R93WpVF2P9ZV+c+fkmldA75sbI2iqsjNH2fnF/5A BWew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:gmane-reply-to-list:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hOcE/vP1C/ittUgv9Xxw4I8K/cgiYakaTSCll1qcdvQ=; b=DQFjvIa6R5ZT90LgMNviwOaKMMLSIUa85f348ddii9sh7DFWyInU52fUDVGOp7YNej Ma5CHXMIMR22zfIe6ExGNRYizlzW8p57i6I91KQnRs/Bobo6QD8n+kNmYe47kv5xJ51i Rn601dJpvXoH56lXulY3WIXIZmqPqu27dj0hXh5t+gSNw74CoI3EGYh8Zx69j/ltH39X n6K7+JdLkgzRNpljRKnzyXl+JLAWF97jcL8nPi84p+EUAgQ91mXNseIJmaorrFNMAS+X mDMVvt83X36tWnZq6y0wqO6X0qPG4h5R3m3wqyFBygB7teW0pQaM9M6kBEvHkQB1eJI6 8JNg== X-Gm-Message-State: ACrzQf1keUGheinxECPLeeNvJEYJHiz0CKnoPC2UHBHEbdk9Lx5ltYoD PpdiRPcvGsC3oXG/DKDkvRIyzsvsgXY= X-Google-Smtp-Source: AMsMyM6MzVbGcyQspK0AYR2mZbzfmqE4RsbUCcaWOdEyoScwk6ivq3hmFUDBgjwj9A3MnPRx9rphDw== X-Received: by 2002:a05:600c:14c6:b0:3cf:6a83:c2a6 with SMTP id i6-20020a05600c14c600b003cf6a83c2a6mr12689034wmh.52.1667385491717; Wed, 02 Nov 2022 03:38:11 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id j20-20020a05600c191400b003b47e8a5d22sm2202329wmq.23.2022.11.02.03.38.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Nov 2022 03:38:11 -0700 (PDT) In-Reply-To: <874jvj9f2u.fsf@gmail.com> (Angel de Vicente's message of "Tue, 01 Nov 2022 09:52:41 +0000") Gmane-Reply-To-List: yes Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=rpluim@gmail.com; helo=mail-wm1-x32c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "help-gnu-emacs" Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:140566 Archived-At: >>>>> On Tue, 01 Nov 2022 09:52:41 +0000, Angel de Vicente said: Angel> Maybe you were trying 'r' instead of 'R'? possibly Angel> I edebug'ed it and basically it goes through the function, inserts the Angel> tag for signing the message, but afterwards it yanks the text right Angel> after the headers, so pushing down the tag. Angel> Which I think is what you expect from message-setup-hook: "Hook run as Angel> the last thing when the message buffer has been initialized, but before Angel> yanked text is inserted.". Ideally I would like to add the hook after Angel> the yanked text is inserted, but not sure how to proceed.. Right. You might have more luck with `mail-citation-hook' instead. Robert --