From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id kICMHIM/vV/aTwAA0tVLHw (envelope-from ) for ; Tue, 24 Nov 2020 17:14:43 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id oD53GIM/vV/mHwAAB5/wlQ (envelope-from ) for ; Tue, 24 Nov 2020 17:14:43 +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 EFEF0940482 for ; Tue, 24 Nov 2020 17:14:42 +0000 (UTC) Received: from localhost ([::1]:35336 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khbtn-0004JV-SZ for larch@yhetil.org; Tue, 24 Nov 2020 12:14:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55346) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khbf1-0007gC-VW for emacs-orgmode@gnu.org; Tue, 24 Nov 2020 11:59:23 -0500 Received: from static.rcdrun.com ([95.85.24.50]:54925) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khbev-00070W-Fk for emacs-orgmode@gnu.org; Tue, 24 Nov 2020 11:59:23 -0500 Received: from localhost ([::ffff:41.202.241.56]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by static.rcdrun.com with ESMTPSA id 00000000002C000B.000000005FBD3BE4.000038F0; Tue, 24 Nov 2020 16:59:15 +0000 Date: Tue, 24 Nov 2020 19:26:45 +0300 From: Jean Louis To: Ihor Radchenko Subject: Re: Bring up a screen giving option to open a series of orgmode files Message-ID: References: <169441F9-83D6-4D0F-8A23-1923B44F7C0A@health.ucsd.edu> <87eekkcwzs.fsf@localhost> <874klfcj5k.fsf@localhost> <87tutfaxgm.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <87tutfaxgm.fsf@localhost> User-Agent: Mutt/2.0 (3d08634) (2020-11-07) Received-SPF: pass client-ip=95.85.24.50; envelope-from=bugs@gnu.support; helo=static.rcdrun.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-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: "Berry, Charles" , Gerardo Moro , emacs-orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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-Spam-Score: -0.51 X-TUID: xWKDRxJdQOgl * Ihor Radchenko [2020-11-24 12:59]: > > org-store-link would work only within Emacs, not for the case of copying > > http links in the browser, right? > > Indeed. If you want to copy "[[url][title]]" string directly from > browser, you should probably write a simple bookmarklet. I have seen > someone sharing it in reddit, but cannot find the comment anymore. > In any case, you might look at > https://stackoverflow.com/questions/5046972/copy-text-to-clipboard-from-bookmarklet > for ideas how to do it. Yes, thank you for pointers. What I would like to do is to execute external program from browser as such program will give me more than just capturing the TITLE and URL, data that browser has, because I need external data that browser does not have such as annotation or a note to the bookmark. So I could maybe use org-capture as you said. Then I could annotate the bookmark in description and later by one click move everything into Hyperscope database. > Also, you can capture webpage as a heading using org-capture + > org-protocol: > 1. https://addons.mozilla.org/en-US/firefox/addon/org-capture I think this one could work. But it does not work on iceweasel-uxp from fully free OS Hyperbola GNU/Linux-libre. It could be installed on the GNU IceCat. Firefox I am not using directly within the OS due to its problematic tradeark issues and I like GNU IceCat as it has by default some good features like quickly disabling Javascript and taking care of non-free Software. I have tried, now I am getting error: Greedy org-protocol handler. Killing client. eeeee. After more setups insights, I could make it work. It works quite nice! Now I hope that I can use org-capture to invoke other functions from external programs. > 2. https://chrome.google.com/webstore/detail/org-capture/kkkjlfejijcjgjllecmnejhogpbcigdc Chrome is no go here as I do not like getting tracked by Google. But it is similar extension > 3. https://seds.nl/notes/orgmode-firefox-bookmark/ That is yet another tip how to capture, and I can use it probably with the other add on, or basically without add on, how I understand. > 4. https://github.com/yantar92/org-capture-ref (shameless plug) Even more enhancements there. That is great. > Or you can write a custom org-capture handler that invokes > org-store-link I would like to use org-capture to get data while invoking some Elisp, that I can capture into database. Do you think that is possible straight somehow? That capture does not go into Org but that I can redirect it to other elisp function?