From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Grzegorz Kowzan <grzegorz.kowzan@gmail.com>
Cc: 10264-done@debbugs.gnu.org
Subject: bug#10264: 24.0.92; Indentation not working in pascal-mode
Date: Tue, 13 Dec 2011 10:34:35 -0500 [thread overview]
Message-ID: <jwvy5ugebdr.fsf-monnier+emacs@gnu.org> (raw)
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")
> Create a buffer and enter pascal-mode, then write for example:
> program some_program;
> begin
> end.
> and press <TAB> 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))
prev parent reply other threads:[~2011-12-13 15:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-10 13:43 bug#10264: 24.0.92; Indentation not working in pascal-mode Grzegorz Kowzan
2011-12-10 19:42 ` Glenn Morris
2011-12-13 15:34 ` Stefan Monnier [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvy5ugebdr.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=10264-done@debbugs.gnu.org \
--cc=grzegorz.kowzan@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).