[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
previous-line, display table, overlay
From: |
Patrick Gundlach |
Subject: |
previous-line, display table, overlay |
Date: |
Sun, 4 Nov 2001 15:33:02 +0100 |
Hi again,
In GNU Emacs 21.1.1 (i586-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2001-10-27 on levana
configured using `configure --prefix=/opt/emacs/21.1/
--with-x-toolkit=athena'
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: C
locale-coding-system: nil
default-enable-multibyte-characters: t
-----------------start buffer
(defvar pg-dispt (make-display-table))
(set-char-table-parent pg-dispt standard-display-table)
(aset pg-dispt 12 (apply 'vector
(mapcar '(lambda (x)
(+ (* 524288 (face-id 'secondary-selection)
) x))
(vconcat "<newpage>"))))
(setq standard-display-table pg-dispt)
--------------------endbuffer
I use the above code to mark a ^L as a highlighted "<newpage>". When I do
this, I cannot use the cursor-up key (bound to previous-line) to move from
below the <newpage> to above the <newpage> marking. Without the
display-table stuff (when ^L is shown as ^L) everything is fine.
one
<newpage>
two
so I have the cursor on the line with two (after the o, not(!) in the first
column), press cursor-up (previous-line) and the cusor will not go past
(up) the <newpage>. Only if I have the cursor in the first column (pointing
at the t) I can move the cursor up beyond the <newpage>
Emacs even crashes, if I put a <newpage> on the last line and move from a
column > 1 on the line before the <newpage> down. (next-line).
(another question: is this also the address to send feature requests for
the great gnu emacs?)
(one other thing: thanks to the super-fast response to the bug report
concerning the xml parser/comments not ignored!!)
--
Viele Grüße,
Patrick Gundlach
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- previous-line, display table, overlay,
Patrick Gundlach <=