From: Matthew Sauer <improv.philosophy@gmail.com>
To: Konrad Hinsen <konrad.hinsen@fastmail.net>, Bastien <bzg@altern.org>
Cc: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: org google weather
Date: Sat, 5 Mar 2011 08:57:39 -0600 [thread overview]
Message-ID: <AANLkTinyWguHOOjVfiCqM1vamAmJOD=7wgdro31Lpc_J@mail.gmail.com> (raw)
In-Reply-To: <D0AEAC67-282A-4BBD-9B88-046DE20F1B94@fastmail.net>
[-- Attachment #1: Type: text/plain, Size: 1667 bytes --]
Konrad,
Being an elisp noob I had forgotten about the provide code in the .el file.
That fixed that problem, THANK YOU so much. Now if I can figure out why I
have to
M-x load-library RET google-weather RET
M-x load-library RET org-google-weather RET
to get google weather to work with my agenda (though I am debating on
leaving it this way and having a function load these two files as I am not
always internet connected and it is annoying to wait for the network
connection attempt to timeout 4 times for each day it attempts to retrieve
the weather or maybe I should look and see if I can patch it to make it skip
the other attempts if the first fails? but then I need to figure out how to
get them to load automatically). I should just need to use the code in my
dot emacs
'(require 'google-weather)
'(require 'org-google-weather)
for it to work but that doesn't seem to do the trick, maybe i need to look
in the code in those .el files.
Bastien,
to your question, I am trying to set some functions in other .el files so
that I can break up differnt parts of code for the different parts of my
.emacs file intsead of just adding more and more code.
Matthew
On Sat, Mar 5, 2011 at 7:26 AM, Konrad Hinsen <konrad.hinsen@fastmail.net>wrote:
> On 5 Mar 2011, at 12:44, Matthew Sauer wrote:
>
>
>> I put the diary-sunset and diary-sunrise functions in a file called
>> sunrisesunset.el in my elisp directory, it is part of my load path and put
>> '(require 'sunrisesunset)
>> in my .emacs
>>
>
> Did you put a
>
> (provide 'sunrisesunset)
>
> at the end of sunrisesunset.el? That's what tells Emacs that the
> requirement is now fulfilled.
>
> Konrad.
>
[-- Attachment #2: Type: text/html, Size: 2326 bytes --]
next prev parent reply other threads:[~2011-03-05 14:57 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-03 21:37 org google weather Simon Brown
2011-03-04 8:40 ` Ian Barton
2011-03-04 9:08 ` Sébastien Vauban
2011-03-04 11:27 ` Ian Barton
2011-03-04 15:29 ` brian powell
2011-03-04 16:38 ` Nick Dokos
2011-03-04 19:28 ` Bastien
2011-03-04 19:42 ` Konrad Hinsen
2011-03-04 20:26 ` Nick Dokos
2011-03-05 10:19 ` Bastien
2011-03-05 11:44 ` Matthew Sauer
2011-03-05 13:26 ` Konrad Hinsen
2011-03-05 14:57 ` Matthew Sauer [this message]
2011-03-05 15:15 ` Michael Markert
2011-03-05 15:23 ` Nick Dokos
2011-03-05 17:46 ` Matthew Sauer
2011-03-05 19:57 ` Nick Dokos
2011-03-05 14:29 ` Konrad Hinsen
2011-03-05 17:07 ` Bastien
2011-03-05 20:35 ` Konrad Hinsen
2011-03-05 21:19 ` brian powell
2011-03-05 23:51 ` Nick Dokos
2011-03-06 10:33 ` Konrad Hinsen
2011-03-06 11:20 ` Konrad Hinsen
2011-03-04 23:03 ` Sébastien Vauban
2011-03-04 23:25 ` Nick Dokos
2011-03-04 21:28 ` Simon Brown
2011-03-04 22:05 ` Nick Dokos
2011-03-04 22:29 ` Nick Dokos
2011-03-04 22:43 ` Simon Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTinyWguHOOjVfiCqM1vamAmJOD=7wgdro31Lpc_J@mail.gmail.com' \
--to=improv.philosophy@gmail.com \
--cc=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
--cc=konrad.hinsen@fastmail.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.