From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aLbkOLns9WP3cgEAbAwnHQ (envelope-from ) for ; Wed, 22 Feb 2023 11:21:45 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sFLJOLns9WM5cgAA9RJhRA (envelope-from ) for ; Wed, 22 Feb 2023 11:21:45 +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 6FB429490 for ; Wed, 22 Feb 2023 11:21:45 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUmEy-0004XB-9J; Wed, 22 Feb 2023 05:20:48 -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 1pUmEr-0004Wz-Kv for emacs-orgmode@gnu.org; Wed, 22 Feb 2023 05:20:42 -0500 Received: from mailgw201.it.ntnu.no ([129.241.56.178]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUmEo-0007f2-Qa for emacs-orgmode@gnu.org; Wed, 22 Feb 2023 05:20:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntnu.no; i=@ntnu.no; q=dns/txt; s=s1-1909-ntnu; t=1677061221; h=date : from : to : cc : subject : message-id : references : content-type : in-reply-to : mime-version : from; bh=MuezKZ9WIHUTkn+MMUbPFf6ICiSZcS1BHYSsJN5IcHE=; b=wwmBG2gLx6r8pml81YIMToCr4zzcQCQbnjPpVp4FW3CaWqJ28Etb/hcRVrvUP+iUEyXDp Z4XeiiS1QklMsxwYe8F5ABs+sW1tRCmPfgIsGr+385z55SCxp2O4acWVMYwzmmXqKxGuBOD bxugCI2NnkThinErQuVrgFBc9qLdFHcL8akeRYZY60fTciekqHQz5w/n30CUxgag2A3OHBk q7KxNEOjacl8V70j/UNO+Aehjvf7u8RT95bLP4PJP4ckK1zG/h8lIgscbufBwLTnssrE2bo D2YXEUWX9faefLo/+VDM8oFTvO5nE2ZVpeQP0zwMdKK4otDR464EOqqme6uQ== Received: from localhost (localhost [127.0.0.1]) by mailgw201.it.ntnu.no (Postfix) with ESMTP id 585A69009C5; Wed, 22 Feb 2023 11:20:21 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mailgw201.it.ntnu.no Received: from mailgw201.it.ntnu.no ([127.0.0.1]) by localhost (mailgw201.it.ntnu.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Eq912cPKD7cU; Wed, 22 Feb 2023 11:20:21 +0100 (CET) Received: from NOR01-OL1-obe.outbound.protection.outlook.com (mail-ol1nor01lp20207.outbound.protection.outlook.com [IPv6:2a01:111:f400:ff0b::207]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailgw201.it.ntnu.no (Postfix) with ESMTPS id EF16590144A; Wed, 22 Feb 2023 11:20:20 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eyfi8n2o/WbI/fPojU1lAMJtlEWB02ugUuF1yLrM2JiSKRqV35KmNMzdLneFVakqDgjg9109LrX7SSSc5RVnea/ctxbPACkOug7gNcjZYYGGWkfTFTWFL2vp8cpBT/QqQ6M0sAHze7s3WA5n8V2jFeHWtHg2j20Qx/4hyIq8M5hiuU36Hlp0OL3ln2aVtCII7bEDW8HMjOTLHT7fzuvF5DUjiaXx+52SXXu+wM0ckTZvsffT07w/vHTj9cwvXUyT2p/MfzEh+Qf0xStoXDxEmDkV3L38Ia2xmAWuyghpx9fReHdHPDi4Yjp1VQdIIbMS/zI/YXIMYXxf6+6l/4OGvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=R+JOe7mXroXUJQy9oWAt/edEOUMyp83fzdBXz3WzH6A=; b=QF3IV7x7r2vtKHkcS0vpu3bg0lg6QyoKeGpW+rEenJN5xw3ui8HvES2aPR64KZXNJvUPj5B3jO1McX5iTh9VhNF3HJ+uIQsTlhoeHaRJ/Oq1ve2hYFkfVOWqHiy8qL0CDhkJAY2fFy5kWllmf/ybATgWV8VJWVc3sbP57ICKS8fuiWmrWjK6pE67qkqrA+FOWPCqQItl7WOeDL8QEcHkIoWYkr2KIcjn9tu7nqrx14p9Be24+V/TRI2QIrbGdRf1WvWSkShHNLKkGsooAzbneHeoR1n0vIt5S7gqDAGdAe/ZIFgNHjmyDh00RU3MmIaDw//l+3FDhKqI4z3Ogpuu+Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ntnu.no; dmarc=pass action=none header.from=ntnu.no; dkim=pass header.d=ntnu.no; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=studntnu.onmicrosoft.com; s=selector1-studntnu-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=R+JOe7mXroXUJQy9oWAt/edEOUMyp83fzdBXz3WzH6A=; b=JDZ4iE3ttV2Q2XDODB8VPPnczSgvXjKzkJttGWgl/PEoR1MqxnQVNO8u3w9Wnfos01diKL9Upm1vMrn3JZFbzt+H7ntabUKnbb2nc/Iqw2aTnvvBHJXznSN18eYZSIvDGBLNUf5SPyWQ4BtkQqtDm1VFqPrk1z30/z36BLTd6J0uGHPLhv9qEgYtsN8NJ6pYdOgEHkPDqCy4VsBV+s0+xHnDw0D8YrIEiFP7+aYM7FcJRMOUE4subLOg6pFeWiOAtpY55OV9kCzFq7t6DXUSr8hEJzO6osSRg/RNnR58R9AJoZtdGmFFOV6aJFjdUdFEcK7+v4/KkiBmuolZ+fgbtQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ntnu.no; Received: from SVAP279MB0493.NORP279.PROD.OUTLOOK.COM (2603:10a6:f10:17::13) by OS6P279MB0638.NORP279.PROD.OUTLOOK.COM (2603:10a6:e10:2f::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.19; Wed, 22 Feb 2023 10:20:19 +0000 Received: from SVAP279MB0493.NORP279.PROD.OUTLOOK.COM ([fe80::620f:ed54:cbce:f940]) by SVAP279MB0493.NORP279.PROD.OUTLOOK.COM ([fe80::620f:ed54:cbce:f940%3]) with mapi id 15.20.6134.019; Wed, 22 Feb 2023 10:20:19 +0000 Date: Wed, 22 Feb 2023 11:20:17 +0100 From: Sven Bretfeld To: John Kitchin Cc: Emacs Orgmode Subject: Re: Links to external targets with (or despite) org-ref Message-ID: References: Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: OS6P279CA0144.NORP279.PROD.OUTLOOK.COM (2603:10a6:e10:3a::12) To SVAP279MB0493.NORP279.PROD.OUTLOOK.COM (2603:10a6:f10:17::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SVAP279MB0493:EE_|OS6P279MB0638:EE_ X-MS-Office365-Filtering-Correlation-Id: f3240ddf-d747-4a05-7dc2-08db14be666c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZKU2BHWPiN1DEExP6//X4DUK1FvVTxjPFMKNeo6X5a4m9qZbWCFKYUsX1pHsD+Z40mgAsNqvpW7YdWrzNaoVrf0UC/jHg+dsXiEi2LYnY6DB0D0gepCcFX1u1kI4gDKQJWX8NA18djaMGbpCwhOLweG6XaHdm5CWJWwzD8ueMEo9GRJCobVhsbuAS9eeC2OV8V+VRDob6TtrDYfVlp1k4v7SgVdUN/EhS1vv6EraQd4660C19oaYqIHl+EYdruuOp+oH4xCMdA5tb+o3K5ep0cj9QVI0AtaeASFzTM1YGAWMR9Mn1MkraCDdUFRniFVSphVX8m21tj5bua9W1Bu+wRzVlWPEoQ+OX2kIinxm4HXYoT7E7lPq3u4Y1s0p7GFrd4HBgQgBMp5PVDQtl4IEPVVnK3pCxE0k5pfbjtekcPPnJFgyF1TLAvAJ5PBrqBGZwbuRn3RI9Pl1MgjPcCCosA7K6WJNzAvuHMOjTCRYUqj/iCy0BvAoEOpL/+s2C4/Aupu/Z17ORm7CyH4R5gTrzwp5RUa3HZRabW/csRC7R3Uam6moGGp+ja0tnrBomxSDgEEYL2cQUhJYbwcx090vMnJiadBSshRdZYHm0XJvobLLl2pOg8ChB6DxvGYQti2w6OEEaivLUKyCK7jd+CQwcA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SVAP279MB0493.NORP279.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230025)(4636009)(7916004)(346002)(366004)(376002)(39860400002)(396003)(136003)(451199018)(38100700002)(2906002)(33716001)(83380400001)(66574015)(186003)(6506007)(6512007)(26005)(9686003)(53546011)(316002)(786003)(5660300002)(41300700001)(41320700001)(66556008)(4326008)(8676002)(6916009)(66476007)(86362001)(66946007)(6486002)(478600001)(44832011)(66899018)(8936002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-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hAsu4Hr33GliNEY9QBcS0YsNrtrVwWyG75m1+DrDYfoOF?= =?us-ascii?Q?JqOT1uxK/qRvjNtjhahOGegfBuRTP/8jKgKjUhH8Y54LXON3G6rsyjq8Q0kx?= =?us-ascii?Q?Yx8TwFIwseDn8YFB3gaP4b/oz3CgXBTuIBQbTcSdlSjN3SfCY8YymUGHHdgs?= =?us-ascii?Q?ID6JUelCcjfRTXVPdSDPRAwiiG5a8WMe44Db4DGxOYwyDriAUQRD/h2w/BzC?= =?us-ascii?Q?Ees0CcW3yJ0XMachdwJdXMD9cNQraNCeK8FIWIrKDoM/VIAktTcpmjYNbIt/?= =?us-ascii?Q?Qfh6hXlc8K2FQ6nc4Pg8vXkOx5L2lH8v3BYcUif5rGODeEYBDZTXPTTXODI3?= =?us-ascii?Q?nOyvWibXz9mjT/4hN4ggA7GN8P7CSRqKUgeIMZ5J0dvglPZxnGzy0nzVZcQt?= =?us-ascii?Q?CXXt9GQev0yzY+XhKtP0GImBr4KiqTxrbrkjlhRPHIKoeAkKq29klA/En40L?= =?us-ascii?Q?oMi7dq10gNwJuOjgVmsI+tCybxNTMf2WJWMxGk6B9JNl4IVDwLHFTY1L/0Li?= =?us-ascii?Q?XEzo94yyFtHklbep0gwlWP7paqMJAk2IedDTdAWpgE8oGZa3ykDhp55ubSUT?= =?us-ascii?Q?3lS0ghDhWQEDRGACrxw2OIV5Ej0HoPc5Gi6juSoifrKKHYtHoklnqPZDlE0M?= =?us-ascii?Q?izEG2H2TjMd5h3MjsKVKaiyHdEc/P+3ZeQzFhQt092Uc0ihJyqHC3SUvIij3?= =?us-ascii?Q?CFuYar+aPYAI+rflHTTYbdDI/7wMknk8R5J2vzZw?= X-OriginatorOrg: ntnu.no X-MS-Exchange-CrossTenant-Network-Message-Id: f3240ddf-d747-4a05-7dc2-08db14be666c X-MS-Exchange-CrossTenant-AuthSource: SVAP279MB0493.NORP279.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Feb 2023 10:20:19.9034 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 09a10672-822f-4467-a5ba-5bb375967c05 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: JPnpRek2fD+lbvCObQxK6BeJaGQSBcAm8UVaIKfwawzDB88Rv5TEMZndICPN/0tL X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS6P279MB0638 Received-SPF: pass client-ip=129.241.56.178; envelope-from=sven.bretfeld@ntnu.no; helo=mailgw201.it.ntnu.no X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=2; s=key1; d=yhetil.org; t=1677061305; a=rsa-sha256; cv=pass; b=fwP9RHYXgDTCWm4r/As6ibTy5Yb/xaLJWYnEtQYl5+XhpBz4L/LOVr+hM+NYLqfYX1y/N3 hiJsm0E5OqogV+IWZncfj8DNwJyOtq90ryHJcrz9rQdsYBAXvagcdkXZhO4io1fkgdL/VO 5XxSH8eKJsXcCs+IpuYWLG7PUU9sjHyoyFN8T7GI1tAw2R0h2X6Q1WulKKP50adyc74uDy VwvgVcvaXtojouSQB4Z8POWun4xxt7q3U6QryzyRp2aA1jlxhL+8HZ9AOC4/b+CDE+tFia ED6alNKQ+fLbfM6tasNmRTIe8CS6GGu/9QWIn5fr4PzvLn1O0GXPprMEp9TCBw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=ntnu.no header.s=s1-1909-ntnu header.b=wwmBG2gL; dkim=pass header.d=studntnu.onmicrosoft.com header.s=selector1-studntnu-onmicrosoft-com header.b=JDZ4iE3t; dmarc=none; arc=pass ("microsoft.com:s=arcselector9901:i=1"); 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" ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677061305; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=R+JOe7mXroXUJQy9oWAt/edEOUMyp83fzdBXz3WzH6A=; b=eGghW6ydRerZkfZJkjNpdA+zJx3kquiVTdA6jXZa3nuynURDag6nbfbGiaPK/y9Ai9yo9Y kk7dOU25n/wiPXYqUPgOT0462vrPoP14axZ25HTTKy495he9EqVZwDLGTyUnmK8I7mrPnv yvNxEiCMYu4robnt3Jcw/NvM2YM4WzJ1PpcwCox6vSAWasbVSiJaGvtLTgNEZMJb54SdHR Nq2Kq9Ri/nSWS134Ze+eh4k+q5+6JWlaF0F4lb1JJCwuDHaaret4QeaJZxwgz5W4k8eOTZ 4xbbiRKDkhDcjqb5YyQuHC920hZ7vIKvGsJL+JQqVOOEBzQI89bZXAXazJxtoQ== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ntnu.no header.s=s1-1909-ntnu header.b=wwmBG2gL; dkim=pass header.d=studntnu.onmicrosoft.com header.s=selector1-studntnu-onmicrosoft-com header.b=JDZ4iE3t; dmarc=none; arc=pass ("microsoft.com:s=arcselector9901:i=1"); 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: -8.22 X-Spam-Score: -8.22 X-Migadu-Queue-Id: 6FB429490 X-TUID: lsWyTEVCatcj Hi John That's working well. Thank you very much. And thousand thanks for org-ref in general. Sven Am Mon, Feb 20, 2023 at 01:07:49PM -0500 schrieb John Kitchin: > The quickest thing might be to remove the store properties on the ref links. > This should do it. > > #+BEGIN_SRC emacs-lisp > (cl-loop for reflink in '("ref" "pageref" "nameref" "eqref" "autoref" "cref" > "Cref" "crefrange" "Crefrange") > do > (setf (cdr (assoc reflink org-link-parameters)) > (org-plist-delete (cdr (assoc reflink org-link-parameters)) :store))) > #+END_SRC > > I guess I don't have that setup quite right in org-ref, it seems like it should > not clobber other ways to store links. > > On Sun, Feb 19, 2023 at 10:39 AM Sven Bretfeld <[1]sven.bretfeld@ntnu.no> > wrote: > > Hi everybody > > I'm looking to create labels/links to specific text positions in org > files (not line number, not header). > > I know that [[file:~/path_to_file::target]] can be used to jump to > <>. That would be fine and works for me -- IF I write the link > manually. > > However, org-ref which I use for citations seems to overwrite the > default behaviour of org-store-link and org-insert-link. So when the > point is on <> and org-store-link is called (C-c l), I get a > prompt "Store link with (default org-ref-store-ref)". No alternatives > are offered when TAB is hit. Hiting RET saves the link as > "Crefrange:target". A corresponding org-insert-link (C-c C-l) produces > a link of the form [[Crefrange:target]] which, when in another file, > of course leads nowhere ("search failed"). How to get the file name > into these links without manually rewriting the link? > > I couldn't find anything on this issue in the org-ref manual or on the > internet. > > Thanks for help, > > Sven > > > > References: > > [1] mailto:sven.bretfeld@ntnu.no