* bug#5195: marked as done (23.1; bad indentation in (elisp) example)
2009-12-12 16:14 ` bug#5195: 23.1; bad indentation in (elisp) example Drew Adams
@ 2010-01-02 20:40 ` Emacs bug Tracking System
0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2010-01-02 20:40 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-bug-tracker
[-- Attachment #1: Type: text/plain, Size: 833 bytes --]
Your message dated Sat, 02 Jan 2010 22:37:31 +0200
with message-id <83aawwdz04.fsf@gnu.org>
and subject line Re: bug#5195: 23.1; bad indentation in (elisp) example
has caused the Emacs bug report #5195,
regarding 23.1; bad indentation in (elisp) example
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact bug-gnu-emacs@gnu.org
immediately.)
--
5195: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5195
Emacs Bug Tracking System
Contact bug-gnu-emacs@gnu.org with problems
[-- Attachment #2: Type: message/rfc822, Size: 3220 bytes --]
From: "Drew Adams" <drew.adams@oracle.com>
To: <bug-gnu-emacs@gnu.org>
Subject: 23.1; bad indentation in (elisp) example
Date: Sat, 12 Dec 2009 08:14:25 -0800
Message-ID: <7E8CAD770B114C47B685BA799A0E6BA6@us.oracle.com>
emacs -Q
Go to (elisp)Example Major Modes
The `emacs-lisp-mode-syntax-table' example is not indented
correctly. E.g.:
(while (< i ?0)
(modify-syntax-entry i "_ " table)
(setq i (1+ i)))
In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600)
of 2009-07-29 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4)'
[-- Attachment #3: Type: message/rfc822, Size: 3226 bytes --]
From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>, 5195-done@debbugs.gnu.org
Subject: Re: bug#5195: 23.1; bad indentation in (elisp) example
Date: Sat, 02 Jan 2010 22:37:31 +0200
Message-ID: <83aawwdz04.fsf@gnu.org>
> From: "Drew Adams" <drew.adams@oracle.com>
> Date: Sat, 2 Jan 2010 12:01:34 -0800
> Cc: 5195@debbugs.gnu.org
>
> > > emacs -Q
> > > Go to (elisp)Example Major Modes
> >
> > > The `emacs-lisp-mode-syntax-table' example is not indented
> > > correctly. E.g.:
> >
> > > (while (< i ?0)
> > > (modify-syntax-entry i "_ " table)
> > > (setq i (1+ i)))
> >
> > I can't reproduce this: the indentation is correct for me.
>
> Well, it's as clear as day for me, in emacs -Q on Windows. Perhaps it's a
> platform problem.
No, it wasn't. I fixed it. Thanks for catching this.
I don't know why Yidong didn't see it; perhaps he was looking at the
Texinfo sources, where the example's indentation is indeed all dandy.
The problem was that this example used TABs, not spaces, for
indentation, which is generally a no-no in Texinfo (that's why Texinfo
mode sets indent-tabs-mode to nil). When an Info file is produced,
makeinfo indents examples some more, and then indentation with TABs
gets screwed, of course.
^ permalink raw reply [flat|nested] 2+ messages in thread