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

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

Re: highlighting one buffer according to another


From: Samuel Wales
Subject: Re: highlighting one buffer according to another
Date: Wed, 14 Sep 2022 21:36:37 -0700

more below.

On 9/14/22, Stefan Monnier via Users list for the GNU Emacs text
editor <help-gnu-emacs@gnu.org> wrote:
> How do the original (say diff-mode) buffer and your mydiff buffer differ
> (or how are they related)?
> Is `mydiff` generated from `diff`?
> What do you mean by "gutter"?

mydiff's major mode is a derived mode of diff-mode.  gutter is the
place where - and + are in diff -u format.

capturing orig line by line and placing each line as some type of
global marker or soemhing in a text property on each line in mydiff is
something that i have considered, but i'm not sure if i want to do
that or can or if it is the right thing to do in context.

registering aftr the fact could work better for the user, but i am
also not sure if that is the right thing to do.



reply via email to

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