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

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

Re: indirect-buffers and text-properties


From: Stefan Monnier
Subject: Re: indirect-buffers and text-properties
Date: Fri, 31 Jan 2014 08:35:04 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> Having a buffer automatically do this when a new window is displayed
> might be difficult; I think it would need an awful lot of DWIM
> semantics, and I am not sure what these would be.

Stashing point when undisplaying a buffer can be done automatically
without harming anyone.  The DWIM semantics would only show up if/when
the user wants to use one of those stashed points.

> Indeed. I shall look at these solutions before I go further; but
> fiddling with major modes to make them work together is also
> a costly exercise.

I know, but that's what needs to happen: someone should take the
experience of mmm-mode, mumamo, and friends and come up with some set of
"rules" which major modes should follow so that these things can
work reliably.

Once that's done, it's only a matter of going around and adapting the
existing major modes to those rules, and providing some infrastructure
so that new major modes can follow those rules easily.


        Stefan




reply via email to

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