unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#52156: 29.0.50; Display property plus strike-through doesn't work
@ 2021-11-28  6:00 Yuan Fu
  2021-11-28  8:19 ` Eli Zaretskii
  2021-11-29 15:48 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 6+ messages in thread
From: Yuan Fu @ 2021-11-28  6:00 UTC (permalink / raw)
  To: 52156


The following code doesn't produce a thin line across the window anymore. I don’t see anything suspicious in the repository. 

(progn
  (switch-to-buffer (get-buffer-create "test"))
  (font-lock-mode -1)
  (insert (propertize "-" 'display '(space :width text)
                      'face '(:strike-through t))))




In GNU Emacs 29.0.50 (build 14, x86_64-apple-darwin21.1.0, NS appkit-2113.00 Version 12.0.1 (Build 21A559))
of 2021-11-26 built on Brown
Repository revision: dd6b151c25551fe125d61a54890756d9454cc402
Repository branch: master
Windowing system distributor 'Apple', version 10.3.2113
System Description:  macOS 12.0.1

Configured using:
'configure --with-pdumper=yes --with-ns'

Configured features:
ACL DBUS GLIB GNUTLS JSON LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER
PNG RSVG THREADS TOOLKIT_SCROLL_BARS WEBP XIM ZLIB

Important settings:
  value of $LC_CTYPE: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media rmc puny
dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068
epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio
eieio-core cl-macs eieio-loaddefs password-cache json map
text-property-search time-date seq gv subr-x byte-opt bytecomp
byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils iso-transl tooltip
eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util
term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode lisp-mode prog-mode register
page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button
loaddefs faces cus-face macroexp files window text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind kqueue cocoa ns
lcms2 multi-tty make-network-process emacs)

Memory information:
((conses 16 50923 8422)
(symbols 48 6640 1)
(strings 32 18458 2064)
(string-bytes 1 600873)
(vectors 16 13065)
(vector-slots 8 178855 11599)
(floats 8 23 34)
(intervals 56 197 0)
(buffers 992 11))





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#52156: 29.0.50; Display property plus strike-through doesn't work
  2021-11-28  6:00 bug#52156: 29.0.50; Display property plus strike-through doesn't work Yuan Fu
@ 2021-11-28  8:19 ` Eli Zaretskii
  2021-11-29 15:48 ` Lars Ingebrigtsen
  1 sibling, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2021-11-28  8:19 UTC (permalink / raw)
  To: Yuan Fu; +Cc: 52156

> From: Yuan Fu <casouri@gmail.com>
> Date: Sat, 27 Nov 2021 22:00:03 -0800
> 
> The following code doesn't produce a thin line across the window anymore. I don’t see anything suspicious in the repository. 
> 
> (progn
>   (switch-to-buffer (get-buffer-create "test"))
>   (font-lock-mode -1)
>   (insert (propertize "-" 'display '(space :width text)
>                       'face '(:strike-through t))))

I cannot reproduce this in "emacs -Q" with the latest master branch: I
see the expected thin line.

If you go to the BOB (M-<) in the created buffer, and type
"M-x describe-text-properties RET", what does Emacs show in
the buffer it pops up?

Also, please see if the problem has anything to do with
cursor blinking (or not blinking), or with cursor
position relative to that line.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#52156: 29.0.50; Display property plus strike-through doesn't work
  2021-11-28  6:00 bug#52156: 29.0.50; Display property plus strike-through doesn't work Yuan Fu
  2021-11-28  8:19 ` Eli Zaretskii
@ 2021-11-29 15:48 ` Lars Ingebrigtsen
  2021-11-29 22:15   ` Alan Third
  1 sibling, 1 reply; 6+ messages in thread
From: Lars Ingebrigtsen @ 2021-11-29 15:48 UTC (permalink / raw)
  To: Yuan Fu; +Cc: Alan Third, 52156

Yuan Fu <casouri@gmail.com> writes:

> The following code doesn't produce a thin line across the window anymore. I don’t see anything suspicious in the repository. 
>
> (progn
>   (switch-to-buffer (get-buffer-create "test"))
>   (font-lock-mode -1)
>   (insert (propertize "-" 'display '(space :width text)
>                       'face '(:strike-through t))))
>
> In GNU Emacs 29.0.50 (build 14, x86_64-apple-darwin21.1.0, NS appkit-2113.00 Version 12.0.1 (Build 21A559))

I can reproduce this on Macos, but not on Debian/bookworm, so it might
be Apple-specific.  I've added Alan to the CCs; perhaps he has some
insights here.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#52156: 29.0.50; Display property plus strike-through doesn't work
  2021-11-29 15:48 ` Lars Ingebrigtsen
@ 2021-11-29 22:15   ` Alan Third
  2021-11-30 13:25     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: Alan Third @ 2021-11-29 22:15 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: Yuan Fu, 52156

On Mon, Nov 29, 2021 at 04:48:30PM +0100, Lars Ingebrigtsen wrote:
> Yuan Fu <casouri@gmail.com> writes:
> 
> > The following code doesn't produce a thin line across the window anymore. I don’t see anything suspicious in the repository. 
> >
> > (progn
> >   (switch-to-buffer (get-buffer-create "test"))
> >   (font-lock-mode -1)
> >   (insert (propertize "-" 'display '(space :width text)
> >                       'face '(:strike-through t))))
> >
> > In GNU Emacs 29.0.50 (build 14, x86_64-apple-darwin21.1.0, NS appkit-2113.00 Version 12.0.1 (Build 21A559))
> 
> I can reproduce this on Macos, but not on Debian/bookworm, so it might
> be Apple-specific.  I've added Alan to the CCs; perhaps he has some
> insights here.

I've pushed a fix now.
-- 
Alan Third





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#52156: 29.0.50; Display property plus strike-through doesn't work
  2021-11-29 22:15   ` Alan Third
@ 2021-11-30 13:25     ` Lars Ingebrigtsen
  2021-11-30 20:29       ` Yuan Fu
  0 siblings, 1 reply; 6+ messages in thread
From: Lars Ingebrigtsen @ 2021-11-30 13:25 UTC (permalink / raw)
  To: Alan Third; +Cc: Yuan Fu, 52156

Alan Third <alan@idiocy.org> writes:

> I've pushed a fix now.

And I can confirm that it works, so I'm marking this bug report as
"done".

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#52156: 29.0.50; Display property plus strike-through doesn't work
  2021-11-30 13:25     ` Lars Ingebrigtsen
@ 2021-11-30 20:29       ` Yuan Fu
  0 siblings, 0 replies; 6+ messages in thread
From: Yuan Fu @ 2021-11-30 20:29 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: Alan Third, 52156



> On Nov 30, 2021, at 5:25 AM, Lars Ingebrigtsen <larsi@gnus.org> wrote:
> 
> Alan Third <alan@idiocy.org> writes:
> 
>> I've pushed a fix now.
> 
> And I can confirm that it works, so I'm marking this bug report as
> "done”.

Thanks everyone!

Yuan







^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-11-30 20:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-28  6:00 bug#52156: 29.0.50; Display property plus strike-through doesn't work Yuan Fu
2021-11-28  8:19 ` Eli Zaretskii
2021-11-29 15:48 ` Lars Ingebrigtsen
2021-11-29 22:15   ` Alan Third
2021-11-30 13:25     ` Lars Ingebrigtsen
2021-11-30 20:29       ` Yuan Fu

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).