From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Raimund =?iso-8859-1?Q?Kohl-F=FCchsle?= Newsgroups: gmane.emacs.help Subject: Re: calendar functions Date: Mon, 25 Aug 2003 09:41:18 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <20030825074117.GA861@oldsmartoffice> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1061801505 20479 80.91.224.253 (25 Aug 2003 08:51:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Aug 2003 08:51:45 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 25 10:51:43 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19rD4h-00006F-00 for ; Mon, 25 Aug 2003 10:51:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19rD4P-0002Fy-Fs for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Aug 2003 04:51:25 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19rD37-0001Pe-6Z for help-gnu-emacs@gnu.org; Mon, 25 Aug 2003 04:50:05 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19rD2T-0000rI-Ad for help-gnu-emacs@gnu.org; Mon, 25 Aug 2003 04:49:56 -0400 Original-Received: from [212.227.126.189] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.20) id 19rD2S-0000ql-RQ for help-gnu-emacs@gnu.org; Mon, 25 Aug 2003 04:49:24 -0400 Original-Received: from [212.227.126.155] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 19rD2S-0000MD-00 for help-gnu-emacs@gnu.org; Mon, 25 Aug 2003 10:49:24 +0200 Original-Received: from [80.140.9.213] (helo=oldsmartoffice) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 19rD2S-0002Up-00 for help-gnu-emacs@gnu.org; Mon, 25 Aug 2003 10:49:24 +0200 Original-Received: by oldsmartoffice (Postfix, from userid 1000) id 507E530694; Mon, 25 Aug 2003 09:41:18 +0200 (CEST) Original-To: help-gnu-emacs@gnu.org Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Priority: normal X-Mailer: Mutt X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12041 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12041 On Mon, Aug 25, 2003 at 01:13:44AM +0200, Jesper Harder wrote: > Raimund Kohl-Füchsle 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