unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: 20240@debbugs.gnu.org
Cc: Mark Oteiza <mvoteiza@udel.edu>
Subject: bug#20240: 25.0.50; CC Mode broken fontification and commenting
Date: 1 Apr 2015 19:21:39 -0000	[thread overview]
Message-ID: <20150401192139.20032.qmail@mail.muc.de> (raw)
In-Reply-To: <mailman.3120.1427885528.31049.bug-gnu-emacs@gnu.org>

Hello, Mark.

In article <mailman.3120.1427885528.31049.bug-gnu-emacs@gnu.org> you wrote:

>>From emacs -Q:

> 1. C-x C-f foo.c RET
> 2. Insert: { RET }
> 3. Select the first line and M-;

> Only `/* ` is inserted at the beginning of the buffer, which is wrong.

It actually signals an error at that point, which is indeed wrong.

I've just committed a fix to the Emacs repository.  Could you please update
your sources, rebuild, and confirm that the fix works, please.

Thanks for taking the trouble to report this bug.

> 4. Undo: C-/

> The braces remain fontified as comments.

> In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars)
> of 2015-03-31 on logos

-- 
Alan Mackenzie (Nuremberg, Germany).






  parent reply	other threads:[~2015-04-01 19:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-01 10:51 bug#20240: 25.0.50; CC Mode broken fontification and commenting Mark Oteiza
     [not found] ` <mailman.3120.1427885528.31049.bug-gnu-emacs@gnu.org>
2015-04-01 19:21   ` Alan Mackenzie [this message]
2015-04-01 20:04     ` Mark Oteiza
     [not found] ` <mailman.3163.1427918769.31049.bug-gnu-emacs@gnu.org>
2015-04-03 20:52   ` Alan Mackenzie
2015-04-03 22:09     ` Stefan Monnier
2015-04-04 10:45       ` Alan Mackenzie
2015-04-04 14:47         ` Mark Oteiza

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=20150401192139.20032.qmail@mail.muc.de \
    --to=acm@muc.de \
    --cc=20240@debbugs.gnu.org \
    --cc=mvoteiza@udel.edu \
    /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).