unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: gebser@speakeasy.net
Subject: Re: "variable [in .emacs] is void"
Date: Sat, 20 Dec 2003 18:58:31 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.44.0312201837230.23118-100000@www> (raw)
In-Reply-To: <m2llp7mrsy.fsf@Stella-Blue.local>

At 09:29 (UTC-0600) on 20 Dec 2003 Tim McNamara said:

= gebser@speakeasy.net writes:
= 
= > When starting emacs, an error is reported in *Messages*:
= > 
= > Error in init file: Symbol's value as variable is void:
= > mail-mode-map
= > 
= > The first place in .emacs where that variable occurs is:
= > 
= > (add-hook 'mail-setup-hook
= >           '(lambda ()
= >              (substitute-key-definition
= >                'next-line 'mail-abbrev-next-line
= >                mail-mode-map global-map)
= >              (substitute-key-definition
= >                'end-of-buffer 'mail-abbrev-end-of-buffer
= >                mail-mode-map global-map)))
= > 
= > My guess is that some other code is required prior to this.  After
= > emacs is loaded and I do "M-x mail", I can evaluate it fine (in
= > .emacs).
= > 
= > Any ideas?
= 
= Does that need to be (...  mail-mode-map global-map t) or (... nil) as
= the case may be?

The notes I made in my .emacs for this item tell me that I cut-n-pasted 
it from the emacs manual....  Yep, just found it in the section "Mail 
Aliases".  That's a naughty manual.

  reply	other threads:[~2003-12-20 23:58 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.408.1071929942.868.help-gnu-emacs@gnu.org>
2003-12-20 15:29 ` "variable [in .emacs] is void" Tim McNamara
2003-12-20 23:58   ` gebser [this message]
2003-12-20 16:24 ` Karl Pflästerer
2003-12-20 22:42   ` gebser
     [not found] <mailman.501.1072152815.868.help-gnu-emacs@gnu.org>
2003-12-23 17:39 ` Kevin Rodgers
2004-01-02 14:53   ` gebser
     [not found] <mailman.498.1072144317.868.help-gnu-emacs@gnu.org>
2003-12-23 17:27 ` Kevin Rodgers
     [not found] <mailman.431.1072038664.868.help-gnu-emacs@gnu.org>
2003-12-21 20:07 ` Karl Pflästerer
2003-12-22 15:14   ` gebser
2003-12-22 19:27 ` Kevin Rodgers
2003-12-23  0:49   ` gebser
     [not found] <mailman.471.1072109811.868.help-gnu-emacs@gnu.org>
2003-12-22 16:01 ` Karl Pflästerer
2003-12-22 18:28   ` Karl Pflästerer
2003-12-23  3:11   ` gebser
     [not found] <mailman.415.1071963863.868.help-gnu-emacs@gnu.org>
2003-12-21 17:18 ` Karl Pflästerer
2003-12-21 19:28   ` gebser
2003-12-20 13:16 gebser

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.44.0312201837230.23118-100000@www \
    --to=gebser@speakeasy.net \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).