all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Miles Bader <miles@gnu.org>
Cc: Chong Yidong <cyd@stupidchicken.com>, Emacs Devel <emacs-devel@gnu.org>
Subject: Re: Word wrapping and long lines
Date: Fri, 19 Sep 2008 04:37:49 +0200	[thread overview]
Message-ID: <48D3107D.80002@gmail.com> (raw)
In-Reply-To: <buo8wtoswci.fsf@dhapc248.dev.necel.com>

Miles Bader wrote:
> "Lennart Borgman (gmail)" <lennart.borgman@gmail.com> writes:
>>>> (2) Having the margin be on the other side of the fringe is kind of
>>>> annoying; personally, when I want a bunch of whitespace on the right, I
>>>> want it to be whitespace, without the "barrier" the fringe represents.
>>> I do not know what to do about the barrier, but this takes care of the
>>> left margin.
>> But ... - why do you car about the barrier? I mean there is no new line
>> characters involved. The text is "floating".
> 
> It's visually distracting.  I want the fringe to be exactly that -- a
> fringe, on the edge of the display, not in the middle of my window.
> 
> I think the essential problem is that putting the margin areas on the
> opposite side of the fringe from the text was just kind of stupid in the
> first place.  I dunno why that was done...
> 
> Given that almost no code seems to use the margins, I think it might be
> reasonable to change their locations without bothering about backward
> compatibility.

Yes, I can see what you mean.

I found another small problem. There is a confusion between buffer and
window margins here. The doc says that left-margin-width and dito right
may be nil. However they seem to be 0 by default, but when displaying a
buffer in a window then window-margins returns (nil).

This prevents using the buffer values in a meaningful way in code like
that I sent here.




  reply	other threads:[~2008-09-19  2:37 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-18 22:13 Word wrapping and long lines Lennart Borgman (gmail)
2008-09-18 23:30 ` Chong Yidong
2008-09-18 23:58   ` Lennart Borgman (gmail)
2008-09-19  1:12     ` Chong Yidong
2008-09-19  1:29       ` Lennart Borgman (gmail)
2008-09-19  1:36         ` Miles Bader
2008-09-19  2:03           ` Lennart Borgman (gmail)
2008-09-19  2:06             ` Lennart Borgman (gmail)
2008-09-19  2:28               ` Miles Bader
2008-09-19  2:37                 ` Lennart Borgman (gmail) [this message]
2008-09-19  2:43                 ` Stefan Monnier
2008-09-19  2:53                   ` Miles Bader
2008-09-20 10:45                 ` Johan Bockgård
2008-09-20 15:51     ` Johan Bockgård

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=48D3107D.80002@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=miles@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.