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: Displaying the state of isearch toggles [was Re: ASCII-folded search] Date: Tue, 30 Jun 2015 15:41:21 +0100 Message-ID: References: <9da72b40-0236-4edd-983e-90c54ca7f827@default> <6b3b1440-7931-4dca-b53d-662613eef135@default> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1435675293 23882 80.91.229.3 (30 Jun 2015 14:41:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Jun 2015 14:41:33 +0000 (UTC) Cc: Juri Linkov , Stefan Monnier , Kaushal , Stephen Turnbull , emacs-devel , Eli Zaretskii To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 30 16:41:32 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 1Z9wj5-0001S8-Ek for ged-emacs-devel@m.gmane.org; Tue, 30 Jun 2015 16:41:31 +0200 Original-Received: from localhost ([::1]:47369 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9wj4-0001us-I3 for ged-emacs-devel@m.gmane.org; Tue, 30 Jun 2015 10:41:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50952) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9wj0-0001un-JY for emacs-devel@gnu.org; Tue, 30 Jun 2015 10:41:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z9wiz-0008JW-T1 for emacs-devel@gnu.org; Tue, 30 Jun 2015 10:41:26 -0400 Original-Received: from mail-la0-x22d.google.com ([2a00:1450:4010:c03::22d]:35463) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9wiy-0008Ir-52; Tue, 30 Jun 2015 10:41:24 -0400 Original-Received: by lagh6 with SMTP id h6so16396210lag.2; Tue, 30 Jun 2015 07:41:21 -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:to:cc:content-type; bh=JxGMzHYvgF5jQF+j2mFl0PafG7w+vhdnOAzVmolHSwo=; b=k/cHvfJcssFrftUcnguPCn7dzAAZlfD2MI/0HxjL+GKMt49eunGn5oIHlQgC0388lY LNRULHCPNECn1L8SHRkLbh2QvTAULHm10nh9OTxKp0GoLRix8VZzD3sTRhV/NvlT3Ql6 UZebPlX1uKSqKy/6xyJisYsKSXXDeeATBMS8PNDMvwEm6ZyP+eGEvq57XEYL26at5Y4u 9cyOamYdGVjRqpreJyEw46pSblnwxzD4RhMGDhpIm31Ap3dQ37vPs4KvkSSaa5Vex0UO rJUiDVCrvQ7cImE952lyrmQ1+E/IaQ/xxoG1tA0TZCb8XtsWM7nxgxTniVSoD1hqK+0I vd1w== X-Received: by 10.112.138.199 with SMTP id qs7mr9902468lbb.21.1435675281650; Tue, 30 Jun 2015 07:41:21 -0700 (PDT) Original-Received: by 10.25.214.133 with HTTP; Tue, 30 Jun 2015 07:41:21 -0700 (PDT) In-Reply-To: <6b3b1440-7931-4dca-b53d-662613eef135@default> X-Google-Sender-Auth: ITP7XDWdnQJGYUrWwpVCF-IExKY X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22d 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:187675 Archived-At: >> Char folding, word/symbol searching, and regexp searching are all >> non orthogonal due to implementation details. > > Please elaborate. Search is either literal or regexp (and we can > add other pattern-matching search types). Again, different values > of the same attribute. Word/symbol/whatever: see above. > > Char folding? Do you mean that if you are folding wrt one > equivalence class then either you cannot also be folding wrt > another class or folding of the other changes somehow? Please > explain. I mean they're not orthogonal with respect to each other (in the current implementation). That is: If you turn on word or symbol search, it turns off regexp searching and char folding. If you turn on char folding, it turns off regexp, word and symbol searching. If you turn on regexp, it turns off char-folding, and word and symbol and searching. This is not a fundamental limitation, they're not different values of the same option. This is a consequence of the current implementation.