From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 yDQ/LRwURmMZZQAAbAwnHQ (envelope-from ) for ; Wed, 12 Oct 2022 03:10:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +KFwLBwURmMd8wAAG6o9tA (envelope-from ) for ; Wed, 12 Oct 2022 03:10:52 +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 6C10B37859 for ; Wed, 12 Oct 2022 03:10:52 +0200 (CEST) Received: from localhost ([::1]:56840 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiQGp-000503-2Z for larch@yhetil.org; Tue, 11 Oct 2022 21:10:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45112) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiQFa-0004ys-CR for emacs-orgmode@gnu.org; Tue, 11 Oct 2022 21:09:35 -0400 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]:41832) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiQFY-0006Cy-GN for emacs-orgmode@gnu.org; Tue, 11 Oct 2022 21:09:34 -0400 Received: by mail-lj1-x22b.google.com with SMTP id j23so18767987lji.8 for ; Tue, 11 Oct 2022 18:09:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=zHAASkdljzuhNAwOAYxysYwxR5droy3tkhpG5Typbqo=; b=g3zhlNDHHa+qbvjn2m9I5m3sHrenoCze8KH4odw5GGEQzFol7PfWwqJ2e3sbjYdH1Y NxWQG+WbrIlR+Zfjt2jdUTEbhWJBw9G2xB2VCmhKjk7VbOCk3IsqQVhEbXTN++UoWmN+ w0U1vrTKjM5wJaPhuon+oFgiyawBmrHi/0HqNiIAZHRzQb+ioaxhyKS8N78pXwQnAAvQ QWoTPbdmCyvAzxv433fv5BAsrC5gx8aUNzTQaufLfeC9pbWpG6aaVtZGw3FqgPMibXYT MKHKqIRgW5TiPqIck+NkYkyl3gePnjK1zvi2H/Qe7WYnkwQIXIlGUlQ6SLGWIgOUHaHv f8iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zHAASkdljzuhNAwOAYxysYwxR5droy3tkhpG5Typbqo=; b=Qe3UxU5RG/z37tnCUcw1+PAu4YGu3tZvjj8I7+NK/kxOo8ibQE7BOAX6iswQqYMJO+ kEFIJiti0d3w0lZ5OuCNp/OB4Z4XeqL9YGyrPl0dADfYth6eITjMbSTDuqC/3oyr80me 3+uDz5hhphxgukNGquaJy5GdWRB0lxzDy1cuif3Ij+IdAQUxKuYGX6rmaZtkEwQsLDzw WN5aDEQp7w51mHvi97Is4Jm/Q4+McSyRXBTEGhbcEp3wqQywlX9Zf+hVAdAEY0F4mltc aBgJjKX8IWWN1Q4SZgtUZnVymyDS7P7WDJUDa4y/JBd8ujwL2OXXwyIi1Z77bddT3qFF w3Ww== X-Gm-Message-State: ACrzQf2OS3nH69+8bkH2jQP3bfLx3WTSeVbAJn99jczTTIxSGtFeGaIg JaCoJCLbIpv4pLEQY07HnW43a4VQMamJpsxFjhw= X-Google-Smtp-Source: AMsMyM7wzBHGt4Omv07ETqxfgJgsBcReg3X/z7eSSCYPI4j38C6HGfX+ocpjyws+OXQHMz7mpnoJI3nH3e1M9TgbLOc= X-Received: by 2002:a2e:7214:0:b0:26e:9177:9c94 with SMTP id n20-20020a2e7214000000b0026e91779c94mr7324622ljc.208.1665536970489; Tue, 11 Oct 2022 18:09:30 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9a:6c42:0:b0:226:74dd:d2c1 with HTTP; Tue, 11 Oct 2022 18:09:29 -0700 (PDT) In-Reply-To: <87r0zelo7e.fsf@posteo.net> References: <87tuw31iub.fsf@mm.st> <87r0zelo7e.fsf@posteo.net> From: Samuel Wales Date: Tue, 11 Oct 2022 18:09:29 -0700 Message-ID: Subject: Re: idea for capture anywhere in x To: =?UTF-8?Q?Juan_Manuel_Mac=C3=ADas?= Cc: Jean Louis , emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::22b; envelope-from=samologist@gmail.com; helo=mail-lj1-x22b.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: 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=1665537052; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=zHAASkdljzuhNAwOAYxysYwxR5droy3tkhpG5Typbqo=; b=G8Zx1PWz0NpvdssO1TA41JB37X+cOkCHzmL1Gx2cU7eQXav37IokEzN5xlZAgTQuoaUZfU nT3Oh/AghqvBe2gHGnS27RGLCIBLWn/K/AnAdLfXj6PxfFJUDpsc3VAYXpbGx6JWRLdIAp ddFo2M9vgDGaQ5KI9F1+HKtBLFT8eus/CUlBh+MjEQyVH97FqTOoYSBNpHwkx5ycqBidOX 596xiJZaRYGG7xpN1An+uMxIVnnfmjsCv+X3QU2f+ZLOpbxFEJeICF/RR63rHGn5uoQ81j GzdXETkothWSJUrQT3XIZgrffdh/zO0UbGPoVtg85M1nFfiC4Jxsx+OTMq+Exw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665537052; a=rsa-sha256; cv=none; b=JYZP44JTw4euYc+wbLBK6vAfTOgMqfzbw3+RfsNZHUk5e3533HG5KhdB5hGWKJrK+BUdcC FJRIuhFVbwJOMJGHpehzqa2tm0IX8jUSnoMq+rIyk1wOzoRt3EqnFoUkJJ95ksIkI7mBcq 4N5VmDJeydyqIC3zqPHAcSaoZ3/iH+H8KvpcBnDlMupjTl74tLmAhldWecMIw8YAIVkeD/ ZdVweAiJAtef48M08d+fh11YdGIKywp1L3Rn5LIWFqtJ2mKdFOSjPp7xYe/hP3j61TyuKn fVdu7dfZF6Qf+wOl+BevYZpDyoL/IXeBCZhlmildEZFcFZ3iL3P+03u8+rzu9w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=g3zhlNDH; dmarc=pass (policy=none) header.from=gmail.com; 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: -5.40 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=g3zhlNDH; dmarc=pass (policy=none) header.from=gmail.com; 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: 6C10B37859 X-Spam-Score: -5.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: XXiB6Y74VVjT fools [me] rush in where angels dare to tread, but > 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 i use the firefox org-capture extension. i click on a unicorn. url and title are saved as an org link and any selected text. emacs correctly does not end up in the wm's [fluxbox in my case] fg, perhaps because of my org-capture settings. so i think i can say it all works for firefox when the extension, which i adore, works. incidentally all my applications are maximized or full screen for accessibility reasons so anything popping up would be bad. incidentally i always use kb or mouse for accessibility reasons and a mixture does not work. i can't follow up to this discussion or engage with you in a back and forth of any kind, just saying it works. perhaps i misunderstood your challenge and post [reasonably likely]. the thread is about doing the same thing, or as much as possible of it, more generally in x. for any application like an xterm, deluge, maybe even emacs itself as an external to emacs buffer mode independent facility. perhaps without requiring a firefox extension even, although something would presumably have to grab the url and title behind the scenes via .mozilla files or some hyopthetical firefox api. On 10/11/22, Juan Manuel Mac=C3=ADas wrote: > 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 > > --=20 The Kafka Pandemic A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com