From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Liu Newsgroups: gmane.emacs.devel Subject: Re: mykie.el Date: Sat, 04 Jan 2014 16:36:16 +0800 Message-ID: References: <87bnzshlo5.fsf@flea.lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1388824598 21180 80.91.229.3 (4 Jan 2014 08:36:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 Jan 2014 08:36:38 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 04 09:36:44 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 1VzMip-0008Pb-FE for ged-emacs-devel@m.gmane.org; Sat, 04 Jan 2014 09:36:43 +0100 Original-Received: from localhost ([::1]:53568 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzMip-0002NY-2z for ged-emacs-devel@m.gmane.org; Sat, 04 Jan 2014 03:36:43 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzMie-0002NM-Bi for emacs-devel@gnu.org; Sat, 04 Jan 2014 03:36:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VzMiV-0000e2-Ue for emacs-devel@gnu.org; Sat, 04 Jan 2014 03:36:32 -0500 Original-Received: from mail-pb0-x234.google.com ([2607:f8b0:400e:c01::234]:42994) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VzMiV-0000di-NM for emacs-devel@gnu.org; Sat, 04 Jan 2014 03:36:23 -0500 Original-Received: by mail-pb0-f52.google.com with SMTP id uo5so16499046pbc.25 for ; Sat, 04 Jan 2014 00:36:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=uo8IzJUIXm/Y6Fn8H66w4AKtaPUkXxxHjEY8t5ALFPA=; b=aqwpazhS/oBiEmzpvJ6Ux2DCrS1vwS+rVXjp0daWVq9bn0lQ7a8dspgPWxs9rIQzmp g8YaM4eDGdmJCZpBXJLugBbZAeiDmnHrsGklep5oAGXHjElG4m6cfNcVBr9d3qE9wrAJ wJV6JgGVdPxRPKhx2Zb9dePxoD8/xu4oNcaG0kdMBEgwFF1ITPzvi9fvzO+GHenCuDx6 xqxP3l79Fg21+t1bmMtBeCja7OQy2ZGHcr8o7VddDhSQru2sqVCl+l8N6agjFfGNisZ2 1fBdy7H1W3hvGgCTkbOM1gv+buNngiljvE8fDoDl0XDjFUos+NHKmN8uSmqCmol2g5ds 2Znw== X-Received: by 10.68.189.197 with SMTP id gk5mr101341514pbc.37.1388824582653; Sat, 04 Jan 2014 00:36:22 -0800 (PST) Original-Received: from localhost ([221.220.128.204]) by mx.google.com with ESMTPSA id z10sm149398623pas.6.2014.01.04.00.36.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Jan 2014 00:36:21 -0800 (PST) Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAG1BMVEUAAAA9Cgm3Hx1WWFWA gn+WmJWsrqv4+vcCAwCRl2MkAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAAAYoA AAGKATOXMFgAAAAHdElNRQfXAQwDNR+ZJmElAAABIklEQVQoz22SPW+DQAyGWUq65qasd9PNUSX4 AZHK2C1rJy5jpDS4IwRVup9dn7GNafpKIPPgzztXFSujqq1eM2n8h22oMkvxI/i9C97kRfMRUN55 dS3BrsAwBXUtMLAO4lryh8kTjOxKpQNniNxAgZOEe4bZwsDTFhKdqZRLNII4OQNHhEuq/RMkm6Cj TnnEA/fk0BorcYn5qA3oaeAxbaBOLrX+9G48NZ2Fzc2tzDM8Q+tMypEOqYHh8mAWaaK3U/cDMOT5 aMZMABgPXc7zPMs1A8DXO756GFJ/4fMEq47hTsAdn5avoxZ4ywl0c2w4Flu2Ybeyb3S+EqxX2DYA H8veJGEDTnHnrXvRaPyt+2kSfK6rfBZ2tUtfP/mR+pR6sX8BUZ/cDV7tvkoAAAAASUVORK5CYII= In-Reply-To: (Stefan Monnier's message of "Fri, 03 Jan 2014 23:34:01 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.9.1) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c01::234 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:167263 Archived-At: On 2014-01-04 12:34 +0800, Stefan Monnier wrote: > Is that really much better than: > > (global-set-key "\C-j" > (lambda () > (interactive) > (cond > (current-prefix-arg (fill-region (point-at-bol) (point-at-eol))) > ((and (use-region-p) (eolp)) > (call-interactively 'query-replace-regexp)) > (t > (delete-trailing-whitespace) > (case major-mode > (org-mode (org-return-indent)) > (t (newline-and-indent))))))) My thought exactly. Elisp is the best DSL for emacs. Leo