From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anton Latukha Subject: Re: [PATCH] org: org-get-priority: reduce `not`, deduplicate magic `(* 1000 ..)` operation Date: Wed, 09 Oct 2019 01:23:26 +0300 Message-ID: <2458361570573406@sas8-93eeb7dac565.qloud-c.yandex.net> References: <10577751569717294@sas1-a0d9133b67ec.qloud-c.yandex.net> <87imozeggw.fsf@nicolasgoaziou.fr> <5203711570570088@iva5-58d151f416d2.qloud-c.yandex.net> Mime-Version: 1.0 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: base64 Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:54151) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHxtH-00020R-BK for emacs-orgmode@gnu.org; Tue, 08 Oct 2019 18:23:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iHxtG-0005TW-2G for emacs-orgmode@gnu.org; Tue, 08 Oct 2019 18:23:35 -0400 Received: from forward500o.mail.yandex.net ([2a02:6b8:0:1a2d::610]:48447) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iHxtF-0005SM-Nc for emacs-orgmode@gnu.org; Tue, 08 Oct 2019 18:23:34 -0400 In-Reply-To: <5203711570570088@iva5-58d151f416d2.qloud-c.yandex.net> 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 PGRpdj5XZWxsLCBhZnRlciByZS1yZWFkaW5nIG15IGxldHRlciAtIGl0IG9idmlvdXNseSBwcm9i YWJseSBjb21lcyBvZmYgYXMgYmVpbmcgdmVyeSBzdHJvbmcgYW5kIGFtYml0aW91cy4gSSBhbSBw cmV0dHkgY29vbC1oZWFkZWQgYWJvdXQgZXZ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