From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Small improvements to ruby-mode Date: Sun, 11 Aug 2013 17:29:23 +0300 Message-ID: <52079FC3.7010702@yandex.ru> References: <2A6700DEDCA640EF92B326002717596D@gmail.com> <51DC43CE.3090206@yandex.ru> <51DDA366.9020700@yandex.ru> <51E06787.8020401@yandex.ru> <51E1A62A.1030204@yandex.ru> <51E55CFB.7060303@yandex.ru> <52040BD8.20902@yandex.ru> <52042FC9.6000505@yandex.ru> <520627D8.8090206@yandex.ru> <52078CDF.6060602@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1376231388 20690 80.91.229.3 (11 Aug 2013 14:29:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 Aug 2013 14:29:48 +0000 (UTC) Cc: Stefan Monnier , Bozhidar Batsov , emacs-devel To: Johan Andersson Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 11 16:29:50 2013 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 1V8WeU-00082c-Be for ged-emacs-devel@m.gmane.org; Sun, 11 Aug 2013 16:29:50 +0200 Original-Received: from localhost ([::1]:39839 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8WeT-00047H-V9 for ged-emacs-devel@m.gmane.org; Sun, 11 Aug 2013 10:29:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8WeL-000478-QQ for emacs-devel@gnu.org; Sun, 11 Aug 2013 10:29:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V8WeF-0002ze-R2 for emacs-devel@gnu.org; Sun, 11 Aug 2013 10:29:41 -0400 Original-Received: from forward2l.mail.yandex.net ([84.201.143.145]:59389) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8WeF-0002zY-IW for emacs-devel@gnu.org; Sun, 11 Aug 2013 10:29:35 -0400 Original-Received: from smtp4.mail.yandex.net (smtp4.mail.yandex.net [77.88.46.104]) by forward2l.mail.yandex.net (Yandex) with ESMTP id 35AA91AC0DD4; Sun, 11 Aug 2013 18:29:33 +0400 (MSK) Original-Received: from smtp4.mail.yandex.net (localhost [127.0.0.1]) by smtp4.mail.yandex.net (Yandex) with ESMTP id BA4195C02E9; Sun, 11 Aug 2013 18:29:32 +0400 (MSK) Original-Received: from 62-107-247.netrun.cytanet.com.cy (62-107-247.netrun.cytanet.com.cy [62.228.107.247]) by smtp4.mail.yandex.net (nwsmtp/Yandex) with ESMTP id aVUuW2AqXg-TUw8Ih85; Sun, 11 Aug 2013 18:29:31 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1376231372; bh=ldVDo3hy8vSmUXEXbXQFDvwfFtMMSaHexVSnaGd/IKY=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Oe/x6LnhqVBmjg5JN8dOhd78nmU1xeJxwg8mfa9azPy4QlLufnhxNWfj7b2FdxCJZ DDJomz+qgXmcPOKGJGFNF+TZF6bwMu9P+lyjpCA8o9DIPHEbQtedgg/l7cDgxDmwI9 5+YPm/whH+j8upjWEIiG5jQOeE2/hBvFu6gg/QbQ= Authentication-Results: smtp4.mail.yandex.net; dkim=pass header.i=@yandex.ru User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 84.201.143.145 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:162569 Archived-At: On 11.08.2013 17:08, Johan Andersson wrote: > It's a shame that packages included in Emacs cannot use the current test > suite. Specially in this case since the tests are very good. > > I don't think there's any idea to write these in Ert since the mode is > interactive and it would require a lot of mocking and stuff. I don't think it would be that hard. For example, see `ruby-toggle-block-to-brace' and other tests, here: http://bzr.savannah.gnu.org/lh/emacs/trunk/annotate/head:/test/automated/ruby-mode-tests.el#L288 Sure, they don't test keybindings, but I'd say it's not the most important part.