* converting to "init.org"
@ 2014-11-12 19:27 Sharon Kimble
2014-11-12 19:36 ` Alexander Baier
2014-11-12 19:47 ` Thomas S. Dye
0 siblings, 2 replies; 5+ messages in thread
From: Sharon Kimble @ 2014-11-12 19:27 UTC (permalink / raw)
To: org-mode
[-- Attachment #1: Type: text/plain, Size: 1055 bytes --]
I have been converting/building my "init.el" to "init.org" and it is
working well, but there are a few things that I'm not sure
about. For instance, I have a command to display 21 days in my
agenda, but it is not happening. This is the command -
--8<---------------cut here---------------start------------->8---
** Agenda
*** Agenda config
#+BEGIN_SRC emacs-lisp
'(org-agenda-include-all-todo t)
'(org-agenda-span 21)
'(org-agenda-include-diary t)
'(org-agenda-insert-diary-extract-time t)
'(org-agenda-insert-diary-strategy (quote top-level))
--8<---------------cut here---------------end--------------->8---
Its obviously a fault in my configuration, but I can't see what the
solution is. At the moment I just get the default display of just 7
days.
Thanks
Sharon.
--
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.5, emacs 24.4.1.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: converting to "init.org"
2014-11-12 19:27 converting to "init.org" Sharon Kimble
@ 2014-11-12 19:36 ` Alexander Baier
2014-11-12 19:40 ` Alexander Baier
2014-11-12 19:47 ` Thomas S. Dye
1 sibling, 1 reply; 5+ messages in thread
From: Alexander Baier @ 2014-11-12 19:36 UTC (permalink / raw)
To: Sharon Kimble; +Cc: org-mode
On 2014-11-12 20:27 Sharon Kimble wrote:
> *** Agenda config
> #+BEGIN_SRC emacs-lisp
> '(org-agenda-include-all-todo t)
> '(org-agenda-span 21)
> '(org-agenda-include-diary t)
> '(org-agenda-insert-diary-extract-time t)
> '(org-agenda-insert-diary-strategy (quote top-level))
These are just quoted lists containing a variable and presumably a value
said variable should be set to. This lisp code does "nothing" when
executed, at least not setting these variables. To me this looks like
something, that belongs into a customize-set-variables call. I am not
sure how to get those into your init.org file. I just let them reside in
my init.el file, which is also responsible for
--
Alexander Baier
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: converting to "init.org"
2014-11-12 19:36 ` Alexander Baier
@ 2014-11-12 19:40 ` Alexander Baier
2014-11-12 20:18 ` Nick Dokos
0 siblings, 1 reply; 5+ messages in thread
From: Alexander Baier @ 2014-11-12 19:40 UTC (permalink / raw)
To: Sharon Kimble; +Cc: org-mode
[ Accidentally hit send, ... ]
On 2014-11-12 20:27 Sharon Kimble wrote:
> *** Agenda config
> #+BEGIN_SRC emacs-lisp
> '(org-agenda-include-all-todo t)
> '(org-agenda-span 21)
> '(org-agenda-include-diary t)
> '(org-agenda-insert-diary-extract-time t)
> '(org-agenda-insert-diary-strategy (quote top-level))
These are just quoted lists containing a variable and presumably a value
said variable should be set to. This lisp code does "nothing" when
executed, at least not setting these variables. To me this looks like
something, that belongs into a customize-set-variables call. I am not
sure how to get those into your init.org file. I just let them reside in
my init.el file, which is also calls org-babel to do the real
initialization via org-babel-load-file.
HTH,
--
Alexander Baier
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: converting to "init.org"
2014-11-12 19:27 converting to "init.org" Sharon Kimble
2014-11-12 19:36 ` Alexander Baier
@ 2014-11-12 19:47 ` Thomas S. Dye
1 sibling, 0 replies; 5+ messages in thread
From: Thomas S. Dye @ 2014-11-12 19:47 UTC (permalink / raw)
To: Sharon Kimble; +Cc: org-mode
Aloha Sharon,
You need to set the variables with =set= or =setq=.
Sharon Kimble <boudiccas@skimble.plus.com> writes:
> I have been converting/building my "init.el" to "init.org" and it is
> working well, but there are a few things that I'm not sure
> about. For instance, I have a command to display 21 days in my
> agenda, but it is not happening. This is the command -
>
> ** Agenda
>
> *** Agenda config
> #+BEGIN_SRC emacs-lisp
> '(org-agenda-include-all-todo t)
> '(org-agenda-span 21)
> '(org-agenda-include-diary t)
> '(org-agenda-insert-diary-extract-time t)
> '(org-agenda-insert-diary-strategy (quote top-level))
#+BEGIN_SRC emacs-lisp
(setq org-agenda-span 21)
#+END_SRC
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: converting to "init.org"
2014-11-12 19:40 ` Alexander Baier
@ 2014-11-12 20:18 ` Nick Dokos
0 siblings, 0 replies; 5+ messages in thread
From: Nick Dokos @ 2014-11-12 20:18 UTC (permalink / raw)
To: emacs-orgmode
Alexander Baier <alexander.baier@mailbox.org> writes:
> [ Accidentally hit send, ... ]
>
> On 2014-11-12 20:27 Sharon Kimble wrote:
>> *** Agenda config
>> #+BEGIN_SRC emacs-lisp
>> '(org-agenda-include-all-todo t)
>> '(org-agenda-span 21)
>> '(org-agenda-include-diary t)
>> '(org-agenda-insert-diary-extract-time t)
>> '(org-agenda-insert-diary-strategy (quote top-level))
>
> These are just quoted lists containing a variable and presumably a value
> said variable should be set to. This lisp code does "nothing" when
> executed, at least not setting these variables. To me this looks like
> something, that belongs into a customize-set-variables call. I am not
> sure how to get those into your init.org file. I just let them reside in
> my init.el file, which is also calls org-babel to do the real
> initialization via org-babel-load-file.
>
Yes, these are probably cut-n-pasted from the customize file but without
the part that really does the work:
(custom-set-variables
'(org-agenda-span 21))
--
Nick
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-11-12 20:19 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-12 19:27 converting to "init.org" Sharon Kimble
2014-11-12 19:36 ` Alexander Baier
2014-11-12 19:40 ` Alexander Baier
2014-11-12 20:18 ` Nick Dokos
2014-11-12 19:47 ` Thomas S. Dye
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.