From: Giorgos Keramidas <keramida@ceid.upatras.gr>
To: emacs-devel@gnu.org
Subject: display bug for empty lines in recent git snapshot
Date: Wed, 17 Nov 2010 10:10:17 +0100 [thread overview]
Message-ID: <xeiad3q4e2o6.fsf@kobe.laptop> (raw)
I've compiled a new snapshot of Emacs after a few weeks from the git
mirror at git://repo.or.cz/emacs.git and noticed that there's now a
display bug with empty lines.
The latest snapshot I compiled was last afternoon, from:
commit 30286b8e4b37619c8d6bf5bc01840606f26d9cf7
Author: Adrian Robert <Adrian.B.Robert@gmail.com>
Date: Tue Oct 26 16:20:00 2010 +0300
* term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to global
map.
* term/common-win.el (x-setup-function-keys): Remove most of the
keymappings. Comment on the remaining ones.
When a file contains only the following:
> cat -vte foo.txt
foo$
$
bar$
>
Moving the point to the beginning of the second line displays the
following in my emacs -nw sessions:
,-----------------------------------------------------------
|foo
| #
|bar
|
|-UU-:**--F1 foo.txt All (2,0) (Text) -----
|
`-----------------------------------------------------------
Emacs obviously thinks that point is at (2, 0) but moves the terminal
cursor to the _second_ column instead of the first, at the location of
the '#' character in the output shown above.
This only happens for empty lines, so I'm guessing it's something
related to the calculation of line length? I will try to go backwards
in the commit history of the last 1-2 months to see when this first
started happening, but in the meantime I thought I should report this
here too.
This is all tested with...
In GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1)
of 2010-11-16 on gkeramidas-glaptop
configured using `configure '--prefix=/opt/emacs' '--infodir=/opt/emacs/info''
Important settings:
value of $LC_ALL: el_GR.utf8
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: el_GR.utf8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: Text
Minor modes in effect:
iswitchb-mode: t
cua-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
ESC [ > 8 3 ; 4 0 0 0 3 ; 0 c f o o RET RET b a r RET
ESC O A ESC O A ESC x r e p o r t - b u TAB RET
Recent messages:
("/opt/emacs/bin/emacs" "foo.txt")
Ido mode disabled
Loading vc...done
For information about GNU Emacs and the GNU system, type <f1> C-a.
(New file)
Loading vc-git...done
Loading vc-hg...done
Auto-saving...done
Load-path shadows:
None found.
Features:
(shadow sort gnus-util mail-extr message sendmail rfc822 mml easymenu
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader
warnings emacsbug vc-hg vc-git .emacs jka-compr keramida-slime
keramida-defaults vc vc-dispatcher uniquify advice help-fns
advice-preload ido paren iswitchb cua-base hl-line keramida-hooks
keramida-autoload keramida-lang keramida-keys edmacro kmacro keramida-ui
bbdb regexp-opt timezone disp-table tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe
lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
loaddefs button minibuffer faces cus-face files text-properties overlay
md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
dynamic-setting system-font-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty emacs)
next reply other threads:[~2010-11-17 9:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-17 9:10 Giorgos Keramidas [this message]
2010-11-17 9:31 ` display bug for empty lines in recent git snapshot Tassilo Horn
2010-11-17 9:50 ` Giorgos Keramidas
2010-11-17 10:43 ` Giorgos Keramidas
2010-11-17 12:54 ` Eli Zaretskii
2010-11-17 13:14 ` Giorgos Keramidas
2010-11-17 19:20 ` Eli Zaretskii
2010-11-17 20:12 ` Giorgos Keramidas
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xeiad3q4e2o6.fsf@kobe.laptop \
--to=keramida@ceid.upatras.gr \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.