From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id BpahI5vym19TTgAA0tVLHw (envelope-from ) for ; Fri, 30 Oct 2020 11:01:47 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +BbwHpvym18IPAAAB5/wlQ (envelope-from ) for ; Fri, 30 Oct 2020 11:01:47 +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 CDEDB9404C7 for ; Fri, 30 Oct 2020 11:01:46 +0000 (UTC) Received: from localhost ([::1]:60380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYSAD-00050n-Pl for larch@yhetil.org; Fri, 30 Oct 2020 07:01:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57764) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYS9l-00050c-IX for emacs-orgmode@gnu.org; Fri, 30 Oct 2020 07:01:17 -0400 Received: from grinta.net ([109.74.203.128]:46708) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYS9e-0005bY-3C for emacs-orgmode@gnu.org; Fri, 30 Oct 2020 07:01:17 -0400 Received: from black.local (unknown [37.120.217.83]) (Authenticated sender: daniele) by grinta.net (Postfix) with ESMTPSA id 8AF96ED8B7; Fri, 30 Oct 2020 11:01:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=grinta.net; s=2020; t=1604055667; bh=1bS5hgym19T5iXfC5eTogdg+ujgITZ3vkPR/HcTvFGI=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=JA0q+y8nWaqdht/9txR9EF7NUD8152Rqakxmd245ftfw3DU8yyow4lJ1UwWINpUCE XgZ4YNC/W4ppuMmLcaLaMCogNC2GJ19TZw53ktsPcfmWBhPSNmDWnrwHhN4cyLNgI1 fzmUcCp+zyrZx4UxBVRGqwSWkO0mVVCUX0uehGLitjkRAuFPou5dVIIEl3PCtntMAe TdEHBkDOW4F7R/0WQtioSc3ZoJQsmSYTHwOTM9zfOh98uTHS+YpTfEFJRGGmDTqIde NrGP+hYV5zuInd2aSWi6oW0bofJd2UJSfD3uxmn2UOLNdPzJ8FGZDTXylIsZZIHtnu nclgQ3KZ+AMAQ== Subject: Re: Inconsistency between code and manual: org-lowest-priority or org-priority-lowest To: Kyle Meyer References: <87blgktior.fsf@kyleam.com> From: Daniele Nicolodi Message-ID: Date: Fri, 30 Oct 2020 12:01:06 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: <87blgktior.fsf@kyleam.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=109.74.203.128; envelope-from=daniele@grinta.net; helo=grinta.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/30 07:01:08 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -23 X-Spam_score: -2.4 X-Spam_bar: -- X-Spam_report: (-2.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, NICE_REPLY_A=-0.253, SPF_HELO_PASS=-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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Org Mode List Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=grinta.net header.s=2020 header.b=JA0q+y8n; dmarc=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-Spam-Score: -0.01 X-TUID: UmV+ZRs/S+3F On 30/10/2020 05:57, Kyle Meyer wrote: > Daniele Nicolodi writes: > >> Hello, >> >> I found an inconsistency between the manual and implementation: the >> Priorities section says that the range of valid priorities can be set >> modifying the `org-priority-highest', `org-priority-lowest' and >> `org-priority-default' variables. However, in the code the variables >> names are `org-highest-priority', `org-lowest-priority' and >> `org-default-priority'. >> >> In can submit a patch with a fix. However, in a case like this, should >> the code modified to match the documentation, or vice-versa? > > The org-X-priority -> org-priority-X rename happened in v9.4, with > org-X-priority names retained as aliases. So, it sounds like there are > some leftover bits in the code. You are absolutely right. This is what you get when you read the manual for the latest version but look at the code for an old one... Cheers, Dan