From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: sigurd@12move.de (Karl =?iso-8859-1?q?Pfl=E4sterer?=) Newsgroups: gmane.emacs.help Subject: Re: "variable [in .emacs] is void" Date: Sun, 21 Dec 2003 18:18:21 +0100 Organization: Lemis World Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: 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 1072027968 29873 80.91.224.253 (21 Dec 2003 17:32:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 21 Dec 2003 17:32:48 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 21 18:32:44 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 1AY7Rc-0005u9-00 for ; Sun, 21 Dec 2003 18:32:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AY8Li-0008LK-Cl for geh-help-gnu-emacs@m.gmane.org; Sun, 21 Dec 2003 13:30:42 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!feed.news.tiscali.de!news.tiscali.de!wintendo.pflaesterer.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 Original-NNTP-Posting-Host: p62.246.53.10.tisdip.tiscali.de Original-X-Trace: ulysses.news.tiscali.de 1072027366 90123 62.246.53.10 (21 Dec 2003 17:22:46 GMT) Original-X-Complaints-To: abuse@tiscali.de Original-NNTP-Posting-Date: Sun, 21 Dec 2003 17:22:46 +0000 (UTC) X-Face: #iIcL\6>Qj/G*F@AL9T*v/R$j@7Q`6#FU&Flg6u6aVsLdWf(H$U5>:; &*>oy>jOIWgA%8w* A!V7X`\fEGoQ[@D'@i^*p3FCC6&Rg~JT/H_*MOX;"o~flADb8^ User-Agent: Gnus/5.1003 (Gnus v5.10.3) Hamster/2.0.4.0 Cancel-Lock: sha1:xjxfo1wN26FePvlEvvuTCKQkQC8= Original-Xref: shelby.stanford.edu gnu.emacs.help:119550 Original-To: help-gnu-emacs@gnu.org 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:15490 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15490 An unnamed person wrote: > At 17:24 (UTC+0100) on Sat, 20 Dec 2003 Karl Pflästerer said: > = Try to wrap your code in an > = > = (eval-after-load "sendmail" > = '(substitute-key-definition ... > = )) > = > Did this, but I'm still getting an error in *Messages*, albeit a > different one: > Error in init file: Symbol's value as variable is void: mail-mode-map Post the code you wrote in your .emacs (c&p). > You're correct, though. sendmail.el is the place where it's defined: > (defvar mail-mode-map nil) You can find that yourself; just do: `C-h v mail-mode-map RET' (or any other variable you're interested in). KP -- Männer der Wissenschaft! Man sagt ihr viele nach, aber die meisten mit Unrecht. Karl Kraus 'Aphorismen'