* variable width space display property value has no effect in empty overlay
@ 2003-06-10 15:57 Kevin Rodgers
2003-06-12 14:04 ` variable width space display property value has no effect inempty overlay Richard Stallman
[not found] ` <mailman.7784.1055426975.21513.bug-gnu-emacs@gnu.org>
0 siblings, 2 replies; 4+ messages in thread
From: Kevin Rodgers @ 2003-06-10 15:57 UTC (permalink / 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-pc-solaris2.7, X toolkit)
of 2003-04-24 on briard
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: nil
locale-coding-system: nil
default-enable-multibyte-characters: t
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
emacs-21.3.1 -q --no-site-file
M-<
C-e
M-: (let ((lbp (line-beginning-position))) (overlay-put (make-overlay lbp lbp) 'display '(space :align-to 4)))
That creates an overlay spanning 0 characters at the beginning of the
*scratch* buffer, with the display property set to (space :align-to 4).
But the buffer display is not affected.
Recent input:
g i n n i n g - p o s i t i o n ) ) ) SPC ( o v e r
l a y - p u t SPC ( m a k e - o v e r l a y SPC l b
p SPC l b p ) SPC ' d i s p l a y SPC ' ( s p a c e
SPC : a l i g n - t o SPC 4 ) ) ) <return> <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:
(/usr/local/emacs-21.3/src/emacs-21.3.1 -q --no-site-file)
Loading tool-bar...done
Loading image...done
Loading tooltip...done
For information about the GNU Project and its goals, type C-h C-p.
Mark set
(space :align-to 4)
Loading emacsbug...done
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: variable width space display property value has no effect inempty overlay
2003-06-10 15:57 variable width space display property value has no effect in empty overlay Kevin Rodgers
@ 2003-06-12 14:04 ` Richard Stallman
[not found] ` <mailman.7784.1055426975.21513.bug-gnu-emacs@gnu.org>
1 sibling, 0 replies; 4+ messages in thread
From: Richard Stallman @ 2003-06-12 14:04 UTC (permalink / raw)
Cc: bug-gnu-emacs
That creates an overlay spanning 0 characters at the beginning of the
*scratch* buffer, with the display property set to (space :align-to 4).
But the buffer display is not affected.
That is because no character has the display property.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: variable width space display property value has no effect in empty overlay
[not found] ` <mailman.7784.1055426975.21513.bug-gnu-emacs@gnu.org>
@ 2003-06-12 14:32 ` David Kastrup
2003-06-14 12:28 ` Richard Stallman
0 siblings, 1 reply; 4+ messages in thread
From: David Kastrup @ 2003-06-12 14:32 UTC (permalink / raw)
Richard Stallman <rms@gnu.org> writes:
> That creates an overlay spanning 0 characters at the beginning
> of the *scratch* buffer, with the display property set to (space
> :align-to 4). But the buffer display is not affected.
>
> That is because no character has the display property.
An overlay spanning 0 characters with a display property set to an
image displays the image (when the move-on-insertion properties of the
overlay ends are equal, it serves more or less as a visible marker).
It does not seem consistent if other display properties intended to
mask the underlying character range (even if empty) do not behave
likewise.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: variable width space display property value has no effect in empty overlay
2003-06-12 14:32 ` variable width space display property value has no effect in empty overlay David Kastrup
@ 2003-06-14 12:28 ` Richard Stallman
0 siblings, 0 replies; 4+ messages in thread
From: Richard Stallman @ 2003-06-14 12:28 UTC (permalink / raw)
Cc: gnu-emacs-bug
An overlay spanning 0 characters with a display property set to an
image displays the image (when the move-on-insertion properties of the
overlay ends are equal, it serves more or less as a visible marker).
I wasn't aware of that.
It does not seem consistent if other display properties intended to
mask the underlying character range (even if empty) do not behave
likewise.
I agree, it seems inconsistent, and perhaps it ought to be changed.
Finding someone who can change it and wants to change it is a harder
issue. Do we have anyone who understands that code?
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-06-14 12:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-10 15:57 variable width space display property value has no effect in empty overlay Kevin Rodgers
2003-06-12 14:04 ` variable width space display property value has no effect inempty overlay Richard Stallman
[not found] ` <mailman.7784.1055426975.21513.bug-gnu-emacs@gnu.org>
2003-06-12 14:32 ` variable width space display property value has no effect in empty overlay David Kastrup
2003-06-14 12:28 ` Richard Stallman
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).