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

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

bug#39207: WITH dgb symbols Re: bug✓39207: 28.0.50; crash when sending g


From: Robert Pluim
Subject: bug#39207: WITH dgb symbols Re: bug✓39207: 28.0.50; crash when sending gnus message
Date: Wed, 22 Jan 2020 22:15:42 +0100

>>>>> On Wed, 22 Jan 2020 21:57:59 +0100, Andreas Schwab <address@hidden> said:

    Andreas> On Jan 22 2020, Robert Pluim wrote:
    >> Perhaps Iʼm missing something, but isnʼt this just
    >> 
    >> (delete-region (point) (1+ (point)))
    >> (insert mark)

    Andreas> That wouldn't preserve text properties.

Hmm, yes. I guess you could always use text-properties-at to copy the
properties over. Is there no Emacs primitive that says 'replace this
text in the buffer with this other text and preserve the properties'
(assuming the lengths are the same, of course).

Robert





reply via email to

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