unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Radamanthe <tek512@free.deleteme.fr>
To: help-gnu-emacs@gnu.org
Subject: Re: How to get rid of Microsoft dumb quotes, e.g. \222 for apostrophe?
Date: Fri, 16 Feb 2007 23:00:06 +0100	[thread overview]
Message-ID: <45d62926$0$3483$426a34cc@news.free.fr> (raw)
In-Reply-To: <1171645209.481929.264210@t69g2000cwt.googlegroups.com>

Endless Story wrote:
> On Feb 16, 11:22 am, Stefan Monnier <monn...@iro.umontreal.ca> wrote:
>> An alternative solution to the one you request might be to open the file
>> using the `windows-1252' coding-system rather than `latin-1'.
>>
>>         C-x RET c windows-1252 RET C-x C-f <thefile> RET
>>
>> or if you have a recent Emacs, you can just revert the buffer with
>> a different coding system:
>>
>>         C-x RET r windows-1252 RET
> 
> This does nothing to address the situation I am talking about, where
> these bad characters need to be removed altogether so they will not
> foul up text files handed to LaTeX. Also Sebastian's suggestion of
> (standard-display-ascii ?\200 (vector (decode-char 'ucs #x253c))),
> etc., does nothing either. As far as I can see both of these
> approaches merely permit the "correct" display of \222 etc. inside
> Emacs. That's not my problem!
> 

Emacs display \222 in place of the character because it did not found 
this one in the font (btw, \222 = 0x92 = 146 which is not a "visual" 
character), so it displays the character with its octal code. If you 
move your cursor over it, you'll see that the whole \222 is just a 
unique character.

Tell us what should Emacs do to represent a character it doesn't have 
the layout for ? :)


-- 
R.N.

      reply	other threads:[~2007-02-16 22:00 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-16 12:19 How to get rid of Microsoft dumb quotes, e.g. \222 for apostrophe? Endless Story
2007-02-16 12:44 ` Brendan Halpin
2007-02-16 16:02   ` ken
2007-02-16 16:14     ` Sebastian P. Luque
2007-02-17 11:04       ` ken
     [not found]   ` <mailman.4605.1171641752.2155.help-gnu-emacs@gnu.org>
2007-02-16 16:59     ` Brendan Halpin
2007-02-16 22:22       ` ken
2007-02-17  1:47   ` Stefan Monnier
2007-02-17 12:06     ` ken
     [not found]     ` <mailman.4653.1171713988.2155.help-gnu-emacs@gnu.org>
2007-02-17 17:29       ` Stefan Monnier
2007-02-19 14:17   ` ken
2007-02-19 16:28     ` Shanks N
2007-02-19 18:48       ` ken
     [not found]   ` <mailman.4721.1171894691.2155.help-gnu-emacs@gnu.org>
2007-02-20  2:00     ` Stefan Monnier
2007-02-20 10:45       ` ken
2007-02-20 10:56         ` Juanma Barranquero
2007-02-20 12:46           ` ken
2007-02-20 13:07             ` Juanma Barranquero
2007-02-21  9:29     ` Endless Story
2007-02-16 16:22 ` Stefan Monnier
2007-02-16 17:00   ` Endless Story
2007-02-16 22:00     ` Radamanthe [this message]

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='45d62926$0$3483$426a34cc@news.free.fr' \
    --to=tek512@free.deleteme.fr \
    --cc=help-gnu-emacs@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).