From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YOTnLfY0RWNI6AAAbAwnHQ (envelope-from ) for ; Tue, 11 Oct 2022 11:18:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sI/sLfY0RWN0AAEAauVa8A (envelope-from ) for ; Tue, 11 Oct 2022 11:18:46 +0200 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 3FB14394C2 for ; Tue, 11 Oct 2022 11:18:46 +0200 (CEST) Received: from localhost ([::1]:41486 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiBPQ-0000mc-8y for larch@yhetil.org; Tue, 11 Oct 2022 05:18:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59614) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiBIM-0005oB-DM for emacs-orgmode@gnu.org; Tue, 11 Oct 2022 05:11:26 -0400 Received: from mout02.posteo.de ([185.67.36.66]:34729) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiBIK-0005Qy-Lf for emacs-orgmode@gnu.org; Tue, 11 Oct 2022 05:11:26 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id D48FD240103 for ; Tue, 11 Oct 2022 11:11:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1665479482; bh=gx6CoaMGjA9WZrewklqxE1/F6jWJ/9gLvlEzPokkGMw=; h=From:To:Cc:Subject:Date:From; b=iuUGF3sJfwXJNBY9L/Mw1rH/kVRkbxLlGzdMiAmMdi9ml5qH3UZt8XNT48IdlNbhV tlWaCKPXovdESFiMsMn+z0Y7ox+8+9K+W3GuseQ9spmO1kyGVcaeGfqqdLQR45ZG6g rHuyQhI6HFshLqagJ3NY2d/rYTx/+ia1RRd2ooC4vIdBj6/nO/XtC7agwZYVGz2rg/ ONnIcMCvIaYcPyg0rk7QdEQB65AuEdFNwvOjAuSwdNGnQqOT+KLADNPOBAOn765Jsd qpPuhz1w4WgiPbiwbWjr0AcyB9VOiUds4scYbIzhvulzYjLg0yZQ4lxGSEfUP4PAUc c0S24wY5eKL5A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MmqlZ0Q2mz6tmJ; Tue, 11 Oct 2022 11:11:19 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Jean Louis Cc: emacs-orgmode@gnu.org Subject: Re: idea for capture anywhere in x References: <87tuw31iub.fsf@mm.st> Date: Tue, 11 Oct 2022 09:11:17 +0000 In-Reply-To: (Jean Louis's message of "Tue, 11 Oct 2022 01:06:11 +0300") Message-ID: <87r0zelo7e.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=maciaschain@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665479926; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=T3uaTk21J7coq6By8GT0PBz24u1LR0B4kzvCX3S2/hs=; b=GYFqArC0TG93iYVgsANEYPdCE5FTpiJu9fzwA8ELuWjR828Edrta1VlGY70NxBrR4o0uyL o4VBgqfrAyuJVFwW8SubRawzeJj4zjDxnAeNPdnghu6q/WE+J8n3K/tivYukM2Za1caxXN 7yz3tQJ8eYYfXyQ7E2urp21jhug0EoEYGaTkkoAZZSklcyAc8T8DsJ0cGDZE6ZWx2sQWX9 wMAYIYF0Thz2QD7i+cZb9DRCW1Fv/b/MLJHEOrvUsVCCxZNVbEtl+upefmiG2ZOQZg5Zjz HO/tvIXqV2jBEReolAUfx3wbSWBtAegqXImSjIkzR1CWjFHyqh547nkhW/xvag== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665479926; a=rsa-sha256; cv=none; b=DlZVaUbc8T5GzDKOTRCWKYL8KJiE08H1OWh/9LgpNrw3ohpi7kpKoI4eOP9uvz1JzIdfrM YHJI2dyTuXYuo4W40aYj6KxdqPHXWVeumV/XBE3xnR4DiOoOFzn3RhlOR9zGO/8aqWXfBx E3Hf1IR3C6PK0Qfdvp7fbhORUaOWP5PnNErDkNTRQBAkxv8VCZZW3o0kijSAVECZzRMQo1 aMi2S/lQXqTrs6uK8gt0M1Zfzm8JjiNZHhnC4qhNU8TyG3pFLqwa99kLU0UQA5QzSwGT9I KtfqrUevj2GgS6fHzWMWruDf2eimmlCwglQwr+Fwknj3CGCxhWo1mOf9Fp7Vlg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=iuUGF3sJ; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.90 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=iuUGF3sJ; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 3FB14394C2 X-Spam-Score: -7.90 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1Irbb4poEAnm Jean Louis writes: > Did you try to invoke Emacs without having Emacs in front of you? Once > you try, come back and tell me how would you capture anything from X > selection into Emacs without having Emacs window in front of you. > > I do not know how. My thinking stops right there. > > I have four workspaces, Emacs is not on each of them. > > How do I invoke Emacs without having it in front of me with just 1 key > binding? One solution is to let Emacs be your X window manager. I'm not saying it's "the solution" to what's being discussed in this thread (sorry for the noise), but in my case it is. With EXWM I don't need, for example, anything like org-protocol. Even if I want to copy/cut/paste something inside X, I have these three simultation keys defined in EXWM: ([?\C-y] . [?\C-v]) ([?\C-w] . [?\C-x]) ([?\M-w] . [?\C-c]) and I can use C-y, C-w or M-w in LibreOffice, Gimp or wherever. One more example. If I'm in the external browser I normally use when I'm not using eww (qutebrowser), I have a simple Org-capture template to copy a url and create an Org heading with the link. I just hit yy on qutebrowser and, without leaving there, call org-capture (C-c c). I have another template to download images with org-download; another to create a heading with the information extracted from google-scholar, etc. I mean that using EXWM these problems don't exist, because, one way or another, you're always in Emacs. Best regards, Juan Manuel