unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Richard M. Stallman" <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Turn on longlines in text modes [patch]
Date: Wed, 20 Jul 2005 04:34:24 -0400	[thread overview]
Message-ID: <E1DvA24-0007xs-Bf@fencepost.gnu.org> (raw)
In-Reply-To: <993C95CD-DA31-4B96-A73F-94D0B46A4B65@gmail.com> (message from David Reitter on Mon, 18 Jul 2005 22:44:59 +0100)

    Also, can I suggest to turn on longlines-wrap-follows-window-size by  
    default?

It sounds like a good idea to me.
But maybe there should be a user-settable maximum.

    There are several ways out of that one, I guess.  One is to allow
    settings of 'min and 'current (with the obvious implications), 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.

`min' would certainly give consistent results.  To use the selected
window, it should be `selected', not `current'; this could work
presuming the code runs at the right time not to get confused
about which window that will be.

    By the way: longlines-mode (with longlines-wrap-follows-window-size)  
    seems to wrap to early when using a variable-width font. Since  
    variable-width fonts are predominantly used in text (as opposed to  
    code) writing contexts, and that's where longlines-mode plays an  
    important role, it might be a good idea to think about a fix.

This is an entry in etc/TODO--to make the indentation and filling
commands handle variable-width fonts.  I'd really be glad if someone
would work on this.

      parent reply	other threads:[~2005-07-20  8:34 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
2005-07-19 14:29       ` Stefan Monnier
2005-07-19 11:12   ` David Reitter
2005-07-20  8:34 ` Richard M. Stallman [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=E1DvA24-0007xs-Bf@fencepost.gnu.org \
    --to=rms@gnu.org \
    --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 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).