From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Is it possible to transform text before feeding it to ispell? Date: Tue, 08 Sep 2015 20:39:58 +0300 Message-ID: <838u8g7qtt.fsf@gnu.org> References: <87oahdl3g3.fsf@mbork.pl> <87zj0x12ns.fsf@web.de> <87d1xt3pdp.fsf@mbork.pl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1441734199 32414 80.91.229.3 (8 Sep 2015 17:43:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Sep 2015 17:43:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 08 19:43:10 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZZMvA-0005T5-EZ for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Sep 2015 19:43:04 +0200 Original-Received: from localhost ([::1]:36206 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZMvA-0003zJ-AX for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Sep 2015 13:43:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39605) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZMs2-0008LW-Ng for help-gnu-emacs@gnu.org; Tue, 08 Sep 2015 13:39:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZMrz-0006Cl-AV for help-gnu-emacs@gnu.org; Tue, 08 Sep 2015 13:39:50 -0400 Original-Received: from mtaout28.012.net.il ([80.179.55.184]:37218) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZMrz-0006Cf-3j for help-gnu-emacs@gnu.org; Tue, 08 Sep 2015 13:39:47 -0400 Original-Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NUD00900CVXMU00@mtaout28.012.net.il> for help-gnu-emacs@gnu.org; Tue, 08 Sep 2015 20:39:32 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NUD00O1VD1W7CA0@mtaout28.012.net.il> for help-gnu-emacs@gnu.org; Tue, 08 Sep 2015 20:39:32 +0300 (IDT) In-reply-to: <87d1xt3pdp.fsf@mbork.pl> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.184 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107088 Archived-At: > From: Marcin Borkowski > Date: Tue, 08 Sep 2015 17:24:50 +0200 >=20 > > What's your problem in concrete? >=20 > People writing "=C4=85" (a letter existing in Polish, but outside A= SCII) as > "/a" (i.e., slash and a, sometimes seen in old Polish-language TeX > documents) or ""a" (i.e., quotation mark and a, which is used by La= TeX > package "babel"). Not a typical "encoding", since it uses an "esca= pe > char", but sometimes used (unfortunately). Then you'd need to extend ispell.el to support such "encoding". Alternatively, define a new coding-system that makes these conversion= s before the real encoding, and then use that in ispell-dictionary-alis= t.