unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* calendar functions
@ 2003-08-24 11:36 Raimund Kohl-Fuechsle
  0 siblings, 0 replies; 8+ messages in thread
From: Raimund Kohl-Fuechsle @ 2003-08-24 11:36 UTC (permalink / raw)


Hello all,

I recently switched from SuSE to Debian.  Somehow I feel the behaviour
of a few calender functions seem to work differently ... or not at
all.

Previously I had set

;;(setq calender-week-start-day 1)

to start the calender display with Mo instead of Su.  But it doesn't
work at all ... the calender display starts with Su, no matter what
value I set in .emacs.

Next is that I previously had set

;;(setq calender-latitude +49.27)
;;     (setq calender-longitude +8.21)
;;     (setq calender-location-name "Mutterstadt, LU")

which worked fine with SuSE.  But if I ask for Sunrise I am prompted
to give in latitude and longtitude datas.

How can I change that in a way that it works?

Thank you in advance,

ray

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

* Re: calendar functions
       [not found] <mailman.868.1061739745.29551.help-gnu-emacs@gnu.org>
@ 2003-08-24 21:30 ` Jesper Harder
  2003-08-24 22:07   ` Raimund Kohl-Füchsle
       [not found]   ` <mailman.879.1061763248.29551.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 8+ messages in thread
From: Jesper Harder @ 2003-08-24 21:30 UTC (permalink / raw)


ray@nabuli.de (Raimund Kohl-Fuechsle) writes:

> I recently switched from SuSE to Debian.  Somehow I feel the
> behaviour of a few calender functions seem to work differently ...
> or not at all.

I seem to remember that SuSE has modified Emacs to look for .emacs in
a non-standard location (or name).  Where did you put your .emacs file
under Debian -- in "~/.emacs"?

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

* Re: calendar functions
  2003-08-24 21:30 ` Jesper Harder
@ 2003-08-24 22:07   ` Raimund Kohl-Füchsle
       [not found]   ` <mailman.879.1061763248.29551.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 8+ messages in thread
From: Raimund Kohl-Füchsle @ 2003-08-24 22:07 UTC (permalink / raw)


On Sun, Aug 24, 2003 at 11:30:46PM +0200, Jesper Harder wrote:
> ray@nabuli.de (Raimund Kohl-Fuechsle) writes:
> 
> > I recently switched from SuSE to Debian.  Somehow I feel the
> > behaviour of a few calender functions seem to work differently ...
> > or not at all.
> 
> I seem to remember that SuSE has modified Emacs to look for .emacs in
> a non-standard location (or name).  Where did you put your .emacs file
> under Debian -- in "~/.emacs"?

