andrea crotti writes:
> Just for curiosity, why the lispy arguments are deprecated?
Not "deprecated", just "not recommended".
See http://lists.gnu.org/archive/html/emacs-devel/2003-08/msg00436.html
for a start. Many heated discussions on the web about this.
--
Bastien
2012/7/12 Bastien :
>
> (defun my-org-agenda-command ()
> (interactive)
> (org-agenda-set-restriction-lock 'file)
> (org-agenda nil "%"))
>
> Note that you need to be in your .org file for this to work, so this
> isn't really suited for a global keybinding, only for org-mode-map.
>
> HTH,
>
>
Hi Andrea,
andrea crotti writes:
> I never quite understood how to pass arguments to org-agenda without
> using it interactively..
> I want a simple thing, a command that shows the agenda with the TODO
> entries from a given file
>
> So supposing the buffer "projects.org" is open I tried this:
>
I never quite understood how to pass arguments to org-agenda without
using it interactively..
I want a simple thing, a command that shows the agenda with the TODO
entries from a given file
So supposing the buffer "projects.org" is open I tried this:
(defun my-org-agenda ()
(interactive)
(swi