From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] let octave-mode understand single-quoted strings Date: Tue, 31 Aug 2010 14:32:34 +0200 Message-ID: References: <4C02D67D.5090302@censorshipresearch.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1283257987 22242 80.91.229.12 (31 Aug 2010 12:33:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 31 Aug 2010 12:33:07 +0000 (UTC) Cc: Emacs development discussions To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 31 14:33:04 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 1OqQ1M-0006Fb-M6 for ged-emacs-devel@m.gmane.org; Tue, 31 Aug 2010 14:33:04 +0200 Original-Received: from localhost ([127.0.0.1]:46491 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqQ1H-0007wP-MX for ged-emacs-devel@m.gmane.org; Tue, 31 Aug 2010 08:32:55 -0400 Original-Received: from [140.186.70.92] (port=46100 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqQ1C-0007uJ-9x for emacs-devel@gnu.org; Tue, 31 Aug 2010 08:32:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OqQ1B-0005T8-7G for emacs-devel@gnu.org; Tue, 31 Aug 2010 08:32:50 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:51751) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqQ1B-0005St-4k for emacs-devel@gnu.org; Tue, 31 Aug 2010 08:32:49 -0400 Original-Received: from ceviche.home (vpn-132-204-232-70.acd.umontreal.ca [132.204.232.70]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o7VCWetf018562; Tue, 31 Aug 2010 08:32:41 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 7DF42660DF; Tue, 31 Aug 2010 14:32:34 +0200 (CEST) In-Reply-To: <4C02D67D.5090302@censorshipresearch.org> (Daniel Colascione's message of "Sun, 30 May 2010 17:19:57 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3611=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:129496 Archived-At: > This lets octave-mode recognize single-quoted string syntax. It doesn't > handle newlines in strings, but hopefully those are rare. I just bumped into this old email that I must have missed back then. In the mean time I installed a different patch which tries to do the same thing. Sorry about this waste of effort. I'm not familiar with Octave, so your code might be more correct in some cases, OTOH my code handles multi-line strings. Do you think we should try and get the best of both worlds, or should we replace my code with yours, or should we just stick with my code? Stefan