From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Jaros=C5=82aw_?= =?UTF-8?Q?Rzesz=C3=B3tko?= Newsgroups: gmane.emacs.bugs Subject: bug#16192: hl-line-mode: Current line highlighting takes precedence over region highlighting Date: Thu, 19 Dec 2013 15:19:45 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1136752477a8fc04ede3da3c X-Trace: ger.gmane.org 1387462812 28007 80.91.229.3 (19 Dec 2013 14:20:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Dec 2013 14:20:12 +0000 (UTC) Cc: 16192@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 19 15:20:18 2013 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 1VteSX-00018j-Gd for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Dec 2013 15:20:17 +0100 Original-Received: from localhost ([::1]:44381 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VteSW-0006ZB-QO for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Dec 2013 09:20:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VteSP-0006Xj-0C for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2013 09:20:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VteSK-00007u-3v for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2013 09:20:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44365) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VteSJ-00007D-Vc for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2013 09:20:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VteSI-0007QS-UO for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2013 09:20:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jaros=C5=82aw_?= =?UTF-8?Q?Rzesz=C3=B3tko?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Dec 2013 14:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16192 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16192-submit@debbugs.gnu.org id=B16192.138746278928515 (code B ref 16192); Thu, 19 Dec 2013 14:20:02 +0000 Original-Received: (at 16192) by debbugs.gnu.org; 19 Dec 2013 14:19:49 +0000 Original-Received: from localhost ([127.0.0.1]:58384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VteS4-0007Pq-Ns for submit@debbugs.gnu.org; Thu, 19 Dec 2013 09:19:49 -0500 Original-Received: from mail-pd0-f182.google.com ([209.85.192.182]:35827) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VteS2-0007Pe-Nn for 16192@debbugs.gnu.org; Thu, 19 Dec 2013 09:19:47 -0500 Original-Received: by mail-pd0-f182.google.com with SMTP id v10so1182454pde.13 for <16192@debbugs.gnu.org>; Thu, 19 Dec 2013 06:19:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=xAeaVs6zaUHzR55rBqFl4SpOQMuYkfMYEfxCbaTyya4=; b=zZdgYPU3VAiwFcuxlhcAFkq76TWkmAHaHXYWBkiZJVj3zOEkbxCzWDJdFqjjgbj6FO zeFWgAfFuhMb9E1VMg2Tn5aScE1KcqVmX/ilMSp/ywYFDS/FpnSzLDJAHKlDkM5peevb Xj/S62r/FUQKfCaDmpBcZ2GrL3O0RF4WvYj1zHAT3fdYueswQEsHm6+FxA9SR3rjoAnd hKW9Fh1wckB3ibyrANMQ+q6ppRv8agat/KL2WLo7Io3wi/WY0DGvyg0AM0N6rPnTEA6u lSNHYzd5eB4Of+XzObLRtJK2st4VMmftx/hUF5BQ5CZm/uTfH/frNJ5G3FpWOMuBqS1i 2SIA== X-Received: by 10.69.19.225 with SMTP id gx1mr2058529pbd.62.1387462785474; Thu, 19 Dec 2013 06:19:45 -0800 (PST) Original-Received: by 10.66.77.230 with HTTP; Thu, 19 Dec 2013 06:19:45 -0800 (PST) In-Reply-To: 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:82222 Archived-At: --001a1136752477a8fc04ede3da3c Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Hi, There is now a little quirk if the window has a margin, see here: http://imgur.com/pkxRmhf The first column on the left is the margin (as in left-margin-width), and the bright yellow rectangle is the cursor block. When the margin is disabled, it does fix the issue for me. Cheers, Jaros=B3aw Rzesz=F3tko 2013/12/19 Stefan Monnier > > I use a current emacs build from VCS. When you use hl-line-mode with th= e > > default settings, the highlighting of the current line takes precedence > > over the region highlighting. > > Actually, that depends on the relative position/size of the two. > I've just installed a patch which lowers the priority of the hl-line > highlighting, which seems like a good thing to do in general and which > should resolve this problem (unless you use the same attributes for the > region and the hl-line faces). > > > Stefan > --001a1136752477a8fc04ede3da3c Content-Type: text/html; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable
Hi,

There is now a little quirk if the window = has a margin, see here:

http://= imgur.com/pkxRmhf

The first column on the left is the marg= in (as in left-margin-width), and the bright yellow rectangle is the cursor= block. When the margin is disabled, it does fix the issue for me.

Cheers,
Jaros=B3aw Rzesz=F3tko
<= br>
2013/12/19 Stefan Monnier <monnie= r@iro.umontreal.ca>
> I use a current emacs build from VCS. W= hen you use hl-line-mode with the
> default settings, the highlighting of the current line takes precedenc= e
> over the region highlighting.

Actually, that depends on the relative position/size of the two.
I've just installed a patch which lowers the priority of the hl-line highlighting, which seems like a good thing to do in general and which
should resolve this problem (unless you use the same attributes for the
region and the hl-line faces).


=A0 =A0 =A0 =A0 Stefan

--001a1136752477a8fc04ede3da3c--