From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id YKVCK7MgMmZ1cgAAqHPOHw:P1 (envelope-from ) for ; Wed, 01 May 2024 13:00:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id YKVCK7MgMmZ1cgAAqHPOHw (envelope-from ) for ; Wed, 01 May 2024 13:00:03 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=IzVXlNYU; dmarc=pass (policy=none) header.from=posteo.net; 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=1714561203; a=rsa-sha256; cv=none; b=fk8YZvYfYf2rn96mLWBKFfnAZMv6QX6uVayTF2yxQKITKx/WsV5EdCy8b1wYRsRybXMZpQ qqkpmYdzy0aElFQM/8YN1ijy1l2BrnPIhcEeHTQDVFzQGfpP9r1vMpCU31Nf/1R+3B6wt4 pBCWjWHpgooPxRsM5eTNVmzU0Uy+3KURZ5Y7bRLckGixBwQX7tH/Q+RRM23L7IsJ+AJRkW i+tiSGlXo0/ta9Y8877g8QtloLCDv0N1ULP3EWFgX0LMbfXWADJAqmDxon4GpoNQn2ZYjw y/VXhZDEs7n6cDWOVuzHBquJrSjCmTiQWgEZVNdGwlnllRxpTvVCC/Mc1I8Suw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=IzVXlNYU; dmarc=pass (policy=none) header.from=posteo.net; 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=1714561203; 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=JBVbtOTSgj07p9QOFoiyNoZWS/KmSLAftrj9zaEstLw=; b=mlZA8URNd6cGjl56ExTrLplBCJfpmgL7o+VI3crww2NfwfhS8icmn2RKQnXHNi3m0Zh8fb U0+mBUyjEej7zaQLFO3z1W0AedunXviPpAk1LWTnGGSpoRr5hnSWC73pl3GDegwmXKLeDS RIJdYjz6B7CjuF51BrGgBD8EtuKAuRdTK5B7mNthLQTUlr4rsTy1Qd6P9aLegcnhe1kKaL mBHpEhuBDNhdls2X09CJ6ys/zF9KcotLOm5sHFlm+QFlzXOSf3dwjQTAUCYT+qlXjaK8jT UeYF/cXmW8khrkc8lms20iIPE3z6bNC+ofpd+ZbcXFab8Twvow0KBrDrrzFs2A== 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 884FA11AF7 for ; Wed, 1 May 2024 13:00:03 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s27gE-0004Fv-ID; Wed, 01 May 2024 06:59:18 -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 1s27gC-0004Fd-P1 for emacs-orgmode@gnu.org; Wed, 01 May 2024 06:59:16 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s27g9-00016n-Sz for emacs-orgmode@gnu.org; Wed, 01 May 2024 06:59:16 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 6E3CC240029 for ; Wed, 1 May 2024 12:59:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1714561150; bh=b6TdXFLorg5aeZyt1uvY6OiMKhomj+r08NfMqpQcKqs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=IzVXlNYUgRXQYKIf0K5hWYeKDJ4e78Y2ha6YTJJdpIQZeSXhvr8yOwCBXZt1kQeut sxnEeV9Y/f4DHqLLsbQcQjtn/bWTrkAjHehE6ykQK7wTVVTemPOtsObWSsDSbyqkdn OjhScfpss87sLS8Lk8d6cTWqZk6/q/MT7tjVoiow2vvdJnHP9Xz+Op5CY2DVnxc56F gMab42qAEyFJvaF6ytdhOvNavgXYs8xSAmmKXKVeK9jksT94SS/uwKhX6G2xFYj0pl 3mKby7bMm/tvAICly0x/50lTBaPs0cvf9fbI5C/nwzdZTnwJLwvShCa98+3VRfTP/E bRpxQsQMfV0yQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VTvFn3rMSz9rxY; Wed, 1 May 2024 12:59:09 +0200 (CEST) From: Ihor Radchenko To: Bruno Cardoso Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] Add support for shortdoc link type In-Reply-To: <87zftatdkr.fsf@gmail.com> References: <87zftatdkr.fsf@gmail.com> Date: Wed, 01 May 2024 11:00:18 +0000 Message-ID: <87v83xer0d.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 884FA11AF7 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.55 X-Spam-Score: -9.55 X-TUID: 31PXurrOySMe Bruno Cardoso writes: > This patch adds support for "shortdoc:" links. Thanks! > --- a/etc/ORG-NEWS > +++ b/etc/ORG-NEWS You also need to document the new built-in link type in the manual. > +(defun org-link--open-shortdoc (group _) > + "Open a \"shortdoc\" type link. > +GROUP is a symbol name." > + (if (assoc (intern group) shortdoc--groups) > + (shortdoc group) > + (user-error "Unknown shortdoc group: %s" group))) `shortdoc' function was only introduced in Emacs 29. In Emacs 28, there is only `shortdoc-display-group'. Please use the latter function, when `shortdoc' is not available. In Emacs 27, shortdoc library is not yet present. So, please avoid defining shortdoc: link type in Emacs <28. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at