[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What's a better regexp for 'sentence-end' variable??
From: |
David Kastrup |
Subject: |
Re: What's a better regexp for 'sentence-end' variable?? |
Date: |
19 Feb 2003 16:44:42 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
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
Re: What's a better regexp for 'sentence-end' variable??, gebser, 2003/02/19
Re: What's a better regexp for 'sentence-end' variable??, gebser, 2003/02/21
Re: What's a better regexp for 'sentence-end' variable??, Stefan Monnier <address@hidden>, 2003/02/21
Re: What's a better regexp for 'sentence-end' variable??, Oliver Scholz, 2003/02/21