From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Deniz Dogan Newsgroups: gmane.emacs.devel Subject: Re: Bug in highlight-lines-matching-regexp? Date: Mon, 20 Apr 2009 17:10:51 +0200 Message-ID: <7b501d5c0904200810g2e85fd10v2daf644a9e12e7b5@mail.gmail.com> References: <7b501d5c0904200725r5f2590d6p4ca430c44abd007c@mail.gmail.com> <87fxg3id11.fsf@thinkpad.tsdh.de> <7b501d5c0904200809v6e30996an8b76dce4abdf85a5@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1240241227 1009 80.91.229.12 (20 Apr 2009 15:27:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Apr 2009 15:27:07 +0000 (UTC) To: Deniz Dogan , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 20 17:28:27 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LvvOv-00025m-MR for ged-emacs-devel@m.gmane.org; Mon, 20 Apr 2009 17:27:17 +0200 Original-Received: from localhost ([127.0.0.1]:42562 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LvvNW-0003Vs-Ib for ged-emacs-devel@m.gmane.org; Mon, 20 Apr 2009 11:25:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lvv9A-0002l1-HN for emacs-devel@gnu.org; Mon, 20 Apr 2009 11:11:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lvv94-0002kB-FU for emacs-devel@gnu.org; Mon, 20 Apr 2009 11:10:59 -0400 Original-Received: from [199.232.76.173] (port=52789 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lvv92-0002jo-Tp for emacs-devel@gnu.org; Mon, 20 Apr 2009 11:10:53 -0400 Original-Received: from mail-fx0-f166.google.com ([209.85.220.166]:34061) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lvv92-0004mz-Ch for emacs-devel@gnu.org; Mon, 20 Apr 2009 11:10:52 -0400 Original-Received: by fxm10 with SMTP id 10so2150909fxm.42 for ; Mon, 20 Apr 2009 08:10:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Rcha521jkL4AdDsnazUfZSmC/QLAnDWE178Xn9STk68=; b=SV7KIFopMlQ2BQm1bSeMUn9FzNQIedOjTG5ipgL38VQx2JqyCBjMBXFvt8uvKVL+1b 80u0HxZwBOdoMJGZQK0f/5EsyhokERI21yz4RNNk8tESeLdVzTIs2EI38aCmhtnSKwrV arv/LnqTiM0esMvKrCT8QBWwbWklxoev3XZmY= 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 :content-type:content-transfer-encoding; b=CFAFUIZHywjkBs7IN/J3amfmkPIYkoUYeg7jOQMs5qjBND+A80kxbP3uuR/lzoi4Ia aO9EivrMhbbUboeG9hwS/rT9zi25o0qHzvtAfd2+sDrpqkIu/eMCFqVBcTs4aT5Y3cx/ FuaTyXc/SgICfTH1/uGV17YxUxAQBXrcrXjfM= Original-Received: by 10.86.94.11 with SMTP id r11mr4038758fgb.11.1240240251549; Mon, 20 Apr 2009 08:10:51 -0700 (PDT) In-Reply-To: <7b501d5c0904200809v6e30996an8b76dce4abdf85a5@mail.gmail.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:110364 Archived-At: 2009/4/20 Deniz Dogan : > 2009/4/20 Tassilo Horn : >> Deniz Dogan writes: >> >> Hi Deniz, >> >>> I recently found some strange behavior in the highlighting >>> functionality provided by highlight-lines-matching-regexp. I'm not >>> sure whether this is a bug or not, which is why I'm asking. >>> >>> Reproduction: >>> 1. Open a text file with any relevant contents. >>> 2. M-x highlight-lines-matching-regexp and highlight something in the file. >>> 3. M-x revert-buffer RET yes RET >>> 4. Now the highlighting is gone, which I can accept, however... >>> 5. M-x highlight-lines-matching-regexp RET RET >>> 6. Nothing is highlighted this second time! >>> >>> Is this a bug or expected behavior? >> >> I've just tried it, and it works for me as it should when reusing the >> previous regexp (which is the default) in step 5. >> >> Did you try with "emacs -Q" to be sure that no local customization >> causes the breakage? >> >> Bye, >> Tassilo > > Yes, I tried this with emacs -Q and I still experience the same > behaviour. FWIW, here's the output from view-lossage: > > M-x h i g h l l i n S T R O K E > M-x r e v e r t - b u f y e s M-x > > > I should also mention that I didn't modify the file before reverting > the buffer, so the contents were exactly the same. And oh, yeah, I'm using Emacs 23.0.92.1.