From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 aKbpBwxQ6GWV4gAA62LTzQ:P1 (envelope-from ) for ; Wed, 06 Mar 2024 12:14:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id aKbpBwxQ6GWV4gAA62LTzQ (envelope-from ) for ; Wed, 06 Mar 2024 12:14:20 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=aWUvDFbE; 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=1709723659; 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=IWTVqxfoQclR1j5w0t0wtAdCUKM7InbRDw9bnNlSn2c=; b=lj/2tRAoeQSUg8IjE0sG1hXDYfYov6PGCXkAcviVABnNNuYoYcJnm/JmR0Gsv/Rl/uWusJ ix6cjOxsko4an36wO3Tdime6iiNPxuMlxdLdjAIUrMsciyw1AZHPAOsqR9jzVM/pfLHZMT vfuapdVZcGK2GcJBjcsEQ87qIA9A52fjGtnN/JQgoy53tycJoBSFxYSxjqawe4DWJP4Gpj xhnLK/wUtrWauUfSkDXc6Ph0AHQIk+KyDLvohOXLPHlm9eidCchgzS/AFYHLCnHrdf4HSx maqhv78lNZPEE0LKQe6HGjN5Lrw75g479l2VUusETSV/HDEma4WWjK53wdtNpQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=aWUvDFbE; 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=1709723659; a=rsa-sha256; cv=none; b=dGISwCqYHU0NQQDikFvXw724xbJ9KCZfWELYfFztNnIG78wu0npexg9cuaasc5BjQs4egx rAQoII0aZwKaJH9Bi6t1YqHjMIWSX6K42J8K1l6bb/btchm/o/yFaPsvn9TIre0LuPUUYp ghZQ7O8VVngGM/CbfIi5+JSnu7A6PGNxiar0jvi23rh0ieLfHNIvd41roNU+qWd/bDj4kH HHqtk09AfR3HSoYzYd6BhtiikpnXFOp8tiS5j53gaz6547TZ5KwPkIQA59KeilO5sbRmGp pyEm8tI2mXjWkfGKcRf3XGSRsYWahVFqvcHm/MZhVJwKVuHY0fiB0FYD4A4DIw== 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 DBD1042A5F for ; Wed, 6 Mar 2024 12:14:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhpDJ-0001sT-4X; Wed, 06 Mar 2024 06:13:33 -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 1rhpDH-0001sH-IS for emacs-orgmode@gnu.org; Wed, 06 Mar 2024 06:13:31 -0500 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 1rhpDE-00029A-GF for emacs-orgmode@gnu.org; Wed, 06 Mar 2024 06:13:31 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id F2C20240027 for ; Wed, 6 Mar 2024 12:13:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1709723606; bh=hTz9EGgfQaZR1Qco1Jho5PKRaa00hKtb6kTCGnh9vlg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=aWUvDFbE/jIMB1+UqEY6x1RRk6RrfsQw/kqpqwDMU4a2YFpzjsXhRo89ZKiXMNCTG Iq0K0Vk7Gq6InaaiLu7b7KhdoBB+Z1p+xl27C9xqBZ8U/pSkLF4gJ8UAr8JI++P0FC f1vWkqOb6nbBQFTpN1V8lrkRod1d2F0TBhIUcdza54F9a56uhE3Pt7aB1dUmON1bhJ 54+EN6XT5jRXqmmxKAxj0Q+zrt4x2Xa4pXNpu1KHIuAvA3JvG19YhTDRvHkYVJlzZR nxY+tl3T1bqa7h1oJH0qa4Eg/wMQUIEMw1uyhC4mRfz880zSsW3vHNimmzzZWZHIF0 2YcanEwnPkMBg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TqVD51g6tz6tm8; Wed, 6 Mar 2024 12:13:24 +0100 (CET) From: Ihor Radchenko To: Stefan Monnier Cc: emacs-orgmode@gnu.org Subject: Re: Provide sane default for the @direntry In-Reply-To: References: <87v868khb2.fsf@localhost> <871q8q1cfd.fsf@localhost> <87o7bs4zdf.fsf@localhost> Date: Wed, 06 Mar 2024 11:17:30 +0000 Message-ID: <87bk7r38z9.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, 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -8.19 X-Spam-Score: -8.19 X-Migadu-Queue-Id: DBD1042A5F X-Migadu-Scanner: mx11.migadu.com X-TUID: hjXOZEJc/kxd Stefan Monnier writes: > New version of the patch, which I believe address your comments. Thanks! The patches are against Emacs git repository, not against Org mode. May your please port them? See some more minor comments inline. > Subject: [PATCH 1/2] * lisp/org/ox-texinfo.el: Remove redundant `:group`s By our convention, we drop leading * in the first line of the commit message. > ... > * lisp/org/ox-texinfo.el (texinfo): Add entry for TEXINFO_DIR_NAME. > (org-texinfo-template): Use sane defaults for `@direntry` and `@dircategory`. > > * doc/misc/org.org (Texinfo specific export settings): Adjust accordingly. * etc/ORG-NEWS changelog entry is missing. > +- =TEXINFO_DIR_NAME= :: > + > + #+cindex: @samp{TEXINFO_DIR_NAME}, keyword > + The directory name of the document. > + This is the short name under which the ~m~ command will find your > + manual in the main Info directory. It defaults to the base name of > + the Texinfo file. > + > + The full form of the Texinfo entry is ~* DIRNAME: NODE.~ where ~NODE~ > + is usually just ~(FILENAME)~. Normally this option only provides the > + ~DIRNAME~ part, but if you need more control, it can also be the full > + entry (recognized by the presence of parentheses or a leading ~* ~). > > - =TEXINFO_DIR_TITLE= :: > > #+cindex: @samp{TEXINFO_DIR_TITLE}, keyword > - The directory title of the document. > + Old and obsolete name of the =TEXINFO_DIR_NAME= option. We can simply remove TEXINFO_DIR_TITLE from the manual. Also, please update "Info directory file" section. In particular, references to TEXINFO_DIR_TITLE. > + (dn (or (plist-get info :texinfo-dirname) > + (plist-get info :texinfo-dirtitle))) ;Obsolete name. > + ;; Strip any terminating `.' from `dn'. > + (dn (if (string-match "\\.\\'" dn) (substring dn 0 -1) dn)) `string-match' will throw an error when both :texinfo-dirname and :texinfo-dirtitle records are not provided (nil). -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at