From: martin rudalics <rudalics@gmx.at>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 38966@debbugs.gnu.org
Subject: bug#38966: 27.0.60; Assertion failure in set_cursor_from_row
Date: Tue, 7 Jan 2020 19:23:39 +0100 [thread overview]
Message-ID: <44ffb147-d782-1f62-0ece-10e096cabf15@gmx.at> (raw)
In-Reply-To: <831rsbcg4v.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 563 bytes --]
> I seem to be unable to do that, so please show detailed instructions
> starting from "emacs -Q". What I get here is a very thin single line
> of text, where I still see the cursor (partially) and can type text.
I attach a new file test-popup-3.el. With emacs -Q load it, type F1,
then F2. After C-x o I can move through the lower window without
seeing any cursor or text line. I also attached two screenshots, one
before C-x o and one after. If you look hard enough, you can spot the
remnants of the scroll bar on the lower window's mode line.
martin
[-- Attachment #2: test-popup-3.el --]
[-- Type: text/plain, Size: 1357 bytes --]
(defun foo-message (&optional newline)
(message
(concat (if newline "\n" "")
"total: %s, body: %s, mode: %s")
(window-pixel-height) (window-body-height nil t)
(window-mode-line-height)))
(defun split-window-2 ()
(interactive)
(split-window nil -2))
(global-set-key [f1] 'split-window-2)
(defun test-popup ()
(interactive)
;; (set-face-attribute 'mode-line nil :height 200)
;; (set-face-attribute 'mode-line-inactive nil :height 200)
(setq
mode-line-format
(cons (propertize " " 'display
(create-image "/* XPM */ static char * image[] = {
\"3 60 1 1\",
\"0 c #00aaff\",
\"000\",\n\"000\",\n\"000\",\n\"000\",\n\"000\",
\"000\",\n\"000\",\n\"000\",\n\"000\",\n\"000\",
\"000\",\n\"000\",\n\"000\",\n\"000\",\n\"000\",
\"000\",\n\"000\",\n\"000\",\n\"000\",\n\"000\",
\"000\",\n\"000\",\n\"000\",\n\"000\",\n\"000\",
\"000\",\n\"000\",\n\"000\",\n\"000\",\n\"000\",
\"000\",\n\"000\",\n\"000\",\n\"000\",\n\"000\",
\"000\",\n\"000\",\n\"000\",\n\"000\",\n\"000\",
\"000\",\n\"000\",\n\"000\",\n\"000\",\n\"000\",
\"000\",\n\"000\",\n\"000\",\n\"000\",\n\"000\",
\"000\",\n\"000\",\n\"000\",\n\"000\",\n\"000\",
\"000\",\n\"000\",\n\"000\",\n\"000\",\n\"000\"
};" 'xpm t :ascent 'center))
mode-line-format))
(foo-message t))
(global-set-key [f2] 'test-popup)
[-- Attachment #3: capture_01072020_191510.png --]
[-- Type: image/png, Size: 20805 bytes --]
[-- Attachment #4: capture_01072020_191636.png --]
[-- Type: image/png, Size: 19697 bytes --]
next prev parent reply other threads:[~2020-01-07 18:23 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-06 9:19 bug#38966: 27.0.60; Assertion failure in set_cursor_from_row martin rudalics
2020-01-06 17:14 ` Eli Zaretskii
2020-01-06 19:06 ` martin rudalics
2020-01-06 19:50 ` Eli Zaretskii
2020-01-07 9:52 ` martin rudalics
2020-01-07 16:01 ` Eli Zaretskii
2020-01-07 17:38 ` martin rudalics
2020-01-07 17:48 ` Eli Zaretskii
2020-01-07 18:23 ` martin rudalics [this message]
2020-01-07 18:36 ` Eli Zaretskii
2020-01-07 18:58 ` martin rudalics
2020-01-07 19:06 ` Eli Zaretskii
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=44ffb147-d782-1f62-0ece-10e096cabf15@gmx.at \
--to=rudalics@gmx.at \
--cc=38966@debbugs.gnu.org \
--cc=eliz@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 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).