From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 4DmhEhU5sWTJPgEASxT56A (envelope-from ) for ; Fri, 14 Jul 2023 14:01:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id AEtDEhU5sWT8FgAAauVa8A (envelope-from ) for ; Fri, 14 Jul 2023 14:01:25 +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 142714DF3F for ; Fri, 14 Jul 2023 14:01:25 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=D6rwRwhN; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689336085; a=rsa-sha256; cv=none; b=krp+5SiFz8qkdql9/99qbZVCiY3b/5QbPvpG4Uiby1iVIiMS0Lds6F+B7lrsyTCTzWdVr1 gwrqfczmgtI0QKMNqKoURjG4O8hiBGvzmhITvo8VymDFPiOXvrQRkH5oj/uUbw366lRFKT mkHWzDFYJ40eIE33UyHO3wW7WO8XUpA9Xg2rk6Zgd+WYMr7sEwqJTRLfBfLWHqmjp0/Kqf CCkrEc3Cjh8F+omxssMsIUALvx7tz4idVRdED2DMvjXLdRn0BTy25xCvFS5lnPOQwCCQ5h uvE8+p91GluJyMZveEOF7uCOYEyZVZibc6xKdf8Lk89PhE6ly85ouLAc/vBOoQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=D6rwRwhN; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689336085; 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=qSy4LeaAYkscNzTHbaxv3bls4hrh+IFwWJDp0AZGhnc=; b=KWGZwDqDzx2eJ1LKlIWnoQ3s1H8p9XN0RhdjIyOMDqq6O4ng9bEiBO6hpjT8fweinBgsJH 8qN4iAmTwFZKUZEsn1BapIlaXeu0Li14dhUhcIHnMnQQsT6pov1shV7nMCrXLHq4JJyv5i F0aGjzEGfPBOqJx3OKReOiRV5ADlc/EdG4wvzTmKsEzNQsfq89go3gOYttpesshbrxlslh d62Y9NeKkvID742ziLGklWf7H/1stHy/qlf9WLyNhvp2CvZ2FwVYG4TN4EAUpHp5tCCDe3 YAlXiLIz+w1fXkdiiLQvpTeXFscle+CmUt6xeZX+CCAohMcgUStUa7bermtzNQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qKHT0-0004Ak-DI; Fri, 14 Jul 2023 08:00:11 -0400 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 1qKHSn-00045m-4J for emacs-orgmode@gnu.org; Fri, 14 Jul 2023 07:59:58 -0400 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qKHSk-0004oI-Mt for emacs-orgmode@gnu.org; Fri, 14 Jul 2023 07:59:56 -0400 Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2b70404a5a0so27487841fa.2 for ; Fri, 14 Jul 2023 04:59:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689335993; x=1691927993; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=qSy4LeaAYkscNzTHbaxv3bls4hrh+IFwWJDp0AZGhnc=; b=D6rwRwhNsj1C+96YIXhmVVfOluVnzSqkE3NWDgOMIkXS4/mXwmZrTu8ZhXm7Tw/wJk jzrqL3FpLHRr5B7an1cSRD8hcbfgQ43+j5jpbCUIS/yuOOBTb94T51THRWAHQmWhBWGs IHhRQ1DUpvEfkQzRxbzsE2sXWsHTjN/QIw/tXSouzLIlWipfk+HTnXanJ+zvsR3t0SIv GQAzWugo3b0mayf/jBSvi6IGcKs5UXLz22/J1sO+1607DZi1r+FQMXuOBshJrO6vX920 xMpMJ3XEhq1ydP3+a/mFEcnhw+XrHBB1p8pHEFVEyBrq7qRpeRlstdMTN9zuXjgFnggG dJDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689335993; x=1691927993; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=qSy4LeaAYkscNzTHbaxv3bls4hrh+IFwWJDp0AZGhnc=; b=LUHHXvHwzQiBLgslpAdEXXBOn+2RavqUBnWT68ANiPhMUvCmUptMqugF+yUuQkHZ+/ ZYxRUJC6IOL5dnN1p9L5PHvatZY3+/gtU0OZrWjyI5MFfE3llzeQ85WGpuOvBxBeyq0z Wtdpvc4UkUt712PXOabrIEwITDdGgJMarh5hsHtw+7O0BCgfnQwaDg4bxBmiLE0JnGJV Eekms71lORTzLoX51EkTj3e6b8nOtZF5eNsCFKcTnzyX2o6cE/fhV9G82u2W6EP9yiRs Q96WpOx02QRhzqPQyOONlkBgbDS4g0O1ynIZ0cHa4Fud3AZDsXfbOAXdc4pJ+qMkBXw4 9rSw== X-Gm-Message-State: ABy/qLbDJCNNswXe3h5WZMWq7XzQhfdsfhFdKWAiWc3XDurZzA9QZpcF 5OJ5BB7RhfGk6J/QMwoP0bIqfM2iiLbJPA== X-Google-Smtp-Source: APBJJlHYKByU6Yo9jjIKzcUPOepP2PVhJKN50mHxRypvGYUSRKPqZstUyJefliiN2ya1WJCnmf9LFQ== X-Received: by 2002:a2e:8257:0:b0:2b6:e332:d089 with SMTP id j23-20020a2e8257000000b002b6e332d089mr4266460ljh.41.1689335992897; Fri, 14 Jul 2023 04:59:52 -0700 (PDT) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id j17-20020a2e6e11000000b002b6ee75648fsm1967456ljc.12.2023.07.14.04.59.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 14 Jul 2023 04:59:52 -0700 (PDT) Message-ID: Date: Fri, 14 Jul 2023 18:59:51 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [BUG] org-store-link on document title Content-Language: en-US To: Anthony Carrico Cc: emacs-orgmode@gnu.org References: <4c7716d8-eb38-9ea9-44cf-687c1b0b5910@memebeam.org> <87wmznwebp.fsf@localhost> <87tturwde5.fsf@localhost> <04cb3498-563a-c42c-03ac-5791572a2122@memebeam.org> <87edluwgk6.fsf@localhost> <0b1fb992-0d0b-326f-02d8-b3f307546eb2@memebeam.org> <87bkgyw9fc.fsf@localhost> From: Max Nikulin Mail-Followup-To: Anthony Carrico , emacs-orgmode@gnu.org In-Reply-To: <87bkgyw9fc.fsf@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::236; envelope-from=manikulin@gmail.com; helo=mail-lj1-x236.google.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 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, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.091, RCVD_IN_DNSWL_NONE=-0.0001, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.03 X-Migadu-Scanner: mx2.migadu.com X-Spam-Score: -5.03 X-Migadu-Queue-Id: 142714DF3F X-TUID: /82g098tqs8f On 29/06/2023 22:54, Ihor Radchenko wrote: > Anthony Carrico writes: > >> On 6/29/23 09:20, Ihor Radchenko wrote: >>> Sure. And if it were a plain file link, there would be no reason to >>> assign TITLE as description. Because the link would be to a generic line >>> in file. >> >> What? The title is the perfect description for the file! > > That's because you expect Org to create a link to file. > But what Org does (by default) is a link to specific _line_ in file. I find expectation to use the title property reasonable. Text search links are not created for lines after first heading. Current behavior is not documented and (if I understand it correctly) was introduced in https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=12c09be3a 2020-02-19 18:03:53 +0100 Nicolas Goaziou: Refactor context part in file links However there is a number of unit tests, so it was certainly an intended change. So my vote is for [[file:document.org][title property]] when the document has at least on heading.