unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Messed up display and incorrect handling of `face' specs on before-strings
Date: Wed, 07 Apr 2010 09:46:16 -0400	[thread overview]
Message-ID: <jwvaatfe5w6.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <E1NzNbT-000243-2B@fencepost.gnu.org> (Eli Zaretskii's message of "Wed, 07 Apr 2010 01:15:03 -0400")

>> Try the nhexl-mode below on a buffer.
>> You should see that the first line of the buffer is displayed
>> differently from the rest (the first line is displayed the way I'd want
>> it).  On the subsequent lines, the `face' properties as well as the
>> `display' properties on the before-strings seem to be ignored (or
>> something like that).

> In which version(s) of Emacs? TTY? GUI? both?

I only tested it in GUI, but your tty description indicates it also
shows up for ttys (unsurprisingly).

> In Emacs 23.1.92 on a TTY I see the ASCII characters on the right
> underlined, while the hex part is not.  The other lines are underlined
> in the hex part as well.

That's the kind of discrepency I'm talking about, yes.

> Also, the first line is 2 columns to the right after the address part,
> relative to the other lines.

That as well.

> And the highlight of the current byte in the hex part does not work on
> any line but the first one.

Also.

> Is this what you meant?

Yup.

> If so, could you perhaps summarize the problems you see in terms of
> the underlying features (`display' properties, overlays,
> `before-strings', etc.)?

The first and 3rd issues seem to be due to the fact that `face'
properties on the before-strings of the overlays aren't obeyed except on
the first line.  And the second is the same problem but for the
`display' property.


        Stefan




  reply	other threads:[~2010-04-07 13:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-07  3:13 Messed up display and incorrect handling of `face' specs on before-strings Stefan Monnier
2010-04-07  5:15 ` Eli Zaretskii
2010-04-07 13:46   ` Stefan Monnier [this message]
2010-04-07 17:44     ` Eli Zaretskii
2010-04-07 18:54       ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvaatfe5w6.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).