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: master e8acfc7: Add a command for string quotes toggling to ruby-mode Date: Wed, 10 Dec 2014 00:10:39 +0200 Message-ID: <5487735F.3060607@yandex.ru> References: <20141209174508.29184.57986@vcs.savannah.gnu.org> <86k320v6kp.fsf@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1418163072 23097 80.91.229.3 (9 Dec 2014 22:11:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Dec 2014 22:11:12 +0000 (UTC) To: Bozhidar Batsov , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 09 23:11:05 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 1XySzo-0005nj-Ly for ged-emacs-devel@m.gmane.org; Tue, 09 Dec 2014 23:11:04 +0100 Original-Received: from localhost ([::1]:42672 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XySzo-0006on-6B for ged-emacs-devel@m.gmane.org; Tue, 09 Dec 2014 17:11:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45788) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XySzb-0006oc-Mx for emacs-devel@gnu.org; Tue, 09 Dec 2014 17:11:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XySzS-0006VA-88 for emacs-devel@gnu.org; Tue, 09 Dec 2014 17:10:51 -0500 Original-Received: from mail-wg0-x22f.google.com ([2a00:1450:400c:c00::22f]:50234) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XySzR-0006Uw-TH for emacs-devel@gnu.org; Tue, 09 Dec 2014 17:10:42 -0500 Original-Received: by mail-wg0-f47.google.com with SMTP id n12so2072963wgh.6 for ; Tue, 09 Dec 2014 14:10:41 -0800 (PST) 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:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=BhiC1tQtf9XtGwsp6ts9vP4KHReULFDpZuQgFQ2dd9I=; b=IRgkPiIoRispk+9syCgcej9/QQcR0lbppgzVVTBtrzJJyTgTQVc69cTV7UUIYhZ1sJ qEM9+SO4096CXWclhOzTPyk2SFTL+MPxRpgf4bxOJSoYW4QlXsTZZBc2Bt98nYrkSol1 I5CEb7bQ2zg7Ywmh2MLm5XnLwmVJ3XBrJedzWumOtpvbN0Kk/f061/p/z4z12oKlWN/F 0TW3mZ0Aq9z4yAptMv28shbMNLZ5XkKHCR64gepReKGyFfP4hob61c/whBT0jviRrtdq eTRYYmY2WupzOt9TFrX/Rs0mbd/moONictczo5h09e8w37CLeATP1NLJUWvwjFTH4Xug XR/g== X-Received: by 10.194.122.34 with SMTP id lp2mr802900wjb.91.1418163041340; Tue, 09 Dec 2014 14:10:41 -0800 (PST) Original-Received: from [192.168.1.2] ([82.102.93.58]) by mx.google.com with ESMTPSA id gi5sm3432988wjd.26.2014.12.09.14.10.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Dec 2014 14:10:40 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::22f 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:179604 Archived-At: On 12/09/2014 11:50 PM, Bozhidar Batsov wrote: > I was thinking it might cause problems for strings that are not quoted > literals. I might be wrong, though. What kind of problems? The suggestion does check the string's type (the terminating character). IIRC, I have this kind of code somewhere else, so I'd be good to know if it's not ideal.