[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fill column indicator functionality

From: Robert Pluim
Subject: Re: Fill column indicator functionality
Date: Fri, 05 Apr 2019 14:09:58 +0200

>>>>> On Fri, 05 Apr 2019 14:44:58 +0300, Eli Zaretskii <address@hidden> said:

    >> From: Robert Pluim <address@hidden> Cc: Ergus
    >> <address@hidden>, address@hidden Date: Fri, 05 Apr 2019
    >> 11:10:15 +0200
    >> - the manual talks about
    >> 'global-display-fill-column-indicator-mode', but M-x doesnʼt
    >> know about that function until I (require
    >> 'display-fill-column-indicator)

    Eli> I think your loaddefs.el is outdated, and/or you didn't
    Eli> rebuild Emacs after updating loaddefs.el.

    >> (this may be due to the way autoloads work in emacs. Thereʼs an
    >> entry in ldefs-boot.el for it)

    Eli> ldefs-boot.el is not used in a non-bootstrap build.

Indeed, loaddefs.el was outdated, all fine now.

    >> - when I turn it on, it chooses \u2502, which is not
    >> displayable by my default font, but is displayable by a
    >> fallback font. I end up with empty blocks at the end of each
    >> line. I can probably customize 'fill-column-face' to work
    >> around this, but Iʼd expect this to work by default (either by
    >> using '|' or using the fallback font).

    Eli> Is this in Emacs -Q or do you have some font or fontset
    Eli> customizations?  If the latter, please try in "emacs -Q", and
    Eli> if that works, please tell what customizations defeats that.

This is with font customizations, it works in 'emacs -Q', However:

emacs -Q
<set default face to "IBM Plex Mono", which canʼt display \u2502>
M-x global-display-fill-column-indicator-mode => shows boxes at eol
C-x 8 RET 2502 => shows '|' glyph, and 'C-u C-x =' =>

             position: 148 of 148 (99%), column: 0
            character: │ (displayed as │) (codepoint 9474, #o22402, #x2502)
              charset: unicode (Unicode (ISO10646))
code point in charset: 0x2502
               script: symbol
               syntax: _        which means: symbol
             category: .:Base, c:Chinese, h:Korean, j:Japanese
             to input: type "C-x 8 RET 2502" or "C-x 8 RET BOX DRAWINGS LIGHT 
          buffer code: #xE2 #x94 #x82
            file code: #xE2 #x94 #x82 (encoded by coding system utf-8-unix)
              display: by this font (glyph code)
    mac-ct:-*-Andale Mono-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1 (#x21C)

So \u2502 is displayable, just not by the default font.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]