GNU bug report logs - #17977
Emacs 24.3 - cursor-type hbar renders incorrectly on OS X

Previous Next

Package: emacs;

Reported by: EMRE YOLCU <eyolcu <at> ku.edu.tr>

Date: Wed, 9 Jul 2014 15:37:01 UTC

Severity: normal

Done: Jan Djärv <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 17977 in the body.
You can then email your comments to 17977 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#17977; Package emacs. (Wed, 09 Jul 2014 15:37:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to EMRE YOLCU <eyolcu <at> ku.edu.tr>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 09 Jul 2014 15:37:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: EMRE YOLCU <eyolcu <at> ku.edu.tr>
To: bug-gnu-emacs <at> gnu.org
Subject: Emacs 24.3 - cursor-type hbar renders incorrectly on OS X
Date: Wed, 9 Jul 2014 16:08:31 +0300
[Message part 1 (text/plain, inline)]
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
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17977; Package emacs. (Wed, 09 Jul 2014 17:13:02 GMT) Full text and rfc822 format available.

Message #8 received at 17977 <at> debbugs.gnu.org (full text, mbox):

From: EMRE YOLCU <eyolcu <at> ku.edu.tr>
To: 17977 <at> debbugs.gnu.org
Subject: Bug report missing pictures
Date: Wed, 9 Jul 2014 20:12:05 +0300
[Message part 1 (text/plain, inline)]
I failed to include the screenshots in my previous email. I send them
attached to this one.
[Message part 2 (text/html, inline)]
[correct.png (image/png, attachment)]
[wrong.jpg (image/jpeg, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17977; Package emacs. (Thu, 10 Jul 2014 06:54:01 GMT) Full text and rfc822 format available.

Message #11 received at 17977 <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: EMRE YOLCU <eyolcu <at> ku.edu.tr>
Cc: 17977 <at> debbugs.gnu.org
Subject: Re: bug#17977: Emacs 24.3 - cursor-type hbar renders incorrectly on
 OS X
Date: Thu, 10 Jul 2014 08:53:20 +0200
[Message part 1 (text/plain, inline)]
Hello.

The links to the screenshots are bogous ("webkit-fake-url://8D9F72A3-85EA-4499-A2=
59-D471950B78DA/image.tiff"), please fix these.  Also, use jpg instead of tiff, they are smaller images.

	Jan D.
 
9 jul 2014 kl. 15:08 skrev EMRE YOLCU <eyolcu <at> ku.edu.tr>:

> 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

[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17977; Package emacs. (Thu, 10 Jul 2014 12:43:01 GMT) Full text and rfc822 format available.

Message #14 received at 17977 <at> debbugs.gnu.org (full text, mbox):

From: EMRE YOLCU <eyolcu <at> ku.edu.tr>
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: 17977 <at> debbugs.gnu.org
Subject: Re: bug#17977: Emacs 24.3 - cursor-type hbar renders incorrectly on
 OS X
Date: Thu, 10 Jul 2014 15:41:44 +0300
[Message part 1 (text/plain, inline)]
I did fix them in the second email I sent.


On Thu, Jul 10, 2014 at 9:53 AM, Jan Djärv <jan.h.d <at> swipnet.se> wrote:

> Hello.
>
> The links to the screenshots are bogous ("
> webkit-fake-url://8D9F72A3-85EA-4499-A2=
> 59-D471950B78DA/image.tiff"), please fix these.  Also, use jpg instead of
> tiff, they are smaller images.
>
> Jan D.
>
> 9 jul 2014 kl. 15:08 skrev EMRE YOLCU <eyolcu <at> ku.edu.tr>:
>
> 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
>
>
>
[Message part 2 (text/html, inline)]

Reply sent to Jan Djärv <jan.h.d <at> swipnet.se>:
You have taken responsibility. (Sun, 05 Oct 2014 15:47:02 GMT) Full text and rfc822 format available.

Notification sent to EMRE YOLCU <eyolcu <at> ku.edu.tr>:
bug acknowledged by developer. (Sun, 05 Oct 2014 15:47:03 GMT) Full text and rfc822 format available.

Message #19 received at 17977-done <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: EMRE YOLCU <eyolcu <at> ku.edu.tr>
Cc: 17977-done <at> debbugs.gnu.org
Subject: Re: bug#17977: Emacs 24.3 - cursor-type hbar renders incorrectly on
 OS X
Date: Sun, 5 Oct 2014 17:46:46 +0200
[Message part 1 (text/plain, inline)]
Hello.

This has been fixed in trunk.

	Jan D.

10 jul 2014 kl. 14:41 skrev EMRE YOLCU <eyolcu <at> ku.edu.tr>:

> I did fix them in the second email I sent.
> 
> 
> On Thu, Jul 10, 2014 at 9:53 AM, Jan Djärv <jan.h.d <at> swipnet.se> wrote:
> Hello.
> 
> The links to the screenshots are bogous ("webkit-fake-url://8D9F72A3-85EA-4499-A2=
> 59-D471950B78DA/image.tiff"), please fix these.  Also, use jpg instead of tiff, they are smaller images.
> 
> 	Jan D.
>  
> 9 jul 2014 kl. 15:08 skrev EMRE YOLCU <eyolcu <at> ku.edu.tr>:
> 
>> 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
> 
> 

[Message part 2 (text/html, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 03 Nov 2014 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 286 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.