From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id AG7aJV9xA2PJTgAAbAwnHQ (envelope-from ) for ; Mon, 22 Aug 2022 14:06:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WAKyJV9xA2NwmQAA9RJhRA (envelope-from ) for ; Mon, 22 Aug 2022 14:06:55 +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 45704D98F for ; Mon, 22 Aug 2022 14:06:55 +0200 (CEST) Received: from localhost ([::1]:47766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQ6Cj-0002pV-Hk for larch@yhetil.org; Mon, 22 Aug 2022 08:06:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQ671-0006oE-4H for emacs-orgmode@gnu.org; Mon, 22 Aug 2022 08:01:07 -0400 Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]:39577) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQ66t-0003sd-L6 for emacs-orgmode@gnu.org; Mon, 22 Aug 2022 08:00:58 -0400 Received: by mail-pj1-x1036.google.com with SMTP id s36-20020a17090a69a700b001faad0a7a34so13720989pjj.4 for ; Mon, 22 Aug 2022 05:00:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc; bh=Jj4tyzHMoOuzmhKcav5OoAEyTrAN5xOe9/iaWYAZwYM=; b=NiY4urw2vRrTHccsGyoNfgFLpRIzUfKR9yfPTOa7OCeUUCFpmv91QIeYsQY3oEw2JI xRrGFkPqxEhrh3yl04tRHoP8gihHrlcv1dNYrFiFvX0Jfd1TZMCDJVHAjLfyconhKJAb DeYGELFz4dFVtq7Cyv3MeXTgw9VDIhQ43wjf1hPiekp4z9gH96irqnDfySK52iJxFY1t 6mzAuBwQ5r0cBsyDbEHRBO3ip9HDYA03+Mj0RyfNJn0ThpsNe3GHIDe9ZgOBnhhfoaqn Y0u2isRpWXCgH37M10WzVVp9ZuJHjJA1SWez4+KoSKQ7HNFnzJpNzkIOWFrX7qrSntrN vLSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc; bh=Jj4tyzHMoOuzmhKcav5OoAEyTrAN5xOe9/iaWYAZwYM=; b=w3I+shSqyJUXeoqrXx76bTmubhjW8weKif1YuIq0+auNxao2HTjUmRoq1ogx1UvNCV XgEsvxQMYO8p7Fa31czSY/pE+ONRJBWg6baK+qZWtKQUQNQfFz+a/sFj6uSFggLkGKgq YzTttgIYWfQg3RgKMvUW3MzHAkWnYyHF0BO7JSiKUS7HJHZ2fusHWzdHqJKdF8gP8aef kPlMOzAh8dx3ieO/LWBJI5jrnwqAzJis7wi8qSseSWrQgJlSsGvTnUKkN8zJuKUf1grI h7othz2m/pdcf0FFTibvNK/sOHNu14pGd5JWw9ncYumPnSOsMfVD9Ynmzl4LPhF9DYbW sckg== X-Gm-Message-State: ACgBeo1cMctlBcHkRHiamBH3ZOQ+5Oocllst9EDz+QmSwhSmwm/OoHgx FggBvSbF4PDY7wISzAfioITTx/wHmRA= X-Google-Smtp-Source: AA6agR4SFBxil30PTEU3n4b1/gqfo56PzxAKGrhEZJPNUXF+hIHc135u78+YpK9H3ncD8/T8WdgKZg== X-Received: by 2002:a17:903:1209:b0:16c:ece7:f68b with SMTP id l9-20020a170903120900b0016cece7f68bmr20054928plh.112.1661169650173; Mon, 22 Aug 2022 05:00:50 -0700 (PDT) Received: from localhost ([2409:8a70:2b9:1e80:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id c3-20020a170902d48300b0016a058b7547sm1393930plg.294.2022.08.22.05.00.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Aug 2022 05:00:49 -0700 (PDT) From: Ihor Radchenko To: reza Cc: "emacs-orgmode@gnu.org" Subject: Re: [PATCH] org-export: Make results of named code blocks a valid link In-Reply-To: <87mtcjnghc.fsf@localhost> References: <56e1e299-b04d-0b01-7dec-564207d4484a@housseini.me> <01020182658e20e8-67e349b2-0f8b-457a-89ac-8242af01ff94-000000@eu-west-1.amazonses.com> <87mtckhgxq.fsf@localhost> <032306dd-7465-fdfd-b6c1-0bd82b662370@housseini.me> <0102018269e0c5a8-804eb3c2-47b4-45e5-9efc-87a2aa56cc0e-000000@eu-west-1.amazonses.com> <87bkszpiiy.fsf@localhost> <010201826cb68597-bf75d596-7890-4dd0-b9ff-0c7b617b4dd4-000000@eu-west-1.amazonses.com> <87mtcjnghc.fsf@localhost> Date: Mon, 22 Aug 2022 20:01:52 +0800 Message-ID: <8735dotrkf.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1036; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1036.google.com 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661170015; 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=Jj4tyzHMoOuzmhKcav5OoAEyTrAN5xOe9/iaWYAZwYM=; b=LOUEalPsGJxvvo7dJrhADs38CUSRt+UwdsAopf13Btr4PMdYmnX46Z7fclGi8eZPa6eooD WkdiNKFm8H+VJJXZFTdSplLN1RMktzWiBZNd2KpxL8zudlVKL2V077HsdgwyyZZZQ4jDWj mVPE2agCal39CbzpZob13GURvx4rfXumUNDQ9g0QGpCFpSzLmi9ammydE2xFBLneRS4Z9W bsV2AW72V4I8XgPuUPiMmwIaRmHzI5yH5Vn3iQeRFNqTHv1HLWBG8AFekTVl88s9d62PHW 2Evq9LsadRryJ3wX6aSOyRdudVY2AopmPClyfiTK03HuXWjcsKkAm+/5InzH8A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661170015; a=rsa-sha256; cv=none; b=gxFpaxKMZPbnjEYPb2VTMqYvd3p6e/SvH8SxzMrmO6rGYv4dLl0+Y6/A6llZ6ZZyCjDSR/ LmxxBZlqjeMuOLNtfr9InvWqwqR2ytfPFNzyvgVcR80BmhoAEp8T2M4tI2KkuV7wax8WgP lunqlohjykwncfmItsMCLOLOTf0sMOqK0jsDbmFg9wgDkjD6doaJqQsxQqx1/CfWQxT4Yr WIA8NbOCrpuasHx/wLnldsk8WGYUKUEFMkvCa3G20jpIvcfhL+P19vypZMJ/86Yf0DkfYR XP4gfRlqFn4SKg9s6OcM3F4g+KN+UWRxZ6ZJGYfqTBgIIYiXt4KtqiIaPL82SQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=NiY4urw2; dmarc=pass (policy=none) header.from=gmail.com; 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: -3.31 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=NiY4urw2; dmarc=pass (policy=none) header.from=gmail.com; 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-Queue-Id: 45704D98F X-Spam-Score: -3.31 X-Migadu-Scanner: scn0.migadu.com X-TUID: 09X+eEu7Ng38 Ihor Radchenko writes: >> Or just carry it over for :exports results only? > > I like this idea better. See the attached patch. > After the patch, links to :exports both blocks will be ambiguous, unless > the results are explicitly named. So, I documented this detail in the > manual. Applied onto main via 5184c4382. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=5184c4382da171fe5f451694251a0e28c24f4d98 -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92