From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Newsgroups: gmane.emacs.devel Subject: Re: Questions about isearch Date: Fri, 27 Nov 2015 09:02:19 +0100 Message-ID: <56580E0B.9060909@online.de> References: <83lh9lx6oi.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1448611425 21635 80.91.229.3 (27 Nov 2015 08:03:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Nov 2015 08:03:45 +0000 (UTC) Cc: Eli Zaretskii To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 27 09:03:37 2015 Return-path: Envelope-to: ged-emacs-devel@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 1a2E0A-0002Y2-FD for ged-emacs-devel@m.gmane.org; Fri, 27 Nov 2015 09:03:30 +0100 Original-Received: from localhost ([::1]:55228 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2E0C-000416-Po for ged-emacs-devel@m.gmane.org; Fri, 27 Nov 2015 03:03:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2E01-000410-A6 for emacs-devel@gnu.org; Fri, 27 Nov 2015 03:03:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a2E00-0004BC-Do for emacs-devel@gnu.org; Fri, 27 Nov 2015 03:03:21 -0500 Original-Received: from mout.kundenserver.de ([212.227.126.133]:51392) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2Dzw-00047l-0i; Fri, 27 Nov 2015 03:03:16 -0500 Original-Received: from [192.168.178.33] ([77.6.154.255]) by mrelayeu.kundenserver.de (mreue003) with ESMTPSA (Nemesis) id 0MYrLj-1ZpyBW3N91-00VgHb; Fri, 27 Nov 2015 09:03:13 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: <83lh9lx6oi.fsf@gnu.org> X-Provags-ID: V03:K0:u6dAveQOZ89qCQoL9Rdh+JZankLK0KaO0OsNVVp/N7qDugBjBNL SMybIT5KsjhXOICCdoKHiniza+CMIrwCB77mPrWY5PG1+29B1mwz8dHJ0Y7veoJTvfv5AS5 /N80RLH8pITXem5gmXwUJBVaL23wA4tIFcUBulZZ5uO1YH/uqOx8xMRgTgANxvDjFK5TSRl N7uygLPjMDY21irtM48Jg== X-UI-Out-Filterresults: notjunk:1;V01:K0:BS0DWEbAX0s=:Z2IKkkypDo+yh90A4FxQcW /FW0ULUZ3b+SxOky1h2LWPxwLRP3O+UCNAaU33eTJlbBdMmytDDV1jXSaTaaQHwb7WlaEXWjy xM6GnGfD5uuRFJZSAMhq/bAGm0U9WyFB57YxjGW1LDgo/N9qrcsPg2Q4+35eXmAx7M4JHv2fQ ewHspEzsaRYyD3P4nHOcoWbez8Rb5VZYgA2osR+zqG8UjfrM/bc232D8upZRLK4B13HPag1uj E/BLjW/dddvud3KNly12hIk4T78ZTsZeVSa4JmYJ4iOJy/vzhsH3dkeohrRAApgMe0DaaGsua OjM/+g7lLobGosh6CsNtn0iNNty/udMV7EO2yarPJWSKdquVZrRJsM2s0r8jggHC31gmLAK3J yBoxEmcAMrBbM0Z5BbMS1JtdW9O5hPGyEEKkkD1ziRrk29zftAAsD0n5HovZ79aUw2FT/oMHk RDnA5OXKuWz0KJaUBOfGzoEkm2MUOdcGOqd3v2LztJK0W+qcnCTcvz/4XFr//eiXzS2flJj5u RdJinCPlhNYrMbZ9bYJvGY+XPrku78iyH+67GdldEIU5MyI+tCjPIwEPbAIVDSYGfCYO67ZdV Wbxw2FdK91S3H+0QobGdbUQQRZ0PULj3xUy3bXfqrJnoVvSukx2P3tcSMEVJQHuO8xAVBR1AH sQtxsAw5HWeYYCMwYo3Ixse5FwnVFizO1jsTtle0+RCgmluJL0HXXu2HVGXpaaIxyMAr5AXOK 0NozGQdlKuPDMbeLfOPEUNfYcZCLuposhEarEd0X2UjNREMXrhQXPT7rT+IhJOX2AS90LzA+ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.133 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:195348 Archived-At: Am 25.11.2015 um 19:41 schrieb Eli Zaretskii: > These questions came out of review and extensive updates of the search > and replace sections of the Emacs manual: > > 1. Character folding doesn't catch ligatures, such as æ (should it match > the two characters "ae")? > > 2. It also doesn't match ä (a single character) with ä (2 characters, > which Emacs correctly composes into 1 grapheme cluster). Should it? > > 3. With the default value t of isearch-hide-immediately, one match in > invisible text is not hidden, and remains on display. To repro: > > emacs -Q > C-x C-f etc/NEWS RET > C-c C-q > C-s require C-s > > This leaves the match and its surrounding hidden text on screen. I > can understand the rationale, but the doc string doesn't say anything > about this feature. On the contrary, it says: > > Whatever the value, all opened invisible text is hidden again after > exiting the search. ^^^ > > 4. What is the equivalent of case-replace and the letter-case related > behavior of replace commands to character folding? E.g., if the > replace command specifies to replace "foo" with "bar", and we found > "föo", should we replace it with "bär" or something, by analogy with > letter-case behavior? > > Considering language special cases worldwide at core will run into infinity. Would expect support of unicode-characters. Mapping them should be the task of special language-modes built upon, i.e. a text-norwegian etc. In order to support languages, isearch might accept modifiers, like fill-paragraph does with fill-paragraph-function. Thus the regexps handed over may change.