[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Maintenance suggestion on an emacs mode
From: |
Mathias Dahl |
Subject: |
Re: Maintenance suggestion on an emacs mode |
Date: |
Mon, 31 Mar 2008 00:24:02 +0200 |
> > In this case it is up to the user if he wants to set `html-quick-keys'
> > to true so I think we should leave that alone. The important thing is
> > that we do not bind any C-c[a-zA-Z] keys by default, right? If the
> > user wants this convenience feature we should not make it less
> > convenient.
>
> No, that's not how it works.
Sorry, I don't understand what you mean. What part of what I write
above have I misunderstood?
Here is some code from sgml-mode.el:
(defvar html-quick-keys sgml-quick-keys
"Use C-c X combinations for quick insertion of frequent tags when non-nil.
This defaults to `sgml-quick-keys'.
This takes effect when first loading the library.")
and later comes:
...
(define-key map "\C-c\C-cn" 'html-name-anchor)
(define-key map "\C-c\C-ci" 'html-image)
(when html-quick-keys
(define-key map "\C-c-" 'html-horizontal-rule)
(define-key map "\C-co" 'html-ordered-list)
(define-key map "\C-cu" 'html-unordered-list)
(define-key map "\C-cr" 'html-radio-buttons)
(define-key map "\C-cc" 'html-checkboxes)
(define-key map "\C-cl" 'html-list-item)
(define-key map "\C-ch" 'html-href-anchor)
(define-key map "\C-cn" 'html-name-anchor)
(define-key map "\C-ci" 'html-image))
(define-key map "\C-c\C-s" 'html-autoview-mode)
(define-key map "\C-c\C-v" 'browse-url-of-buffer)
...
It looks to me as the user makes a choice to have these bindings. Is
it then still not allowed to bind keys like this?
- Maintenance suggestion on an emacs mode, paul r, 2008/03/29
- Re: Maintenance suggestion on an emacs mode, paul r, 2008/03/29
- Re: Maintenance suggestion on an emacs mode, Richard Stallman, 2008/03/30
- Re: Maintenance suggestion on an emacs mode, paul r, 2008/03/30
- Re: Maintenance suggestion on an emacs mode, Richard Stallman, 2008/03/30
- Re: Maintenance suggestion on an emacs mode, Mathias Dahl, 2008/03/30
- Re: Maintenance suggestion on an emacs mode, Stefan Monnier, 2008/03/30
- Re: Maintenance suggestion on an emacs mode,
Mathias Dahl <=
- Re: Maintenance suggestion on an emacs mode, paul r, 2008/03/30
- Re: Maintenance suggestion on an emacs mode, Stefan Monnier, 2008/03/30
- Re: Maintenance suggestion on an emacs mode, Mathias Dahl, 2008/03/31
- Re: Maintenance suggestion on an emacs mode, Stefan Monnier, 2008/03/30
- Re: Maintenance suggestion on an emacs mode, paul r, 2008/03/31
Re: Maintenance suggestion on an emacs mode, Richard Stallman, 2008/03/30
User reserved keybindings in `gnus-diary.el' (was: Maintenance suggestion on an emacs mode), Reiner Steib, 2008/03/30