[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] emacs-26 ec02c73: Update process filter example (Bug#3
Re: [Emacs-diffs] emacs-26 ec02c73: Update process filter example (Bug#35044)
Tue, 7 May 2019 06:44:02 -0400
On Sat, 4 May 2019 at 09:22, Stefan Monnier <address@hidden> wrote:
> > If it's undesirable, then we should stop doing it in the default filter.
> I don't think it's worth changing long-standing behavior, no.
> But showing it as an example that people may then follow is
> another issue.
> > But since we are currently doing it in the default filter,
> > what kind of problems is that leading to (I'm not aware of any)?
> The problem is that it's blunt because it applies equally to all
> markers/overlays. It's almost always the case that it's much better to
> use `insert` and rely on your markers's insertion-type to control
> the behavior.
I just don't see how we can say it's almost always much better to use
`insert', and then use `insert-before-markers' by default.
"Do as we say, not as we do".