From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Sullivan Newsgroups: gmane.emacs.help Subject: Re: Emacs doesn't load .emacs Date: Sat, 04 Nov 2006 11:42:51 -0500 Message-ID: <87psc3kvsk.fsf@ashbery.wjsullivan.net> References: <4qu2hpFops3pU1@individual.net> <1162469132.089595.161970@f16g2000cwb.googlegroups.com> <4qu9coFops3pU2@individual.net> <4quaviFops3pU3@individual.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1162660089 19605 80.91.229.2 (4 Nov 2006 17:08:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 4 Nov 2006 17:08:09 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 04 18:08:04 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GgOzg-0000DZ-TY for geh-help-gnu-emacs@m.gmane.org; Sat, 04 Nov 2006 18:07:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GgOzg-0006zj-Cz for geh-help-gnu-emacs@m.gmane.org; Sat, 04 Nov 2006 12:07:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GgOvx-0003KR-Cd for help-gnu-emacs@gnu.org; Sat, 04 Nov 2006 12:03:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GgOvw-0003IX-5J for help-gnu-emacs@gnu.org; Sat, 04 Nov 2006 12:03:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GgOvu-0003I5-Jl for help-gnu-emacs@gnu.org; Sat, 04 Nov 2006 12:03:51 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GgOvu-00016l-0w for help-gnu-emacs@gnu.org; Sat, 04 Nov 2006 12:03:50 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GgOup-0007VL-3R for help-gnu-emacs@gnu.org; Sat, 04 Nov 2006 18:02:43 +0100 Original-Received: from dsl092-079-150.bos1.dsl.speakeasy.net ([66.92.79.150]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 04 Nov 2006 18:02:43 +0100 Original-Received: from john by dsl092-079-150.bos1.dsl.speakeasy.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 04 Nov 2006 18:02:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 37 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dsl092-079-150.bos1.dsl.speakeasy.net User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.90 (gnu/linux) Cancel-Lock: sha1:AN4KlAiJeZ+lAS+97/FMf7KY4MQ= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:38545 Archived-At: "Hendrik Bilges" writes: > If I replace the generated .emacs with the file mentioned before, > containing only "(display-time)", it won't get loaded - the time is not > shown in the status bar. > > Any ideas on this? ,----[ C-h f display-time-mode RET ] | display-time-mode is an interactive autoloaded Lisp function in `time'. | It is bound to . | (display-time-mode &optional ARG) | | Toggle display of time, load level, and mail flag in mode lines. | With a numeric arg, enable this display if arg is positive. | | When this display is enabled, it updates automatically every minute. | If `display-time-day-and-date' is non-nil, the current day and date | are displayed as well. | This runs the normal hook `display-time-hook' after each update. | | [back] `---- Note the TOGGLE part. It's likely that something in your site-startup is turning display-time-mode on, and then your code in .emacs is turning it back off. So, two things to try. 1) Test with something else. Put (message "It works!") in your .emacs, then check your *Messages* buffer after starting emacs to look for that string. 2) Use (display-time-mode 1) instead of just (display-time-mode). -- -John Sullivan -http://www.wjsullivan.net -GPG Key: AE8600B6