public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "manu at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/49973] Column numbers count special characters as multiple columns
Date: Thu, 04 Aug 2011 12:18:00 -0000	[thread overview]
Message-ID: <bug-49973-4-bGvviFtB37@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-49973-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49973

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org

--- Comment #5 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2011-08-04 12:18:19 UTC ---
GNU Emacs 23.2.1 counts it as two, and puts the cursor at s.

For the simpler case of:

/* ñ */ asdf;

we print 

test.c:3:10: error: ‘asdf’ was not declared in this scope

whereas emacs counts only 1 char, so it again puts the cursor at s. I am not
sure whether Emacs is following some GNU standard, but the case of ñ versus n,
should at least produce the same result.

Unfortunately, I don't have time to work on this.


  parent reply	other threads:[~2011-08-04 12:18 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-04 10:21 [Bug c++/49973] New: " timothy003 at msn dot com
2011-08-04 10:28 ` [Bug c++/49973] " jakub at gcc dot gnu.org
2011-08-04 10:37 ` timothy003 at msn dot com
2011-08-04 10:56 ` schwab@linux-m68k.org
2011-08-04 11:03 ` timothy003 at msn dot com
2011-08-04 12:18 ` manu at gcc dot gnu.org [this message]
2011-08-04 14:39 ` joseph at codesourcery dot com
2011-08-04 15:19 ` manu at gcc dot gnu.org
2011-08-04 19:53 ` timothy003 at msn dot com
2011-12-07 18:01 ` [Bug preprocessor/49973] " tromey at gcc dot gnu.org
2011-12-07 20:56 ` joseph at codesourcery dot com
2020-07-14 16:30 ` [Bug preprocessor/49973] Column numbers count multibyte " cvs-commit at gcc dot gnu.org
2020-07-14 16:40 ` lhyatt at gmail dot com
2020-07-14 18:04 ` manu at gcc dot gnu.org

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=bug-49973-4-bGvviFtB37@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.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.
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).