all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: Henrik Holm <list@henrikholm.com>, emacs-devel@gnu.org
Subject: Re: Line-wrapping of 80 character long lines
Date: 17 Jan 2004 00:30:34 +0100	[thread overview]
Message-ID: <m3r7xzh3ol.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <5xadjo6ros.fsf@kfs2.cua.dk>

storm@cua.dk (Kim F. Storm) writes:

> kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes:
> 
> > Henrik Holm <list@henrikholm.com> writes:
> > 
> > > I really like the feature of Emacs 21 and higher, that the fringes are
> > > used instead of the \ character to indicate when a line has been
> > > wrapped.
> > >
> > > However, there is one part of this behavior that I find a bit
> > > misleading:  If a line is exactly 80 characters, it gets "wrapped"
> > > -- even if it is not needed. (This applies of course when my Emacs
> > > window is 80 characters.  If the Emacs window is narrrower, for
> > > instance 20 cols as in the example below, the behavior will be
> > > similar.)
> > 
> > The problem is where to put the cursor.  When point is at the end of
> > the line, where do you display the cursor?
> > 
> > One solution is to be able to display the cursor in the right
> > fringe.  Another possibility might be to display the cursor as a
> > narrow vertical bar to the right of the last character.

I just installed patches to CVS emacs to let an "exact width" line
flow into the right fringe, and put the cursor there when point is
at the end of such a line.

> Also, there's no guarantee that there is a right fringe, or whether it
> has sufficient width to show a cursor.  But for most uses, I think it
> makes good sense to display the cursor in the fringe.

It works only if there is a non-zero width fringe on the right.  Otherwise
it reverts to breaking the line as it used to.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

  reply	other threads:[~2004-01-16 23:30 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-02 15:32 Line-wrapping of 80 character long lines Henrik Holm
2002-12-02 16:50 ` Kai Großjohann
2002-12-02 21:23   ` Kim F. Storm
2004-01-16 23:30     ` Kim F. Storm [this message]
2004-01-19 18:14       ` Stefan Monnier
2004-01-20  1:06         ` Kim F. Storm
2004-01-20 15:38           ` Stefan Monnier
2004-01-19 18:30       ` Glenn Morris
2004-01-20  1:13         ` Kim F. Storm
2004-01-20  9:10         ` Harald Maier
2004-01-20 12:46           ` Kim F. Storm
2004-02-17 10:26           ` Kim F. Storm
2004-02-17 10:25         ` Kim F. Storm
2004-02-17 22:57           ` Glenn Morris
2002-12-02 23:48   ` Henrik Holm

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=m3r7xzh3ol.fsf@kfs-l.imdomain.dk \
    --to=storm@cua.dk \
    --cc=emacs-devel@gnu.org \
    --cc=list@henrikholm.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 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.