From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anton Latukha Subject: [PATCH] org: org-get-priority: reduce `not`, deduplicate magic `(* 1000 ..)` operation Date: Sun, 29 Sep 2019 03:34:54 +0300 Message-ID: <10577751569717294@sas1-a0d9133b67ec.qloud-c.yandex.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----==--bound.1057776.sas1-a0d9133b67ec.qloud-c.yandex.net" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:49541) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iENAz-0002Do-8G for emacs-orgmode@gnu.org; Sat, 28 Sep 2019 20:35:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iENAx-0000HR-T8 for emacs-orgmode@gnu.org; Sat, 28 Sep 2019 20:35:01 -0400 Received: from forward104p.mail.yandex.net ([2a02:6b8:0:1472:2741:0:8b7:107]:46188) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iENAx-0000Dv-DN for emacs-orgmode@gnu.org; Sat, 28 Sep 2019 20:34:59 -0400 Received: from mxback4g.mail.yandex.net (mxback4g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:165]) by forward104p.mail.yandex.net (Yandex) with ESMTP id 596F34B00787 for ; Sun, 29 Sep 2019 03:34:55 +0300 (MSK) 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: emacs-orgmode ------==--bound.1057776.sas1-a0d9133b67ec.qloud-c.yandex.net Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Another two small patches.


(First I subscribed= mail profile with a `name+tag@mail` format, after that understood that I= can receive messages, but I can not write back from that tag address. St= ill do not see or know, if I reached the mailing list with the patches).<= /div>
=C2=A0
=3D=3D=3D=3D

$ make test
---
Ran 808 tests, 808 results as expected (2019-09-29 03:24:36= +0300)
13 expected failures

=3D=3D=3D=3D
<= /div>
=C2=A0
Regards,
Anton Latukha
=C2=A0
------==--bound.1057776.sas1-a0d9133b67ec.qloud-c.yandex.net Content-Disposition: attachment; filename="0001-org-org-get-priority-rm-reduce-negation-operation.patch" Content-Transfer-Encoding: base64 Content-Type: text/x-diff; name="0001-org-org-get-priority-rm-reduce-negation-operation.patch" RnJvbSBhZmIyMDQzMDNhMzg4ZjI2NDRhNTM1ZGNjZWY2ZjYwM2QzNTE5ZWFkIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBBbnRvbi1MYXR1a2hhIDxhbnRvbi5sYXR1a2hhQGdtYWlsLmNv bT4KRGF0ZTogU3VuLCAyOSBTZXAgMjAxOSAwMzowODoyNCArMDMwMApTdWJqZWN0OiBbUEFUQ0gg MS8yXSBvcmc6IG9yZy1nZXQtcHJpb3JpdHk6IHJtOiByZWR1Y2UgbmVnYXRpb24gb3BlcmF0aW9u CgoqIG9yZyAob3JnLWdldC1wcmlvcml0eSk6IHJlZHVjaW5nIGJvb2wgbmVnYXRpb24gb3BlcmF0 aW9uIGJ5CnN3aXRjaGluZyBpZiBjYXNlcwotLS0KIGxpc3Avb3JnLmVsIHwgNiArKystLS0KIDEg ZmlsZSBjaGFuZ2VkLCAzIGluc2VydGlvbnMoKyksIDMgZGVsZXRpb25zKC0pCgpkaWZmIC0tZ2l0 IGEvbGlzcC9vcmcuZWwgYi9saXNwL29yZy5lbAppbmRleCA0NTBkMTYwODMuLjcyNDA4ZjQ5ZiAx MDA2NDQKLS0tIGEvbGlzcC9vcmcuZWwKKysrIGIvbGlzcC9vcmcuZWwKQEAgLTExNjc5LDEwICsx MTY3OSwxMCBAQCBhbmQgYnkgYWRkaXRpb25hbCBpbnB1dCBmcm9tIHRoZSBhZ2Ugb2YgYSBzY2hl ZHVsZXMgb3IgZGVhZGxpbmUgZW50cnkuIgogICAoc2F2ZS1tYXRjaC1kYXRhCiAgICAgKGlmIChm dW5jdGlvbnAgb3JnLWdldC1wcmlvcml0eS1mdW5jdGlvbikKIAkoZnVuY2FsbCBvcmctZ2V0LXBy aW9yaXR5LWZ1bmN0aW9uKQotICAgICAgKGlmIChub3QgKHN0cmluZy1tYXRjaCBvcmctcHJpb3Jp dHktcmVnZXhwIHMpKQotCSAgKCogMTAwMCAoLSBvcmctbG93ZXN0LXByaW9yaXR5IG9yZy1kZWZh dWx0LXByaW9yaXR5KSkKKyAgICAgIChpZiAoc3RyaW5nLW1hdGNoIG9yZy1wcmlvcml0eS1yZWdl eHAgcykKIAkoKiAxMDAwICgtIG9yZy1sb3dlc3QtcHJpb3JpdHkKLQkJICAgKHN0cmluZy10by1j aGFyIChtYXRjaC1zdHJpbmcgMiBzKSkpKSkpKSkKKwkJICAgKHN0cmluZy10by1jaGFyIChtYXRj aC1zdHJpbmcgMiBzKSkpKQorCSgqIDEwMDAgKC0gb3JnLWxvd2VzdC1wcmlvcml0eSBvcmctZGVm YXVsdC1wcmlvcml0eSkpKSkpKQogCiA7Ozs7IFRhZ3MKIAotLSAKMi4yMy4wCgo= ------==--bound.1057776.sas1-a0d9133b67ec.qloud-c.yandex.net Content-Disposition: attachment; filename="0002-org-org-get-priority-push-same-magic-1000-.-op-outsi.patch" Content-Transfer-Encoding: base64 Content-Type: text/x-diff; name="0002-org-org-get-priority-push-same-magic-1000-.-op-outsi.patch" RnJvbSBjMWU1YWZlZDA5ODEzMzEwM2MwZDdjNDRkYjRkYTRhOTM5YWE2NDMxIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBBbnRvbi1MYXR1a2hhIDxhbnRvbi5sYXR1a2hhQGdtYWlsLmNv bT4KRGF0ZTogU3VuLCAyOSBTZXAgMjAxOSAwMzoxMDoyNSArMDMwMApTdWJqZWN0OiBbUEFUQ0gg Mi8yXSBvcmc6IG9yZy1nZXQtcHJpb3JpdHk6IHB1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