From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.devel Subject: Re: char equivalence classes in search - why not symmetric? Date: Wed, 2 Sep 2015 17:10:17 +0100 Message-ID: References: <2a7b9134-af2a-462d-af6c-d02bad60bbe8@default> <834mjecdy7.fsf@gnu.org> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0158c73e11581c051ec5e737 X-Trace: ger.gmane.org 1441210255 28046 80.91.229.3 (2 Sep 2015 16:10:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Sep 2015 16:10:55 +0000 (UTC) Cc: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 02 18:10:54 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 1ZXAcf-0005wj-Nc for ged-emacs-devel@m.gmane.org; Wed, 02 Sep 2015 18:10:53 +0200 Original-Received: from localhost ([::1]:39260 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXAcf-0000vC-LG for ged-emacs-devel@m.gmane.org; Wed, 02 Sep 2015 12:10:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXAcB-0000tL-Sh for emacs-devel@gnu.org; Wed, 02 Sep 2015 12:10:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXAcA-00076v-WD for emacs-devel@gnu.org; Wed, 02 Sep 2015 12:10:23 -0400 Original-Received: from mail-lb0-x230.google.com ([2a00:1450:4010:c04::230]:34985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXAcA-000738-Gq for emacs-devel@gnu.org; Wed, 02 Sep 2015 12:10:22 -0400 Original-Received: by lbpo4 with SMTP id o4so9070983lbp.2 for ; Wed, 02 Sep 2015 09:10:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:cc:content-type; bh=z5UWrdb59idvBYfoBj+RdJ7jw3VQbZlDQmNbClcJeeY=; b=A9FhOcE8VxmVdwv3wjfYDFeP553h2YL1CEm2enOdF8ctrkvjCQfLIeZJRqP777/v7i 4IMTYxWO77wZmbJLWtKFPZgsiuTtUlf/yHFlkCXi7R7HQZh03hLXjf8hL9+fDYG1SGup niczq0PtimUwkmQIfDsJuY7M5Y3I1kySKM6lGgxTlIQyW40qddQA0MevpV4QE0XUzN7A Re1d1Mb3DFKgFaNPMQDJJ4P8YHR+GeTbpNPGKqaAmKdb9xmXRZauVX7A44/FVmo6SaQw 6ZZSEhV1AkUrIDzto3k4lhzIoJ+8K/2uX/R/wSQ6ir2q0CoJ6+9yrHsPPuL0ZEL5VmUW UlgA== X-Received: by 10.152.26.163 with SMTP id m3mr16428288lag.86.1441210217614; Wed, 02 Sep 2015 09:10:17 -0700 (PDT) Original-Received: by 10.25.213.202 with HTTP; Wed, 2 Sep 2015 09:10:17 -0700 (PDT) Original-Received: by 10.25.213.202 with HTTP; Wed, 2 Sep 2015 09:10:17 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: X_PCyjc3lsqRNUffhCsFR8frqUI X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::230 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:189475 Archived-At: --089e0158c73e11581c051ec5e737 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > Since it is possible to search for only '=C3=A1', it would be nice to hav= e > some convenient way to search only for 'a' with no accents. > > The only convenient interface I can think of is that you type, in a > postfix input method, a ' DEL. Currently that is equivalent to typing > just a. But we could conceivably make it different. > > Can someone think of some other interface for this? You can toggle off char folding with M-s '. That's the same number of keys as this idea where you would type an accent and then delete. Of course, one affects the entire search string, while the other would only affect that specific letter. --089e0158c73e11581c051ec5e737 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


> Since it is possible to search for only '=C3=A1', it would be = nice to have
> some convenient way to search only for 'a' with no accents. >
> The only convenient interface I can think of is that you type, in a > postfix input method, a ' DEL.=C2=A0 Currently that is equivalent = to typing
> just=C2=A0 a.=C2=A0 But we could conceivably make it different.
>
> Can someone think of some other interface for this?

You can toggle off char folding with M-s '. That's t= he same number of keys as this idea where you would type an accent and then= delete.
Of course, one affects the entire search string, while the other would only= affect that specific letter.

--089e0158c73e11581c051ec5e737--