From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#7060: 23.2; emacs does not recognize the "end" keyword as a block-delimiter in octave-mode Date: Sat, 18 Sep 2010 02:42:43 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1284772259 23870 80.91.229.12 (18 Sep 2010 01:10:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 18 Sep 2010 01:10:59 +0000 (UTC) Cc: 7060@debbugs.gnu.org To: Manjul Apratim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 18 03:10:57 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1Owlx8-0002XS-Fh for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Sep 2010 03:10:54 +0200 Original-Received: from localhost ([127.0.0.1]:49959 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Owlx7-0000C4-MC for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Sep 2010 21:10:53 -0400 Original-Received: from [140.186.70.92] (port=48219 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Owlx0-0000Bb-5i for bug-gnu-emacs@gnu.org; Fri, 17 Sep 2010 21:10:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Owlwy-0004Te-QL for bug-gnu-emacs@gnu.org; Fri, 17 Sep 2010 21:10:46 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47146) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Owlwy-0004Ta-Og for bug-gnu-emacs@gnu.org; Fri, 17 Sep 2010 21:10:44 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OwlUD-0000fW-Tj; Fri, 17 Sep 2010 20:41:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Sep 2010 00:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7060 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7060-submit@debbugs.gnu.org id=B7060.12847704272555 (code B ref 7060); Sat, 18 Sep 2010 00:41:01 +0000 Original-Received: (at 7060) by debbugs.gnu.org; 18 Sep 2010 00:40:27 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwlTe-0000fA-En for submit@debbugs.gnu.org; Fri, 17 Sep 2010 20:40:26 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwlTc-0000f3-L3 for 7060@debbugs.gnu.org; Fri, 17 Sep 2010 20:40:24 -0400 Original-Received: from ceviche.home (vpn-132-204-232-72.acd.umontreal.ca [132.204.232.72]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o8I0gilL018148; Fri, 17 Sep 2010 20:42:45 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 8114266289; Sat, 18 Sep 2010 02:42:43 +0200 (CEST) In-Reply-To: (Manjul Apratim's message of "Fri, 17 Sep 2010 17:31:33 -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 RV3625=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 17 Sep 2010 20:41:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40277 Archived-At: > emacs does not recognize the "end" keyword as a block-delimiter in > octave-mode. Upon inspecting the file octave-mod.el, I see the following > line before > the variable "octave-end-keywords": The octave-mod.el that will be in Emacs-24 has completely rewritten the indentation and block navigation code. I cannot reproduce the problem there. Sadly it uses a new package smie.el that's not in Emacs-23. This said, the octave-mod.el that's in the emacs-23 branch (and that will be released as Emacs-23.3 in the not too distant future) also seems to correctly handle "end". If you could confirm that one of those two versions works for you, that would be great (of course I recommend the version from `trunk' which uses smie.el since I'm the author of that code). Stefan