From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 3GETCcVf9V/DWAAA0tVLHw (envelope-from ) for ; Wed, 06 Jan 2021 06:59:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id CFNQBMVf9V+rQgAA1q6Kng (envelope-from ) for ; Wed, 06 Jan 2021 06:59:17 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 86E0B940274 for ; Wed, 6 Jan 2021 06:59:16 +0000 (UTC) Received: from localhost ([::1]:42546 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kx2mo-0002fl-A6 for larch@yhetil.org; Wed, 06 Jan 2021 01:59:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kx2mQ-0002fJ-De for emacs-orgmode@gnu.org; Wed, 06 Jan 2021 01:58:50 -0500 Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]:38357) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kx2mO-00005X-Q2 for emacs-orgmode@gnu.org; Wed, 06 Jan 2021 01:58:50 -0500 Received: by mail-lf1-x12a.google.com with SMTP id h205so4350463lfd.5 for ; Tue, 05 Jan 2021 22:58:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EUzBCu4AJOOXS9DlvULLLFAscdox9W7kEqVQYXuTT2c=; b=kZ7/ToxlywOZjgoRr9T7aDqBCo++7GuthiSpO99QfbRzFY4xfk94PtMPiF71qqx1Rr 5k9c8zUo6v6lbYcfoTY7Xegrzd2gRrrqtVQ5rY5fVLo1u/zAjkFSGEAHI7UOywm4zGFj 1/SKaDJcx0at92xQYH84bhLnADQFbkILF+SXOXATMCPd72yIE5oOUkYOokaB3KdT+yXo 2XE9K+EwLaXSmEVi2kJ0wIljrtfuR/RoTIl4YuBRRGN08UmxIsxL9+67Ij8ODfKAjq8u dKRRYzuU5/bRIiYXi56ElTLKrTJoGGMytzRkUp53caO1T8UU69/HsbAEOJmtwZAtzCTE jntA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EUzBCu4AJOOXS9DlvULLLFAscdox9W7kEqVQYXuTT2c=; b=OKS5vU2xfRSiJKDyJRonEllrC2yr6Oav1JCC8LTy715mTPmZkKW5XP4SGoU5G7KjTQ 2LMgv+mX0RPm45v70h/ZzjtCZ9vNOF9lemik3vfe5zMQgv4c0J4QuQq+PFUjWvplYOGu btyGDsyYYmH+p+9/npo0UUvYq+bNXmx5INrd+d1JZGo2bcMn1I39QTI48nOssDhETUNy oTseA5Kq/AliDX7tao1yENbvh4wke25AVTHGqEO26nkQ6xgU4ZdvBhd8jcLt5vs5D6KS VToaKqgEfGJLtdUM5LYezEB0pZuqIVsrCvT+/VbqJU240XnxDPFS/Cw6104yXEs+eWt9 EZaw== X-Gm-Message-State: AOAM530CSeoNc+LpH7GwxBfOK1eKjXk2iRdgxZSE8viZLcKU+Pi86YRo Q73m232djSkra/EXFE81omVxRqefF72OfG9o3z4= X-Google-Smtp-Source: ABdhPJzSjt8wccqfMN+K+iT8Wid0MumVwG0F/eIV7/Uc/rrErd2bXSgx6yxCkyiVe+YtR+332a9CL/eMpHPouLGRFSY= X-Received: by 2002:a19:8213:: with SMTP id e19mr1251066lfd.600.1609916326875; Tue, 05 Jan 2021 22:58:46 -0800 (PST) MIME-Version: 1.0 References: <87eekcfeyk.fsf@ucl.ac.uk> <87wny4oy0h.fsf@ucl.ac.uk> In-Reply-To: From: Gerardo Moro Date: Wed, 6 Jan 2021 08:58:36 +0200 Message-ID: Subject: Re: Possibility to copy text outside EMACS and send it to orgmode document To: Tom Gillespie , Samologist@gmail.com Content-Type: multipart/alternative; boundary="000000000000c8151405b835da81" Received-SPF: pass client-ip=2a00:1450:4864:20::12a; envelope-from=gerardomoro37@gmail.com; helo=mail-lf1-x12a.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=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: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.04 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=kZ7/Toxl; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 86E0B940274 X-Spam-Score: -3.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: z3k9RDJEccex --000000000000c8151405b835da81 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks, guys. I'll have a look. I understand that using org-protocol in combo with org-capture I would have to visit the Emacs window for capturing the copied text or not? Because this is crucial, as I aim to avoid this step. Thanks! El mi=C3=A9, 6 ene 2021 a las 8:49, Tom Gillespie () escr= ibi=C3=B3: > You can achieve something a bit like this using > org-protocol-capture-html > https://github.com/alphapapa/org-protocol-capture-html. I'm not > entirely sure whether you can bind the equivalent of a hook in > javascript to run every time you C-c, but if you can, then it should > be possible to match this exactly. You might also be able to wire up > org-protocol to the X clipboard (if you are on linux). > > Best, > Tom > --000000000000c8151405b835da81 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks, guys.
I'll have a look.
I unders= tand that using org-protocol in combo with org-capture I would have to visi= t the Emacs window for capturing the copied text or not?
Because = this is crucial, as I aim to avoid this step.
Thanks!
=
El mi= =C3=A9, 6 ene 2021 a las 8:49, Tom Gillespie (<tgbugs@gmail.com>) escribi=C3=B3:
You can achieve something a bit like th= is using
org-protocol-capture-html
https://github.com/alphapapa/org-protocol-capt= ure-html. I'm not
entirely sure whether you can bind the equivalent of a hook in
javascript to run every time you C-c, but if you can, then it should
be possible to match this exactly. You might also be able to wire up
org-protocol to the X clipboard (if you are on linux).

Best,
Tom
--000000000000c8151405b835da81--