all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ralf Fassel <ralfixx@gmx.de>
To: help-gnu-emacs@gnu.org
Subject: Re: word syntax/umlauts emacs 23 vs 22
Date: Mon, 25 Oct 2010 11:31:17 +0200	[thread overview]
Message-ID: <yga8w1m4o0q.fsf@gepard2.akutech-local.de> (raw)
In-Reply-To: jwv8w1p4pjo.fsf-monnier+gnu.emacs.help@gnu.org

* Stefan Monnier <monnier@iro.umontreal.ca>
| You can do the following:
| - open the file
| - set its coding-system to latin-1 with C-x RET f latin-1 RET
| - try to save the file using the new coding system: C-x C-s
| - this should hopefully pop up a window giving you a list of chars
|   that conflict.

Ok, by string-replacing the regular Umlauts I found the culprit was a
single \200 char within 880+kB.  This the Windows-Euro (of course the
file is edited from Windows and Linux).  After replacing this single
char, the file is opened in latin-1 ok.

Since all those files use a special editing major mode in emacs anyway,
I suppose I can switch to latin-1 when entering that major mode.

| But I still suggest you try what I already suggested:
>
| | C-x RET r latin-1 RET should cause the file to be re-read as a
| | latin-1 file, and it should then be displayed properly.
>
| and see what this gives.

This works ok in that the Umlauts are displayed properly, word movement
works, and the single \200 char is not bitched about when saving the
file.  So I'd call this function in the major mode and all should be
well (fingers crossed)...

Now you don't happen to know the details of all of this in *X*emacs?
Last time I looked, the functions were all different...

R'


      parent reply	other threads:[~2010-10-25  9:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-12 17:00 word syntax/umlauts emacs 23 vs 22 Ralf Fassel
2010-10-12 22:15 ` Stefan Monnier
     [not found]   ` <yga7hhm1tma.fsf@gepard2.akutech-local.de>
2010-10-15 17:42     ` Stefan Monnier
2010-10-20 19:28       ` Ralf Fassel
2010-10-21  0:18         ` Jason Rumney
2010-10-21  1:27         ` Stefan Monnier
2010-10-21 13:25           ` Ralf Fassel
2010-10-21 15:24             ` Jason Rumney
2010-10-25  9:33               ` Ralf Fassel
2010-10-29 18:26                 ` Stefan Monnier
2010-11-04  9:36                   ` Ralf Fassel
2010-11-04 19:37                     ` Stefan Monnier
2010-10-26  2:53               ` Ilya Zakharevich
     [not found]             ` <jwv8w1p4pjo.fsf-monnier+gnu.emacs.help@gnu.org>
2010-10-25  9:31               ` Ralf Fassel [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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yga8w1m4o0q.fsf@gepard2.akutech-local.de \
    --to=ralfixx@gmx.de \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.