From mboxrd@z Thu Jan 1 00:00:00 1970 From: "I.S." Subject: Re: proposal for enhanced org-get-priority function Date: Wed, 27 Oct 2010 08:01:58 -0400 Message-ID: <4CC814B6.3070603@gmail.com> References: <4CBF237F.1080602@gmail.com> <87aam34cy0.wl%dmaus@ictsoc.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------080001030000000806070409" Return-path: Received: from [140.186.70.92] (port=38820 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PB4iH-0004at-Rs for emacs-orgmode@gnu.org; Wed, 27 Oct 2010 08:03:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PB4hg-0006hh-V0 for emacs-orgmode@gnu.org; Wed, 27 Oct 2010 08:02:41 -0400 Received: from mail-qw0-f41.google.com ([209.85.216.41]:44997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PB4hg-0006fc-Sl for emacs-orgmode@gnu.org; Wed, 27 Oct 2010 08:02:04 -0400 Received: by mail-qw0-f41.google.com with SMTP id 2so616651qwi.0 for ; Wed, 27 Oct 2010 05:02:04 -0700 (PDT) In-Reply-To: <87aam34cy0.wl%dmaus@ictsoc.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: David Maus Cc: emacs-orgmode@gnu.org This is a multi-part message in MIME format. --------------080001030000000806070409 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 10/24/2010 3:18 PM, David Maus wrote: > At Wed, 20 Oct 2010 13:14:39 -0400, > I.S. wrote: >> Dear Experts, >> >> I'd like to propose a replacement for the org-get-priority function >> which is backward compatible with the current version but allows the >> user to add a sub-priority such as [#A]-5 or [#B]+3: >> > Could you provide a patch against current master and send it to the > list as a text/plain attachment? This way the proposed modification > will end up in Org's patchtracker[1]. > > Best, > -- David > > [1] http://patchwork.newartisans.com/project/org-mode/ > -- > OpenPGP... 0x99ADB83B5A4478E6 > Jabber.... dmjena@jabber.org > Email..... dmaus@ictsoc.de I tried looing at patchwork but couldn't figure out what I was supposed to do. Please advise on usage instructions. Instead, I attached a manually generated patch against org.el in the development version from git. I created this patch via $ git clone git://repo.or.cz/org-mode.git $ emacs org-mode/lisp/org.el # to modify the file and write it to org.mine.el $ diff -rup org.el org.mine.el > org-get-priority.patch Please advise on proper procedure as I love org and would enjoy the chance to contribute in the future. Thanks, -I.S. --------------080001030000000806070409 Content-Type: text/plain; name="org-get-priority.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="org-get-priority.patch" ZW1pbkBtYXJ0aW5pYW4uY29tJ3MgcGFzc3dvcmQ6IA0KLS0tIG9yZy5lbAkyMDEwLTEwLTI3 IDA3OjQ3OjUwLjcwMjQ5NzIyNyAtMDQwMAorKysgb3JnLm1pbmUuZWwJMjAxMC0xMC0yNyAw Nzo0ODo1OS4wOTA2MTkyMDMgLTA0MDAKQEAgLTEyMjExLDEzICsxMjIxMSwyNyBAQCBBQ1RJ T04gY2FuIGJlIGBzZXQnLCBgdXAnLCBgZG93bicsIG9yIGEgCiAgICAgICAobWVzc2FnZSAi UHJpb3JpdHkgb2YgY3VycmVudCBpdGVtIHNldCB0byAlcyIgbmV3cykpKSkKIAogKGRlZnVu IG9yZy1nZXQtcHJpb3JpdHkgKHMpCi0gICJGaW5kIHByaW9yaXR5IGNvb2tpZSBhbmQgcmV0 dXJuIHByaW9yaXR5LiIKLSAgKHNhdmUtbWF0Y2gtZGF0YQotICAgIChpZiAobm90IChzdHJp bmctbWF0Y2ggb3JnLXByaW9yaXR5LXJlZ2V4cCBzKSkKLQkoKiAxMDAwICgtIG9yZy1sb3dl c3QtcHJpb3JpdHkgb3JnLWRlZmF1bHQtcHJpb3JpdHkpKQotICAgICAgKCogMTAwMCAoLSBv c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KGlm IHN1Yi1wcmlvcml0eS1tYXRjaAorICAgKHN0cmluZy10by1udW1iZXIgc3ViLXByaW9yaXR5 LW1hdGNoKSAwKSkpCisgICAgICAoKyBwcmlvcml0eS12YWx1ZSBzdWItcHJpb3JpdHktdmFs dWUpKSkpCisgICAgCiA7Ozs7IFRhZ3MKIAogKGRlZnZhciBvcmctYWdlbmRhLWFyY2hpdmVz LW1vZGUpCg== --------------080001030000000806070409 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --------------080001030000000806070409--