[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bugs caused by recent use of define-derived-mode
From: |
Kai Großjohann |
Subject: |
Re: Bugs caused by recent use of define-derived-mode |
Date: |
Thu, 05 Sep 2002 13:07:42 +0200 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) |
Richard Stallman <address@hidden> writes:
> This is an improvement over inheritance, but we still face the
> question of how the user should control which table to use for a newly
> defined abbrev.
>
> That is the crucial question. None of these ideas is acceptable if it
> doesn't come with a clean and convenient solution to that question.
Suggestion: by default, the commands use the "most local" abbrev
table. There is a command that changes the abbrev table for C-x a l
and C-x a i l to use. (Is there any other command except
add-mode-abbrev and inverse-add-mode-abbrev that should be affected
by the command?)
Another similar case are tags where we have the command
visit-tags-table. A difference to tags is that M-. will ask the user
for a tags table to use, whereas I proposed C-x a l to use a default
value, without asking the user. Maybe it is a good idea to ask the
user, instead. But that would change the prompting behavior of C-x
a l. Given that many users probably don't want to think about which
abbrev table to use, making C-x a l ask more questions is probably
not a good idea.
Another case is ispell where we have ispell-change-dictionary. Here,
it works like I propose for abbrevs: M-$ uses a default dictionary
without asking the user.
kai
--
A large number of young women don't trust men with beards. (BFBS Radio)
- Re: Bugs caused by recent use of define-derived-mode, (continued)
- Re: Bugs caused by recent use of define-derived-mode, Luc Teirlinck, 2002/09/08
- Re: Bugs caused by recent use of define-derived-mode, Miles Bader, 2002/09/09
- Re: Bugs caused by recent use of define-derived-mode, Kim F. Storm, 2002/09/09
- Re: Bugs caused by recent use of define-derived-mode, Luc Teirlinck, 2002/09/09
- Re: Bugs caused by recent use of define-derived-mode, Richard Stallman, 2002/09/10
- Re: Bugs caused by recent use of define-derived-mode, Luc Teirlinck, 2002/09/11
- Re: Bugs caused by recent use of define-derived-mode, Richard Stallman, 2002/09/11
- Re: Bugs caused by recent use of define-derived-mode, Richard Stallman, 2002/09/09
- Re: Bugs caused by recent use of define-derived-mode,
Kai Großjohann <=
- Re: Bugs caused by recent use of define-derived-mode, Miles Bader, 2002/09/05
- Re: Bugs caused by recent use of define-derived-mode, Luc Teirlinck, 2002/09/05
- Re: Bugs caused by recent use of define-derived-mode, Miles Bader, 2002/09/05
- Re: Bugs caused by recent use of define-derived-mode, Luc Teirlinck, 2002/09/05
- Re: Bugs caused by recent use of define-derived-mode, Miles Bader, 2002/09/05
- Re: Bugs caused by recent use of define-derived-mode, Kai Großjohann, 2002/09/06
- Re: Bugs caused by recent use of define-derived-mode, Richard Stallman, 2002/09/06
- Re: Bugs caused by recent use of define-derived-mode, Richard Stallman, 2002/09/06
- Re: Bugs caused by recent use of define-derived-mode, Richard Stallman, 2002/09/06
Re: Bugs caused by recent use of define-derived-mode, Richard Stallman, 2002/09/04