From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bozhidar Batsov Newsgroups: gmane.emacs.devel Subject: Re: master e8acfc7: Add a command for string quotes toggling to ruby-mode Date: Wed, 10 Dec 2014 10:30:28 +0200 Message-ID: References: <20141209174508.29184.57986@vcs.savannah.gnu.org> <87tx14gso3.fsf@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="548804a4_153ea438_2c10" X-Trace: ger.gmane.org 1418200255 16274 80.91.229.3 (10 Dec 2014 08:30:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Dec 2014 08:30:55 +0000 (UTC) To: emacs-devel@gnu.org, Ted Zlatanov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 10 09:30:48 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 1XycfX-0008UI-H1 for ged-emacs-devel@m.gmane.org; Wed, 10 Dec 2014 09:30:47 +0100 Original-Received: from localhost ([::1]:43892 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XycfW-0006Wg-TE for ged-emacs-devel@m.gmane.org; Wed, 10 Dec 2014 03:30:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33711) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XycfN-0006WQ-1y for emacs-devel@gnu.org; Wed, 10 Dec 2014 03:30:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XycfF-0006sf-5d for emacs-devel@gnu.org; Wed, 10 Dec 2014 03:30:36 -0500 Original-Received: from mail-wg0-x234.google.com ([2a00:1450:400c:c00::234]:39211) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XycfE-0006sb-UM for emacs-devel@gnu.org; Wed, 10 Dec 2014 03:30:29 -0500 Original-Received: by mail-wg0-f52.google.com with SMTP id x12so2910681wgg.25 for ; Wed, 10 Dec 2014 00:30:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:content-type; bh=mC61eeRi9QQ991FRvnGS8cPq75ygbNQ3rq86Jhot/WU=; b=K3x4CDlya2PhD6yEB6KHbeAmvY7ETe6HWwcOYU01SPelRM9YUmjqvY2NZFuwej8/zt 0y48hQUWtD8mB+iwQA15KZD+KASX3W5lzQTc+N0ZGOdnOTF0u2THHgYOc0iQqxe9zxuV cRe05aEVeCYufLl1B7IHL/YEHOND6VlLBM/UJHj6GErQ956JAgtjzpqaHbNi9eNm03Iw sqviPYascJOItbNjT6Dq+rUEtJCm5pcl6cTNb9rZMswKAtCSkVYJd6468UWwjxwVaOmk itraoHDiyzHuRhKuKr/qClADnTQ5Gtq8+4lnNbojU9ZoOmodzkUMATpflbx5eZLiz5AY nouA== X-Received: by 10.180.90.147 with SMTP id bw19mr4058624wib.69.1418200228131; Wed, 10 Dec 2014 00:30:28 -0800 (PST) Original-Received: from bozhidar-mini.local ([93.123.71.105]) by mx.google.com with ESMTPSA id w4sm4870127wjw.39.2014.12.10.00.30.26 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 10 Dec 2014 00:30:27 -0800 (PST) In-Reply-To: <87tx14gso3.fsf@lifelogs.com> X-Mailer: Airmail (249) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::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:179630 Archived-At: --548804a4_153ea438_2c10 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I=E2=80=99m fine with you generalising it, but I guess I=E2=80=99ll have = to apply the refactoring suggested by Dmitry first. --=C2=A0 Bozhidar Batsov On December 10, 2014 at 04:10:48, Ted Zlatanov (tzz=40lifelogs.com) wrote= : On Tue, 09 Dec 2014 17:45:09 +0000 Bozhidar Batsov wrote: =20 BB> Add a command for string quotes toggling to ruby-mode =20 BB> * progmodes/ruby-mode.el (ruby-toggle-string-quotes): New command tha= t =20 BB> allows you to quickly toggle between single-quoted and double-quoted = =20 BB> string literals. =20 Boshidar, this would be useful for other languages too (at least Perl =20 and C=46Engine). Would you be able to generalize your contribution=3F If = =20 not, would it be OK with you if I do it=3F =20 Thanks =20 Ted =20 --548804a4_153ea438_2c10 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline