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 sDj9N+b/pmJDtwAAbAwnHQ (envelope-from ) for ; Mon, 13 Jun 2022 11:14:14 +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 sFWQN+b/pmKJ1AAAauVa8A (envelope-from ) for ; Mon, 13 Jun 2022 11:14:14 +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 80E6E3AD39 for ; Mon, 13 Jun 2022 11:14:14 +0200 (CEST) Received: from localhost ([::1]:45640 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o0g9F-0002bk-2I for larch@yhetil.org; Mon, 13 Jun 2022 05:14:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38452) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0g5z-0002AG-Bg for emacs-orgmode@gnu.org; Mon, 13 Jun 2022 05:10:51 -0400 Received: from mx1.icm.edu.pl ([213.135.59.49]:53272) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0g5x-0004Sh-03 for emacs-orgmode@gnu.org; Mon, 13 Jun 2022 05:10:50 -0400 X-Virus-Scanned: Debian amavisd-new at icm.edu.pl Received: from smtp.icm.edu.pl (mail.icm.edu.pl [213.135.59.43]) by mx1.icm.edu.pl (Postfix) with ESMTP for ; Mon, 13 Jun 2022 11:10:36 +0200 (CEST) Received: from Amber.meep.pl (89-78-88-113.dynamic.chello.pl [89.78.88.113]) by smtp.icm.edu.pl (Postfix) with ESMTPSA id 7115A1FEAF for ; Mon, 13 Jun 2022 11:10:36 +0200 (CEST) Received: from mike by Amber.meep.pl with local (Exim 4.95) (envelope-from ) id 1o0g5j-0008J2-0H; Mon, 13 Jun 2022 11:10:35 +0200 Date: Mon, 13 Jun 2022 11:10:34 +0200 From: Michal Politowski To: Samuel Wales Cc: emacs-orgmode@gnu.org Subject: Re: idea for capture anywhere in x Message-ID: References: <87sgbsq2t5.fsf@gmail.com> <87tuw31iub.fsf@mm.st> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: Received-SPF: pass client-ip=213.135.59.49; envelope-from=m.politowski@icm.edu.pl; helo=mx1.icm.edu.pl X-Spam_score_int: -39 X-Spam_score: -4.0 X-Spam_bar: ---- X-Spam_report: (-4.0 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655111654; 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; bh=mG1piB9TwWGX7AsUuN/pSo43dU3whm0O3/yZMdBIvuY=; b=P7FrTQKEmD+1uZLvjB/iE6jCJf7i5PTSbsrONabtTYR6j9FakyLeixhM+HKQ0eWiSCGwkb s5d4r3crQgBOr302H99v8jsg5IILrPacSedoOzdY6LoC0g/JmaJypz19adrC0/Dt0dKS2K jKyShWpAgJc/mdAMS7qHE09znJNosdkWxdPAnlGdOJppD/FwdVtEKJRLDQ+H9IlMDcyeyl BNeSY2SBoiTILsJq8dN6uKPIKayaX95R6TbpDYfGAOpC+IPzSbvNfE+4dDYPZz4I5A0Zws vt1QpX3GpcNYTUsYbk55v1k5lJw9QyzQh+VfWYL0rge77wJyegADopEPj98mXg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655111654; a=rsa-sha256; cv=none; b=Lgq2JHP48Hz5xdMNSj8vVH46sdkHd2+l2+TMY+5grT2GTVm6zYZrAI+OgGFHI99HBALhRn oK8onhGLt6TbTWinxI+I5hK6AhqTMn0HLL+MnAsUX5o1scBczwSVSJKIcr5hsnA+hdEk+n rREL0NP5e3pVKs65SvpP1qFaMuFTyxWkkk43FZAVWY1BgTsWT3sAeBHFLPEIC4xp9xEq/t sMO/bhNCHNx3uKv70QPB050ID9DhBi7kN08UOjiyAE/txLWZrxgmbCv6yS+b+QXWnWRO+a RyGL9+8UQ2OdpO5mn+KcVZ+2tu6xeOR3BqSi4gs/rjTe0dgty0Qd0oRf5rc0qA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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: -3.19 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 80E6E3AD39 X-Spam-Score: -3.19 X-Migadu-Scanner: scn1.migadu.com X-TUID: gTMGWqCiW6kr Dnia Thu, 9 Jun 2022 19:35:52 -0700, Samuel Wales napisa=C5=82(a): [...] > otoh, if there is such a thing as "a cli command that will ask firefox > for its current url" then it is possible. Not exactly this (and what is current with many windows and tabs?), but it = seems that when Firefox owns a selection, you can ask it not only for the text but also for the URL: $ xclip -selection clipboard -o -t text/plain A GNU Emacs major mode for keeping notes, authoring documents, computational notebooks, literate programming, maintaining to-do lists, planning projects, and more \u2014 in a fast and effective plain text system. $ xclip -selection clipboard -o -t text/x-moz-url-priv https://orgmode.org/ $ xclip -selection clipboard -o -t TARGETS TIMESTAMP TARGETS MULTIPLE SAVE_TARGETS text/html text/_moz_htmlcontext text/_moz_htmlinfo UTF8_STRING COMPOUND_TEXT TEXT STRING text/plain;charset=3Dutf-8 text/plain text/x-moz-url-priv --=20 Micha=C5=82 Politowski Talking has been known to lead to communication if practiced carelessly.