From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#33421: 26.1; hl-line face used as default Date: Mon, 19 Nov 2018 17:45:09 +0200 Message-ID: <83y39prrzu.fsf@gnu.org> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-7 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1542642251 29105 195.159.176.226 (19 Nov 2018 15:44:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2018 15:44:11 +0000 (UTC) Cc: 33421@debbugs.gnu.org To: "E. Choroba" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 19 16:44:06 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gOliY-0007St-NV for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Nov 2018 16:44:06 +0100 Original-Received: from localhost ([::1]:57307 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOlkf-0002dm-5j for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Nov 2018 10:46:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40749) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOlkT-0002bf-SE for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2018 10:46:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gOlkP-00083A-Tz for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2018 10:46:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56816) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gOlkP-000834-Qb for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2018 10:46:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gOlkP-0001dg-O8 for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2018 10:46:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Nov 2018 15:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33421 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33421-submit@debbugs.gnu.org id=B33421.15426423254410 (code B ref 33421); Mon, 19 Nov 2018 15:46:01 +0000 Original-Received: (at 33421) by debbugs.gnu.org; 19 Nov 2018 15:45:25 +0000 Original-Received: from localhost ([127.0.0.1]:32841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gOljp-00018s-Hr for submit@debbugs.gnu.org; Mon, 19 Nov 2018 10:45:25 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59059) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gOljn-00012g-Hd for 33421@debbugs.gnu.org; Mon, 19 Nov 2018 10:45:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gOlje-0007TQ-Gd for 33421@debbugs.gnu.org; Mon, 19 Nov 2018 10:45:18 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53271) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOljU-0007Ps-JQ; Mon, 19 Nov 2018 10:45:04 -0500 Original-Received: from [176.228.60.248] (port=2990 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gOljU-00054b-6F; Mon, 19 Nov 2018 10:45:04 -0500 In-reply-to: (choroba@matfyz.cz) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:152534 Archived-At: tags 33421 notabug thanks > Date: Sun, 18 Nov 2018 22:37:57 +0100 (CET) > From: "E. Choroba" > > When I use emacs 24.3.1 and run > > /usr/bin/emacs -Q > > Then M-< followed by M-x global-hl-line-mode and M-x describe-face, emacs asks > me > > Describe face (default `font-lock-comment-delimiter-face'): > > But when I use 26.1 and run > > /usr/local/bin/emacs -Q > > and run exactly the same commands, emacs asks me > > Describe face (default ˇhl-line˘): > > I have to turn hl-line off to get the name of the point's face. This makes the > default value of the function useless. I can reproduce this, but for me both Emacs 26 and Emacs 24 behave the same. So I don't know why your Emacs 24 behaves differently, perhaps it's due to some local changes that are not in upstream sources. In any case, "M-x describe-face" is not the right tool when there could be several text properties at the same position, because describe-face can only name one face, and it selects the one that affects the text the most. I suggest to use another command instead, "M-x describe-text-properties". It will pop up a window with information about all the properties at point, and you can then drill down using the buttons in that window. This is not a bug. Thanks.