unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Miguel Frasson <frasson@math.leidenuniv.nl>
Subject: Highlight/font-lock problem with non-fixed width fonts
Date: Wed,  2 Feb 2005 16:07:01 +0100 (CET)	[thread overview]
Message-ID: <20050202150701.0718B8014@mira.math.leidenuniv.nl> (raw)

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.3.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2004-04-15 on bugs.devel.redhat.com
configured using `configure  --host=i386-redhat-linux --build=i386-redhat-linux --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --with-pop --with-sound'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Hi.

I am using in some lines (section title in LaTeX-mode in new AUCTeX) a
large non-fixed width font (helvetica) (AUCTeX defaults), and I use also
pc-selection-mode.  I was in a long line, with non-fixed width font, that
is displayed in 2 lines.  I select text in this line such that text in
both displayed lines is highlighted.  Then I delete this text.  Strangely,
there is a tiny (or huge, depending on what is next) area in the end of
the line that is still highlighed.  An undo action, that puts the text
back and does _not_ select anything, does not paint in white again that
region.

What I think that is happening: since the text is in non-fixed font, the
end of the "picture" of the last displayed character in a line does not
coincide with the frame border.  There is a white (bg color) region,
smaller in width than the next character.  This region is not correctly
handled.

A screenshot demonstrating the problem is found in 
  http://www.math.leidenuniv.nl/~frasson/emacs-bug-highlight.png

Best regards.

Miguel.

Recent input:
<down> <up> <up> <home> <C-right> <C-right> <C-right> 
<C-right> <C-right> <C-right> <C-right> <end> <left> 
<left> <left> <left> <left> <left> <left> <left> <left> 
<right> <right> <right> <right> <right> <left> <left> 
<end> <left> <C-S-left> <C-S-left> <S-left> <S-left> 
<S-left> <S-left> <delete> C-_ <backspace> <right> 
<right> <right> <right> <right> <right> <left> <left> 
<left> <left> <left> <left> SPC <C-right> <left> <left> 
<left> <left> <C-S-right> <C-S-right> <C-S-right> <delete> 
SPC / <backspace> m m m m m m m m <C-S-left> <delete> 
C-_ <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu> 
<report-emacs-bug>

Recent messages:
Mark set
Undo!
Mark set
Undo!
Mark set
Undo!
Mark set [2 times]
Undo!
Auto-saving...
Loading emacsbug...done

                 reply	other threads:[~2005-02-02 15:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20050202150701.0718B8014@mira.math.leidenuniv.nl \
    --to=frasson@math.leidenuniv.nl \
    /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).