Juri Linkov wrote: > > When using occur, I just found out that there was a command > > occur-mode-display-occurrence (C-o) that let me stay in the > > *occur*-buffer. Nice! > > > > Wouldn't it be a good idea to highlight the occurrence, at least > > temporarily, instead of just putting the not-so-easily-seen point on > > it? > > Obviously, occur should be extended with more features already available > in grep buffers. And one of them is using the next-error face to > highlight matches in the source buffer. Sadly, now is the wrong time > to add these features. (I also have tons of other improvements patiently > waiting for the feature unfreeze.)
From: Matzi Kratzi Date: 2007-03-12 Stefan Monnier asked me if I had used hl-line-mode in the occur buffers. I think Juri got what I meant: I think the corresponding location in the "source" buffer is not marked enough. A behaviour like grep where there location is temporarily highlighted is nice. (But there you end up in the source buffer, and I would like to be able to stay in the *occur* or the *grep* buffer.) /Mats Mats, I agree with Juri that it would be good to improve Occur in Emacs in various ways after the release. While waiting for that, you can get what you requested now, with library replace+.el: http://www.emacswiki.org/cgi-bin/wiki/replace%2b.el. Here's some explanation: http://www.emacswiki.org/cgi-bin/wiki/ReplacePlus#OccurImprovements. HTH - Drew _______________________________________________ emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
