unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue.
       [not found]   ` <87hbpadzt4.fsf@stupidchicken.com>
@ 2010-02-21 21:54     ` Paul Pogonyshev
       [not found]       ` <873a0ujlba.fsf@stupidchicken.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Pogonyshev @ 2010-02-21 21:54 UTC (permalink / raw)
  To: Chong Yidong; +Cc: Alan Mackenzie, 5570, emacs-devel

Chong Yidong wrote:
> Paul Pogonyshev <pogonyshev@gmx.net> writes:
> 
> >> Any chance you might try the head versions in the bzr repository?
> >
> > OK, but a bit later.  I guess it is of little help, but currently I
> > use revision 98816 (just chose one at random) and cc-mode works fine.
> 
> It would be nice if you could test the patch Alan posted at
> 
>   http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5570#40
> 
> since "Bob" has not responded to the request to test it.

It doesn't apply to trunk and I'd prefer not to guess how to merge.
Can you rediff it?

Paul




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

* bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue.
       [not found]       ` <873a0ujlba.fsf@stupidchicken.com>
@ 2010-02-22 15:33         ` Paul Pogonyshev
  2010-02-23 13:28           ` Paul Pogonyshev
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Pogonyshev @ 2010-02-22 15:33 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 5570, emacs-devel

Chong Yidong wrote:
> Paul Pogonyshev <pogonyshev@gmx.net> writes:
> 
> > Chong Yidong wrote:
> >> Paul Pogonyshev <pogonyshev@gmx.net> writes:
> >> 
> >> >> Any chance you might try the head versions in the bzr repository?
> >> >
> >> > OK, but a bit later.  I guess it is of little help, but currently I
> >> > use revision 98816 (just chose one at random) and cc-mode works fine.
> >> 
> >> It would be nice if you could test the patch Alan posted at
> >> 
> >>   http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5570#40
> >> 
> >> since "Bob" has not responded to the request to test it.
> >
> > It doesn't apply to trunk and I'd prefer not to guess how to merge.
> > Can you rediff it?
> 
> Here, try this: [...]

Thanks, indentation problems seem to be gone.  Or at least don't
happen nearly that often.

Paul






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

* bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue.
  2010-02-22 15:33         ` Paul Pogonyshev
@ 2010-02-23 13:28           ` Paul Pogonyshev
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Pogonyshev @ 2010-02-23 13:28 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 5570, emacs-devel

I wrote:
> Thanks, indentation problems seem to be gone.  Or at least don't
> happen nearly that often.

Still happens, though much more rarely than before.  No sure way to
reproduce, but in this short source code file:

#include "engine/strategy/evaluation/material.hpp"

#include <utility>


using namespace engine;

using namespace std;


int
MaterialEvaluationFunction::do_evaluate_material (Board::PackedMaterialData material)
{
  const int  score            = _algorithm->evaluate (material);
  const int  normalized_score = ((score * get_first_rabbit_value ())
                                 / _algorithm->get_first_rabbit_value ());

_cache.insert (make_pair (material, normalized_score));
}

I'm getting wrongly indented '_cache.insert ...' line.  C-c C-s on it
also shows 'topmost-intro'.  I guess this heavily depends on the order
in which code is typed.

After I killed the buffer and reopened it, indentation is back to
normal and C-c C-s on that line correctly shows 'statement'.

Paul






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

end of thread, other threads:[~2010-02-23 13:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <000301caac36$0fc0b760$2f422620$@net>
     [not found] ` <201002212309.43107.pogonyshev@gmx.net>
     [not found]   ` <87hbpadzt4.fsf@stupidchicken.com>
2010-02-21 21:54     ` bug#5570: Emacs 23.1.91.1 C++ mode "ESC C-q" and TAB indenting issue Paul Pogonyshev
     [not found]       ` <873a0ujlba.fsf@stupidchicken.com>
2010-02-22 15:33         ` Paul Pogonyshev
2010-02-23 13:28           ` Paul Pogonyshev

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