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: Sat, 22 Jun 2013 04:12:14 +0400 Message-ID: <51C4EBDE.7090606@yandex.ru> References: <2A6700DEDCA640EF92B326002717596D@gmail.com> <87txkrm46t.fsf@yandex.ru> <22ppvfqb85.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1371859948 13815 80.91.229.3 (22 Jun 2013 00:12:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Jun 2013 00:12:28 +0000 (UTC) Cc: Stefan Monnier , Bozhidar Batsov , emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 22 02:12:28 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 1UqBRL-0005I3-SK for ged-emacs-devel@m.gmane.org; Sat, 22 Jun 2013 02:12:27 +0200 Original-Received: from localhost ([::1]:55499 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UqBRL-0005qT-B2 for ged-emacs-devel@m.gmane.org; Fri, 21 Jun 2013 20:12:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UqBRF-0005qJ-DJ for emacs-devel@gnu.org; Fri, 21 Jun 2013 20:12:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UqBRB-0003QM-MT for emacs-devel@gnu.org; Fri, 21 Jun 2013 20:12:21 -0400 Original-Received: from mail-la0-x236.google.com ([2a00:1450:4010:c03::236]:53784) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UqBR7-0003Q5-HO; Fri, 21 Jun 2013 20:12:13 -0400 Original-Received: by mail-la0-f54.google.com with SMTP id ec20so7925659lab.41 for ; Fri, 21 Jun 2013 17:12:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-antivirus:x-antivirus-status; bh=O2iy4hO/Xkn2JkH8o3wnnYDvyxN5xDSaVYiY85OY310=; b=HOmKWKxH2zt0iNrNyq87GgtpRflZDWB13e+hZrwFyfr1NqCHspkYcifjR++wQ5ziHU nJAtHS2pvZH0onYlrwu5XYpBuPDlLCvwlL5BO/PqQVi3tSzg2nVOjzu66ST2KSPGEUBt nL6iSnSiwhVUT1BAm0UH6mmzK7rAggyYj3vxpUcF2F0mYR+ihbyNhrMTNHzCVeOU+r7k bQzw4NPZknRzY36r4UaGCMyPrnjNzwJpdRsvgqhRysYr8UJfRrJtVO5FBpXOWqImBnE9 TkPO1AzCsrZHqCJicUuZs3gfH+H2UGUWJv4WGFnK+1kFat5lsq2ZXXyk7zE3ju6NVgyD xqPg== X-Received: by 10.152.170.162 with SMTP id an2mr6921900lac.3.1371859932347; Fri, 21 Jun 2013 17:12:12 -0700 (PDT) Original-Received: from [127.0.0.1] ([178.252.98.87]) by mx.google.com with ESMTPSA id e9sm2714122lbj.3.2013.06.21.17.12.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 21 Jun 2013 17:12:11 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 In-Reply-To: <22ppvfqb85.fsf@fencepost.gnu.org> X-Antivirus: avast! (VPS 130621-3, 22.06.2013), Outbound message X-Antivirus-Status: Clean X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::236 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:160868 Archived-At: On 22.06.2013 3:45, Glenn Morris wrote: > Dmitry Gutov wrote: > >>>> (add-to-list 'auto-mode-alist '("\\.rake\\'" . ruby-mode)) >>>> (add-to-list 'auto-mode-alist '("\\.ru\\'" . ruby-mode)) >>>> (add-to-list 'auto-mode-alist '("Gemfile\\'" . ruby-mode)) >>>> (add-to-list 'auto-mode-alist '("Guardfile\\'" . ruby-mode)) >>>> (add-to-list 'auto-mode-alist '("Capfile\\'" . ruby-mode)) >>>> (add-to-list 'auto-mode-alist '("\\.thor\\'" . ruby-mode)) >>>> (add-to-list 'auto-mode-alist '("Thorfile\\'" . ruby-mode)) >>>> (add-to-list 'auto-mode-alist '("Vagrantfile\\'" . ruby-mode)) >>>> (add-to-list 'auto-mode-alist '("\\.jbuilder\\'" . ruby-mode)) >>> >>> These should be consolidated into a single regexp and should probably be >>> made a bit tighter (e.g. don't put BadCapfile in ruby-mode). >> >> Also done, revno 113129 and 113130. > > Please just write the regexp by hand, rather than using regexp-opt. > Otherwise: > > Loading loaddefs.el (source)... > Attempt to autoload regexp-opt while preparing to dump > make[1]: *** [emacs] Error 1 Sorry, fixed.