unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#17977: Emacs 24.3 - cursor-type hbar renders incorrectly on OS X
@ 2014-07-09 13:08 EMRE YOLCU
  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
  0 siblings, 2 replies; 5+ messages in thread
From: EMRE YOLCU @ 2014-07-09 13:08 UTC (permalink / raw)
  To: 17977

[-- 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 --]

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

* bug#17977: Bug report missing pictures
  2014-07-09 13:08 bug#17977: Emacs 24.3 - cursor-type hbar renders incorrectly on OS X EMRE YOLCU
@ 2014-07-09 17:12 ` EMRE YOLCU
  2014-07-10  6:53 ` bug#17977: Emacs 24.3 - cursor-type hbar renders incorrectly on OS X Jan Djärv
  1 sibling, 0 replies; 5+ messages in thread
From: EMRE YOLCU @ 2014-07-09 17:12 UTC (permalink / raw)
  To: 17977


[-- Attachment #1.1: Type: text/plain, Size: 92 bytes --]

I failed to include the screenshots in my previous email. I send them
attached to this one.

[-- Attachment #1.2: Type: text/html, Size: 128 bytes --]

[-- Attachment #2: correct.png --]
[-- Type: image/png, Size: 12961 bytes --]

[-- Attachment #3: wrong.jpg --]
[-- Type: image/jpeg, Size: 43881 bytes --]

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

* bug#17977: Emacs 24.3 - cursor-type hbar renders incorrectly on OS X
  2014-07-09 13:08 bug#17977: Emacs 24.3 - cursor-type hbar renders incorrectly on OS X EMRE YOLCU
  2014-07-09 17:12 ` bug#17977: Bug report missing pictures EMRE YOLCU
@ 2014-07-10  6:53 ` Jan Djärv
  2014-07-10 12:41   ` EMRE YOLCU
  1 sibling, 1 reply; 5+ messages in thread
From: Jan Djärv @ 2014-07-10  6:53 UTC (permalink / raw)
  To: EMRE YOLCU; +Cc: 17977

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

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@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


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

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

* bug#17977: Emacs 24.3 - cursor-type hbar renders incorrectly on OS X
  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
  0 siblings, 1 reply; 5+ messages in thread
From: EMRE YOLCU @ 2014-07-10 12:41 UTC (permalink / raw)
  To: Jan Djärv; +Cc: 17977

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

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@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@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
>
>
>

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

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

* bug#17977: Emacs 24.3 - cursor-type hbar renders incorrectly on OS X
  2014-07-10 12:41   ` EMRE YOLCU
@ 2014-10-05 15:46     ` Jan Djärv
  0 siblings, 0 replies; 5+ messages in thread
From: Jan Djärv @ 2014-10-05 15:46 UTC (permalink / raw)
  To: EMRE YOLCU; +Cc: 17977-done

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

Hello.

This has been fixed in trunk.

	Jan D.

10 jul 2014 kl. 14:41 skrev EMRE YOLCU <eyolcu@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@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@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
> 
> 


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

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

end of thread, other threads:[~2014-10-05 15:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-09 13:08 bug#17977: Emacs 24.3 - cursor-type hbar renders incorrectly on OS X EMRE YOLCU
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

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