unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: David Reitter <david.reitter@gmail.com>
To: 21835@debbugs.gnu.org
Subject: bug#21835: 25.0.50; cursor height wrong when line-spacing is used
Date: Wed, 4 Nov 2015 23:21:13 -0500	[thread overview]
Message-ID: <B5C62293-85C4-4F7F-BFF2-4B8A031AAD48@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3235 bytes --]

Start Emacs 25 (master branch)  (with -Q if you like)

(setq line-spacing 1.0)


(Note how the display doesn’t update, so enter C-l to force it)


Result: cursor is displayed with wrong (large, two-line) height when at the end of a line, and correctly when not at the end of a line.

Works similarly with different cursor types.

This wasn’t the case in Emacs 24.

Also note bug#17977, although I disagree about the reporter’s preferences.  In any case, the cursor’s height should not change.  If it has to be this high, the actual text line should be vertically centered.







In GNU Emacs 25.0.50.1 (x86_64-apple-darwin15.0.0, NS appkit-1404.11 Version 10.11 (Build 15A284))
 of 2015-11-04
Repository revision: 5401bb8645f955b6fde8c0a5e5c8cf5ec1cab626
Windowing system distributor 'Apple', version 10.3.1404
Configured using:
 'configure 'CFLAGS=-O3 -g''

Configured features:
RSVG DBUS ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS

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

Major mode: Lisp Interaction

Minor modes in effect:
  which-function-mode: t
  tooltip-mode: t
  global-eldoc-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
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
.emacs: (lambda (x) ...) quoted with ' rather than with #' [2 times]
For information about GNU Emacs and the GNU system, type C-h C-a.
1.0
next-line: End of buffer [2 times]

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message dired format-spec
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr
mail-utils warnings ghostedit ghostedit-stopwords-en easy-mmode
which-func imenu time-date mule-util tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel ns-win term/common-win
tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame 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 charscript
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote dbusbind cocoa ns
multi-tty make-network-process emacs)

Memory information:
((conses 16 87331 6412)
 (symbols 48 19011 0)
 (miscs 40 49 232)
 (strings 32 16448 5934)
 (string-bytes 1 461013)
 (vectors 16 10826)
 (vector-slots 8 452328 5852)
 (floats 8 156 200)
 (intervals 56 221 6)
 (buffers 976 12))


[-- Attachment #2.1: Type: text/html, Size: 5337 bytes --]

[-- Attachment #2.2: PastedGraphic-6.png --]
[-- Type: image/png, Size: 7270 bytes --]

[-- Attachment #2.3: PastedGraphic-5.png --]
[-- Type: image/png, Size: 8828 bytes --]

             reply	other threads:[~2015-11-05  4:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-05  4:21 David Reitter [this message]
2015-11-05 16:12 ` bug#21835: 25.0.50; cursor height wrong when line-spacing is used Eli Zaretskii
2015-11-06  3:12   ` David Reitter
2015-11-06  8:15     ` Eli Zaretskii
2015-11-06  9:31     ` Eli Zaretskii
2015-11-06 14:10   ` Stefan Monnier
2015-11-06 14:28     ` Eli Zaretskii
2016-03-21  4:03 ` Nick Helm
2016-03-21 15:58   ` 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=B5C62293-85C4-4F7F-BFF2-4B8A031AAD48@gmail.com \
    --to=david.reitter@gmail.com \
    --cc=21835@debbugs.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).