From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id oPQSCHaPZWctYgEA62LTzQ:P1 (envelope-from ) for ; Fri, 20 Dec 2024 15:38:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id oPQSCHaPZWctYgEA62LTzQ (envelope-from ) for ; Fri, 20 Dec 2024 16:38:30 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; none 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 0F320248D4 for ; Fri, 20 Dec 2024 16:38:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tOf4b-0003P7-F5; Fri, 20 Dec 2024 10:37:53 -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 1tOf4Y-0003Ov-VS for emacs-orgmode@gnu.org; Fri, 20 Dec 2024 10:37:50 -0500 Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tOf4W-0002WV-BY; Fri, 20 Dec 2024 10:37:50 -0500 Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-30167f4c1deso18583141fa.1; Fri, 20 Dec 2024 07:37:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734709066; x=1735313866; darn=gnu.org; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=jmmkdfJeJAatl4ef43H0cqBSHPpMfV/c15PTgU6OjDE=; b=HnB3yk4djFv9BFPWxUt1nnSgm4hWAsiMXuD8DHtcwSEPcl2uLzxeCjDZCZEeyVE+ah sXy9jLdC9eyekDWmKkQRA2jbpRFjCb5oQwMbkJMcZk7VWUYOS9/RYC8/inhy1DWnV94c cLijnjc4hEhRq2eWCPpPfp9UYRxFA7clRFwnSS8vzXD20KVXLZWauBsZsBuQTGShsgSj V3BUfKg1/hVv3YAx+W1dRSjU5vB9nDEgZxyJyVQJnzadZhSLWnbZBzkejdjVkhSWODoW 3+IX7H5t39sUC/CNPzvTJ8rvYC3DNuww9cuYiOgkspqFDnK9+/0TYkOYJ9gQWwDWdzwv qKWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734709066; x=1735313866; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=jmmkdfJeJAatl4ef43H0cqBSHPpMfV/c15PTgU6OjDE=; b=mQpdYxPFsz/kfU3G2LGmnTeVxkYypkDfcMrpA+AXV3ihLH9RHwvjyivLhWDjP9KzMh JF1GsuDzcWDml39z/bz0A6XWJbq6Mh8bVPtVf1t2hHD7PdCY/mGiXrWfmPP5sFWJiI63 yLt6hvVObNYPTJduAZ7Fd2VWWrsgqL3v830TzeX1rJOaLqMp4+ayI/PMv7YV6r+WaCHd B1IBst3vhFgEiUVDFiMlcf0y8ct97io9cCT4vRrsSg+vCoy4gEOFCqhRR/jaekWPnfTu MYTI0T5sCVg3F3hgWrY2gIAC2XHFCMIdpsfIDKNqcMMiYnlWMKtnJu8YAWma61gxD5Mz eyQQ== X-Forwarded-Encrypted: i=1; AJvYcCWIsu4BhUF1ZmZDIeGFgKug4wrYu6A66ac+u970+UXZYKNgTzDMg2doT9V+wh7wTcYaFsgoORHDuPqQG1Ve@gnu.org X-Gm-Message-State: AOJu0YxM1Urm7aQwj+Ev2g6vIyYG3shtN8RH/a4iaqjgtG0LH/yb9iHS ALwAhjdpigFkbk6POZX384gVlkDic2u1ECPMRbMIoqFwaX8NiSyt0kgYXrL+ X-Gm-Gg: ASbGncvDiGqey8Ri1bmZ1Zc0+fBoItsQDhjG82aiSBXDgYbfW92wemt7eXdIEZdlX1n DG+drwyejzoCr6xSxyrLoj2gbWaPphp/0Ssmx7P6Uv+yW7wNYLI1xws8wd9fJEcY8LoVnLgmBsb zBat7bMkJK6SYUx2lSVtg+1xuODRLZ0FtPnFhAjCMRugPCTbCpqsbuF3lrXnmKjo/W5VqFb9qmR SHC0cQHqvIXWRmTEjvbzMuXLXY1jAPwppkK4cNzGQ4jnL8Sm8iddKTE6M/ysRVBKFrdxfx+EF/E grM7 X-Google-Smtp-Source: AGHT+IFo36KyPLHTjP6X5XlnM9PE/1OoF9fDxOgPPW94fgqGDlx9yjM3zdU9xH82Nx91hVr+0KocSQ== X-Received: by 2002:a2e:bc05:0:b0:302:29a5:6ded with SMTP id 38308e7fff4ca-3046858eae9mr12166981fa.17.1734709064060; Fri, 20 Dec 2024 07:37:44 -0800 (PST) Received: from [192.168.1.149] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id 38308e7fff4ca-3045b083f8bsm5577301fa.117.2024.12.20.07.37.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 Dec 2024 07:37:43 -0800 (PST) Message-ID: <0dd3c8ba-ba37-4b00-9999-3b8070d7c453@gmail.com> Date: Fri, 20 Dec 2024 22:37:42 +0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Copy info node name (was: Re: Ignore Local Variables list in source blocks) To: Joseph Turner , emacs-orgmode@gnu.org Cc: rms@gnu.org References: <87ldwdeih6.fsf@breatheoutbreathe.in> <87zfkr4amw.fsf@breatheoutbreathe.in> Content-Language: en-US, ru-RU From: Max Nikulin Mail-Followup-To: Joseph Turner , emacs-orgmode@gnu.org, rms@gnu.org In-Reply-To: <87zfkr4amw.fsf@breatheoutbreathe.in> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::22c; envelope-from=manikulin@gmail.com; helo=mail-lj1-x22c.google.com X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -4.00 X-Spam-Score: -4.00 X-Migadu-Queue-Id: 0F320248D4 X-TUID: WJpwqs5leomM Due to a recent texinfo thread on emacs-devel, I have added RMS to Cc. On 20/12/2024 04:37, Joseph Turner wrote: > Max Nikulin writes: >> (info "(emacs) Specifying File Variables") > By the way, is there a built-in command to copy that (info ...) sexp > when viewing that info page? TLDR; "C-0 c" or "C-0 w" Actually to get the reference above I copied and edited the file part of the HTTP URL >> Autocompletion from browsing history in address bar is a rather convenient feature to quickly open some document visited earlier. Unfortunately HTML page metadata does not contain manual and node names, so a browser extension that copies info references, while possible, would not be reliable. (I have noticed that HTML links may have extra data-manual="elisp" attributes without data-node conterpart.) Back to Emacs, `org-store-link' allows to save an info link for insertion into an Org mode document. However I am unaware of any command that allows to create a more precise reference. Enough nodes have index anchors and it may be more convenient: An issue with Org links to index anchors that they can not be easily exported to html_node variant of the texinfo document, especially if the manual is not installed on the machine. (E.g. sphinx puts machine-readable index of sections and anchors along with HTML files.) Earlier I have not tries to find if it is possible to copy info node name as *a command*. Actually neither (info "(info)"), nor (info "(info-stnd"), nor (info "(emacs)") describe how to copy current node name, so the feature is a part of hidden UI. I still had an impression that I have seen a keybinding somewhere. This time I found it in "C-h m" list, it is present in "?" info help as well (of course, without details related to sexp). The final step is the docstring for the "c" and "w" key bindings. `Info-copy-current-node-name' An advantage of the (info "(emacs) Specifying File Variables") form is that it usually can be used to open specific part of the document in a standalone info browser. (Eli believes they are dead.) Another feature I missed in info browsers is equivalent of browser "copy link" context menu option for links. It is handy to copy link for notes without leaving the current document. I am not surprised that people use any option (HTTP URL, etc.), but not "(emacs) Specifying File Variables" form (or some dedicated URL scheme). The feature is hidden (and incompatible with yelp and khelpcenter).