From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dale Schaafsma Newsgroups: gmane.emacs.help Subject: Re: bug in hi-lock? Date: Wed, 20 May 2009 11:32:08 -0500 Message-ID: References: <11e22679-5000-411a-9092-91e01436cb80@o30g2000vbc.googlegroups.com> <20090520070644.GA1353@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=0015175cd46a8df4da046a5a910a X-Trace: ger.gmane.org 1242837176 32572 80.91.229.12 (20 May 2009 16:32:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 May 2009 16:32:56 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Alan Mackenzie Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 20 18:32:49 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M6oii-0001ud-Ry for geh-help-gnu-emacs@m.gmane.org; Wed, 20 May 2009 18:32:45 +0200 Original-Received: from localhost ([127.0.0.1]:39039 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6oii-0004Co-8L for geh-help-gnu-emacs@m.gmane.org; Wed, 20 May 2009 12:32:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M6oiG-0004CB-0y for help-gnu-emacs@gnu.org; Wed, 20 May 2009 12:32:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M6oiA-0004B0-Gu for help-gnu-emacs@gnu.org; Wed, 20 May 2009 12:32:15 -0400 Original-Received: from [199.232.76.173] (port=60681 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6oiA-0004At-6d for help-gnu-emacs@gnu.org; Wed, 20 May 2009 12:32:10 -0400 Original-Received: from mail-qy0-f116.google.com ([209.85.221.116]:39795) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M6oi9-0003u4-LJ for help-gnu-emacs@gnu.org; Wed, 20 May 2009 12:32:09 -0400 Original-Received: by qyk14 with SMTP id 14so898347qyk.14 for ; Wed, 20 May 2009 09:32:08 -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:cc:content-type; bh=SpaGj3vM5Aj2dUWtyPGeI3vCUqH4Av2nCabYangZwk0=; b=UHygKmFBHhDGG9mUOvJ1aBXdf8KvkUZ0+Wuq64sGlhSXIl7JLje+sz5001WuVm2YWh G9yKpHpZuuhWxgSHHZu2/hmrPYIwomjZyU67yTkjSmYX5WN9A9QD6jVzJfswZPm3286n m0flGl3471PCTFw9jWwI0AH2FsDfad8jiJBRk= 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; b=OV82THTYVYwJzj/L5vMwRs7dBz7w56JimOYPlghuRAiQNjMJfmcRUua16GL3D+Qk9d q7Zy4wp5ENy1WtFbrhRc5comOGHqXN38PYThxNHSWmIaR2jVoylYxAOnHqgnUm0OSj3k MB8/ej05UgpSNsvXaAQU/5vQp5litWV2JofsA= Original-Received: by 10.224.6.74 with SMTP id 10mr1485356qay.242.1242837128442; Wed, 20 May 2009 09:32:08 -0700 (PDT) In-Reply-To: <20090520070644.GA1353@muc.de> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64595 Archived-At: --0015175cd46a8df4da046a5a910a Content-Type: multipart/alternative; boundary=0015175cd46a8df4cf046a5a9108 --0015175cd46a8df4cf046a5a9108 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi Alan, I've attached a small text file...my regex is foo...and I just hit return to take the default color of hi-yellow. Thanks for the compliment on the bug report (I do write&debug software so I've tried to be specific!)...should I send this message to the address below? Thanks, Dale On Wed, May 20, 2009 at 2:06 AM, Alan Mackenzie wrote: > Hi, Dale! > > On Tue, May 19, 2009 at 01:16:46PM -0700, Dale wrote: > > Hi All, not sure where to issue potential bug reports. Apologies if > > I'm in the wrong place. > > bug-gnu-emacs@gnu.org is the bug place, but no worries! > > > I'm running GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) > > > Running the following scenario caused hi-lock to automatically disable > > for me. > > emacs -Q > > M-x eval-expression > > (global-hi-lock-mode 1) > > ;; load a file at this point > > C-x w h > > ;; type in my regex, and it is successfully highlighted after picking > > my color > > > ;; the second instantiation of the command causes issues > > C-x w ;; results in "C-x w is undefined" in the message bar. > > > Has anyone else seen this? or am I doing something incorrectly? > > Yes, this has happened to me sporadically, and it's irritated me > something rotten. It's been one of these things which isn't quite bad > enough to warrant full-scale debugging, yet bad enough to irk. ;-) > > Trouble is, I can't now reproduce it now with your recipe (above). ;-( > > From the way you describe it, I'm assuming that you can make the bug > happen repeatedly. The only thing you haven't specified precisely above > is what file you're loading and what regexp you type. (In general, a > brilliant bug report, by the way.) > > Any chance you could supply the file and state the regexp? Best would > be if you could include a small source file in your post, or give the > name of, say, an Emacs source file. > > > Thanks, > > Dale > > -- > Alan Mackenzie (Nuremberg, Germany). > --0015175cd46a8df4cf046a5a9108 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Alan,
=A0 I've attached a small text file...my regex is foo...and= I just hit return to take the default color of hi-yellow.
=A0 Thanks fo= r the compliment on the bug report (I do write&debug software so I'= ve tried to be specific!)...should I send this message to the address below= ?
=A0
=A0Thanks,
=A0Dale

On Wed, May = 20, 2009 at 2:06 AM, Alan Mackenzie <acm@muc.de> wrote:
Hi, Dale!

On Tue, May 19, 2009 at 01:16:46PM -0700, Dale wrote:
> Hi All, not sure where to issue potential bug reports. Apologies if > I'm in the wrong place.

bug-gnu-emacs@gnu.org is the b= ug place, but no worries!

> I'm running GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600)

> Running the following scenario caused hi-lock to automatically disable=
> for me.
> emacs -Q
> M-x eval-expression
> (global-hi-lock-mode 1)
> ;; load a file at this point
> C-x w h
> ;; type in my regex, and it is successfully highlighted after picking<= br> > my color

> ;; the second instantiation of the command causes issues
> C-x w =A0 ;; results in "C-x w is undefined" in the message = bar.

> =A0Has anyone else seen this? or am I doing something incorrectly?

Yes, this has happened to me sporadically, and it's irritated me
something rotten. =A0It's been one of these things which isn't quit= e bad
enough to warrant full-scale debugging, yet bad enough to irk. =A0;-)

Trouble is, I can't now reproduce it now with your recipe (above). =A0;= -(

>From the way you describe it, I'm assuming that you can make the bug happen repeatedly. =A0The only thing you haven't specified precisely ab= ove
is what file you're loading and what regexp you type. =A0(In general, a=
brilliant bug report, by the way.)

Any chance you could supply the file and state the regexp? =A0Best would be if you could include a small source file in your post, or give the
name of, say, an Emacs source file.

> Thanks,
> =A0Dale

--
Alan Mackenzie (Nuremberg, Germany).

--0015175cd46a8df4cf046a5a9108-- --0015175cd46a8df4da046a5a910a Content-Type: text/plain; charset=US-ASCII; name="foo.txt" Content-Disposition: attachment; filename="foo.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_fuy94qnn0 OzsgVGhpcyBidWZmZXIgaXMgZm9yIG5vdGVzIHlvdSBkb24ndCB3YW50IHRvIHNhdmUsIGFuZCBm b3IgTGlzcCBldmFsdWF0aW9uLg0KOzsgSWYgeW91IHdhbnQgdG8gY3JlYXRlIGEgZmlsZSwgdmlz aXQgdGhhdCBmaWxlIHdpdGggQy14IEMtZiwNCjs7IHRoZW4gZW50ZXIgdGhlIHRleHQgaW4gdGhh dCBmaWxlJ3Mgb3duIGJ1ZmZlci4NCg0KOzsgcmVnZXggdXNlZDogZm9vDQoNCmZvbyB0aGlzIGlz IGEgZm9vIHRoYXQganVtcGVkIG92ZXIgdGhlIGZvbw0KdGhlIHF1aWNrIGJyb3duIGZveCBqdW1w ZWQgb3ZlciB0aGUgbGF6eSBkb2cNCk5vdyBpcyB0aGUgdGltZSBmb3IgYWxsIGdvb2QgbWVuIHRv IGNvbWUgdG8gdGhlIGFpZCBvZiB0aGUgcGFydHkNClRoZSBxdWljayBvbnl4IGdvYmxpbiBqdW1w cyBvdmVyIHRoZSBsYXp5IGR3YXJmDQpOb3cgaXMgdGhlIHRpbWUgZm9yIGFsbCBnb29kIG1lbiB0 byBjb21lIHRvIHRoZSBhaWQgb2YgdGhlaXIgY291bnRyeS4NCmZvbyB0aGlzIGlzIGEgZm9vIHRo YXQganVtcGVkIG92ZXIgdGhlIGZvbw0K --0015175cd46a8df4da046a5a910a--