From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: mykie.el, Re: mykie.el Date: Mon, 06 Jan 2014 17:47:18 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87a9f8g22x.fsf@flea.lifelogs.com> References: <87bnzshlo5.fsf@flea.lifelogs.com> <87bnzshlo5.fsf@flea.lifelogs.com> <20140103.200846.1574807089640559527.cokesboy@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1389048349 16773 80.91.229.3 (6 Jan 2014 22:45:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 Jan 2014 22:45:49 +0000 (UTC) Cc: emacs-devel@gnu.org To: Yuta Yamada Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 06 23:45:57 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W0Ivh-0000MY-Vc for ged-emacs-devel@m.gmane.org; Mon, 06 Jan 2014 23:45:54 +0100 Original-Received: from localhost ([::1]:37968 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0Ivh-0002jm-JX for ged-emacs-devel@m.gmane.org; Mon, 06 Jan 2014 17:45:53 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0IvZ-0002iZ-Ag for emacs-devel@gnu.org; Mon, 06 Jan 2014 17:45:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0IvT-000576-Uq for emacs-devel@gnu.org; Mon, 06 Jan 2014 17:45:45 -0500 Original-Received: from mail-qe0-x232.google.com ([2607:f8b0:400d:c02::232]:60131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0IvT-00056u-FI for emacs-devel@gnu.org; Mon, 06 Jan 2014 17:45:39 -0500 Original-Received: by mail-qe0-f50.google.com with SMTP id 1so18989328qec.37 for ; Mon, 06 Jan 2014 14:45:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lifelogs.com; s=google; h=from:to:cc:subject:organization:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=zn8RkVaniNhNb1CIKL2iBA4QfiPiA2ucaurwRnkQ8Lk=; b=MX2U9EMl7CGgU4a1Ymrqt9apVCN2vSWiCui2BKqnlw84XSAiojgO13c8Sx+9NpFHxg K9dWmJg7BanAkCYwpf4KUvhdkDB0WABLdlmdqeIA8YTsbYsL5Nx0/5QLBQ5hR4DME8N8 YXYxNPad+6wRQhIN81om5HJLMbZMAbv7sQYaQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:organization:references :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=zn8RkVaniNhNb1CIKL2iBA4QfiPiA2ucaurwRnkQ8Lk=; b=VgUjE3p3bxHaZ8YmehN0vvgcG/rOnl3PrwPajj6BKToUmqwXBXY7Hel5f1nUoqjSZa hqKfO0NfuHV0K1oA6MMnTFT4MKta/+W5N/r0o8PPU3alcn6esWkxRDfYUCHLObrw2P2c JAgiHIiOMnlX+qLhutDXGJfHXu7GoRq6TzAaQeGyGr4VlMUO0H+SSX6Bpoa67Nbp4Y4k 6ucnj5WMEiyMm03GAELxk72X0kC71Cq3hNmyiPD+jR7cVF0BNMeeAjjg0PpbXwL0XKhR X/WQgZLbwfv8n4PR9qUGEuXPnZTlFUjdyEWsrqzgUR7B8K+AwpFGCYdrZ7LdOXbgOd8+ +jWQ== X-Gm-Message-State: ALoCoQmqn7Z10abOEsadXUmOc9c/viwdNUbGApwwqcmLKEIBcbgZwgvTxlfoI32JU1Q3VhpZ6HKH X-Received: by 10.224.13.203 with SMTP id d11mr8011744qaa.26.1389048338769; Mon, 06 Jan 2014 14:45:38 -0800 (PST) Original-Received: from flea.lifelogs.com (c-98-229-61-72.hsd1.ma.comcast.net. [98.229.61.72]) by mx.google.com with ESMTPSA id f19sm101808394qaq.12.2014.01.06.14.45.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Jan 2014 14:45:38 -0800 (PST) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <20140103.200846.1574807089640559527.cokesboy@gmail.com> (Yuta Yamada's message of "Fri, 03 Jan 2014 20:08:46 -0500 (EST), Mon, 06 Jan 2014 00:31:23 -0500") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c02::232 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:167536 Archived-At: On Fri, 03 Jan 2014 20:08:46 -0500 (EST) Yuta Yamada wrote: YY> Hello emacssen, I'm author of the mykie.el. YY> I'm not sure this is correct way to reply this article. YY> Let's me know if this way is any problem by yours. We got it :) YY> I'm glad someone interested about this package. YY> But about assigning copyright and signing the Emacs contributor papers is YY> I'm just worried whether I can keep developing at GitHub. YY> Is that ok? Or do I need something if I change this package's code? Yes. You need to have contributor papers on file, then your code can be part of Emacs itself or in the GNU ELPA (enabled by default with Emacs, unlike MELPA or Marmalade). I am firmly in favor of putting mykie.el in the default set of packages so new users can immediately use it. I don't know how many others will support this, and it may require some changes to the function calls and to the internals. But I'd love to show these examples in the Emacs docs in addition to the current define-key examples that lack nuance. This would happen after the code freeze in any case, so there's time. The final approval rests with Stefan but I'm sure he will see reason ;) YY> Even if it's no, I don't care to assign copyright and sign the Emacs YY> contributor papers. But I'm just wondered. Please do, I'm sure we'd love to have you in the developer group :) YY> BTW my name is Yuta Yamada. Not Yato. YY> (I'm not angry. don't worry Mr.Ted) Heh heh. I was careful but somehow wrote it wrong, sorry. On Mon, 06 Jan 2014 00:31:23 -0500 Yuta Yamada wrote: YY> Hello, mykie.el was updated recently to v0.1.1. YY> Let's me introduce little bit to advance discussion. YY> New version mykie can change order by each keybinds like this: YY> (setq mykie:use-lazy-order t) ; <- this is requirement YY> (mykie:set-keys nil ; <- nil means registering global-map YY> "C-0" YY> :default '(message "hi") YY> :C-u*2 '(message "howdy") YY> :C-u '(message "hello") YY> :C-u*3 '(message "hey") ; <- you can't see YY> "C-1" YY> :default '(message "hi") YY> :C-u*3 '(message "howdy") YY> :C-u '(message "hello") YY> :C-u*2 '(message "hey")) ; <- you can't see YY> As you can see above example is reverse part of :C-u*2 and :C-u*3. YY> This example is prior above :keyword and function pair without :default YY> when you set t to `mykie:use-lazy-order'. YY> So if you do this example, you can't execute C-0's :C-u*3 function and YY> C-1's :C-u*2 function. YY> Since mykie will execute :C-u's function.(:C-u*2 and :C-u*3 satisfy YY> :C-u's condition too) YY> This function can control order without conditional. YY> I don't know how many people like this future, YY> but I think it's easy to understand the function's structure. I don't think it's a major difference for most users. I think mykie.el is primarily for beginners, who really need a simple way to define context-sensitive keys without too much nuance. YY> P.S. new version is added :err, :C-u&err, :region&err that activate YY> function when current state have flymake or flycheck error too. Oh that is *nice*. Really nice. Ted