[Top][All Lists]

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


From: Ted Zlatanov
Subject: mykie.el
Date: Fri, 03 Jan 2014 15:09:46 -0500
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

I was intrigued by https://github.com/yuutayamada/mykie-el by Yato
Yamada (CC here).  It's GPL v3.

Here's an example of context-dependent usage:

(mykie:global-set-key "C-j"
   :default  '(progn
                (case major-mode
                  (org-mode (org-return-indent))
                  (t        (newline-and-indent))))
   :C-u&eolp '(fill-region (point-at-bol) (point-at-eol))
   :region   'query-replace-regexp)

(many other keywords are available, e.g. :prog for activating only in
programming modes)
I think it's worth considering either making this part of
`global-set-key' or at least putting mykie.el in the Emacs core.  Unlike
most ELPA packages (GNU or otherwise), I think this one should be
available by default, like CUA.  I don't know if Yamada-san wants to
assign copyright and sign the Emacs contributor papers, but I hope he


reply via email to

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