Yep. Also, according to a book I recently bought, I created a
directory ~/emacs and within that directory I have several files that
are loaded by .emacs, eg. init.el, which contains the mentioned
setq's.  At least with AucTeX, which also is called with
~/emacs/init.el, it works fine.  Just the calender issue seems to not
want to :-(

ray

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

* Re: calendar functions
       [not found]   ` <mailman.879.1061763248.29551.help-gnu-emacs@gnu.org>
@ 2003-08-24 23:13     ` Jesper Harder
  2003-08-25  7:41       ` Raimund Kohl-Füchsle
                         ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Jesper Harder @ 2003-08-24 23:13 UTC (permalink / raw)


Raimund Kohl-Füchsle <ray@nabuli.de> writes:

> On Sun, Aug 24, 2003 at 11:30:46PM +0200, Jesper Harder wrote:
>> ray@nabuli.de (Raimund Kohl-Fuechsle) writes:
>> 
>> > I recently switched from SuSE to Debian.  Somehow I feel the
>> > behaviour of a few calender functions seem to work differently ...
>> > or not at all.
>> 
>> I seem to remember that SuSE has modified Emacs to look for .emacs in
>> a non-standard location (or name).  Where did you put your .emacs file
>> under Debian -- in "~/.emacs"?
>
> Yep. Also, according to a book I recently bought, I created a
> directory ~/emacs and within that directory I have several files that
> are loaded by .emacs, eg. init.el, which contains the mentioned
> setq's.  At least with AucTeX, which also is called with
> ~/emacs/init.el, it works fine.  Just the calender issue seems to not
> want to :-(

Hmm, I don't think a vanilla Gnu Emacs built from the sources loads
'~/emacs/init.el'.  

I don't know what the Debian folks might have done -- but try to put
it in '~/.emacs' instead (not '~/emacs/.emacs' but '.emacs' directly
in your home dir).

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

* Re: calendar functions
  2003-08-24 23:13     ` Jesper Harder
@ 2003-08-25  7:41       ` Raimund Kohl-Füchsle
  2003-08-25  8:33       ` Raimund Kohl-Füchsle
       [not found]       ` <mailman.903.1061801457.29551.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 8+ messages in thread
From: Raimund Kohl-Füchsle @ 2003-08-25  7:41 UTC (permalink / raw)


On Mon, Aug 25, 2003 at 01:13:44AM +0200, Jesper Harder wrote:
> Raimund Kohl-Füchsle <ray@nabuli.de> writes:
> 
> > On Sun, Aug 24, 2003 at 11:30:46PM +0200, Jesper Harder wrote:
> >> ray@nabuli.de (Raimund Kohl-Fuechsle) writes:
> >> 
> >> > I recently switched from SuSE to Debian.  Somehow I feel the
> >> > behaviour of a few calender functions seem to work differently ...
> >> > or not at all.
> >> 
> >> I seem to remember that SuSE has modified Emacs to look for .emacs in
> >> a non-standard location (or name).  Where did you put your .emacs file
> >> under Debian -- in "~/.emacs"?
> >
> > Yep. Also, according to a book I recently bought, I created a
> > directory ~/emacs and within that directory I have several files that
> > are loaded by .emacs, eg. init.el, which contains the mentioned
> > setq's.  At least with AucTeX, which also is called with
> > ~/emacs/init.el, it works fine.  Just the calender issue seems to not
> > want to :-(
> 
> Hmm, I don't think a vanilla Gnu Emacs built from the sources loads
> '~/emacs/init.el'.

Oh, I may have been unclear here, sorry.  I HAVE an init file
".emacs".  In .emacs I have set:

(setq load-path (cons "/home/ray/emacs-lisp" load-path))
(load "init")

and this way "emacs-lisp/init.el" is loaded.

Anyway, I changed that according to your suggestion and put all those
settings relating with calendar into .emacs; thus it's now:

--------------
(server-start)
(setq load-path (cons "/home/ray/emacs-lisp" load-path))

(load "init")
(load "emacs-wiki")

(custom-set-variables
  ;; custom-set-variables was added by Custom -- don't edit or cut/paste it!
  ;; Your init file should contain only one such instance.
 '(auto-compression-mode t nil (jka-compr))
 '(case-fold-search t)
 '(current-language-environment "German")
 '(default-input-method "german-postfix")
 '(global-font-lock-mode t nil (font-lock))
 '(show-paren-mode t nil (paren))
 '(uniquify-buffer-name-style (quote forward) nil (uniquify)))
(custom-set-faces
  ;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
  ;; Your init file should contain only one such instance.
 )

;;(calendar)
;;
(setq calender-latitude +49.27)
     (setq calender-longitude +8.21)
     (setq calender-location-name "Mutterstadt, LU")
(setq calender-week-start-day 1)
(setq mark-diary-entries-in-calender t)
(add-hook 'diary-display-hook 'fancy-diary-display)
(add-hook 'list-diary-entries-hook 'sort-diary-entries t)
(setq diary-list-include-blanks t)
(diary)
(display-time)
     (add-hook 'diary-hook 'appt-make-list)
(setq cal-tex-diary nil)
;;
;;
-----------

... but that one doesn't work either :-(

thank you anyway :-)

ray

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

* Re: calendar functions
  2003-08-24 23:13     ` Jesper Harder
  2003-08-25  7:41       ` Raimund Kohl-Füchsle
@ 2003-08-25  8:33       ` Raimund Kohl-Füchsle
       [not found]       ` <mailman.903.1061801457.29551.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 8+ messages in thread
From: Raimund Kohl-Füchsle @ 2003-08-25  8:33 UTC (permalink / raw)


On Mon, Aug 25, 2003 at 01:13:44AM +0200, Jesper Harder wrote:

> Hmm, I don't think a vanilla Gnu Emacs built from the sources loads
> '~/emacs/init.el'.  
> 
> I don't know what the Debian folks might have done -- but try to put
> it in '~/.emacs' instead (not '~/emacs/.emacs' but '.emacs' directly
> in your home dir).

Hi again, Jesper,

well ... I got it!  I simply used the customize-function ... and, yep,
that was all.  It's strange anyway, for it SHOULD have worked via hand
made settings in the .emacs file.

But then again: What would life be without miracles? :-)

ray

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

* Re: calendar functions
       [not found]       ` <mailman.903.1061801457.29551.help-gnu-emacs@gnu.org>
@ 2003-08-25  9:10         ` Oliver Scholz
  2003-08-25  9:37           ` Raimund Kohl-Füchsle
  0 siblings, 1 reply; 8+ messages in thread
From: Oliver Scholz @ 2003-08-25  9:10 UTC (permalink / raw)


Raimund Kohl-Füchsle <ray@nabuli.de> writes:
[...]
> (setq calender-latitude +49.27)
              ^
>      (setq calender-longitude +8.21)
                   ^
>      (setq calender-location-name "Mutterstadt, LU")
                   ^
> (setq calender-week-start-day 1)
           ^

I think that should be `calendar-' not `calender-'.

    Oliver
-- 
8 Fructidor an 211 de la Révolution
Liberté, Egalité, Fraternité!

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

* Re: calendar functions
  2003-08-25  9:10         ` Oliver Scholz
@ 2003-08-25  9:37           ` Raimund Kohl-Füchsle
  0 siblings, 0 replies; 8+ messages in thread
From: Raimund Kohl-Füchsle @ 2003-08-25  9:37 UTC (permalink / raw)


On Mon, Aug 25, 2003 at 11:10:46AM +0200, Oliver Scholz wrote:
> Raimund Kohl-Füchsle <ray@nabuli.de> writes:
> [...]
> > (setq calender-latitude +49.27)
>               ^
> >      (setq calender-longitude +8.21)
>                    ^
> >      (setq calender-location-name "Mutterstadt, LU")
>                    ^
> > (setq calender-week-start-day 1)
>            ^
> 
> I think that should be `calendar-' not `calender-'.

This is ... oh my god!  What a terrible mistake!  Thanks for
mentioning that! That WAS the fault! Thank you again

ray

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

end of thread, other threads:[~2003-08-25  9:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-24 11:36 calendar functions Raimund Kohl-Fuechsle
     [not found] <mailman.868.1061739745.29551.help-gnu-emacs@gnu.org>
2003-08-24 21:30 ` Jesper Harder
2003-08-24 22:07   ` Raimund Kohl-Füchsle
     [not found]   ` <mailman.879.1061763248.29551.help-gnu-emacs@gnu.org>
2003-08-24 23:13     ` Jesper Harder
2003-08-25  7:41       ` Raimund Kohl-Füchsle
2003-08-25  8:33       ` Raimund Kohl-Füchsle
     [not found]       ` <mailman.903.1061801457.29551.help-gnu-emacs@gnu.org>
2003-08-25  9:10         ` Oliver Scholz
2003-08-25  9:37           ` Raimund Kohl-Füchsle

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).