unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@gnu.org>
To: "Peter Seibel" <peter@gigamonkeys.com>
Cc: 1425-done@debbugs.gnu.org
Subject: bug#1425: Longlines mode not preserving text properties
Date: Fri, 30 Nov 2012 14:58:47 +0800	[thread overview]
Message-ID: <87mwxzpoew.fsf@gnu.org> (raw)
In-Reply-To: <40e4e7e50811241522r10327681ta441587a1c56e260@mail.gmail.com> (Peter Seibel's message of "Mon, 24 Nov 2008 15:22:33 -0800")

"Peter Seibel" <peter@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.





      reply	other threads:[~2012-11-30  6:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-24 23:22 bug#1425: Longlines mode not preserving text properties Peter Seibel
2012-11-30  6:58 ` Chong Yidong [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mwxzpoew.fsf@gnu.org \
    --to=cyd@gnu.org \
    --cc=1425-done@debbugs.gnu.org \
    --cc=peter@gigamonkeys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).