[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A few questions about occur-mode
From: |
Juanma Barranquero |
Subject: |
Re: A few questions about occur-mode |
Date: |
Mon, 23 Sep 2002 13:50:24 +0200 |
On Mon, 23 Sep 2002 13:04:54 +0200, Juanma Barranquero <address@hidden> wrote:
> OTOH, adding back occur-point is a one- or two- line change:
Well, in fact is more like it:
`(font-lock-face ,match-face)))
curstring)
+ (put-text-property (match-beginning 0) (1+
(match-beginning 0)) 'occur-point t curstring)
(setq start (match-end 0))))
;; Generate the string to insert for this match
(let* ((out-line
because otherwise there could be problems with matches at the end of a
line. This leaves the point at the beginning of a match after M-n or M-p,
but that seems preferable IMHO.
Opinions?
/L/e/k/t/u
- A few questions about occur-mode, Juanma Barranquero, 2002/09/20
- Re: A few questions about occur-mode, Richard Stallman, 2002/09/23
- Re: A few questions about occur-mode, Juanma Barranquero, 2002/09/24
- Re: A few questions about occur-mode, Juanma Barranquero, 2002/09/24
- Re: A few questions about occur-mode, Richard Stallman, 2002/09/24
- Re: A few questions about occur-mode, Richard Stallman, 2002/09/24
- Re: A few questions about occur-mode, Richard Stallman, 2002/09/22