all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to save the state of Agenda buffer in Emacs?
@ 2013-04-27  7:08 Sergey Pashinin
  2013-04-27  7:27 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Sergey Pashinin @ 2013-04-27  7:08 UTC (permalink / raw)
  To: emacs-orgmode

Hello org-mode guys,

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?).

I want to save it and recreate later without dependence on
current ".emacs" configuration

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to save the state of Agenda buffer in Emacs?
  2013-04-27  7:08 How to save the state of Agenda buffer in Emacs? Sergey Pashinin
@ 2013-04-27  7:27 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2013-04-27  7:27 UTC (permalink / raw)
  To: Sergey Pashinin; +Cc: emacs-orgmode

Hi Sergey,

Sergey Pashinin <sergey@pashinin.com> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-27  7:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-27  7:08 How to save the state of Agenda buffer in Emacs? Sergey Pashinin
2013-04-27  7:27 ` Bastien

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.