Alex Kost <alez...@gmail.com> writes:

> Mathieu Lirzin (2015-07-25 21:51 +0300) wrote:
>> What do you think about integrating it in section "Contributing" instead?
>
> Maybe, I don't have a preference here.

Since it's not really related to package management, I think it would be
preferable to move this in the node "The perfect Setup".

>> I remember reading somewhere in the Emacs manual that "C-c <Letter>" is
>> meant for user customization in the global key map (can't remember where
>> ;)). So what suggesting "C-c C-u" which is a mode specific key binding?
>
> I don't know whether there is such (or any other) suggestion anywhere.
> But since that was just an example, not a recommendation (not even a
> suggestion), I think it doesn't matter what key binding to use there.
> Do you have any preference?  What about "C-H-M-s-u"? :-)

I agree it's not really important for advanced Emacs users who will have
no problem choosing something adapted to their setup. Nonetheless IMHO
consistency and simplicity helps newcomers to understand, So I will be
in favour of anything that follows this convention. :)

--8<---------------cut here---------------start------------->8---
(global-set-key (kbd "C-c <letter>") foo-function-callable-anywhere)

(define-key bar-mode-map
            (kbd "C-c C-<letter>")
            'foo-function-for-bar-mode)
--8<---------------cut here---------------end--------------->8---

--
Mathieu Lirzin

Reply via email to