GNU bug report logs - #1425
Longlines mode not preserving text properties

Previous Next

Package: emacs;

Reported by: "Peter Seibel" <peter <at> gigamonkeys.com>

Date: Mon, 24 Nov 2008 23:30:03 UTC

Severity: normal

Tags: patch

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #12 received at 1425-done <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> gnu.org>
To: "Peter Seibel" <peter <at> gigamonkeys.com>
Cc: 1425-done <at> debbugs.gnu.org
Subject: Re: bug#1425: Longlines mode not preserving text properties
Date: Fri, 30 Nov 2012 14:58:47 +0800
"Peter Seibel" <peter <at> gigamonkeys.com> writes:

> I have some code that applies text properties via the
> write-region-annotate-functions and after-insert-file-functions
> mechanism in a major mode that also uses longlines-mode. When my text
> properties span a soft newline longlines mode doesn't preserve them
> when it converts spaces to newlines and back.
>
> The following patch seems to fix my problem but perhaps someone who
> groks longlines mode could come up with a more elegant solution.

Longlines mode has been quasi-obsoleted by Visual Line mode since this
bug was files (and soon to be formally obsoleted), but I've committed a
tweaked version of this patch that doesn't use ldiff.  Thanks.




This bug report was last modified 12 years and 235 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.