help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] ishl.el does not work in version 22.1


From: Lennart Borgman (gmail)
Subject: Re: [h-e-w] ishl.el does not work in version 22.1
Date: Sun, 17 Jun 2007 02:04:58 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070604 Thunderbird/2.0.0.4 Mnenhy/0.7.5.666

Hm, I just realized that it was an unnecessary fix I did ;-)

I think this functionality is there already in isearch in Emacs 22. I just did not find it at first.

It is controlled by the variable lazy-highlight-cleanup, which can be customized. Can you test that and see if it does what you want?


Frosch, Johan W (Hans) wrote:
Works perfectly again!

I am not much of a Lisp programmer, but I am curious how you found this
fix so quickly.

Thank you, Lennart.

-----Original Message-----
From: Lennart Borgman (gmail) [mailto:address@hidden Sent: Saturday, June 16, 2007 04:06
To: Frosch, Johan W (Hans)
Subject: Re: [h-e-w] ishl.el does not work in version 22.1

Ah, I see, it stays highlighted. That seems useful. Why don't you propose that as a feature to Emacs developers?

For now I think this little change works:

(defun ishl-update ()
   ;;(if isearch-invalid-regexp
   (if (not isearch-success)


Frosch, Johan W (Hans) wrote:
The BIG thing it does is, when you 'search' for something, all
occurrences found are highlighted, AND STAY HIGHLIGHTED, until you
start
a new search.

At least, that is the major advantage I got so very used to (you could
say "addicted to").

So, just scrolling up/down a big file, you immediately 'see' all
occurrences of the search-string, without having to issue a new
search!!!


-----Original Message-----
From: Lennart Borgman (gmail) [mailto:address@hidden Sent: Friday, June 15, 2007 19:15
To: Frosch, Johan W (Hans)
Subject: Re: [h-e-w] ishl.el does not work in version 22.1

But what does it do then? I took a look at the documentation and it
said
that it highlight every match. But isearch does that by default in
Emacs
22.

I am missing something I guess ;-)


Frosch, Johan W (Hans) wrote:
Absolutely, definitely.
I would switch back and forth between 21.3 and 22.1 just because of
it.
I did not realize before how much I got to depend on it.


-----Original Message-----
From: Lennart Borgman (gmail) [mailto:address@hidden Sent: Friday, June 15, 2007 16:59
To: Frosch, Johan W (Hans)
Cc: address@hidden
Subject: Re: [h-e-w] ishl.el does not work in version 22.1

Frosch, Johan W (Hans) wrote:
I have been using emacs (version 21.3 and earlier) as my favorite
editor
for many years (on Windows and Solaris/Unix/Linux).

Recently, when I saw that the long awaited version 22.1 was
released,
I
decided to upgrade.
And so far I am quite pleased with its enhancements.

There is however one peeve that I like to report and hopefully get a
solution for.

Over the years I have been using Bob Glickstein's ishl.el (1997
---extra
isearch highlighting), and have gotten quite used (and attached) to
it.
It seems to be doing nothing at all however in version 22.1
Also, it does not seem to make any difference if I comment out the
lines
in my .emacs or not. (Byte-compiling with v22.1 also did not make
any
difference.)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; `ishl-mode' is a mode that does additional highlighting during
incremental searches.
(require 'ishl)
(ishl-mode 1)
(setq-default ishl-cleanup nil)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

I 'googled' for a newer version of ishl.el but there does not seem
to
be
a newer than I have.
I have never used ishl.el, but took a quick look now. Do you need it with Emacs 22.1?






reply via email to

[Prev in Thread] Current Thread [Next in Thread]