From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Jordi_Guti=C3=A9rrez_Hermoso?= Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] let octave-mode understand single-quoted strings Date: Thu, 2 Sep 2010 18:46:54 -0500 Message-ID: References: <4C02D67D.5090302@censorshipresearch.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1283471227 10049 80.91.229.12 (2 Sep 2010 23:47:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Sep 2010 23:47:07 +0000 (UTC) Cc: Daniel Colascione , Emacs development discussions To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 03 01:47:03 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OrJUl-00042l-DE for ged-emacs-devel@m.gmane.org; Fri, 03 Sep 2010 01:47:03 +0200 Original-Received: from localhost ([127.0.0.1]:36831 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OrJUl-0000At-0X for ged-emacs-devel@m.gmane.org; Thu, 02 Sep 2010 19:47:03 -0400 Original-Received: from [140.186.70.92] (port=35238 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OrJUf-0000Ao-35 for emacs-devel@gnu.org; Thu, 02 Sep 2010 19:46:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OrJUd-0004G7-Kd for emacs-devel@gnu.org; Thu, 02 Sep 2010 19:46:56 -0400 Original-Received: from mail-ey0-f169.google.com ([209.85.215.169]:48006) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OrJUd-0004Fo-De for emacs-devel@gnu.org; Thu, 02 Sep 2010 19:46:55 -0400 Original-Received: by eyh5 with SMTP id 5so896600eyh.0 for ; Thu, 02 Sep 2010 16:46:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=sdPG0TKpx16xunymCR4B32JvE3KCuLl1u2k6rrUcV7A=; b=AI0Kg5T9H96dBgRjOl1Ofy6+5zYFo+zple32KnsJjxy1PBfV726WD83PyHUpwM6Cu+ ztu0YgYhd3sCtSS0/wgNZdQySlNTtgpzSbC1WpFC/HVxs+o0leW3GuHAPCPZBbzcivqA vR6ahwlgAOXw3mTxThLxEZZIgbViEE63tYp/o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=YyxmDMgj4e9AA7lZ+Zc3X9iS/7sMxlPspmQKvNM3kD3g9HPrArajR4Jv+ZqjRHcfyU OCVhtlKVA8NDwy6QqRdqME2g4Y68NfSYLmL0SM+RIyVjxmTPFIMI1XPfIxrcvXTBLCXS hW/Yvi1aUDGHrau/xlMwlPAKsGDwPoiMU5ecg= Original-Received: by 10.216.11.130 with SMTP id 2mr10026734wex.100.1283471214384; Thu, 02 Sep 2010 16:46:54 -0700 (PDT) Original-Received: by 10.216.137.202 with HTTP; Thu, 2 Sep 2010 16:46:54 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:129619 Archived-At: 2010/9/2 Stefan Monnier : > I just implemented the single-quote string support based > on code I previously wrote for perl-mode, where it's used for > string-like thingies that often span multiple lines. =C2=A0I.e. it came "= for > free". The thing is that Matlab has a quirk where a' means the transpose of a and 'a' means the string containing a, and Octave inherits this syntax. That's the trickiest thing about single-quote strings in Octave (and why Octave sources encourage using double-quote strings all the time). I still don't get why this is related to multiline issues, though. Where is your patch?