From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: Can't isearch =?iso-8859-1?q?=27=F6=27?= Date: Fri, 29 Apr 2005 06:15:03 -0400 Message-ID: References: <296c27822efac3bf0271bf82f19ca485@Web.DE> <606b3ca39653eb6a62837e841402d5c8@Web.DE> <87fyxtxwku.fsf-monnier+emacs@gnu.org> <200504142342.IAA12606@etlken.m17n.org> <87br8g2pe0.fsf-monnier+emacs@gnu.org> <200504180252.LAA20878@etlken.m17n.org> <877jj07owm.fsf-monnier+emacs@gnu.org> <200504180516.OAA21166@etlken.m17n.org> <87k6n05jo7.fsf-monnier+emacs@gnu.org> <200504250632.PAA09312@etlken.m17n.org> <200504281131.UAA18072@etlken.m17n.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1114769856 16405 80.91.229.2 (29 Apr 2005 10:17:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Apr 2005 10:17:36 +0000 (UTC) Cc: Peter_Dyballa@Web.DE, monnier@iro.umontreal.ca, emacs-pretest-bug@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 29 12:17:33 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DRSYM-00087F-9m for ged-emacs-devel@m.gmane.org; Fri, 29 Apr 2005 12:16:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DRSef-00085R-0K for ged-emacs-devel@m.gmane.org; Fri, 29 Apr 2005 06:23:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DRSZI-0006oc-5t for emacs-devel@gnu.org; Fri, 29 Apr 2005 06:17:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DRSZF-0006o3-38 for emacs-devel@gnu.org; Fri, 29 Apr 2005 06:17:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DRSZD-0006bN-U4; Fri, 29 Apr 2005 06:17:52 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DRSbs-0002Yc-Dt; Fri, 29 Apr 2005 06:20:36 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DRSWV-0006m0-Tq; Fri, 29 Apr 2005 06:15:03 -0400 Original-To: Kenichi Handa In-reply-to: <200504281131.UAA18072@etlken.m17n.org> (message from Kenichi Handa on Thu, 28 Apr 2005 20:31:08 +0900 (JST)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:36500 gmane.emacs.pretest.bugs:7188 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36500 Stefan's proposal is to translate a character by translation-table-for-input in read_char (). This is a generic solution, but it makes read_char () return different character depending on the buffer-file-coding-system of the current buffer, which may or may not cause anther problem. My proposal is to translate a character by translate-table-for-input in isearch-process-search-char. This is a limitted solution only for the current problem. Suppose we use the latter solution. We probably would want to use it in other places as well, but which ones? Can you suggest a rule for programmers to decide whether to translate the result from read-char thru translate-table-for-input, and when not to? Could you look thru the calls to read-char in Emacs, and see which ones clearly should do this translation, which ones clearly should not, and which ones would work right either with or without the translation?