From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "=?ISO-8859-1?Q?Aur=E9lien_Bottazini?=" Newsgroups: gmane.emacs.help Subject: how to load a minor-mode at startup Date: Tue, 30 Dec 2008 18:13:36 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_27814_16946216.1230657216631" X-Trace: ger.gmane.org 1230683231 13873 80.91.229.12 (31 Dec 2008 00:27:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Dec 2008 00:27:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 31 01:28:20 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LHowc-0007St-OU for geh-help-gnu-emacs@m.gmane.org; Wed, 31 Dec 2008 01:28:19 +0100 Original-Received: from localhost ([127.0.0.1]:44302 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHovP-00005O-1V for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Dec 2008 19:27:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LHiA1-0003Ib-UJ for help-gnu-emacs@gnu.org; Tue, 30 Dec 2008 12:13:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LHiA0-0003I9-Rj for help-gnu-emacs@gnu.org; Tue, 30 Dec 2008 12:13:41 -0500 Original-Received: from [199.232.76.173] (port=58514 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHiA0-0003I2-NP for help-gnu-emacs@gnu.org; Tue, 30 Dec 2008 12:13:40 -0500 Original-Received: from yw-out-1718.google.com ([74.125.46.153]:25559) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LHiA0-0006sr-DP for help-gnu-emacs@gnu.org; Tue, 30 Dec 2008 12:13:40 -0500 Original-Received: by yw-out-1718.google.com with SMTP id 9so1749356ywk.66 for ; Tue, 30 Dec 2008 09:13:36 -0800 (PST) Original-Received: by 10.151.143.3 with SMTP id v3mr23603921ybn.170.1230657216641; Tue, 30 Dec 2008 09:13:36 -0800 (PST) Original-Received: by 10.151.114.8 with HTTP; Tue, 30 Dec 2008 09:13:36 -0800 (PST) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Tue, 30 Dec 2008 19:26:43 -0500 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:60985 Archived-At: ------=_Part_27814_16946216.1230657216631 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I am an emacs beginner. I can't find a way to load one of my minor mode automatically. It's whitespace-mode coming from whitespace.el. in my init.el I have put: (require 'whitespace) I have tried to put after it something like (whitespace-mode) or (whitespace-mode t) but it does not work. I always have to activate whitespace-mode by hand with M-x whitespace-mode I think there is a simple way to do it but I am missing it. Can someone help me? Thanks! Aur=E9lien ------=_Part_27814_16946216.1230657216631 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline  I am an emacs beginner.

I can't find a way to load one of = my minor mode automatically.
It's whitespace-mode coming from whites= pace.el.

in my init.el I have put:
(require 'whitespace)
<= br> I have tried to put after it something like
(whitespace-mode)
or (whi= tespace-mode t) but it does not work.

I always have to activate whit= espace-mode by hand with
 M-x whitespace-mode

I think there = is a simple way to do it but I am missing it.
Can someone help me?

Thanks!

Aur=E9lien
------=_Part_27814_16946216.1230657216631--