From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.bugs Subject: bug#31699: 26.1.50; find-face-definition defaults to non-face symbol Date: Sun, 03 Jun 2018 19:32:38 +0100 Message-ID: <87fu23ra9l.fsf@tcd.ie> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1528050667 27749 195.159.176.226 (3 Jun 2018 18:31:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 3 Jun 2018 18:31:07 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: 31699@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 03 20:31:03 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 1fPXmR-000765-0j for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jun 2018 20:31:03 +0200 Original-Received: from localhost ([::1]:36292 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPXoX-0000o7-Qv for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jun 2018 14:33:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPXoQ-0000nq-VP for bug-gnu-emacs@gnu.org; Sun, 03 Jun 2018 14:33:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fPXoM-0003Tp-Ch for bug-gnu-emacs@gnu.org; Sun, 03 Jun 2018 14:33:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52645) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fPXoM-0003Tj-7m for bug-gnu-emacs@gnu.org; Sun, 03 Jun 2018 14:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fPXoM-00008k-2U for bug-gnu-emacs@gnu.org; Sun, 03 Jun 2018 14:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Jun 2018 18:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31699 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.1528050775524 (code B ref -1); Sun, 03 Jun 2018 18:33:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Jun 2018 18:32:55 +0000 Original-Received: from localhost ([127.0.0.1]:60542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fPXoF-00008O-0X for submit@debbugs.gnu.org; Sun, 03 Jun 2018 14:32:55 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41331) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fPXoD-000089-Ob for submit@debbugs.gnu.org; Sun, 03 Jun 2018 14:32:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fPXo7-0003LU-RQ for submit@debbugs.gnu.org; Sun, 03 Jun 2018 14:32:48 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:43078) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fPXo7-0003LN-OK for submit@debbugs.gnu.org; Sun, 03 Jun 2018 14:32:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPXo6-0000nU-NE for bug-gnu-emacs@gnu.org; Sun, 03 Jun 2018 14:32:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fPXo2-0003J2-4x for bug-gnu-emacs@gnu.org; Sun, 03 Jun 2018 14:32:46 -0400 Original-Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:50368) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fPXo1-0003Ii-TK for bug-gnu-emacs@gnu.org; Sun, 03 Jun 2018 14:32:42 -0400 Original-Received: by mail-wm0-x232.google.com with SMTP id t11-v6so11418702wmt.0 for ; Sun, 03 Jun 2018 11:32:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:user-agent:mime-version :content-transfer-encoding; bh=pcO8hkBv0P5buwhILSBBvrkoMggUeMf+h8vKocvsdwU=; b=nzjocyvqaswiCau+5WD033iCKSj82zgleGYzw9dALRb7sRTriUvekYGFS/KJgtQ3NI mZOY1+zKbSgjtLoMZYDqTk8juk9gnmyW+3R0jeOv3ADRjFQWCbzqYivUKZm8tuSWF5Ln 7M5ZuiKazTvL+aS20/ODuzdSV4eLTG6AosANRjeJLtvnk9QOK4dMdxPdLsuYid9Utmp9 yic+RjvEVXQWvbeBpti2DfdwbcCwANN6gZXj1f37/M9ixNCyggK4iibfqYopdUgyTW0n J/4s0xApZfc2q+rrDQOzAvqvCrtxoreYassN/y7cECm6zx2V0TQf5+hzBiyCxfPpGffE +xCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version:content-transfer-encoding; bh=pcO8hkBv0P5buwhILSBBvrkoMggUeMf+h8vKocvsdwU=; b=Fngn/ChFbcVxFWo4fmU6YaUlylIEbWx/d5EUdeOqwJWspOp+YhPsZhw8hdMcWQtbzG Vo3+LpNbZop+q9pM/q8EFVAzy0MN7ns8WH+rKlXGI3/SptIjW6JxODMbrN3M6Q0QEMnJ DB7NadV4SXoqIkNv1ZYBIMxcSG5xujUpskcDMFtzToXCXGrNOyudGALsQKMORCt0T2by rBI6Jd7XsnQh/erzniV4u4kIT6Dy/XmCsdAedXpCSShKM+HAl5T22eFTasTbO0YXB0u2 L5tTYUSGRtoTJH3WLhwK7FOtjt2YMOIwAMCgt7RHFeQZmxItF7/+3O2wfVX743rGIzFU O4Rw== X-Gm-Message-State: APt69E3i6hsUBUj+7Yd6fQOwFnPv1CmSYZCcg8PreWQ5RMJecxuLk5NM aH5EdRFKCzlvPoFRgPLYCXdVt5o0 X-Google-Smtp-Source: ADUXVKL8zBKtVx1K6NyQ86vu15fmD+GhLzYS0LDGJ4GfL4SVsNyZZK+VsSzEByJFLN3Exbfp30qShQ== X-Received: by 2002:a50:b003:: with SMTP id i3-v6mr5075661edd.293.1528050760573; Sun, 03 Jun 2018 11:32:40 -0700 (PDT) Original-Received: from localhost ([213.233.149.4]) by smtp.gmail.com with ESMTPSA id x3-v6sm20110648eda.55.2018.06.03.11.32.39 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 03 Jun 2018 11:32:39 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:146920 Archived-At: The following: 1. emacs -Q 2. M-: (insert "major-mode") RET 3. M-x find-face-definition RET RET results in the following *Messages* line: find-function-search-for-symbol: Don=E2=80=99t know where =E2=80=98major-mode=E2=80=99 is defined This is due to find-function-read using (variable-at-point t) instead of (face-at-point t) to calculate the default completion candidate, even when given an argument of 'defface. Patch to follow. Thanks, --=20 Basil In GNU Emacs 26.1.50 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll= bars) of 2018-06-03 built on thunk Repository revision: 16e8541b743a6beb1926fef53cf1bfaed9c346db Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 System Description: Debian GNU/Linux testing (buster)