[Top][All Lists]

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

Re: write-region bug ?

From: Eli Zaretskii
Subject: Re: write-region bug ?
Date: Sun, 05 Jan 2020 05:37:18 +0200

> From: Stefan Monnier <address@hidden>
> Cc: address@hidden,  address@hidden,
>   address@hidden
> Date: Sat, 04 Jan 2020 17:58:21 -0500
> >> OTOH, the VISIT argument can't make sense when the text comes from
> >> a string rather than from a buffer.
> >
> > Why does it not make sense?  FILENAME is still provided.
> VISIT basically tells that the buffer should be considered as
> visiting FILENAME.  Here, we have VISIT and FILENAME but we don't have
> the buffer (except that by accident).

I don't think it's up to us to second-guess the caller, whether this
is an accident or not.  I can envision legitimate use cases where this
can be useful.

reply via email to

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