From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 23 15:24:31 2010 Received: (at submit) by debbugs.gnu.org; 23 Nov 2010 20:24:31 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PKzPh-00034n-Ug for submit@debbugs.gnu.org; Tue, 23 Nov 2010 15:24:31 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PKzPg-00034i-UK for submit@debbugs.gnu.org; Tue, 23 Nov 2010 15:24:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PKzUo-0005KJ-Ae for submit@debbugs.gnu.org; Tue, 23 Nov 2010 15:29:47 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:37019) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PKzUo-0005KF-8N for submit@debbugs.gnu.org; Tue, 23 Nov 2010 15:29:46 -0500 Received: from [140.186.70.92] (port=41032 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKzUm-0005fP-VN for bug-gnu-emacs@gnu.org; Tue, 23 Nov 2010 15:29:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PKzUl-0005Jg-91 for bug-gnu-emacs@gnu.org; Tue, 23 Nov 2010 15:29:44 -0500 Received: from mail-gw0-f41.google.com ([74.125.83.41]:62110) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PKzUl-0005JQ-3i for bug-gnu-emacs@gnu.org; Tue, 23 Nov 2010 15:29:43 -0500 Received: by gwb15 with SMTP id 15so982469gwb.0 for ; Tue, 23 Nov 2010 12:29:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=axZaCmdc9zQ5rjt4+6dXH3jM6zD6hhVKRQyF4G8pRuA=; b=x3MTMlsT7cCWeYjTUwVi9bwD61fzImYCdk18cfLCLSbYByTTSICL5CdhbTGGLoCX9J OZ8VV/rVaS2Al2x4jbfe+NWfnroDOTMEjDvttJDgkHbzvW0NC18tFt1M0oLqQki5C0I2 KupCnvpPI17vj1DviiPQlO21BNxy6HGCpmdIo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Wswy8cqWbIHXT9I6zliNXPhVz7zA63tM9fr7yJE3x6nWrNYq7xkNSI/LpRe10Vt43t or8IQ1ITXIE+kRVglh+wmGmPGNUj4ybf7ZWRNXgMoR91YJLke7soY7DbiBalbi6eiRpg 56F5y7fbfZj6JMjng5AgDocYDHxSWxvMjGtvc= MIME-Version: 1.0 Received: by 10.91.11.3 with SMTP id o3mr9243330agi.148.1290544181420; Tue, 23 Nov 2010 12:29:41 -0800 (PST) Received: by 10.90.227.16 with HTTP; Tue, 23 Nov 2010 12:29:41 -0800 (PST) Date: Tue, 23 Nov 2010 21:29:41 +0100 Message-ID: Subject: 24.0.50; Word Isearch lazy highlighting From: Dani Moncayo To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) Hi, Please, consider the situation arising after performing these steps:: 0) Start Emacs (emacs -Q). 1) Go to the beginning of the *scratch* buffer (M-<). 2) Start an incremental _word_ search (M-s w). 3) Type `that fil'. After step 3, the second occurrence of `that fil' should be highlighted with `lazy-highlighting' face [1], but that doesn't happen. -------------- [1] Emacs Manual. Section "13.3 Word Search" (node "Word Search"). Last paragraph: > A nonincremental word search differs slightly from the incremental > version in the way it finds a match: the last word in the search string > must be an exact match for a whole word. In an incremental word > search, the last word in the search string can match part of a word; > this allows the matching to proceed incrementally as you type. -- Dani Moncayo From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 23 20:58:53 2010 Received: (at 7470) by debbugs.gnu.org; 24 Nov 2010 01:58:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PL4dJ-0006qU-5T for submit@debbugs.gnu.org; Tue, 23 Nov 2010 20:58:53 -0500 Received: from smarty.dreamhost.com ([208.113.175.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PL4dD-0006qD-Qr for 7470@debbugs.gnu.org; Tue, 23 Nov 2010 20:58:48 -0500 Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id A35C46E805D; Tue, 23 Nov 2010 18:04:06 -0800 (PST) Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 29345451C1A5; Tue, 23 Nov 2010 18:04:04 -0800 (PST) From: Juri Linkov To: Dani Moncayo Subject: Re: bug#7470: 24.0.50; Word Isearch lazy highlighting Organization: JURTA References: Date: Wed, 24 Nov 2010 01:43:45 +0000 In-Reply-To: (Dani Moncayo's message of "Tue, 23 Nov 2010 21:29:41 +0100") Message-ID: <87r5eb4hta.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 7470 Cc: 7470@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) > Please, consider the situation arising after performing these steps:: > 0) Start Emacs (emacs -Q). > 1) Go to the beginning of the *scratch* buffer (M-<). > 2) Start an incremental _word_ search (M-s w). > 3) Type `that fil'. > > After step 3, the second occurrence of `that fil' should be > highlighted with `lazy-highlighting' face [1], but that doesn't > happen. The task of the word search is to find and highlight complete words. The heuristics it applies with partial lax word search (comparing the current search string with the previous one in `isearch-search-fun') is to help the user to type the complete word search string without signaling an error. So I doubt that lazy highlighting should follow the same logic as partial lax word search. What does lazy highlighting try to tell the user: "Look, if you type C-s, then Isearch will land in the next highlighted place". But in case of incomplete word search this is not true. When the user types C-s, it will not stop at the partial word string highlighted as you suggested. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 24 02:44:29 2010 Received: (at 7470) by debbugs.gnu.org; 24 Nov 2010 07:44:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PLA1k-0006QH-Vj for submit@debbugs.gnu.org; Wed, 24 Nov 2010 02:44:29 -0500 Received: from mail-yw0-f44.google.com ([209.85.213.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PLA1i-0006Q5-0M for 7470@debbugs.gnu.org; Wed, 24 Nov 2010 02:44:26 -0500 Received: by ywa8 with SMTP id 8so371434ywa.3 for <7470@debbugs.gnu.org>; Tue, 23 Nov 2010 23:49:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=TcErj/jR77Jwh28KUSpa3CGgbxy3K69Hp/nDw3USfb0=; b=tSBEe4oofwCP7VIlRe6o4ooi+fyHxacZHnasPpRW9e40d/TW7sitexasFWYXU4J8Ha mBWbMgY2KSOWaMJv6vJSFIwdO/5lJFDtYxXOVo+xBK7Tq1HXVshNIb8GxLaD+D0Zi4bY eGKScyh5MkijokQAI2TpPMrgu9BDdMm9jipHk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=SM0gr6a0Es7/1W/HDfBkZrkk2wHNMkYUUbIJIrtkLf+XkkIOrpOknvgI10ljiFL8dU f40373FL/nKNqcZGokLHmhwlIWNUrvuQjmJ2/pqHXSN9rsMRuO/OwnzFhblLg1EIYM2f bpUJCucoV9ckulkS9urUJZ0zgPnBAMbEKdt+o= MIME-Version: 1.0 Received: by 10.91.42.23 with SMTP id u23mr385814agj.67.1290584985402; Tue, 23 Nov 2010 23:49:45 -0800 (PST) Received: by 10.90.227.16 with HTTP; Tue, 23 Nov 2010 23:49:45 -0800 (PST) In-Reply-To: <87r5eb4hta.fsf@mail.jurta.org> References: <87r5eb4hta.fsf@mail.jurta.org> Date: Wed, 24 Nov 2010 08:49:45 +0100 Message-ID: Subject: Re: bug#7470: 24.0.50; Word Isearch lazy highlighting From: Dani Moncayo To: Juri Linkov Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.1 (---) X-Debbugs-Envelope-To: 7470 Cc: 7470@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.1 (---) On Wed, Nov 24, 2010 at 02:43, Juri Linkov wrote: > > The task of the word search is to find and highlight complete words. > The heuristics it applies with partial lax word search (comparing > the current search string with the previous one in `isearch-search-fun') > is to help the user to type the complete word search string > without signaling an error. =A0So I doubt that lazy highlighting should > follow the same logic as partial lax word search. > > What does lazy highlighting try to tell the user: "Look, if you type > C-s, then Isearch will land in the next highlighted place". =A0But in cas= e of > incomplete word search this is not true. =A0When the user types C-s, > it will not stop at the partial word string highlighted as you suggested. > I understand and agree with your reasoning, and I think would be good to include that idea in the section of the manual that I quoted before. The way it is worded now seems a bit misleading/incomplete to me. Thank you very much. --=20 Dani Moncayo From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 04 20:10:35 2010 Received: (at 7470) by debbugs.gnu.org; 5 Dec 2010 01:10:35 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PP37b-0006eE-7T for submit@debbugs.gnu.org; Sat, 04 Dec 2010 20:10:35 -0500 Received: from vm-emlprdomr-06.its.yale.edu ([130.132.50.147]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PP37Z-0006e2-LO for 7470@debbugs.gnu.org; Sat, 04 Dec 2010 20:10:34 -0500 Received: from furball (dhcp128036014248.central.yale.edu [128.36.14.248]) (authenticated bits=0) by vm-emlprdomr-06.its.yale.edu (8.14.4/8.14.4) with ESMTP id oB51GL4d029457 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 4 Dec 2010 20:16:21 -0500 Received: by furball (Postfix, from userid 1000) id 398FA16059F; Sat, 4 Dec 2010 20:16:21 -0500 (EST) From: Chong Yidong To: Dani Moncayo Subject: Re: bug#7470: 24.0.50; Word Isearch lazy highlighting References: <87r5eb4hta.fsf@mail.jurta.org> Date: Sat, 04 Dec 2010 20:16:21 -0500 In-Reply-To: (Dani Moncayo's message of "Wed, 24 Nov 2010 08:49:45 +0100") Message-ID: <871v5xj9y2.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.147 X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 7470 Cc: Juri Linkov , 7470@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) Dani Moncayo writes: > I understand and agree with your reasoning, and I think would be good > to include that idea in the section of the manual that I quoted > before. The way it is worded now seems a bit misleading/incomplete to > me. I've changed the manual text to reflect this. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 04 20:10:45 2010 Received: (at control) by debbugs.gnu.org; 5 Dec 2010 01:10:45 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PP37l-0006ea-Fs for submit@debbugs.gnu.org; Sat, 04 Dec 2010 20:10:45 -0500 Received: from vm-emlprdomr-04.its.yale.edu ([130.132.50.145]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PP37k-0006eP-3z for control@debbugs.gnu.org; Sat, 04 Dec 2010 20:10:44 -0500 Received: from furball (dhcp128036014248.central.yale.edu [128.36.14.248]) (authenticated bits=0) by vm-emlprdomr-04.its.yale.edu (8.14.4/8.14.4) with ESMTP id oB51GVLq013483 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 4 Dec 2010 20:16:32 -0500 Received: by furball (Postfix, from userid 1000) id 6E2CA16059F; Sat, 4 Dec 2010 20:16:31 -0500 (EST) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 7470 Date: Sat, 04 Dec 2010 20:16:31 -0500 Message-ID: <87lj452f4g.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.145 X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) close 7470 thanks From unknown Mon Jun 23 11:28:12 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 02 Jan 2011 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator