From: "Kévin Le Gouguec" <kevin.legouguec@gmail.com>
To: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
Cc: 44226@debbugs.gnu.org
Subject: bug#44226: display-fill-column-indicator not ready for prime time
Date: Mon, 26 Oct 2020 07:54:10 +0100 [thread overview]
Message-ID: <87tuuhmq99.fsf@gmail.com> (raw)
In-Reply-To: <875z6xj3ch.5.fsf@jidanni.org> ("積丹尼 Dan Jacobson"'s message of "Mon, 26 Oct 2020 07:25:02 +0800")
積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:
> Alas,
> for my average file.txt
> setting display-fill-column-indicator to t did nothing.
What about M-x display-fill-column-indicator-mode?
> OK describe-variable display-fill-column-indicator leads to
> (info "(emacs) Displaying Boundaries")
> OK, starting over, maybe I need to change display-fill-column-indicator-
> character
> user-error: Value ‘|’ does not match type choice of display-fill-column-indicator-character
> user-error: Value ‘x’ does not match type choice of display-fill-column-indicator-character
How did you try to set this? Based on your error message, I'm guessing
M-x set-variable?
Characters in Elisp must be spelled with a leading '?', e.g. ?| or ?x
(info "(elisp) Basic Char Syntax"). This is a bit tricky to type with
M-x set-variable, since hitting '?' in the value prompt brings up the
variable's *Help* buffer. You need to type:
M-x set-variable RET display-fill-column-indicator RET C-q ? | RET
> Documentation:
> Character to draw the indicator when ‘display-fill-column-indicator’ is non-nil.
> The default is U+2502 but a good alternative is
> ^^^^^^^^^^^SO WHY IS IT STILL NIL?
Good question (it is nil for me as well right after startup with emacs
-Q). Maybe it's set when display-fill-column-indicator-mode is called?
> (ascii 124)
> ^^^^^^^^^^ ALSO SAY '|'
I agree that either the character, or its name ("VERTICAL LINE") would
be more informative, to save the reader a roundtrip to ascii(7).
> OK, let's try some more.
> user-error: Value ‘U+2502’ does not match type choice of display-fill-column-indicator-character
> user-error: Value ‘│’ does not match type choice of display-fill-column-indicator-character
Cf above: you need to spell this with Elisp's character syntax, so
#x2502 or ?|.
next prev parent reply other threads:[~2020-10-26 6:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-25 23:25 bug#44226: display-fill-column-indicator not ready for prime time 積丹尼 Dan Jacobson
2020-10-26 6:54 ` Kévin Le Gouguec [this message]
2020-10-26 7:27 ` 積丹尼 Dan Jacobson
2020-10-26 10:32 ` Lars Ingebrigtsen
2020-10-26 7:42 ` 積丹尼 Dan Jacobson
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=87tuuhmq99.fsf@gmail.com \
--to=kevin.legouguec@gmail.com \
--cc=44226@debbugs.gnu.org \
--cc=jidanni@jidanni.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.