unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: David Reitter <david.reitter@gmail.com>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>, "Kim F. Storm" <storm@cua.dk>
Subject: Re: Longlines mode in menu
Date: Thu, 12 Jun 2008 13:14:20 -0400	[thread overview]
Message-ID: <87hcbylgnn.fsf@stupidchicken.com> (raw)
In-Reply-To: <87y75apq0v.fsf@stupidchicken.com> (Chong Yidong's message of "Thu, 12 Jun 2008 12:38:24 -0400")

Chong Yidong <cyd@stupidchicken.com> writes:

>> Internally, they would move to the next paragraph, which is the next
>> line in the underlying file.  That may well be the correct behavior.
>> This is not any different from `truncate-lines' being nil, with the
>> occasional line wrapped.
>>
>> Things like C-n can be changed to actually move to the next line.
>> For Aquamacs I have written code that moves to the next (visible) line
>> and places the cursor as close (horizontally) as possible.  This is
>> also relevant when using variable-width fonts.  I'd be more than happy
>> to contribute that.
>
> In the long run, this approach is definitely the way to go.  The main
> concern is that rebinding the motion commands is a non-trivial change.
> Unless it's unavoidable, I'd prefer not to revisit this issue during the
> current release cycle.  If it's possible to change font-lock to
> understand soft newlines, that might be a better fix for the moment.

However, it may be a good idea to incorporate Kim's patch now, *without*
rebinding any motion commands, and provide it as an alternative value
for `truncate-line'.  This would be useful for editing files with
occasional long lines, e.g. code with long comments.  Editing text that
consists mostly of long lines would be cumbersome, but no worse than
with the current continued/truncated lines system.




  reply	other threads:[~2008-06-12 17:14 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-05  5:42 Longlines mode in menu Chong Yidong
2008-06-05  5:53 ` Miles Bader
2008-06-05 12:50   ` Chong Yidong
2008-06-05 16:41 ` Paul R
2008-06-05 18:55   ` Chong Yidong
2008-06-06 21:27 ` Chong Yidong
2008-06-12 10:48 ` David Reitter
2008-06-12 11:00   ` Miles Bader
2008-07-11 21:21     ` Kim F. Storm
2008-07-12  2:51       ` Chong Yidong
2008-07-14  3:08         ` Miles Bader
2008-06-12 15:05   ` Chong Yidong
2008-06-12 16:12     ` David Reitter
2008-06-12 16:38       ` Chong Yidong
2008-06-12 17:14         ` Chong Yidong [this message]
2008-06-12 22:32           ` Chong Yidong
2008-06-13  6:45             ` David Reitter
2008-06-12 19:38       ` Stefan Monnier
2008-06-13  3:04         ` Kevin Rodgers
2008-06-13  3:13           ` Stefan Monnier
2008-06-13  7:36             ` Lennart Borgman (gmail)
2008-06-18  6:48         ` David Reitter
2008-06-18  7:13           ` Lennart Borgman (gmail)
2008-06-18  8:38             ` David Reitter
2008-06-18 16:17               ` Lennart Borgman (gmail)
2008-06-18 16:55                 ` David Reitter
2008-06-18 20:50                   ` Lennart Borgman (gmail)
2008-06-18 20:59                     ` David Reitter
2008-06-18 21:17                       ` Lennart Borgman (gmail)
2008-06-18 21:38                         ` David Reitter
2008-06-18 21:53                           ` Lennart Borgman (gmail)
2008-06-19  0:22                     ` Miles Bader
2008-06-19  7:21                       ` Lennart Borgman
2008-06-19  7:39                         ` Miles Bader
2008-06-19  7:58                           ` Lennart Borgman (gmail)
2008-06-19 13:51                     ` Stefan Monnier
2008-06-20 18:50                       ` Lennart Borgman (gmail)
2008-06-20 19:47                         ` Stefan Monnier
2008-06-20 19:53                           ` Lennart Borgman (gmail)
2008-06-20 20:13                             ` Miles Bader
2008-06-20 20:16                               ` Lennart Borgman (gmail)
2008-06-21  0:11                                 ` Miles Bader
2008-06-21  0:15                                   ` Lennart Borgman (gmail)
2008-06-20 21:23                             ` Stefan Monnier
2008-06-20 23:39                               ` Lennart Borgman (gmail)
2008-06-21  7:19                                 ` David Reitter
2008-06-21 13:08                                   ` Lennart Borgman (gmail)
2008-06-12 19:39     ` Stefan Monnier

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=87hcbylgnn.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=david.reitter@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=storm@cua.dk \
    /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).