From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Vauban Subject: Re: Selection of TODO entry keyword with S-right arrow Date: Mon, 17 Nov 2014 10:49:01 +0100 Message-ID: <86ppcmgnsi.fsf@example.com> References: <86ioin49k6.fsf@example.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <86ioin49k6.fsf-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org> (Sebastien Vauban's message of "Mon, 10 Nov 2014 11:46:49 +0100") 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: mail-Gpy5sJQTEQHwkn9pgDnJRVAUjnlXr6A1@public.gmane.org Cc: public-emacs-orgmode-mXXj517/zsQ-wOFGN7rlS/M9smdsby/KFg@public.gmane.org Hello, Sebastien Vauban wrote: > Up to recently, with the following customization: > > (setq org-todo-keywords > '((sequence "NEW(n!)" "TODO(t!)" "STRT(s!)" "WAIT(w!)" "SDAY(y!)" > "|" "DONE(d!)" "CANX(x!)") > (sequence "QTE(q!)" "QTD(Q!)" > "|" "APP(A!)" "REJ(R!)") > (sequence "OPENPO(O!)" > "|" "CLSDPO(C!)"))) > > To select the TODO state "NEW" or "TODO" for an entry which had no TODO > keyword, I just had to `S-right' once or twice: > > 1. NEW > 2. TODO > > Now, `S-right' does cycle in a new order: > > 1. OPENPO > 2. CLSDPO > 3. QTE > 4. QTD > 5. APP > 6. REJ > 7. NEW > 8. TODO > > See http://screencast.com/t/FyECLZ3y. 61a241f0dc07aef5a3a5c2bd037a197236bde2e6 is the first bad commit commit 61a241f0dc07aef5a3a5c2bd037a197236bde2e6 Author: Nicolas Goaziou Date: Tue Oct 14 10:53:29 2014 +0200 Rewrite setup keywords initialization * lisp/org-table.el (org-table-set-constants): Remove function. * lisp/org.el (org-set-regexps-and-options): Rewrite function. Merge it with `org-set-regexps-and-options-for-tags'. (org-set-regexps-and-options-for-tags): Remove function (org--setup-collect-keywords, org--setup-process-tags): New functions. (org-mode): Remove `org-set-regexps-and-options-for-tags' call. (org-agenda-prepare-buffers): Use optimized setup for tags in all cases. Improve docstring. (org-make-options-regexp): Make returned regexp more efficient. :040000 040000 afaa4ae741d1427954081fcbc29ee4a0363e6636 4a2d2634d397a45d3c9528fb1919a6e1a1315430 M lisp Best regards, Seb -- Sebastien Vauban