all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: emacs init and mode-maps
Date: Fri, 23 Jun 2006 14:51:04 -0600	[thread overview]
Message-ID: <e7hk8l$s5c$1@sea.gmane.org> (raw)
In-Reply-To: <85sllwgn1x.fsf@lola.goethe.zz>

David Kastrup wrote:
> Andreas Roehler <andreas.roehler@online.de> writes:
>> An assignment as 
>>
>> (define-key sh-mode-map "\M-#" 'do-something)
>>
>> should work - i.e. at least be recorded for further use
>> -
>>
>> also, if sh-mode isn't activated yet.
> 
> That would requires sh-mode-map to be defined before loading, or
> define-key to work on undefined variables, and it would most certainly
> cause any define-key in sh-mode.el to override the settings in .emacs.
> 
> All of this is not desirable.  I recommend you read up a bit more
> about Elisp before making proposals.

Why would it be undesirable to have sh-mode-map (and other keymaps)
already defined (by dumping it into emacs via an autoload cookie)?

-- 
Kevin

  reply	other threads:[~2006-06-23 20:51 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-22  7:17 emacs init and mode-maps Andreas Roehler
2006-06-22  8:58 ` Reiner Steib
2006-06-22  9:22   ` David Kastrup
2006-06-22 10:02     ` Reiner Steib
2006-06-22 13:58       ` Andreas Roehler
2006-06-22 14:44         ` David Kastrup
2006-06-23 10:38           ` Andreas Roehler
2006-06-23 10:54             ` David Kastrup
2006-06-23 20:51               ` Kevin Rodgers [this message]
2006-06-23 22:08                 ` Slawomir Nowaczyk
2006-06-26 16:12                   ` Kevin Rodgers
2006-06-27 12:03                     ` Slawomir Nowaczyk
2006-06-24  6:04               ` Andreas Roehler
2006-06-23 10:38           ` Andreas Roehler
2006-06-24 11:01             ` Peter Dyballa
     [not found]             ` <mailman.3284.1151146887.9609.help-gnu-emacs@gnu.org>
2006-06-25  7:14               ` Andreas Roehler
2006-06-25  9:54                 ` David Kastrup

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='e7hk8l$s5c$1@sea.gmane.org' \
    --to=ihs_4664@yahoo.com \
    /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.