guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 4/7] emacs: Add 'guix-devel-use-current-module'.


From: Alex Kost
Subject: Re: [PATCH 4/7] emacs: Add 'guix-devel-use-current-module'.
Date: Sun, 26 Jul 2015 11:29:29 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Mathieu Lirzin (2015-07-25 21:51 +0300) wrote:

> Alex Kost <address@hidden> writes:
>
>> * emacs/guix-guile.el (guix-guile-current-module): New function.
>> * emacs/guix-devel.el: New file.
>>   (guix-devel-use-modules, guix-devel-use-current-module): New functions.
>> * doc/emacs.texi (Emacs Development): New node.  Document
>>   'guix-devel-use-current-module'.
>
> [...]
>
>> @@ -19,7 +19,8 @@ guix package}).  Specifically, ``guix.el'' makes it easy 
>> to:
>>  * Usage: Emacs Usage.                       Using the interface.
>>  * Configuration: Emacs Configuration.       Configuring the interface.
>>  * Prettify Mode: Emacs Prettify.    Abbreviating @file{/gnu/store/@dots{}} 
>> file names.
>> -* Completions: Emacs Completions.       Completing @command{guix} shell 
>> command.
>> +* Completions: Emacs Completions.   Completing @command{guix} shell command.
>> +* Development: Emacs Development.   Tools for Guix developers.
>>  @end menu
>
> What do you think about integrating it in section "Contributing" instead?

Maybe, I don't have a preference here.

>> +And as always if you use a command often, it is a good idea to bind a
>> +key to it, for example like this:
>> +
>> address@hidden
>> +(with-eval-after-load 'scheme
>> +  (define-key scheme-mode-map (kbd "C-c u")
>> +    'guix-devel-use-current-module))
>> address@hidden example
>
> 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"? :-)

-- 
Alex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]