From: David Kastrup <dak@gnu.org>
Subject: Re: What's a better regexp for 'sentence-end' variable??
Date: 19 Feb 2003 16:44:42 +0100 [thread overview]
Message-ID: <x5heb02s2d.fsf@lola.goethe.zz> (raw)
In-Reply-To: 84n0kscmcb.fsf@lucy.is.informatik.uni-duisburg.de
kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes:
> David Kastrup <dak@gnu.org> writes:
>
> > You can also use (add-hook sgml-mode-hook ...), but frankly, that
> > makes it quite more complicated to ensure that sgml-mode-map is
> > changed just once.
>
> Why is it desirable to ensure that? I know it's cleaner in a way, but
> on the other hand it makes the code very obfuscated, so why bother...
define-key is a built-in function.
(define-key KEYMAP KEY DEF)
[...]
If KEYMAP is a sparse keymap, the pair binding KEY to DEF is added at
the front of KEYMAP.
In short: your keymaps grow ever longer.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
next prev parent reply other threads:[~2003-02-19 15:44 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.2070.1045574190.21513.help-gnu-emacs@gnu.org>
2003-02-18 14:06 ` What's a better regexp for 'sentence-end' variable?? Oliver Scholz
2003-02-18 20:15 ` gebser
2003-02-18 22:32 ` David Kastrup
2003-02-19 15:38 ` Kai Großjohann
2003-02-19 15:44 ` David Kastrup [this message]
2003-02-19 16:26 ` Kai Großjohann
2003-02-18 22:54 ` Kevin Rodgers
2003-02-19 20:42 ` gebser
2003-02-19 18:41 ` gebser
[not found] <mailman.2220.1045823872.21513.help-gnu-emacs@gnu.org>
2003-02-21 14:40 ` Stefan Monnier <foo@acm.com>
2003-02-21 14:55 ` gebser
2003-02-21 18:53 ` Oliver Scholz
2003-02-21 19:46 ` gebser
2003-02-21 20:56 ` Kai Großjohann
2003-02-22 1:14 ` gebser
2003-02-21 19:09 ` David Kastrup
[not found] <un0kr4229.fsf@ID-87814.user.dfncis.de>
2003-02-21 10:37 ` gebser
2003-02-18 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=x5heb02s2d.fsf@lola.goethe.zz \
--to=dak@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.
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).