From mboxrd@z Thu Jan 1 00:00:00 1970 From: "I.S." Subject: Re: proposal for enhanced org-get-priority function Date: Fri, 29 Oct 2010 07:45:28 -0400 Message-ID: <4CCAB3D8.5010505@gmail.com> References: <4CBF237F.1080602@gmail.com> <87aam34cy0.wl%dmaus@ictsoc.de> <4CC814B6.3070603@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010701040808000501040806" Return-path: Received: from [140.186.70.92] (port=59791 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PBnOw-0006Ig-GD for emacs-orgmode@gnu.org; Fri, 29 Oct 2010 07:45:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PBnOu-0003d3-PD for emacs-orgmode@gnu.org; Fri, 29 Oct 2010 07:45:42 -0400 Received: from mail-qy0-f169.google.com ([209.85.216.169]:49796) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PBnOu-0003cp-Lk for emacs-orgmode@gnu.org; Fri, 29 Oct 2010 07:45:40 -0400 Received: by qyk34 with SMTP id 34so6001817qyk.0 for ; Fri, 29 Oct 2010 04:45:39 -0700 (PDT) In-Reply-To: <4CC814B6.3070603@gmail.com> 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. --------------010701040808000501040806 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sorry, I realized the previous patch did not contain updates to the org-priority-regexp. An updated patch is attached. Sorry, -I.S. On 10/27/2010 8:01 AM, I.S. wrote: > 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. > -- Thanks, -I.S. --------------010701040808000501040806 Content-Type: text/plain; name="org-get-priority.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="org-get-priority.patch" ZW1pbkBtYXJ0aW5pYW4uY29tJ3MgcGFzc3dvcmQ6IA0KLS0tIG9yZy5lbAkyMDEwLTEwLTI5 IDA3OjQxOjE3LjI1NDQwMTU3MiAtMDQwMAorKysgb3JnLm1pbmUuZWwJMjAxMC0xMC0yOSAw Nzo0MTo0OS4xNjI0MjM5MzEgLTA0MDAKQEAgLTYsNyArNiw3IEBACiA7OyBBdXRob3I6IENh cnN0ZW4gRG9taW5payA8Y2Fyc3RlbiBhdCBvcmdtb2RlIGRvdCBvcmc+CiA7OyBLZXl3b3Jk czogb3V0bGluZXMsIGh5cGVybWVkaWEsIGNhbGVuZGFyLCB3cAogOzsgSG9tZXBhZ2U6IGh0 dHA6Ly9vcmdtb2RlLm9yZwotOzsgVmVyc2lvbjogNy4wMnRyYW5zCis7OyBWZXJzaW9uOiA3 LjAxdHJhbnMKIDs7CiA7OyBUaGlzIGZpbGUgaXMgcGFydCBvZiBHTlUgRW1hY3MuCiA7OwpA Q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5KSkpKQorICAgKHN1Yi1wcmlvcml0eS1tYXRjaCAobWF0Y2gtc3RyaW5nIDMgcykpCisg ICAoc3ViLXByaW9yaXR5LXZhbHVlIChpZiBzdWItcHJpb3JpdHktbWF0Y2gKKyAgIChzdHJp bmctdG8tbnVtYmVyIHN1Yi1wcmlvcml0eS1tYXRjaCkgMCkpKQorICAgICAgKCsgcHJpb3Jp dHktdmFsdWUgc3ViLXByaW9yaXR5LXZhbHVlKSkpKQorICAgIAogOzs7OyBUYWdzCiAKIChk ZWZ2YXIgb3JnLWFnZW5kYS1hcmNoaXZlcy1tb2RlKQo= --------------010701040808000501040806 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 --------------010701040808000501040806--