From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id I83kE8CxlGHJAAAAgWs5BA (envelope-from ) for ; Wed, 17 Nov 2021 08:39:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id MHf5DsCxlGEMDQAAbx9fmQ (envelope-from ) for ; Wed, 17 Nov 2021 07:39:44 +0000 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 017904E52 for ; Wed, 17 Nov 2021 08:39:44 +0100 (CET) Received: from localhost ([::1]:54752 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mnFXj-00042D-4T for larch@yhetil.org; Wed, 17 Nov 2021 02:39:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35652) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnFUt-000232-BJ for emacs-orgmode@gnu.org; Wed, 17 Nov 2021 02:36:47 -0500 Received: from ciao.gmane.io ([116.202.254.214]:46292) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnFUr-0002BY-GF for emacs-orgmode@gnu.org; Wed, 17 Nov 2021 02:36:47 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mnFUn-00049V-3I for emacs-orgmode@gnu.org; Wed, 17 Nov 2021 08:36:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-orgmode@gnu.org To: emacs-orgmode@gnu.org From: Uwe Brauer Subject: insert automatically a reference to a section header and a link Date: Wed, 17 Nov 2021 08:36:36 +0100 Message-ID: <877dd7mdx7.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cancel-Lock: sha1:DJOZ59DHUKaE92Ia146Klce2RyQ= Mail-Copies-To: never Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637134784; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=18GA1gaDjjX5djLdcpsOfvFyF/xCeKDmM1hLqnisusM=; b=jWcKwzIwEqmV+Nt4PhyoZQM4FL7+YyD95/JVTpkOWOnpQeE2CFX+SxSYQ8q8tCB26bIVLP Ic528YbCk1YNeOvJel3LHOpQRWhHlymEnhg9W+gqzrsi5FslTZw8aC6mTFK+qA7EEQteYX FeOvgU48RnyMUmzegxYG8QIMjkJ+pmbhFuC/j1zkeCOgV6NbLgaohh+VEg9jqhq4RgHWeS AvhIsfHFvDM+AxcjyRjHfTab8QrX7v7+xEipSfGFvpPlceTnc+DnAj7AJ0+uR5To4U26pU iVyplo7gY+dJgKQO/ahrrk81DIwLlutrbTqti8cIWG30HIx5BCCjX4UcQfSCTQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637134784; a=rsa-sha256; cv=none; b=SUUEFUI7RmVEc/mu2HBWCp5AFlFP+dA5rWnPYZtoPxAw5SFhRoSAzZddULS/6Pgw9Ow+aT PHIAlJVr1y9iUjgl+AncWdAbmw+ahJN6Wd4QOn095ydAa2BjR9KI5kpNAkIQ+mF3Bm1kZC 3hHJl+sxi3wsn/zzokwrwROIch+oc8NpPc3ILy8CdGM3Brikb90YCaibWjjMxO6uJSQSwc JJ7p0ucJwF2gUMR+xPYPeNnK1W6WUt7CPZ8EwSPMW22nYxsKGPm3OQP0Amtx/rzb6NZRCh zTWHx0SCql1he6gdAjcE5/GVHs3LvIjvqDI6UAtk66XkiLKUxB8lz6EpAG89Mg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.25 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=mat.ucm.es (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 017904E52 X-Spam-Score: -2.25 X-Migadu-Scanner: scn1.migadu.com X-TUID: 4n1j61i0boK0 Hi In auctex+reftex it is possible that when I insert a new section header a reference label is inserted automatically: 1. Example \subsection{Inverse problem} \label{sec:one} 2. And then using reftex-reference I can insert \ref{sec:one} So the equivalent of 1. in org mode would be to automatically insert ** Inverse problem :PROPERTIES: :CUSTOM_ID: sec:one :END: Can this be done? And then what would be the equivalent to 2? It is not org-insert-link, as far as I can see. Thanks and regards Uwe Brauer