From: Robert Pluim <rpluim@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: zero-width line continuation glyph
Date: Tue, 11 Sep 2018 14:51:32 +0200 [thread overview]
Message-ID: <87tvmwci3v.fsf@gmail.com> (raw)
In-Reply-To: <83o9d4mcpx.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 11 Sep 2018 15:37:46 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Robert Pluim <rpluim@gmail.com>
>> Date: Tue, 11 Sep 2018 13:58:55 +0200
>>
>> Iʼm trying to get the line continuation character to not be shown for
>> lines that are exactly as long as the window width. In a GUI frame,
>> with the fringe turned off, I can do:
>>
>> (let ((disptab (or buffer-display-table
>> (setq buffer-display-table (make-display-table)))))
>> (set-display-table-slot disptab 'wrap (gethash "ZERO WIDTH SPACE" (ucs-names))))
>>
>> which causes the '\' to not be shown, but the next character does not
>> get displayed in its place, ie
>
> Actually, I'm not sure this will work at all, because Emacs needs a
> place to put the cursor at EOL. So it cannot put a character there,
> because without a fringe, there's no place to display the cursor.
Youʼre right: customizing glyphless-char-display-control to
zero-width for 'format-control' makes no difference.
> I think you will have a much better approximation of what you want if
> you keep the fringe, but make it 1-pixel wide.
Unfortunately emacs -nw has no fringes.
Robert
next prev parent reply other threads:[~2018-09-11 12:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-11 11:58 zero-width line continuation glyph Robert Pluim
2018-09-11 12:24 ` Eli Zaretskii
2018-09-11 12:52 ` Robert Pluim
2018-09-11 12:37 ` Eli Zaretskii
2018-09-11 12:51 ` Robert Pluim [this message]
2018-09-11 13:08 ` Eli Zaretskii
2018-09-11 13:12 ` Robert Pluim
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=87tvmwci3v.fsf@gmail.com \
--to=rpluim@gmail.com \
--cc=eliz@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 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.