From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Newsgroups: gmane.emacs.bugs Subject: bug#24543: 25.1; describe-symbol doesn't show face with same name as a variable Date: Tue, 25 Jul 2017 22:28:05 -0600 Message-ID: <87r2x3g6ui.fsf@lylat> References: <87d1jrzufs.fsf@gmail.com> <87shizwqca.fsf@lylat> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1501043359 25143 195.159.176.226 (26 Jul 2017 04:29:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 26 Jul 2017 04:29:19 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: 24543@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 26 06:29:15 2017 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 1daDwb-00060P-K7 for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Jul 2017 06:29:09 +0200 Original-Received: from localhost ([::1]:35971 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daDwh-0007FY-4T for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Jul 2017 00:29:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daDwZ-0007EM-1Y for bug-gnu-emacs@gnu.org; Wed, 26 Jul 2017 00:29:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1daDwU-0007sE-3j for bug-gnu-emacs@gnu.org; Wed, 26 Jul 2017 00:29:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53939) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1daDwU-0007s7-09 for bug-gnu-emacs@gnu.org; Wed, 26 Jul 2017 00:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1daDwT-0007du-JF for bug-gnu-emacs@gnu.org; Wed, 26 Jul 2017 00:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alex Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Jul 2017 04:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24543 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24543-submit@debbugs.gnu.org id=B24543.150104329629326 (code B ref 24543); Wed, 26 Jul 2017 04:29:01 +0000 Original-Received: (at 24543) by debbugs.gnu.org; 26 Jul 2017 04:28:16 +0000 Original-Received: from localhost ([127.0.0.1]:56616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1daDvj-0007cw-Re for submit@debbugs.gnu.org; Wed, 26 Jul 2017 00:28:15 -0400 Original-Received: from mail-io0-f194.google.com ([209.85.223.194]:38521) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1daDvi-0007ci-7L for 24543@debbugs.gnu.org; Wed, 26 Jul 2017 00:28:14 -0400 Original-Received: by mail-io0-f194.google.com with SMTP id l7so10531148iof.5 for <24543@debbugs.gnu.org>; Tue, 25 Jul 2017 21:28:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=81WFdjIV+rlF985UyiW0c3qdu+7OoC1fGuq7CLwbNfk=; b=gxRVCdLqur/lrX6qEbI8A72Zg9FjavAXR/879yaWLq12UmLTIjxKPwyGJI7dgd3VUJ 5m13yc5emhZHokeZY+0Ua+ilG4vPSTBJR1nZZiKkrlTWkOaNXUbhUuQqIfkBpUDO0R6x aPo3E58w3TpBSg9eheGpA8PnW95DSE3IPXeVwMBkwmeCy1U1HZQtuVwfMqMe6AlVobwS ImBqf3ZSBM4lMi/kCOFeP9x1NYXGN9n/U0TnAjE6Ap803SKoC93E+FoqeTUyLF8q4cMH wO/tPL50yPJcxVRTdNbND/5Z1/25uJRtwPibXAxS0ABz4sglV4wiDq4c+3cPfHW8SfgV rIOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=81WFdjIV+rlF985UyiW0c3qdu+7OoC1fGuq7CLwbNfk=; b=uB2CYzxDRo7ZHSoZvpjX7Kc6jm4uzyCl9g1k4oA89kCQbXDT8wiqK5IdNtMv5IQEZa oyA/WewBeq33lnTULCAqE2gW0ZAtBFxBq39etv0fNcG2qR/7BZvpwa3aqZEXwUlRsqlV cHmLKGSjQn8ohE8NpIlWcFhTKOTgzVHb2jxyjwm9i/bUgJkcSGzpj7pWqSQR8o+aAvHu 8NmKd5Zg1Or3bRlYBGtfkNygP++FCfSVl/Hm9QXlrqtS2pCf3kcBXTkZyFuVc6ZizLW/ tAuauscer1IIrQZsr6/ZB5wFfED7hkvhr21bx76SZYf5Jz6BGyt/9xQWXN/gDZBbC22X /QmA== X-Gm-Message-State: AIVw112ohu4+0/H8+CP34+uHXD53UAMCTtfHgBy0HL9oeLFCSXd7QZV0 bbOVoekEvlsf0eLP X-Received: by 10.107.162.6 with SMTP id l6mr22911536ioe.84.1501043288236; Tue, 25 Jul 2017 21:28:08 -0700 (PDT) Original-Received: from lylat (S010664777d9cebe3.ss.shawcable.net. [70.64.85.59]) by smtp.gmail.com with ESMTPSA id l184sm7556947iol.43.2017.07.25.21.28.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Jul 2017 21:28:07 -0700 (PDT) In-Reply-To: <87shizwqca.fsf@lylat> (Alex's message of "Fri, 16 Jun 2017 15:54:45 -0600") 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:135005 Archived-At: Alex writes: > Alex writes: > >> Recipe: >> >> emacs -Q >> C-h o font-lock-comment-face RET >> >> Only the variable of this name is shown, not the face (which can be >> viewed with describe-face, of course). >> >> It appears that when the face only shares a name with a function, then >> both the function and face are shown. Only a variable shadows the face >> in describe-symbol. > > This is because describe-symbol isn't returning (buffer-string) like > describe-{function, variable} are. > > I've attached a patch fixing this problem. > > Additionally, I have attached another patch that re-orders the placement > of variables/faces in describe-symbol, to put more emphasis on the > variable entry rather than the face. Ping. Eli?