unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: Michael Welsh Duggan <mwd@cert.org>
Cc: 5649@debbugs.gnu.org
Subject: bug#5649: 23.1.92; Indentation problems in C mode
Date: Fri, 26 Feb 2010 19:12:06 -0500	[thread overview]
Message-ID: <87d3zredux.fsf@stupidchicken.com> (raw)
In-Reply-To: <tnt8wahpa6e.fsf@maru.green.cert.org> (Michael Welsh Duggan's message of "Thu, 25 Feb 2010 11:11:37 -0500")

Michael Welsh Duggan <mwd@cert.org> writes:

> I'm getting some screwy indentation behavior from C mode.  From a
> current bzr checkout/install of emacs, try the following recipe:
>
> emacs -Q foo.c                 | starts emacs on foo.c (included below)
> C-u 7 C-n                      | move down 7 lines
> TAB                            | indent, nothing changes (good)
> C-p C-p                        | move up 2 lines
> TAB C-n TAB C-n                | indent 2 lines, nothing changes (good)
> TAB                            | line unindents by 2 (bad)
> TAB                            | line re-indents (good, but strange)
> TAB                            | no change this time

Thanks.  This is a regression vs Emacs 23.1, so we should definitely fix
it before releasing Emacs 23.2.

I can reproduce the bug with the Emacs 23.0.90, so it's be around since
at lease 12-09 last year.  However, I haven't yet had the time to do a
proper bisect.






  reply	other threads:[~2010-02-27  0:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-25 16:11 bug#5649: 23.1.92; Indentation problems in C mode Michael Welsh Duggan
2010-02-27  0:12 ` Chong Yidong [this message]
2010-03-01 11:38   ` Alan Mackenzie
2010-03-01 15:00     ` Chong Yidong
2010-03-01 15:17     ` Michael Welsh Duggan
2010-03-01 18:04       ` Alan Mackenzie
2010-03-01 18:40         ` Michael Welsh Duggan

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=87d3zredux.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=5649@debbugs.gnu.org \
    --cc=mwd@cert.org \
    /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).