From: Michael Welsh Duggan <md5i@md5i.com>
To: Burton Samograd <bsamograd@interalia.com>
Cc: Alan Mackenzie <acm@muc.de>, emacs-devel@gnu.org
Subject: Re: What about putting CC Mode 5.32 into Emacs?
Date: Wed, 12 Oct 2011 11:12:58 -0400 [thread overview]
Message-ID: <87aa965jlx.fsf@maru.md5i.com> (raw)
In-Reply-To: <87ty7eqoqr.fsf@interalia.com> (Burton Samograd's message of "Wed, 12 Oct 2011 08:16:28 -0600")
Burton Samograd <bsamograd@interalia.com> writes:
> "Michael Welsh Duggan" <md5i@md5i.com> writes:
>
>> Alan Mackenzie <acm@muc.de> writes:
>>
>>> Hello, Burton.
>>>
>>> On Tue, Oct 11, 2011 at 09:55:20AM -0600, Burton Samograd wrote:
>>>
>>>> I certainly hope that 5.32 fixes the indentation issues that I have
>>>> been experiencing with the lastest builds of emacs. It's been quite
>>>> unreliable and annoying, although I haven't put up the effort to write
>>>> a bug report as I am running bzr emacs...
[...]
>> Have you looked at bug 9560 recently?
>>
>> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9560
>
> No I haven't, but I did just look it over.
>
>>
>> I have added as much debugging information as I could. I currently have
>> an emacs -Q on my home machine which is in a bad-indentation state. I
>> can leave it up for a few days.
>
> It sounds a bit different than what I've been experiencing. From
> memory, it seems like when I'm editing code in a function, it loses the
> idea that I am in a function and loses a level of indentation for all
> code below a certain point. Sometimes going up a few lines before the
> problem and re-indenting every line fixes it, but it can take a couple
> of tries to get it to actually work. Other times I have to go to near
> the start of the function and re-indent everything. Sometimes nothing
> works and I just re-indent it manually.
I have seen this as well. The reason I have documented the one I have
is that I have been able to recreate it fairly regularly, and I am
hoping that the underlying cause is similar.
> I don't want to complain without offering a solution, but in the 15+
> years I've been using emacs I have *never* had a problem with C code
> indentation and have grown to rely on it to help me find syntax errors
> in my code. Why it has unreliable is beyond me when it's worked so well
> for so long...I hope this wasn't just change for the sake of change.
Definitely not. I don't recall all the performance problems the caching
code was added to support, but they were very real, and there were a
fair number of complaints because of them. I applaud the work Alan has
done to attempt to improve cc-mode, although I do worry about the
complexity of the current system.
That said, I will file a bug every time I find a new indentation
problem after a new cc-mode update, whether or not I can recreate it,
especially now that we are in pre-release. I want to make sure that
people using Emacs after the release don't encounter the same problems I
am encountering.
--
Michael Welsh Duggan
(md5i@md5i.com)
next prev parent reply other threads:[~2011-10-12 15:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-08 13:14 What about putting CC Mode 5.32 into Emacs? Alan Mackenzie
2011-10-08 13:37 ` Christoph Scholtes
2011-10-08 14:15 ` Alan Mackenzie
2011-10-11 1:13 ` Stefan Monnier
2011-10-08 20:51 ` Chong Yidong
2011-10-11 15:55 ` Burton Samograd
2011-10-11 19:16 ` Alan Mackenzie
2011-10-12 0:18 ` Michael Welsh Duggan
2011-10-12 14:16 ` Burton Samograd
2011-10-12 15:12 ` Michael Welsh Duggan [this message]
2011-10-12 15:34 ` Burton Samograd
2011-10-12 15:48 ` Alan Mackenzie
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87aa965jlx.fsf@maru.md5i.com \
--to=md5i@md5i.com \
--cc=acm@muc.de \
--cc=bsamograd@interalia.com \
--cc=emacs-devel@gnu.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.