all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: EMRE YOLCU <eyolcu@ku.edu.tr>
To: 17977@debbugs.gnu.org
Subject: bug#17977: Emacs 24.3 - cursor-type hbar renders incorrectly on OS X
Date: Wed, 9 Jul 2014 16:08:31 +0300	[thread overview]
Message-ID: <CA+MUnkacVJwTOS8m6Xg4mjLTvbkqN_u-a8dzYYoVLw0DzwVtYw@mail.gmail.com> (raw)

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

On Mac OS X version 10.9.4, Emacs 24.3 installed via Homebrew package
manager with options "--cocoa --srgb" does not honor the following settings
in init.el as it should:

It can be recreated by having these in the init file on a similar setup.

(global hl-line-mode 1)
(setq-default line-spacing 10)
(setq-default cursor-type '(hbar . 200)) ;this one does not work correctly

Normally, when line-spacing is set to a value higher than 0, the cursor
height does not span the height of the area highlighted by hl-line-mode.
This bothers me, so I set the cursor-type to hbar and its height to a large
value (200). This is supposed to increase the cursor height to fit the
highlighted area. This works as I intend when I try it on Debian, but not
on OS X. I suspect the problem is in src/nsterm.m, in sections related to
how the cursor with the type HBAR is drawn.

I included two screenshots making the issue clearer.

Wrong

Correct




report-bug-emacs output:

In GNU Emacs 24.3.1 (x86_64-apple-darwin13.2.0, NS apple-appkit-1265.20)
 of 2014-07-04 on <name>.local
Windowing system distributor `Apple', version 10.3.1265
Configured using:
 `configure '--prefix=/usr/local/Cellar/emacs/24.3' '--without-dbus'
 '--enable-locallisppath=/usr/local/share/emacs/site-lisp'
 '--infodir=/usr/local/Cellar/emacs/24.3/share/info/emacs'
 '--without-gnutls' '--with-ns' '--disable-ns-self-contained'
 'CC=clang''

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

[-- Attachment #2: Type: text/html, Size: 2159 bytes --]

             reply	other threads:[~2014-07-09 13:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-09 13:08 EMRE YOLCU [this message]
2014-07-09 17:12 ` bug#17977: Bug report missing pictures EMRE YOLCU
2014-07-10  6:53 ` bug#17977: Emacs 24.3 - cursor-type hbar renders incorrectly on OS X Jan Djärv
2014-07-10 12:41   ` EMRE YOLCU
2014-10-05 15:46     ` Jan Djärv

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+MUnkacVJwTOS8m6Xg4mjLTvbkqN_u-a8dzYYoVLw0DzwVtYw@mail.gmail.com \
    --to=eyolcu@ku.edu.tr \
    --cc=17977@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.