From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: [Accepted] tag input separators Date: Tue, 5 Oct 2010 11:48:10 +0200 (CEST) Message-ID: <20101005094810.B99E37E088A@U016822.local> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=36758 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P3487-0001Am-WC for emacs-orgmode@gnu.org; Tue, 05 Oct 2010 05:48:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P3486-0001mO-Fm for emacs-orgmode@gnu.org; Tue, 05 Oct 2010 05:48:15 -0400 Received: from u016822.science.uva.nl ([146.50.39.34]:49807 helo=U016822.local) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P3486-0001lp-86 for emacs-orgmode@gnu.org; Tue, 05 Oct 2010 05:48:14 -0400 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: emacs-orgmode@gnu.org Patch 297 (http://patchwork.newartisans.com/patch/297/) is now "Accepted". Maintainer comment: none This relates to the following submission: http://mid.gmane.org/%3Ci8c7me%24g3n%241%40dough.gmane.org%3E Here is the original message containing the patch: > Content-Type: text/plain; charset="utf-8" > MIME-Version: 1.0 > Content-Transfer-Encoding: 7bit > Subject: [Orgmode] tag input separators > Date: Mon, 04 Oct 2010 14:44:44 -0000 > From: Richard Riley > X-Patchwork-Id: 297 > Message-Id: > To: emacs-orgmode@gnu.org > > I dont know if it would be generally useful, but a tiny little tweak to > tag editing in order to allow "," as a seperator when typing in tags via > C-c C-q TAB "free entry" interface. "," is certainly easier for me to > use but I dont know about the ramifications of it as a legal character > in a tag name. > > > --8<---------------cut here---------------start------------->8--- > Modified lisp/org.el > --8<---------------cut here---------------end--------------->8--- > > I replaced space too but that isnt currently allowed anyway. > > regards > > r. > > > diff --git a/lisp/org.el b/lisp/org.el > index 3f24ee8..fa3d364 100644 > --- a/lisp/org.el > +++ b/lisp/org.el > @@ -12792,6 +12792,8 @@ With prefix ARG, realign all tags in headings in the current buffer." > ;; No boolean logic, just a list > (setq tags (replace-match ":" t t tags)))) > > + (setq tags (replace-regexp-in-string "[ ,]" ":" tags)) > + > (if org-tags-sort-function > (setq tags (mapconcat 'identity > (sort (org-split-string tags (org-re "[^[:alnum:]_@#%]+")) >