all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Deniz Dogan <deniz.a.m.dogan@gmail.com>
To: Deniz Dogan <deniz.a.m.dogan@gmail.com>, emacs-devel@gnu.org
Subject: Re: Bug in highlight-lines-matching-regexp?
Date: Mon, 20 Apr 2009 17:10:51 +0200	[thread overview]
Message-ID: <7b501d5c0904200810g2e85fd10v2daf644a9e12e7b5@mail.gmail.com> (raw)
In-Reply-To: <7b501d5c0904200809v6e30996an8b76dce4abdf85a5@mail.gmail.com>

2009/4/20 Deniz Dogan <deniz.a.m.dogan@gmail.com>:
> 2009/4/20 Tassilo Horn <tassilo@member.fsf.org>:
>> Deniz Dogan <deniz.a.m.dogan@gmail.com> 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 <tab> l i n <tab> <return> S T R O K E <return> <return>
> M-x r e v e r t - b u f <tab> <return> y e s <return> M-x <up> <up>
> <return> <return> <return>
>
> 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.




  reply	other threads:[~2009-04-20 15:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-20 14:25 Bug in highlight-lines-matching-regexp? Deniz Dogan
2009-04-20 15:02 ` Tassilo Horn
2009-04-20 15:09   ` Deniz Dogan
2009-04-20 15:10     ` Deniz Dogan [this message]
2009-04-20 15:44       ` Tassilo Horn
2009-04-20 15:53 ` martin rudalics
2009-04-20 15:59   ` Deniz Dogan
2009-04-21  7:19     ` martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7b501d5c0904200810g2e85fd10v2daf644a9e12e7b5@mail.gmail.com \
    --to=deniz.a.m.dogan@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.