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#10264: 24.0.92; Indentation not working in pascal-mode Date: Tue, 13 Dec 2011 10:34:35 -0500 Message-ID: References: <87iploh79t.fsf@oto.i-did-not-set--mail-host-address--so-tickle-me> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1323790503 4786 80.91.229.12 (13 Dec 2011 15:35:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 13 Dec 2011 15:35:03 +0000 (UTC) Cc: 10264-done@debbugs.gnu.org To: Grzegorz Kowzan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 13 16:34:59 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RaUNe-0002PX-T5 for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Dec 2011 16:34:59 +0100 Original-Received: from localhost ([::1]:47915 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaUNb-0004Ht-VL for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Dec 2011 10:34:55 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:41069) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaUNW-0004Hm-3L for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2011 10:34:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RaUNQ-0007yW-43 for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2011 10:34:49 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35837) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaUNQ-0007yM-18 for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2011 10:34:44 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RaUOg-0006KS-7V for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2011 10:36:02 -0500 Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Dec 2011 15:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 10264 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 10264@debbugs.gnu.org, monnier@iro.umontreal.ca Original-Received: via spool by 10264-done@debbugs.gnu.org id=D10264.132379055824316 (code D ref 10264); Tue, 13 Dec 2011 15:36:01 +0000 Original-Received: (at 10264-done) by debbugs.gnu.org; 13 Dec 2011 15:35:58 +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 1RaUOb-0006K8-QK for submit@debbugs.gnu.org; Tue, 13 Dec 2011 10:35:57 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RaUOZ-0006Jz-Dr for 10264-done@debbugs.gnu.org; Tue, 13 Dec 2011 10:35:56 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EAKBv505FxLI7/2dsb2JhbABDqFeCSYEGgXIBAQQBViMFCws0EhQYDSSID7YCi2gEiDCaOIRQ X-IronPort-AV: E=Sophos;i="4.71,345,1320642000"; d="scan'208";a="152098781" Original-Received: from 69-196-178-59.dsl.teksavvy.com (HELO ceviche.home) ([69.196.178.59]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 13 Dec 2011 10:34:36 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id AD6E7662EE; Tue, 13 Dec 2011 10:34:35 -0500 (EST) In-Reply-To: <87iploh79t.fsf@oto.i-did-not-set--mail-host-address--so-tickle-me> (Grzegorz Kowzan's message of "Sat, 10 Dec 2011 14:43:10 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 13 Dec 2011 10:36:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:54920 Archived-At: > Create a buffer and enter pascal-mode, then write for example: > program some_program; > begin > end. > and press between "begin" and "end." Produces an error message in > minibuffer "Symbol's value as variable void: ind" and does nothing else. Duh! I've install the patch below which should fix this problem. Sorry 'bout that. Stefan --- lisp/progmodes/pascal.el 2011-11-20 03:48:53 +0000 +++ lisp/progmodes/pascal.el 2011-12-13 15:16:53 +0000 @@ -786,6 +786,7 @@ (if (looking-at "[ \t]+$") (skip-chars-forward " \t")))) +(defvar ind) ;Used via `eval' in pascal-indent-alist. (defun pascal-indent-line () "Indent current line as a Pascal statement." (let* ((indent-str (pascal-calculate-indent))