all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
  • * Re: Bug 130397 (Was: Emacs - Ispell problem with i[no]german dictionary)
           [not found]     ` <20040517120658.GA6919@agmartin.aq.upm.es>
           [not found]       ` <E1BQ5z5-0000f4-5u@fencepost.gnu.org>
    @ 2004-12-17 12:15       ` Agustin Martin
      2004-12-22 12:37         ` Kenichi Handa
      1 sibling, 1 reply; 50+ messages in thread
    From: Agustin Martin @ 2004-12-17 12:15 UTC (permalink / raw)
      Cc: Lionel Elie Mamane, emacs-devel
    
    On Mon, May 17, 2004 at 02:06:58PM +0200, Agustin Martin wrote:
    
    > My guess is that emacs is handling differently the 'è' character (In case of
    > ancoding problems in the mail, it is the grave lowercase e `e) when typed in
    > the fr_FR@euro locale than when file is read or typed in the fr_FR locale.
    > 
    
    No news from upstream about this.
    
    Seems that this problem is still present with sid emacs. Since sid
    dictionaries-common has ispell.el patched to allow any coding-system
    supported by emacs (including iso-8859-15 for {x}emacs21) I am considering
    a new ispell.el patch to workaround this latin0-latin1 unification problem.
    
    I am playing with redefining ispell-get-coding-system function in ispell.el
    so dict coding-system is changed to iso-8859-15 if was originally
    iso-8859-1 and emacs has iso-8859-15 as buffer-file-coding-system, something
    like
    
    ----------------------------------------
    (defun ispell-get-coding-system ()
      (let (ispell-coding-system emacs-coding-system)
        (setq ispell-coding-system
    	  (nth 7 (assoc ispell-dictionary ispell-dictionary-alist)))
        (setq emacs-coding-system
    	  (coding-system-get buffer-file-coding-system 'mime-charset))
        (if (and (string-equal emacs-coding-system "iso-8859-15")
    	     (string-equal ispell-coding-system "iso-8859-1"))
    	emacs-coding-system
          ispell-coding-system)))
    ----------------------------------------
    
    It seems to work for emacs21, but not for xemacs21 (seems a bug of this
    latter when giving the value of buffer-file-coding-system, just reported as
    #285990).
    
    This has the advantage that no special entries are needed for latin0 in the
    ispell-dictionary-alist.
    
    I will test this a bit more before uploading. If everything seems O.K. and
    nobody opposes I will proceed this way.
    
    Suggestions are welcome. I am cc'ing emacs-devel for their info.
    
    Cheers,
    
    -- 
    Agustin
    
    ^ permalink raw reply	[flat|nested] 50+ messages in thread

  • end of thread, other threads:[~2005-04-29  8:45 UTC | newest]
    
    Thread overview: 50+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [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
    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
    

    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.