From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Fan <gnu.emacs.fan@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Need Help on Whitespace-mode in Emacs 24.1.1
Date: Sun, 26 Aug 2012 10:17:49 +0200 [thread overview]
Message-ID: <EA76AD9E-F5AC-4D5F-BE0E-A9563FFFF201@Web.DE> (raw)
In-Reply-To: <b3c3ef41-a092-4cf9-be9e-064864701927@googlegroups.com>
Am 26.08.2012 um 05:15 schrieb Fan:
> In *Warnings* buffer:
>
> Warning (initialization): An error occurred while loading `/home/.emacs':
>
> Symbol's value as variable is void: font-lock-defaults-alist
This is the actual error! When I have your seven lines
(message "Enabling whitespace mode ...")
(require 'whitespace)
(set-face-background 'whitespace-tab "lime green")
(setq-default whitespace-style '(tabs trailing))
(global-whitespace-mode t)
(message "Enabled whitespace mode.")
(setq-default whitespace-style '(face tabs trailing))
in my .emacs it launches and works correctly, including only one "WS" in the mode-line. Obviously later in your init file something tries to manipulate the variable font-lock-defaults-alist which does not exist in GNU Emacs 24. First correct this error!
--
Greetings
Pete (:
_ / __ - -
_/ \__/_/ - -
(´`) (´`) - -
`´ `´
next prev parent reply other threads:[~2012-08-26 8:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-26 3:15 Need Help on Whitespace-mode in Emacs 24.1.1 Fan
2012-08-26 8:17 ` Peter Dyballa [this message]
[not found] ` <mailman.7595.1345969075.855.help-gnu-emacs@gnu.org>
2012-08-26 14:46 ` Fan
2012-08-26 15:04 ` Peter Dyballa
2012-08-26 15:17 ` Drew Adams
2012-08-26 15:57 ` Peter Dyballa
2012-08-26 16:20 ` Drew Adams
2012-08-26 16:22 ` Drew Adams
[not found] ` <mailman.7604.1345994243.855.help-gnu-emacs@gnu.org>
2012-08-26 22:45 ` Fan
2012-08-26 22:54 ` Drew Adams
2012-08-26 23:31 ` Drew Adams
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=EA76AD9E-F5AC-4D5F-BE0E-A9563FFFF201@Web.DE \
--to=peter_dyballa@web.de \
--cc=gnu.emacs.fan@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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.