unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Kees Bakker <kees.bakker@altium.nl>, 3688@emacsbugs.donarmstrong.com
Cc: emacs-pretest-bug@gnu.org
Subject: bug#3688: Also need (auto-fill-mode nil) to trigger this bug
Date: Fri, 26 Jun 2009 15:26:03 +0000	[thread overview]
Message-ID: <20090626152603.GD4685@muc.de> (raw)
In-Reply-To: <200906261356.48352.kees.bakker@altium.nl>

Hi, Kees,

On Fri, Jun 26, 2009 at 01:56:48PM +0200, Kees Bakker wrote:
> Hi,

> In my report I forgot to run emacs with -Q, but the problem is still
> present with -Q. But here is extra information to reproduce the error.

> After entering the suggested C text (and emacs is in a basic C mode)
> you have to evaluate the following before the error can be reproduced.
>    (auto-fill-mode nil)

> In the status bar it shows "*C/l Abbrev Fill)". In the buffer you'll
> have the following.

>    /*type a space here=>
>    /* 3 tabs following after this=>			*/

> (Notice that there are 3 TABs before the closing C comment.) If you
> type a space on the first comment line, you'll see that it jumps back
> 21 positions.

OK, I've got it now.  As a matter of interest, M-x auto-fill-mode is
equivalent to your expression.

It also happens in Emacs 22, and it also happens on the console, not just
on a GUI system.  So it looks like a CC mode bug.

Give me a few days to track this down.

> If you evaluate this again, the problem goes away.
>    (auto-fill-mode nil)
> Now, the "Fill" flag is gone from the status bar.

Again, thanks for reporting this bug.

> Kind regards,
> Kees Bakker

-- 
Alan Mackenzie (Nuremberg, Germany).





  reply	other threads:[~2009-06-26 15:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-26 11:56 bug#3688: Also need (auto-fill-mode nil) to trigger this bug Kees Bakker
2009-06-26 15:26 ` Alan Mackenzie [this message]
2009-06-26 21:14 ` Alan Mackenzie
     [not found] ` <20090626211431.GE4685@muc.de>
2009-06-29  8:01   ` Kees Bakker

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=20090626152603.GD4685@muc.de \
    --to=acm@muc.de \
    --cc=3688@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=kees.bakker@altium.nl \
    /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).