From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Johnson Subject: Re: inherit priority Date: Sun, 7 Jan 2018 14:47:20 -0800 Message-ID: References: <87wp0ymxgy.fsf@nicolasgoaziou.fr> <92a7a7a4-a992-86f5-eb8f-2381213ad32f@gmail.com> <87o9mam43l.fsf@nicolasgoaziou.fr> <87tvw0g444.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYJix-0003A2-DE for emacs-orgmode@gnu.org; Sun, 07 Jan 2018 17:47:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eYJit-0008QM-CV for emacs-orgmode@gnu.org; Sun, 07 Jan 2018 17:47:27 -0500 Received: from mail-pg0-x234.google.com ([2607:f8b0:400e:c05::234]:35789) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eYJit-0008PS-6H for emacs-orgmode@gnu.org; Sun, 07 Jan 2018 17:47:23 -0500 Received: by mail-pg0-x234.google.com with SMTP id d6so3275397pgv.2 for ; Sun, 07 Jan 2018 14:47:22 -0800 (PST) In-Reply-To: <87tvw0g444.fsf@nicolasgoaziou.fr> Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Hi, I am trying to determine the functions I need to add / update to respect priority inheritance. I see that org-show-priority would need to be updated, and likely a new function, say org-get-priority-with-inheritance, should supplement org-get-priority. However, I can't figure out where org-colview is getting the priority from. It seems to be parsing and validating the priority prior to display since it regresses to org-default-priority if I input [#NONSENSE] priorities. I also don't know where sorting is considering priority. Help with pointing me in the right direction for either of those would be much appreciated! Also let me know if other things touching priority need updating for inheritance. Jesse On 01/04/2018 11:24 PM, Nicolas Goaziou wrote: > Hello, > > Jesse Johnson writes: > >> There have been several requests for priority inheritance over the >> years. > That doesn't ring a bell. > >> If it can't currently be done, > I don't think it can, atm. > >> I am willing to take a look at implementing it. > OK! > > IMO, there should be a global variable to allow priority inheritance > (default off). > > Regards, >