From mboxrd@z Thu Jan 1 00:00:00 1970 From: Max Mikhanosha Subject: Re: [PATCH 1/2] Fix error with %e agenda prefix format when there is no effort set Date: Fri, 22 Jul 2011 11:57:02 -0400 Message-ID: <87sjpyz4tt.wl%max@openchat.com> References: <87ipqv5xga.wl%max@openchat.com> <87r55i1lp4.fsf@gnu.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([140.186.70.92]:54620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkI66-0003dL-6o for emacs-orgmode@gnu.org; Fri, 22 Jul 2011 11:57:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QkI64-0001Vz-Vg for emacs-orgmode@gnu.org; Fri, 22 Jul 2011 11:57:06 -0400 Received: from p84-72.acedsl.com ([66.114.84.72]:57821 helo=momoland.openchat.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkI64-0001Vi-Ol for emacs-orgmode@gnu.org; Fri, 22 Jul 2011 11:57:04 -0400 Received: from momoland.openchat.com (localhost [IPv6:::1]) by momoland.openchat.com (Postfix) with ESMTP id DBFD5E570C for ; Fri, 22 Jul 2011 11:57:02 -0400 (EDT) In-Reply-To: <87r55i1lp4.fsf@gnu.org> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Cc: Org Mode List > > (setq category (substring category 0 (1- org-prefix-category-max-length))))) > > ;; Evaluate the compiled format > > + (assert effort) > > Why is this needed? Oops left that in accidentally. If you hold on for a few days, I'll send a more complete patch implementing: 1. Refresh the %e effort displayed on agenda line after it changed by (org-agenda-set-effort) 2. Two new commands, org-agenda-effort-up, org-agenda-effort-down, that would shift the effort up/down to the next value, with suggested bindings of M-Left and M-Right, which will allow effortless editing of efforts in Agenda