From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: org-agenda-redo: a feature or a bug? Date: Sat, 16 Aug 2014 04:25:53 +0200 Message-ID: <20140816042553.742212b4@aga-netbook> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XITgw-0001WI-Mj for emacs-orgmode@gnu.org; Fri, 15 Aug 2014 22:26:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XITgp-0006jQ-I7 for emacs-orgmode@gnu.org; Fri, 15 Aug 2014 22:26:01 -0400 Received: from msg.wmi.amu.edu.pl ([150.254.78.50]:39478) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XITgp-0006jM-Az for emacs-orgmode@gnu.org; Fri, 15 Aug 2014 22:25:55 -0400 Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id C88EF69BFE for ; Sat, 16 Aug 2014 04:25:54 +0200 (CEST) Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hGM-hsD7qufX for ; Sat, 16 Aug 2014 04:25:54 +0200 (CEST) Received: from aga-netbook (unknown [185.13.171.31]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id A86F8400BC for ; Sat, 16 Aug 2014 04:25:54 +0200 (CEST) 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 To: Org-mode mailing list Hello, here's an excerpt from org-agenda.el: (org-defkey org-agenda-mode-map "r" 'org-agenda-redo) (org-defkey org-agenda-mode-map "g" (lambda () (interactive) (org-agenda-redo t))) And here from the manual: 10.5 Commands in the agenda buffer ================================== [...] `g (`org-agenda-redo')' Same as `r'. So... really the same? (But see below.) And here again from org-agenda.el: (defun org-agenda-redo (&optional all) "Rebuild possibly ALL agenda view(s) in the current buffer." [...]) However, the `all' argument seems not to be used anywhere except for two places, where it is (unless (eq all t) ...) (two times). It seems to me that unless the (undocumented) `org-agenda-overriding-cmd-arguments' variable somehow influences the redoing of one or all views (and it seems not to), there is a bug. WDYT? -- Marcin Borkowski room B3-46, phone no +48 61 829 5375 http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University