emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Two letter combinations agenda and org-agenda-files variable
@ 2014-05-17 20:46 Igor Sosa Mayor
  2014-05-20 15:17 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Igor Sosa Mayor @ 2014-05-17 20:46 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

if I define a org-agenda-custom-command in which I have a (so-called?)
two-letter combination agenda like this: 

--8<---------------cut here---------------start------------->8---
(setq org-agenda-custom-commands
           '(("x" agenda)
             ("h" . "HOME+Name tags searches") ; description for "h" prefix
             ("hl" tags "+home+Lisa")
             ("hp" tags "+home+Peter")
             ("hk" tags "+home+Kim")))
--8<---------------cut here---------------end--------------->8---

is it possible to declare org-agenda-files in the head of the
combination in order to apply them to all the letter combinations (hl,
hp, hk)?

Many thanks in advance!

-- 
:: Igor Sosa Mayor     :: joseleopoldo1792@gmail.com ::
:: GnuPG: 0x1C1E2890   :: http://www.gnupg.org/      ::
:: jabberid: rogorido  ::                            ::

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

* Re: Two letter combinations agenda and org-agenda-files variable
  2014-05-17 20:46 Two letter combinations agenda and org-agenda-files variable Igor Sosa Mayor
@ 2014-05-20 15:17 ` Bastien
  2014-05-20 15:30   ` Igor Sosa Mayor
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2014-05-20 15:17 UTC (permalink / raw)
  To: Igor Sosa Mayor; +Cc: emacs-orgmode

Hi Igor,

Igor Sosa Mayor <joseleopoldo1792@gmail.com> writes:

> if I define a org-agenda-custom-command in which I have a (so-called?)
> two-letter combination agenda like this: 
>
> (setq org-agenda-custom-commands
>            '(("x" agenda)
>              ("h" . "HOME+Name tags searches") ; description for "h" prefix
>              ("hl" tags "+home+Lisa")
>              ("hp" tags "+home+Peter")
>              ("hk" tags "+home+Kim")))
>
> is it possible to declare org-agenda-files in the head of the
> combination in order to apply them to all the letter combinations (hl,
> hp, hk)?

No, you need to set variables to the custom commands definitions
themselves.

Best,

-- 
 Bastien

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

* Re: Two letter combinations agenda and org-agenda-files variable
  2014-05-20 15:17 ` Bastien
@ 2014-05-20 15:30   ` Igor Sosa Mayor
  0 siblings, 0 replies; 3+ messages in thread
From: Igor Sosa Mayor @ 2014-05-20 15:30 UTC (permalink / raw)
  To: emacs-orgmode

Bastien <bzg@gnu.org> writes:

> No, you need to set variables to the custom commands definitions
> themselves.

I see... thanks for your answer!

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

end of thread, other threads:[~2014-05-20 15:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-17 20:46 Two letter combinations agenda and org-agenda-files variable Igor Sosa Mayor
2014-05-20 15:17 ` Bastien
2014-05-20 15:30   ` Igor Sosa Mayor

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).