[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help: adapting your library to new M-x compile
From: |
Miles Bader |
Subject: |
Re: help: adapting your library to new M-x compile |
Date: |
05 Jan 2004 19:08:47 +0900 |
address@hidden (Daniel Pfeiffer) writes:
> Yes, but it could use the text-properties compile sets, for its hint.
> It would only need different goto commands. Mine could be tweaked such
> that yours could hook in.
This would not be an improvement in the way diff-mode works now (it
would be more complex, and probably less reliable).
> I guess the reason it's there is that your parser doesn't work on the
> fly. That's where my idea to base this on compile, i.e. font-lock,
> comes from. Then it'll work both on a diff file and on an ongoing
> command. The faces could be adapted easily to be like old diff-mode.
> As happened in compile this would mean eliminating a good part of what's
> there in diff-mode as well as almost all of diff.
Are you really sure you understand how diff-mode works?
It's basically entirely dynamic -- it calculates almost everything at
the point where you give a command that needs the information; it's
quite practical (and in fact common, for me) to edit diff files in
place, and diff-mode will use whatever the result is.
-Miles
--
P.S. All information contained in the above letter is false,
for reasons of military security.
- Re: help: adapting your library to new M-x compile, Stefan Monnier, 2004/01/04
- Re: help: adapting your library to new M-x compile, Daniel Pfeiffer, 2004/01/05
- Re: help: adapting your library to new M-x compile,
Miles Bader <=
- Re: help: adapting your library to new M-x compile, Stefan Monnier, 2004/01/05
- diff adapted for new M-x compile, Daniel Pfeiffer, 2004/01/11
- Re: diff adapted for new M-x compile, Miles Bader, 2004/01/12
- Re: diff adapted for new M-x compile, Daniel Pfeiffer, 2004/01/12
- Re: diff adapted for new M-x compile, Miles Bader, 2004/01/12
- Re: diff adapted for new M-x compile, Daniel Pfeiffer, 2004/01/13
- Re: diff adapted for new M-x compile, Miles Bader, 2004/01/13