[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] (gnus-icalendar-org-setup) not evaluated in .emacs?
From: |
Loris Bennett |
Subject: |
Re: [O] (gnus-icalendar-org-setup) not evaluated in .emacs? |
Date: |
Thu, 14 Sep 2017 16:02:19 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Eric S Fraga <address@hidden> writes:
> On Thursday, 14 Sep 2017 at 09:56, Loris Bennett wrote:
>> Hi,
>>
>> I have the following in my .emacs:
>>
>> (require 'gnus-icalendar)
>> (gnus-icalendar-setup)
>> (gnus-icalendar-org-setup)
>
> I have one setting alongside these:
>
> (setq gnus-icalendar-org-capture-file "...path to my diary.org")
>
> I wonder whether gnus needs this to be defined for it to show all the
> buttons? Maybe check the value of this before and after?
>
> I always see all the buttons (I think).
Rereading this, I decided to move the settings out from the Customize
block to before call to gnus-icalendar-org-setup:
(require 'gnus-icalendar)
(setq gnus-icalendar-org-capture-file "~/git/org.git/gtd.org")
(setq gnus-icalendar-org-capture-headline (quote ("Exchange")))
(gnus-icalendar-setup)
(gnus-icalendar-org-setup)
Now I get all the buttons first time round and didn't have to resort to
a flaky hack, so thanks, Eric.
But should this kind of ordering dependency happen? Or should my
Customize block just be at the beginning of my .emacs rather than at the
end?
Cheers,
Loris
--
This signature is currently under construction.
- [O] (gnus-icalendar-org-setup) not evaluated in .emacs?, Loris Bennett, 2017/09/14
- Re: [O] (gnus-icalendar-org-setup) not evaluated in .emacs?, Eric S Fraga, 2017/09/14
- Re: [O] (gnus-icalendar-org-setup) not evaluated in .emacs?,
Loris Bennett <=
- Re: [O] (gnus-icalendar-org-setup) not evaluated in .emacs?, Matt Lundin, 2017/09/15
- Re: [O] (gnus-icalendar-org-setup) not evaluated in .emacs?, Eric S Fraga, 2017/09/19
- Re: [O] (gnus-icalendar-org-setup) not evaluated in .emacs?, Loris Bennett, 2017/09/19
- Re: [O] (gnus-icalendar-org-setup) not evaluated in .emacs?, Tim Cross, 2017/09/19
- Re: [O] (gnus-icalendar-org-setup) not evaluated in .emacs?, Loris Bennett, 2017/09/20
- Re: [O] (gnus-icalendar-org-setup) not evaluated in .emacs?, Nick Dokos, 2017/09/20
- Re: [O] (gnus-icalendar-org-setup) not evaluated in .emacs?, Lars-Johan Liman, 2017/09/20
- Re: [O] (gnus-icalendar-org-setup) not evaluated in .emacs?, Eric S Fraga, 2017/09/20
- Re: [O] (gnus-icalendar-org-setup) not evaluated in .emacs?, Thomas S. Dye, 2017/09/20