unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Agustin Martin <agustin.martin@hispalinux.es>
Subject: Re: Bug 130397 (Was: Emacs - Ispell problem with i[no]german dictionary)
Date: Tue, 11 Jan 2005 20:56:23 +0100	[thread overview]
Message-ID: <20050111195623.GA4031@agmartin.aq.upm.es> (raw)
In-Reply-To: <200501110516.OAA03606@etlken.m17n.org>

On Tue, Jan 11, 2005 at 02:16:33PM +0900, Kenichi Handa wrote:
> In article <20050110171611.GA10357@agmartin.aq.upm.es>, Agustin Martin <agustin.martin@hispalinux.es> writes:
> 
> Sorry I don't understand.  What is oe-1char?  U+0153 or
> U+0276?  But, neither of them are not included in
> iso-8859-1/iso-8859-15?   And, I have no idea why adding
> coeur (with oe-1char) to the dictionary solves the
> misalignment error.  Is it because of ispell's bug?
> 

Sorry, I should have explained myself better,

I meant with oe-1char oe as a single char (U+0153), available
in iso-8859-15 (octal \275 here), but not in iso-8859-1 (you
have one half instead), and with oe-2char the two 7bit chars sequence
'oe', available anywhere, and that is the trick usually used in
iso-8859-1 to represent that char. The french dict is originally
latin1 and use the two chars sequence 'oe', although the Debian dict
defines single-chars 'oe' and 'OE' at the default stringchars section,
but did not use inside. 

Why that addition to the dict made the misalignment disappear is something
that completely puzzles me. Since ispell shipped with Debian is somewhat
old I cannot rule out that it is not reponsible, but I should try with an
ad-hoc more recent ispell to be sure. It was not the usual misalignment
error with a non regognisable string, but the word itself with the error.
Anyway, the french dict should be consistent, and that seems to make the
problem disappear.

> > So, patch from Kenichi Handa seems to work well for sid emacs21, much better
> > than I thought. However it uses code that has only been recently added to
> > emacs21, and things that are not available for xemacs or emacs20.
> 
> Then, how about using your workaround for them, and enable
> my patch for an emacs that has
> ucs-mule-8859-to-mule-unicode?
> 

I like the idea, and at a first glance it should not be difficult to
implement, even for a person like me, whose lisp skills are limited. It will
help for old emacs21, for emacs20 my workaround will do nothing since it has
no iso-8859-15, and for Debian xemacs21 my workaround is also doing nothing
since xemacs21 seems to return some extra (IMHO wrong) stuff in
buffer-file-coding-system.

I will first retest everything with a 'good' (built to my taste) french
dict, pen and paper, to know in detail the differences in the results for
both systems. Last day I could notice that the misalignment error
disappeared and that things worked better, but not much more. Need to test
also with aspell and other languages.

Even in the case both systems give mostly similar results I will try
integrating them, since I guess your patch will be more appropriate for
future emacs21 development, and looks somewhat more general. 

Cheers,

-- 
Agustin

  reply	other threads:[~2005-01-11 19:56 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.43.0305140821370.30166-100000@wr-linux02.rki.ivbb.bund.de>
     [not found] ` <m3addpd2ur.fsf@dionysos.nib>
     [not found]   ` <E19HNCh-0000tv-00@fencepost.gnu.org>
     [not found]     ` <20040517120658.GA6919@agmartin.aq.upm.es>
     [not found]       ` <E1BQ5z5-0000f4-5u@fencepost.gnu.org>
2004-05-19 11:44         ` Bug 130397 (Was: Emacs - Ispell problem with i[no]german dictionary) Agustin Martin
2004-05-21  8:01           ` Agustin Martin
2004-12-17 12:15       ` Agustin Martin
2004-12-22 12:37         ` Kenichi Handa
2004-12-22 17:13           ` Agustin Martin
2005-01-04 12:50             ` Kenichi Handa
2005-01-04 14:55               ` Bug 130397 Stefan
2005-01-05  2:00                 ` Kenichi Handa
2005-01-05  4:42                   ` Stefan Monnier
2005-01-05  5:50                     ` Kenichi Handa
2005-01-05 14:02                       ` Stefan Monnier
2005-01-06  0:44                         ` Kenichi Handa
2005-01-06 16:30                           ` Ken Stevens
2005-01-06 17:33                             ` Stefan Monnier
2005-01-07  0:39                               ` Kenichi Handa
2005-01-07 15:48                             ` Agustin Martin
2005-01-08 12:31                             ` Geoff Kuenning
2005-01-08 12:47                               ` David Kastrup
2005-01-08 13:29                                 ` Miles Bader
2005-01-08 17:15                                   ` Geoff Kuenning
2005-01-10  4:45                                   ` Eli Zaretskii
2005-01-10  9:09                                     ` David Kastrup
2005-01-10 20:16                                       ` Eli Zaretskii
2005-01-13  7:50                                       ` Kenichi Handa
2005-01-08 22:39                               ` Peter Heslin
2005-01-07 15:36                       ` Agustin Martin
2005-01-07 20:29                         ` Ken Stevens
2005-01-07 21:27                         ` Juri Linkov
2005-01-13  5:59                           ` Kenichi Handa
2005-01-18 10:44                             ` Juri Linkov
2005-01-18 13:57                               ` Geoff Kuenning
2005-01-19  7:34                                 ` Juri Linkov
2005-01-19 12:22                                   ` Geoff Kuenning
2005-04-29  0:29                                   ` Geoff Kuenning
2005-04-29  8:45                                     ` Thien-Thi Nguyen
2005-01-18 23:24                               ` Kenichi Handa
2005-01-19  7:43                                 ` Juri Linkov
2005-01-19 12:52                                   ` Kenichi Handa
2005-01-19 13:08                                     ` David Kastrup
2005-01-07 15:34               ` Bug 130397 (Was: Emacs - Ispell problem with i[no]german dictionary) Agustin Martin
2005-01-10 13:06             ` Lionel Elie Mamane
2005-01-10 17:16               ` Agustin Martin
2005-01-11  5:16                 ` Kenichi Handa
2005-01-11 19:56                   ` Agustin Martin [this message]
2005-01-11 21:39                     ` Lionel Elie Mamane
2005-01-12  7:37                     ` Kenichi Handa
2005-01-12 19:17                       ` Agustin Martin
2005-01-13  5:53                         ` Kenichi Handa
2005-01-11 14:29                 ` Richard Stallman
2005-01-12  7:45                   ` Kenichi Handa

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=20050111195623.GA4031@agmartin.aq.upm.es \
    --to=agustin.martin@hispalinux.es \
    /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).