[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mykie.el
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
(delete-trailing-whitespace)
(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
does.
Ted
- mykie.el,
Ted Zlatanov <=
- Re: mykie.el, Bozhidar Batsov, 2014/01/03
- Re: mykie.el, Yuta Yamada, 2014/01/03
- Re: mykie.el, Yuta Yamada, 2014/01/04
- Re: mykie.el, Re: mykie.el, Ted Zlatanov, 2014/01/06
- enable MELPA & Marmalade by defaul [was: mykie.el], Drew Adams, 2014/01/06
- Re: enable MELPA & Marmalade by defaul [was: mykie.el], Óscar Fuentes, 2014/01/06
- RE: enable MELPA & Marmalade by defaul [was: mykie.el], Drew Adams, 2014/01/06
- Re: enable MELPA & Marmalade by defaul [was: mykie.el], Eric Brown, 2014/01/06
- RE: enable MELPA & Marmalade by defaul [was: mykie.el], Drew Adams, 2014/01/07
- Re: enable MELPA & Marmalade by defaul [was: mykie.el], Nic Ferrier, 2014/01/07