From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: How to save the state of Agenda buffer in Emacs? Date: Sat, 27 Apr 2013 09:27:22 +0200 Message-ID: <87ppxgmo11.fsf@bzg.ath.cx> References: <517B7987.2070507@pashinin.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38993) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVzXb-0003rG-Nz for emacs-orgmode@gnu.org; Sat, 27 Apr 2013 03:27:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVzXa-0008Us-RU for emacs-orgmode@gnu.org; Sat, 27 Apr 2013 03:27:27 -0400 Received: from mail-wg0-x22b.google.com ([2a00:1450:400c:c00::22b]:62476) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVzXa-0008Uo-Ks for emacs-orgmode@gnu.org; Sat, 27 Apr 2013 03:27:26 -0400 Received: by mail-wg0-f43.google.com with SMTP id c11so2577629wgh.10 for ; Sat, 27 Apr 2013 00:27:25 -0700 (PDT) In-Reply-To: <517B7987.2070507@pashinin.com> (Sergey Pashinin's message of "Sat, 27 Apr 2013 11:08:55 +0400") 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: Sergey Pashinin Cc: emacs-orgmode@gnu.org Hi Sergey, Sergey Pashinin writes: > Each of us has his own commands set > in "org-agenda-custom-commands" variable. But how can I detect > what commands were used to create the current state of Agenda > buffer (looking only at this buffer, maybe any local varibales?). You cannot directly access to the custom command itself, but M-: (get-text-property (point) 'org-redo-cmd) RET will give you the name of the internal agenda command used. This property tells the `r' keybinding what to redo. -- Bastien