From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 sH8HI2V6r2XG2AAAqHPOHw:P1 (envelope-from ) for ; Tue, 23 Jan 2024 09:35:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id sH8HI2V6r2XG2AAAqHPOHw (envelope-from ) for ; Tue, 23 Jan 2024 09:35:49 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=opID8AmA; 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=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705998949; 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=ViSe8miAEHiJuIVJ5LjkaCCYD4JZcBlmtlPPtVoG2TI=; b=py8TGaXPVFFvV2oe8bzQ9fHfLoAPk3SFFM4Dcl5YKkmEB0cpSIBBnFG1QTpCQwjtuILyLJ Y+rNbt4ygqQ564msvscmEp1+FsZZ4lIUoiKH7omVacKxpR+4eUny5RzLWlWplLZ098giQK wpae48bWHOet8nk1RruQW2YyrzoY4ciw6DFDVIs4WwGjhQPzgBkfzuwQtCw9zKYNvD0xRe 1Cn2yPYu6j68UJFX3PEtAnOeQ203vrsj5ZcryfJu6C2W5Be1hk2VeLwhlabplsmvnYe5kN YvHfhTVSwq/3+pk+Ij3VJ+qLJdrKqGYBZqPJtBPd6olY09x7ggTUkSofTpGhYA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=opID8AmA; 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=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705998949; a=rsa-sha256; cv=none; b=gtkW/eQTsSt79lz9MhrfVzpEdGkpQ/AQaJAG98IQ0w3f0IXqkJ7A6nDKLcQ3+994pCdNZq UiDhNm4PE9QxpVc2vPBbZoJoqhrWbQvOU/8dx4rIplR6c3pp58Isw+747PRkq0Iew4jn0O Z7AEon1x66K1ECdbeZGV7TN3DPTC4+gziKoxhPuzUBTE53V3iwLSbpB5XKZ0g7wQf10rd3 2jEhfZvcrgOK4KjlPWaIqLhLr64CiuCTabpZb28aH1v4p8/Bv1PtFwqX3H6T5jkHT7LRgG Xwv7OzbIQW+/eRsyArwmrEvqFGJIAkpmXz5OxL4P27WGsHHuQnYgsFpLTntc6w== 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 368EB3CE08 for ; Tue, 23 Jan 2024 09:35:49 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rSCFC-0005EV-Qm; Tue, 23 Jan 2024 03:34:54 -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 1rSCFA-0005E1-Lt for emacs-orgmode@gnu.org; Tue, 23 Jan 2024 03:34:52 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rSCF8-0002dt-EN for emacs-orgmode@gnu.org; Tue, 23 Jan 2024 03:34:52 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 7A351240101 for ; Tue, 23 Jan 2024 09:34:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1705998887; bh=Ah7rPchj+hlMdxTA+SbLaxFTCBtI6nLYSpRXhHACnMY=; h=MIME-Version:Content-Type:Date:From:To:Cc:Subject:Message-ID: From; b=opID8AmAlfzZfKCchdiTZxHzlWTplpN29sYQkNiynMKs04ixhzZ1tCFikfJszfv2m pQue3oWB+3vYeetbmIiInfsu5bhe8ZFC6YMTV0F5YBPpTIJkc9zxT526tlWUSk7VIZ 7/uIdLtCCnO7L2MZsv7YGRQyrqLYsPj5Nlfba+8h/eZ+rR8wJxx8jOvkKd4c+Xz5fs 79ZHK5DQZyUU8mL7fLgreKeAJjG4QiATNpmA8dkdoK1y6Hnt2TK376XCO1jdEhphN6 qrUoaVh03wT1rNO7AenMna8CqA636qeaQVg8DfDVYYI7tuW8UexeTUJb/u5xydpZXb 5lA7WButHSOBw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TK0kt54Fsz9rxK; Tue, 23 Jan 2024 09:34:46 +0100 (CET) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_81ae2abc77d2fd961931f09f136d49d3" Date: Tue, 23 Jan 2024 08:34:46 +0000 From: gerard.vermeulen@posteo.net To: Ihor Radchenko Cc: Emacs orgmode Subject: Re: [PATCH] Make an org-lint warning more helpful In-Reply-To: <8734upry70.fsf@localhost> References: <60f395fcacacdc6a7d9de3cd7a00032b@posteo.net> <875xzls08s.fsf@localhost> <429d681f72b1b13d81f24836017929d7@posteo.net> <8734upry70.fsf@localhost> Message-ID: Received-SPF: pass client-ip=185.67.36.66; envelope-from=gerard.vermeulen@posteo.net; helo=mout02.posteo.de 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, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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: -8.16 X-Migadu-Queue-Id: 368EB3CE08 X-Spam-Score: -8.16 X-Migadu-Scanner: mx11.migadu.com X-TUID: 0e58CHIhEPpI --=_81ae2abc77d2fd961931f09f136d49d3 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On 22.01.2024 19:59, Ihor Radchenko wrote: > gerard.vermeulen@posteo.net writes: > >>>> FR: would it be possible to resolve such links? >>> >>> What is the purpose? Why not simply leaving the result name same as >>> the >>> source block? >> >> I have Python "IN" blocks generating Python "OUT" blocks that may end >> up >> on different pages after exporting to LaTeX and PDF. >> The FR would allow to link always to the correct page. > > Patches welcome. > Another option is :post argument that will add the necessary #+name. > I see that my FR is already an Org feature. Attached patch makes the relevant org-lint warning more helpful for fixing user's Org buffers. I still have to think about your ":post argument" option to and #+name. Regards -- Gerard --=_81ae2abc77d2fd961931f09f136d49d3 Content-Transfer-Encoding: base64 Content-Type: application/octet-stream; name=0001-Make-an-org-lint-warning-more-helpful.patch Content-Disposition: attachment; filename=0001-Make-an-org-lint-warning-more-helpful.patch; size=1444 RnJvbSAzNzNiZjViYzE4NTkxNzk2MTA0NmRlNjI5ZWE3ODI5NmUwNmQwOTMxIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBHZXJhcmQgVmVybWV1bGVuIDxnZXJhcmQudmVybWV1bGVuQHBv c3Rlby5uZXQ+CkRhdGU6IFR1ZSwgMjMgSmFuIDIwMjQgMDk6MTI6NDggKzAxMDAKU3ViamVjdDog W1BBVENIXSBNYWtlIGFuIG9yZy1saW50IHdhcm5pbmcgbW9yZSBoZWxwZnVsCgoqIGxpc3Avb3Jn LWxpbnQuZWwgKG9yZy1saW50LW5hbWVkLXJlc3VsdCk6IE1ha2UgdGhlIHdhcm5pbmcKY29ycmVz cG9uZCB3aXRoIHNlY3Rpb24gIjE2LjcgRXhwb3J0aW5nIENvZGUgQmxvY2tzIiBvZiB0aGUgbWFu dWFsLgoKTGluazogaHR0cHM6Ly9saXN0Lm9yZ21vZGUub3JnLzYwZjM5NWZjYWNhY2RjNmE3ZDlk ZTNjZDdhMDAwMzJiQHBvc3Rlby5uZXQvCi0tLQogbGlzcC9vcmctbGludC5lbCB8IDcgKysrKy0t LQogMSBmaWxlIGNoYW5nZWQsIDQgaW5zZXJ0aW9ucygrKSwgMyBkZWxldGlvbnMoLSkKCmRpZmYg LS1naXQgYS9saXNwL29yZy1saW50LmVsIGIvbGlzcC9vcmctbGludC5lbAppbmRleCA4OTNlNTA0 ZDMuLjgyOTBiNjIxZiAxMDA2NDQKLS0tIGEvbGlzcC9vcmctbGludC5lbAorKysgYi9saXNwL29y Zy1saW50LmVsCkBAIC0xMzYyLDEwICsxMzYyLDExIEBAIFVzZSBcImV4cG9ydCAlc1wiIGluc3Rl YWQiCiAoZGVmdW4gb3JnLWxpbnQtbmFtZWQtcmVzdWx0IChhc3QpCiAgIChvcmctZWxlbWVudC1t YXAgYXN0IG9yZy1lbGVtZW50LWFsbC1lbGVtZW50cwogICAgIChsYW1iZGEgKGVsKQotICAgICAg KHdoZW4gKGFuZCAob3JnLWVsZW1lbnQtcHJvcGVydHkgOnJlc3VsdHMgZWwpCi0gICAgICAgICAg ICAgICAgIChvcmctZWxlbWVudC1wcm9wZXJ0eSA6bmFtZSBlbCkpCisgICAgICAod2hlbi1sZXQg KChyZXN1bHRzIChvcmctZWxlbWVudC1wcm9wZXJ0eSA6cmVzdWx0cyBlbCkpCisgICAgICAgICAg ICAgICAgIChuYW1lIChvcmctZWxlbWVudC1wcm9wZXJ0eSA6bmFtZSBlbCkpKQogICAgICAgICAo bGlzdCAob3JnLWVsZW1lbnQtYmVnaW4gZWwpCi0gICAgICAgICAgICAgICIjK25hbWU6IGluIHJl c3VsdHMgb2YgZXZhbHVhdGlvbiB3aWxsIGJlIHJlcGxhY2VkIGJ5IHJlLWV2YWx1YXRpbmcgdGhl IHNyYyBibG9jay4gIFVzZSAjK25hbWUgaW4gdGhlIGJsb2NrIGluc3RlYWQuIikpKSkpCisgICAg ICAgICAgICAgIChmb3JtYXQgIlRvIHJlc29sdmUgbGlua3MgdG8gJVMgaW4gZXZhbHVhdGlvbiBy ZXN1bHRzLCBhZGQgZS5nLiBcIjpleHBvcnRzIGJvdGhcIiB0byBldmFsdWF0ZWQgYmxvY2suIgor ICAgICAgICAgICAgICAgICAgICAgIG5hbWUpKSkpKSkKIAogKGRlZnVuIG9yZy1saW50LXNwdXJp b3VzLWNvbG9ucyAoYXN0KQogICAob3JnLWVsZW1lbnQtbWFwIGFzdCAnKGhlYWRsaW5lIGlubGlu ZXRhc2spCi0tIAoyLjQyLjAKCg== --=_81ae2abc77d2fd961931f09f136d49d3--