From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Messed up display and incorrect handling of `face' specs on before-strings Date: Wed, 07 Apr 2010 01:15:03 -0400 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1270618797 3682 80.91.229.12 (7 Apr 2010 05:39:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 7 Apr 2010 05:39:57 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 07 07:39:55 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NzNzS-00061O-TO for ged-emacs-devel@m.gmane.org; Wed, 07 Apr 2010 07:39:51 +0200 Original-Received: from localhost ([127.0.0.1]:58862 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzNzS-0006mi-Bj for ged-emacs-devel@m.gmane.org; Wed, 07 Apr 2010 01:39:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NzNvE-00058I-4a for emacs-devel@gnu.org; Wed, 07 Apr 2010 01:35:28 -0400 Original-Received: from [199.232.76.173] (port=49524 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzNvC-00057g-TG for emacs-devel@gnu.org; Wed, 07 Apr 2010 01:35:27 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NzNv8-0004cr-UY for emacs-devel@gnu.org; Wed, 07 Apr 2010 01:35:26 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:42554) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NzNv8-0004cG-FU for emacs-devel@gnu.org; Wed, 07 Apr 2010 01:35:22 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NzNbT-000243-2B; Wed, 07 Apr 2010 01:15:03 -0400 In-reply-to: (message from Stefan Monnier on Tue, 06 Apr 2010 23:13:22 -0400) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:123302 Archived-At: > From: Stefan Monnier > Date: Tue, 06 Apr 2010 23:13:22 -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? 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. Also, the first line is 2 columns to the right after the address part, relative to the other lines. And the highlight of the current byte in the hex part does not work on any line but the first one. Is this what you meant? If so, could you perhaps summarize the problems you see in terms of the underlying features (`display' properties, overlays, `before-strings', etc.)? Armed with that knowledge, it would be much easier to look in the display code what it would do under the circumstances.