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 gFz5Kb0W0WOJyQAAbAwnHQ (envelope-from ) for ; Wed, 25 Jan 2023 12:47:09 +0100 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 gPH7KL0W0WOeDAAAG6o9tA (envelope-from ) for ; Wed, 25 Jan 2023 12:47:09 +0100 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 EEA64320DE for ; Wed, 25 Jan 2023 12:47:06 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKeEu-0005SM-Pu; Wed, 25 Jan 2023 06:46:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKeEp-0005RP-7k for emacs-orgmode@gnu.org; Wed, 25 Jan 2023 06:46:50 -0500 Received: from mout.kundenserver.de ([212.227.17.24]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKeEm-0002OM-GD for emacs-orgmode@gnu.org; Wed, 25 Jan 2023 06:46:46 -0500 Received: from linux.fritz.box ([93.206.74.33]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N5W4y-1obEM01Bec-016sn1 for ; Wed, 25 Jan 2023 12:46:38 +0100 From: AW To: emacs-orgmode@gnu.org Subject: Re: Org mode links: Open a PDF file at a given page and highlight a given string Date: Wed, 25 Jan 2023 12:46:35 +0100 Message-ID: <13190256.uLZWGnKmhe@linux.fritz.box> In-Reply-To: <87leqdxhr2.fsf@localhost> References: <87lfb5pbej.fsf@gmail.com> <87leqdxhr2.fsf@localhost> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K1:PHxJdjsqlPeYULUOZBftiUEEg21OT+s2zWZIcQayLe7LAEHm4ib C8Iy4dGbOQb20XqAnjB5ygqaMIP344+Q50DC66Ll+KRQ0Zjwiz//jvdsEIJlk05PDSZjlI+ 1+kXYirYH0lMPKXhagXQZomD1PC1mQDczfVzhZOpkLYQZKYrQGtkplwRepDw+zI8wBoZU11 PkRtnaB9ci1ARv0N6jQ3w== UI-OutboundReport: notjunk:1;M01:P0:NXgQZW80+dY=;QL6HoI9gz5C234pnSdYemdYMlvj zfqggepqyY/PGTxMxSTUViD84kzI7Z8FWz4GYAtVRMmrRYWwIxbzq6SdIMzONs+hmsHzDt4ED iKOxNwTovFlUqPtMns98x4Q0oxq7n72k/3QlJnbw1QYYA+IRAe9gBHNmKBZ9RPHqysgX7Z+V1 W5O+Vj4GdJG8qT1JWZiKdA/13mpkfAT5M0zesvceuJTcBYMI2wo/m/XCnKA5/HZI6Kqit588d llKzR1FeJRq/sLhegSZJ3bVTyIJzgSUVSu7ed03CDz/mXrYGjGeBBRBZ9gbHwKNYS8EdTZGo1 J+ntAiA9qP2nns3vBvqTSz+llQbEsAJWtkdA8taahqZe35GIhTboLR4bYbcQa5RGHMVvH+Rxv zOgDqbAG1toqOxbeusUdZwogpwJzDJeeb5VOAWuZZfhmHBPpoCTLNvRVTm+Bmkr1/2B08Owt1 HVGDo0ldGu4PZAC8UG5UQkg3YjsGZM9v1WgeKRAthAMiAnzGmiVPOweU0xugGyq/eIQaIwsU4 oa+fQtFaaonI9sPVcFXLZG07DjNesfr2GnQTd2eBvZDyVx8sBT2nCMWVRg62fo76VcXM6FAG7 E2F0OcwkFGZc4TguT3sQdhTh4dlV7fjPkbR+cwe0e5yRQajXM+fkFOjGOxDMgd/rFZxAsE5VS LKbS184efksOBkySQ+1B0qfswz1xAquDduHlkBY/pQ== Received-SPF: none client-ip=212.227.17.24; envelope-from=alexander.willand@t-online.de; helo=mout.kundenserver.de 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=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-bounces+larch=yhetil.org@gnu.org 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=1674647227; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=CozKrRjs36bJi7bjRRhBUUrR8ZwuDbPULvVrqhsF5lM=; b=plEddJD5uLb7kZ5FS7yrDxqc0rvCXcrIVOWHyWwxkkcKqhqzzg24tZKuNTv8clyH7+GRVs euMxu42sTrTkcqGiyAwqlcKj6QIgNoSmnr36DnnqmcsDve5xi15AwNhhU9dyC7ddeWjdj1 /2qYEqsmJUhSN+k8MBGlmJGaj8wCHjEIPGMH0gUdfZTVDyJJOZLVoBXN2D5MNCzZBQ7EG9 uT/ggYDSOrGiWEKHFvx76ISBzEqF0UaBhJEULELp8mCpUFJxo6LrzOL0s8XzS4GNJzQAPT gD6EsNdzf75uVHYG0pMKSz8hdUYQArrCXrcLlEPQxcc0IUMn8rwC5SqK7/v9ng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674647227; a=rsa-sha256; cv=none; b=eQ17nn9usfa+LqrZNWuRnpr7Lg+bIOxSd3lqzlNd7qHRAOtX4xoxuNLBtkqu7rcPowelYf zPvJOk3FMTMRnNxwWR87OK23SzYIbKWIh8oXl5ScRYQqYFj3iWUqXu9tPS8+NtmWSwUJBT oDirywp/dsNFu33Pk+9dvi68v52pC0gtInL7s9eSKvxzgezpykg8+g8qry1meFhgLyLBEF CbkP9uZ98FytlzEkRi8vrCXOTwqj6Y+jXYMX0kkQef47gOvPGSyWKih+Osb+Pya5bNbL9k 7HJGp3NFlCeGfkmNJnTlcZPCDlg4GBS4H06oGFFmN9p0fWP5P4nrkNxHudDZQg== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=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"; dmarc=none X-Migadu-Spam-Score: -2.38 X-Spam-Score: -2.38 X-Migadu-Queue-Id: EEA64320DE X-TUID: h0HHFJBaLt4u Am Mittwoch, 21. September 2022, 10:18:41 CET schrieb Ihor Radchenko: > Max Nikulin writes: > >> I think that it is a very good idea for Org core to support search terms > >> in file links that are handled by Free Software. > > > > Maybe I misunderstand something, but your stress on Free Software here > > surprised me. I did not mention explicitly any proprietary application > > such as Adobe Reader. On the other hand support of Chromium (that is > > free) unavoidably assumes Google Chrome and likely MS Edge with other > > derived products with same customization as chromium vs. > > chromium-browser command name discrepancy in Linux distros. > > I was referring to GPL-compatible software. > If we have better integration with Libre/Free Software, it is suitable > for Org core. IMHO. [...] > > I am considering a single package, something like org-pdfviewer, that > > has definitions for all popular viewers: evince, okular, firefox, > > chromium, etc. I believed that user should explicitly configure > > preferred viewer by either adding an entry with supplied function to > > `org-file-apps' or this package has its own defcustoms and the entry > > injected to some variable as you suggested in > > Ihor Radchenko. Re: [PATCH v2] org.el: Fix percent substitutions in > > `org-open-file' Mon, 05 Sep 2022 13:46:41 +0800. > > https://list.orgmode.org/875yi2xtj2.fsf@localhost > > > > The point of defcustoms in the package instead of (or in addition to) > > `org-file-apps' is that evince and okular support more formats than PDF. > > I understand your idea. What I am suggesting is to implement support for > a subset of popular viewers (the Libre ones) and add it to Org core. > Support for non-Libre viewers could be added ad third-party packages > based on the Org core implementation. > Has this been done? I'm struggeling (again), how to link to a certain page of a PDF, being opened in okular. ./link/xyz.pdf::123 does not open the pdf at p. 123