help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: don't show the $-bar that indicates text before and/or after the win


From: Eli Zaretskii
Subject: Re: don't show the $-bar that indicates text before and/or after the window view, horizontally
Date: Wed, 24 Jul 2013 20:53:05 +0300

> From: Emanuel Berg <embe8573@student.uu.se>
> Date: Wed, 24 Jul 2013 19:32:09 +0200
> 
> The below doesn't seem to do anything, neither in X or the tty.
> 
> (set-fringe-mode '(0 . 0))

This should disable the fringes on X.  The TTY Emacs doesn't have
fringes (which are a GUI feature, thus unavailable on a TTY).  But in
a GUI session, the above works for me in all Emacs versions starting
with 22.1.  If it doesn't for you, you are doing something wrong.  I
don't know what it is that you are doing wrong, because you didn't
explain how you tried to make the above work -- what did you type,
exactly, and where.

> I says in the documentation that a zero should disable the fringe,
> but if so - if the glyph appears in the fringe - why do I still
> need
> 
> (set-display-table-slot standard-display-table 0 ?\ )
> 
> to hide the $'s?

Because the $ glyph is a separate feature.

Emacs on X can show truncated lines either on the fringes, using
special bitmaps, or with the special glyph, which is $ by default; the
latter feature kicks in if the fringes are not available.  If you want
to get rid of both the fringes and the $ glyph, you need to disable
them separately.

(At this point, I'd suggest to invest some time in reading the
manuals, because messing with such advanced stuff is not recommended
if you don't even know what the fringes are, how to control them, and
what is slot zero of the standard-display-table.)



reply via email to

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