[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: indirect-buffers and text-properties
From: |
Phillip Lord |
Subject: |
Re: indirect-buffers and text-properties |
Date: |
Fri, 31 Jan 2014 16:12:34 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> 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.
I'd agree. I need to get a clear idea of how these modes work. I am not
even sure what "two modes in one buffer" looks like.
Phil
- indirect-buffers and text-properties, Phillip Lord, 2014/01/30
- Re: indirect-buffers and text-properties, Stefan Monnier, 2014/01/30
- Re: indirect-buffers and text-properties, Phillip Lord, 2014/01/30
- Re: indirect-buffers and text-properties, Stefan Monnier, 2014/01/30
- Re: indirect-buffers and text-properties, Phillip Lord, 2014/01/30
- Re: indirect-buffers and text-properties, Stefan Monnier, 2014/01/30
- Re: indirect-buffers and text-properties, Phillip Lord, 2014/01/31
- Re: indirect-buffers and text-properties, Stefan Monnier, 2014/01/31
- Re: indirect-buffers and text-properties,
Phillip Lord <=
Re: indirect-buffers and text-properties, Andreas Röhler, 2014/01/30