From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: EMRE YOLCU Newsgroups: gmane.emacs.bugs Subject: bug#17977: Emacs 24.3 - cursor-type hbar renders incorrectly on OS X Date: Thu, 10 Jul 2014 15:41:44 +0300 Message-ID: References: <503D9288-4781-4134-B475-C592E90A5EF1@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e01493d60bb88b404fdd625ae X-Trace: ger.gmane.org 1405023595 8788 80.91.229.3 (10 Jul 2014 20:19:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Jul 2014 20:19:55 +0000 (UTC) Cc: 17977@debbugs.gnu.org To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 10 22:19:48 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X5Kol-0004EN-F5 for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Jul 2014 22:19:47 +0200 Original-Received: from localhost ([::1]:37869 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5Dl0-0003BF-1b for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Jul 2014 08:47:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33397) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5Dgs-0000Wu-G0 for bug-gnu-emacs@gnu.org; Thu, 10 Jul 2014 08:43:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X5Dgk-0000vG-Rc for bug-gnu-emacs@gnu.org; Thu, 10 Jul 2014 08:43:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36999) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5Dgk-0000v9-Dw for bug-gnu-emacs@gnu.org; Thu, 10 Jul 2014 08:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X5Dgj-00013K-Tj for bug-gnu-emacs@gnu.org; Thu, 10 Jul 2014 08:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: EMRE YOLCU Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Jul 2014 12:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17977 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17977-submit@debbugs.gnu.org id=B17977.14049961223973 (code B ref 17977); Thu, 10 Jul 2014 12:43:01 +0000 Original-Received: (at 17977) by debbugs.gnu.org; 10 Jul 2014 12:42:02 +0000 Original-Received: from localhost ([127.0.0.1]:51797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X5Dfh-00011g-Ug for submit@debbugs.gnu.org; Thu, 10 Jul 2014 08:42:01 -0400 Original-Received: from mail-we0-f179.google.com ([74.125.82.179]:45242) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X5Dfa-00011M-S8 for 17977@debbugs.gnu.org; Thu, 10 Jul 2014 08:41:55 -0400 Original-Received: by mail-we0-f179.google.com with SMTP id w62so9001815wes.10 for <17977@debbugs.gnu.org>; Thu, 10 Jul 2014 05:41:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ku.edu.tr; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=pGhTi/Rax8ZsSZozhKzUAZVwrYmo8RItLb9eOhfgKgc=; b=VnnVyJ2Y6NYLMPo5x7PNh5TQm8aFjF0pnie7B/Bmpx0gYVugMSBPd30BVIqkWqTJdo sx8HbNzLch8v5SvF9NueKp3HHBSATzVz+jK66HJBEV6vB2NlUXAtMqtwWBVNbGai99x9 OFpzO+x/oF1N9rLB6KNaaTQr6LFM1smd7Q0IM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=pGhTi/Rax8ZsSZozhKzUAZVwrYmo8RItLb9eOhfgKgc=; b=i7v+malSsA/xISl+fIihpPLzzVHoPq1tru3agrCoPSq4cRmgKC/RIFEAARMn1mHQCx wS/R8iPwjo0u++Q9E0OoaRfxurPNpQLT+a0zcYIUf+kaM2fOOt0TwPLj94bLX/ZXZzXO 9I7RhewFncV13989H4tyxHaD0BSIkNRQhjCpWt6wyKDo12PO1P59FSXAHil3lTjhu+xZ ISXxk5xR90b6W2s7KBEVQcnx0KJ7j6QmEli/azpREyGYtLoHpp/ZtXznLaAjd7zgHZKb 24TLpSqJydOA9PbDQLMi1azV5KFGsg6ZsNnEtQ1PSIa5OjgZHxQRrfXpbda3J4tyO3lL YioA== X-Gm-Message-State: ALoCoQmL2g71gNv24z6+MaKohNfB4n2KM2ZYNf3TpodMinyTVuuzAlhGZWvXb6Osj24R3/9QUSfd X-Received: by 10.194.238.231 with SMTP id vn7mr32170942wjc.99.1404996104707; Thu, 10 Jul 2014 05:41:44 -0700 (PDT) Original-Received: by 10.216.181.8 with HTTP; Thu, 10 Jul 2014 05:41:44 -0700 (PDT) In-Reply-To: <503D9288-4781-4134-B475-C592E90A5EF1@swipnet.se> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:91410 Archived-At: --089e01493d60bb88b404fdd625ae Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I did fix them in the second email I sent. On Thu, Jul 10, 2014 at 9:53 AM, Jan Dj=C3=A4rv wrote: > Hello. > > The links to the screenshots are bogous (" > webkit-fake-url://8D9F72A3-85EA-4499-A2=3D > 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 : > > 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 settin= gs > 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 correctl= y > > 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 lar= ge > 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 .local > Windowing system distributor `Apple', version 10.3.1265 > Configured using: > `configure '--prefix=3D/usr/local/Cellar/emacs/24.3' '--without-dbus' > '--enable-locallisppath=3D/usr/local/share/emacs/site-lisp' > '--infodir=3D/usr/local/Cellar/emacs/24.3/share/info/emacs' > '--without-gnutls' '--with-ns' '--disable-ns-self-contained' > 'CC=3Dclang'' > > Important settings: > value of $LANG: en_US.UTF-8 > locale-coding-system: utf-8-unix > default enable-multibyte-characters: t > > > --089e01493d60bb88b404fdd625ae Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I did fix them in the second email I sent.


On Thu, Jul 10, 201= 4 at 9:53 AM, Jan Dj=C3=A4rv <jan.h.d@swipnet.se> wrote:
Hello.
The links to the screenshots are bogous ("webkit-fake-url://8D9F72A3-85EA-= 4499-A2=3D
59-D471950B78DA/imag= e.tiff"), please fix these. =C2=A0Also, use jpg instead of tiff= , they are smaller images.

Jan D.
=C2=A0
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 "--c= ocoa --srgb" does not honor the following settings in init.el as it sh= ould:

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-defa= ult cursor-type '(hbar . 200)) ;this one does not work correctly
Normally, when line-spacing is set to a value higher than 0, the cursor he= ight 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 val= ue (200). This is supposed to increase the cursor height to fit the highlig= hted 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 c= ursor 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-a= pple-darwin13.2.0, NS apple-appkit-1265.20)
=C2=A0of 2014-07-04 on <n= ame>.local
Windowing system distributor `Apple', version 10.3.126= 5
Configured using:
=C2=A0`configure '--prefix=3D/usr/local/Cellar/ema= cs/24.3' '--without-dbus'
=C2=A0'--enable-locallisppath= =3D/usr/local/share/emacs/site-lisp'
=C2=A0'--infodir=3D/usr/loc= al/Cellar/emacs/24.3/share/info/emacs'
=C2=A0'--without-gnutls' '--with-ns' '--disable-ns-self= -contained'
=C2=A0'CC=3Dclang''

Important setting= s:
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 locale-coding-system: ut= f-8-unix
=C2=A0 default enable-multibyte-characters: t


--089e01493d60bb88b404fdd625ae--