unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [lenst@lysator.liu.se: Bug in lisp indentation]
@ 2007-05-31 16:49 Richard Stallman
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2007-05-31 16:49 UTC (permalink / raw)
  To: emacs-devel

Would someone please fix this in the trunk, then ack?

------- Start of forwarded message -------
X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY 
	autolearn=failed version=3.1.0
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer:sender;
	b=OC5yF4sSxx2DzwOlTT1lwVVsV620vibxKp7n8hBcCcDSuiejCUplwZibXyU4l38sYjBVbQ+H118HFm6tgOY8Nqwu2mNPzge/0MGH6u6Z4LPwq94dmNzBe430V9sPoNNQSlmrFIoPLcSrARb4G7ipKPxMs69aSAw9H3obW7LIevI=
Mime-Version: 1.0 (Apple Message framework v752.2)
Content-Type: text/plain; charset=US-ASCII; format=flowed
To: emacs-pretest-bug@gnu.org
From: Lennart Staflin <lenst@lysator.liu.se>
Date: Thu, 31 May 2007 11:44:46 +0200
Subject: Bug in lisp indentation

In lisp-mode the indentation of the following expression is wrong:

(foo
:bar :a12
:sie sume )

If I press TAB at the beginning of the last line I get:

(foo
:bar :a12
       :sie sume )

I think this is wrong, the indentation should be as the first example.
This was not the behaviour in emacs 21, neither is the beaviour of
indent-region consistent with TAB.


In GNU Emacs 22.0.990.1 (powerpc-apple-darwin8.9.0, Carbon Version
1.6.0) of 2007-05-31 on sin.local Windowing system distributor `Apple
Inc.', version 10.4.9 configured using `configure
'--enable-carbon-app' '--enable-maintainer-mode' '--without-x'
'--with-jpeg' '--with-gif' '--with-png''

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: nil
   value of $LC_CTYPE: en_US.UTF-8
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: nil
   locale-coding-system: utf-8
   default-enable-multibyte-characters: t

Major mode: Lisp

Minor modes in effect:
   encoded-kbd-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   unify-8859-on-encoding-mode: t
   utf-translate-cjk-mode: t
   auto-compression-mode: t
   line-number-mode: t

Recent input:
C-x C-f t e s TAB RET C-n C-n TAB C-x u C-p C-p ESC
C-@ C-x C-x C-x C-x ESC x e DEL i n d e SPC - r e SPC
g SPC RET C-n C-n C-n C-n C-n C-n C-n C-n C-p DEL C-a
C-p C-p C-n C-n C-n C-x C-s ESC x r e p o TAB r t TAB
RET

Recent messages:
For information about the GNU Project and its goals, type C-h C-p.
Undo!
Mark set
Making completion list...
Loading help-mode...done
Wrote /Users/lenst/test.lisp
Making completion list...
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done



_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [lenst@lysator.liu.se: Bug in lisp indentation]
@ 2007-07-14 18:00 Richard Stallman
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2007-07-14 18:00 UTC (permalink / raw)
  To: emacs-devel

[Resending due to lack of response]

Would someone please fix this in the trunk, then ack?

------- Start of forwarded message -------
X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY 
	autolearn=failed version=3.1.0
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer:sender;
	b=OC5yF4sSxx2DzwOlTT1lwVVsV620vibxKp7n8hBcCcDSuiejCUplwZibXyU4l38sYjBVbQ+H118HFm6tgOY8Nqwu2mNPzge/0MGH6u6Z4LPwq94dmNzBe430V9sPoNNQSlmrFIoPLcSrARb4G7ipKPxMs69aSAw9H3obW7LIevI=
Mime-Version: 1.0 (Apple Message framework v752.2)
Content-Type: text/plain; charset=US-ASCII; format=flowed
To: emacs-pretest-bug@gnu.org
From: Lennart Staflin <lenst@lysator.liu.se>
Date: Thu, 31 May 2007 11:44:46 +0200
Subject: Bug in lisp indentation

In lisp-mode the indentation of the following expression is wrong:

(foo
:bar :a12
:sie sume )

If I press TAB at the beginning of the last line I get:

(foo
:bar :a12
       :sie sume )

I think this is wrong, the indentation should be as the first example.
This was not the behaviour in emacs 21, neither is the beaviour of
indent-region consistent with TAB.


In GNU Emacs 22.0.990.1 (powerpc-apple-darwin8.9.0, Carbon Version
1.6.0) of 2007-05-31 on sin.local Windowing system distributor `Apple
Inc.', version 10.4.9 configured using `configure
'--enable-carbon-app' '--enable-maintainer-mode' '--without-x'
'--with-jpeg' '--with-gif' '--with-png''

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: nil
   value of $LC_CTYPE: en_US.UTF-8
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: nil
   locale-coding-system: utf-8
   default-enable-multibyte-characters: t

Major mode: Lisp

Minor modes in effect:
   encoded-kbd-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   unify-8859-on-encoding-mode: t
   utf-translate-cjk-mode: t
   auto-compression-mode: t
   line-number-mode: t

Recent input:
C-x C-f t e s TAB RET C-n C-n TAB C-x u C-p C-p ESC
C-@ C-x C-x C-x C-x ESC x e DEL i n d e SPC - r e SPC
g SPC RET C-n C-n C-n C-n C-n C-n C-n C-n C-p DEL C-a
C-p C-p C-n C-n C-n C-x C-s ESC x r e p o TAB r t TAB
RET

Recent messages:
For information about the GNU Project and its goals, type C-h C-p.
Undo!
Mark set
Making completion list...
Loading help-mode...done
Wrote /Users/lenst/test.lisp
Making completion list...
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done



_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-14 18:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-31 16:49 [lenst@lysator.liu.se: Bug in lisp indentation] Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2007-07-14 18:00 Richard Stallman

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).