all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Chong Yidong" <cyd@stupidchicken.com>
Cc: David Reitter <david.reitter@gmail.com>,
	emacs-devel ' <emacs-devel@gnu.org>
Subject: Re: Turn on longlines in text modes [patch]
Date: Tue, 19 Jul 2005 08:48:49 -0400 (EDT)	[thread overview]
Message-ID: <1376.220.255.229.97.1121777329.squirrel@www.stupidchicken.com> (raw)
In-Reply-To: <851x5vfgt1.fsf@lola.goethe.zz>

>> The reason longlines-wrap-follows-window-size is nil by default is
>> that it can produce unexpected behavior when the buffer is
>> simultaneously displayed in two windows with different widths.
>
> There are several ways out of that one, I guess.  One is to allow
> settings of 'min and 'current (with the obvious implications).

Good idea.  I'll see what I can do.

> another would be to use window-local display properties for letting
> spaces display as newlines (and newlines as spaces) when some window
> has a different width.

I've actually tried implementing something like this before.  It works,
but there are more side effects than in the current longlines
implementation.  The C-a and C-e commands go to the beginning and end of
the long lines instead of screen lines, which is correct but not useful,
so they would have to be modified before this mode can work properly. 
Since there's interest, I'll see if I can iron out the problems, and post
a longlines-2-mode for people to try out.

  reply	other threads:[~2005-07-19 12:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-18 21:44 Turn on longlines in text modes [patch] David Reitter
2005-07-19  5:39 ` Chong Yidong
2005-07-19  6:31   ` David Kastrup
2005-07-19 12:48     ` Chong Yidong [this message]
2005-07-19 14:29       ` Stefan Monnier
2005-07-19 11:12   ` David Reitter
2005-07-20  8:34 ` Richard M. Stallman

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

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

  git send-email \
    --in-reply-to=1376.220.255.229.97.1121777329.squirrel@www.stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=david.reitter@gmail.com \
    --cc=emacs-devel@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.