From: Vinicius Jose Latorre <viniciusjl@ig.com.br>
To: David Reitter <david.reitter@gmail.com>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>, Miles Bader <miles@gnu.org>
Subject: Re: fringe symbol for newline
Date: Thu, 10 Jul 2008 19:37:03 -0300 [thread overview]
Message-ID: <48768F0F.6090604@ig.com.br> (raw)
In-Reply-To: <581AAD1F-E2A1-4280-9970-EFEC44D29D08@gmail.com>
David Reitter wrote:
> On 9 Jul 2008, at 23:06, Miles Bader wrote:
>
>> David Reitter <david.reitter@gmail.com> writes:
>>> Now that we have improved wrapping to support DTWW, it would be nice if
>>> the fringe could mark visual lines that end with a newline.
>>
>> Note that you can rather easily cause a special symbol (e.g. ¶, ↲, or
>> what-have-you) to be displayed before newlines, using the display-table.
>>
>> That seems to be what most other apps do anyway (rather than putting
>> something "in the fringe")?
>
> Right, and they also don't have fringes (at least not used for similar
> purposes).
Hmmmm, ok, how do the symbols look in the fringe?
That is, I was thinking something like:
| LF RF | COMMENT
| | This is a short line. | a short line (short symbol)
| | an empty line (no symbol)
| + This is a very very ver < | starts a very long line (begin symbol)
| > y long line that finish < | middle of a very long line (middle symbol)
| - s here. | ends a very long line (end symbol)
Where, RF means Right Fringe and LF means Left Fringe.
But it seems that David's suggestion is:
| LF RF | COMMENT
| This is a short line. | a short line
| | | an empty line (paragraph symbol)
| This is a very very ver < | starts a very long line
| > y long line that finish < | middle of a very long line
| s here. | ends a very long line
> That said, below is some code that does this for me (put together from
> code by Drew Adams and whitespace.el).
> It's not simple enough for your average user to do this, and since
> it's a standard function in other editors, I would like to see this as
> a simple-to-enable standard function in 23, possibly even with an
> entry in the Options menu. (I couldn't make whitespace (in 22) do the
> same.)
Well, to use whitespace package in Emacs 21 and/or 22, please, download
it from the EmacsWiki:
http://www.emacswiki.org/cgi-bin/emacs/download/whitespace.el
This version is prepared to run in Emacs 21, 22 and 23.
> Also, I'd still prefer this to be in the fringe. It's a lot less
> intrusive. You need this sort of information only occasionally.
Well, indeed it's less intrusive.
next prev parent reply other threads:[~2008-07-10 22:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-09 14:28 fringe symbol for newline David Reitter
2008-07-10 3:06 ` Miles Bader
2008-07-10 11:20 ` Vinicius Jose Latorre
2008-07-10 18:40 ` David Reitter
2008-07-10 20:04 ` Juri Linkov
2008-07-10 22:37 ` Vinicius Jose Latorre [this message]
2008-07-10 23:03 ` Juri Linkov
2008-07-10 23:58 ` Vinicius Jose Latorre
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=48768F0F.6090604@ig.com.br \
--to=viniciusjl@ig.com.br \
--cc=david.reitter@gmail.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.