From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Fwd: how do you compose mails in Gnus with org-mode Date: Thu, 01 Mar 2018 15:10:48 +0000 Message-ID: <87k1uvq1af.fsf@gmail.com> References: <87inafvrwi.fsf@gmail.com> <87inafanug.fsf@gmail.com> <87vaef97ze.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1erPrC-0007vW-Ie for emacs-orgmode@gnu.org; Thu, 01 Mar 2018 10:10:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1erPr9-0006W2-9L for emacs-orgmode@gnu.org; Thu, 01 Mar 2018 10:10:54 -0500 Received: from mail-wr0-x236.google.com ([2a00:1450:400c:c0c::236]:39811) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1erPr9-0006VI-1U for emacs-orgmode@gnu.org; Thu, 01 Mar 2018 10:10:51 -0500 Received: by mail-wr0-x236.google.com with SMTP id w77so6783396wrc.6 for ; Thu, 01 Mar 2018 07:10:51 -0800 (PST) In-Reply-To: (Joseph Vidal-Rosset's message of "Thu, 1 Mar 2018 15:40:43 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Joseph Vidal-Rosset Cc: "Liste-emacs-orgmode@gnu.org" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thursday, 1 Mar 2018 at 15:40, Joseph Vidal-Rosset wrote: [...] > Many thanks Eric! I suspected that there should be a simple solution, > but I did not expected that it was so much simple! > > I am applying what you say in replying to you. And it works perfectly! Excellent. Glad I could help. > I am going to define two keybindings for this and I would be happy if > you could suggest to me how adding automatically this link > > [[bibliography:/home/joseph/MEGA/org/reforg.bib]] > > with the command M-x org-mode RET . I am not sure I understand what you wish to do. If it is to always add that line to the message you are composing when you switch to org-mode, the natural way would be through a hook but that hook would apply to any other org files as well. Alternatively, you could use the signature methods in gnus? In any case, I'm not sure what you would gain by adding that link to an email as htmlize will not do anything reasonable with it? =2D-=20 Eric S Fraga via Emacs 27.0.50, Org release_9.1.7-466-ga16590 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWpgX+AAKCRDIkZPY//z2 fTY4AJ0dzTXve0O5zXITDAVN88llWGufDACdHUvq2qNWJxmKLREPaa5/9s1+/x4= =DPmA -----END PGP SIGNATURE----- --=-=-=--