From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id gJfgL+I3ymUk+gAAe85BDQ:P1 (envelope-from ) for ; Mon, 12 Feb 2024 16:23:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id gJfgL+I3ymUk+gAAe85BDQ (envelope-from ) for ; Mon, 12 Feb 2024 16:23:14 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=irfus.in header.s=default header.b=iVImsGCw; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707751394; 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=RBEC+8xIPUs4zscqWdDdbCEiOFoS5CfjW51s2zFc8aE=; b=abABhDAuG8cDA3pkD3Ps3N3uMV7YgJ+sppWE8dX+Zfr6vMQ6j/PSsjOfY1Xe1rjhXobLiz gtFdXE+h2plm0Io8y7r337P7XsL1LPI3V7jCRSDnHdA+s8n6gRtOw6OKrINtJANdzSWR+A nM14c1CH4tmrmmN/EWtZNS59WhaSrCIKojDUJ4OvWylO3eKvyXgqs+EI9jSdhxtC1REXc1 g5ySTW12Ece5ggChZCIz/7+WxdWN1RPM1cswUPhj3nUv8/QfAReJXi1zkRojVheb754w35 AXcGQceEVGmmSLGl5xqdY//4TKJ35iJBv/aj0ZK2nYtqVsVOzfwd+XMjwgBsIQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=irfus.in header.s=default header.b=iVImsGCw; 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=1707751394; a=rsa-sha256; cv=none; b=ndhSbpfTMBofdk5SSkAITSKF1TVVNqSnzsDqxi3F9S0jIGdcpgM5aT9le3It3Q0eObj+T5 0CnP2f2maeAo8mFfnwS98BQF+SYgdwQVRGXiJDRh6nRI/qgnxVqC6VihzUCPVWrbAUq4e2 0Ji2bcjgWNYzA2R4ljD8C10rBD50pAmBCBkTmLDWJH4wkxvd03v6EDffuvZy1CFX4RIv7x brjJQo/J0MtoR4+1jKZRDvQFR64kzir2kSFb69GqvXZNwXx1Pu09wGUB0DX1YYSoJ2F7c8 0bJIPU8tjQCWd4GABdK2gEIOSuqQ2vlpqkmsjM/48ft0JtshG0Sxa0JIgU2EMA== 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 815EC6A849 for ; Mon, 12 Feb 2024 16:23:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZY8E-00048r-BN; Mon, 12 Feb 2024 10:22:06 -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 1rYPl2-0000mU-Ms for emacs-orgmode@gnu.org; Fri, 09 Feb 2024 07:13:28 -0500 Received: from irfus.in ([45.63.78.5]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rYPkx-00064z-GK for emacs-orgmode@gnu.org; Fri, 09 Feb 2024 07:13:28 -0500 Received: from irfus.in (localhost [127.0.0.1]) by irfus.in (OpenSMTPD) with ESMTP id 7c34694c; Fri, 9 Feb 2024 06:13:10 -0600 (CST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=irfus.in; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type:content-transfer-encoding; s=default; bh=NKnld+kHY ZfpNWPrPEdbuozQEeM=; b=iVImsGCwzmJaL16XZ7yuQ1Po6nUMlc5SVaWsnX7Wl 6zHPa4ARSRr7ZOjd1oa6Zq61PaoR6F+0aZh9gMhiQJQyM1JKZsP/ygLBx4qsfZdT WkX6DfjdBHVGv2/PFC8jMFonQYuAPvDM6DawrCHB+u90usDkUTctjjFH8hjF63ob Ag= DomainKey-Signature: a=rsa-sha1; c=nofws; d=irfus.in; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=qRH IFtp1e/hG+4qYVXuWSGvzQ6smg7xW/K9/+uaWobP2Yix7JCLsN49rMHsYjMsYctX dlu7k2mNoawH9GALfh3nQf+S0Z+pcyd9YfJQogyAeba8+qjMtI/HlfvM1GIpn+Hi sFRTVKzOys5WGJRishv/Nxk/+ituKMft8JMRIyR0= Received: from scream ( [158.144.42.121]) by irfus.in (OpenSMTPD) with ESMTPSA id 57b093e0 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 9 Feb 2024 06:13:10 -0600 (CST) From: Irfan S To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= Cc: orgmode Subject: Re: Link type for pdf-tools annotations In-Reply-To: <87h6iitxi9.fsf@posteo.net> ("Juan Manuel =?utf-8?Q?Mac=C3=AD?= =?utf-8?Q?as=22's?= message of "Thu, 08 Feb 2024 22:13:50 +0000") References: <87h6iitxi9.fsf@posteo.net> Date: Fri, 09 Feb 2024 17:43:01 +0530 Message-ID: <877cjd4z02.fsf@irfus.in> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=45.63.78.5; envelope-from=irfan@irfus.in; helo=irfus.in 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 12 Feb 2024 10:22:00 -0500 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 X-Migadu-Spam-Score: -5.21 X-Migadu-Queue-Id: 815EC6A849 X-Spam-Score: -5.21 X-Migadu-Scanner: mx11.migadu.com X-TUID: Th8HnjcIooHI Juan Manuel Mac=C3=ADas writes: > Many times I need to "save" an annotation point in the pdf-tools > annotations buffer. So I defined a new link type and the function to > store it. The link is stored with the structure: > [[pdf-annot:/path/to/file.pdf::annotation-date][file-name.pdf (annot. on = p. page-number)]] > The link opens the PDF and jumps to the specific annotation. A screenshot: FYI, there is also [[https://github.com/fuxialexander/org-pdftools][org-pdf= tools]] which provides similar (and additional) functionality, and is on ME= LPA. Thanks for sharing your code. Irfan