Richard Stallman <[EMAIL PROTECTED]> writes:

>     Evaluate the following and you will see what I mean:
>
>     (setq header-line-format "Here is a tab:[\t].")
>
>     The result in the new version is that "^I" is displayed, in
>     blue text, in the buffer header line, while previously it 
>     was displayed as a whitespace.
>
> This must be due to this code in xdisp.c:
>
>         else if ((it->c < ' '
>                   && (it->area != TEXT_AREA
>                       /* In mode line, treat \n like other crl chars.  */
>                       || (it->c != '\n'
>                           && it->glyph_row && it->glyph_row->mode_line_p)
>                       || (it->c != '\n' && it->c != '\t')))
>
> If we change that to
>
>         else if ((it->c < ' '
>                   && (it->area != TEXT_AREA
>                       /* In mode line, treat \n like other crl chars.  */
>                       || (it->c != '\t'
>                           && it->glyph_row && it->glyph_row->mode_line_p)
>                       || (it->c != '\n' && it->c != '\t')))
>
> does that give the right results?

Yes, this fixes the problem.

Magnus



_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to