unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Basil L. Contovounesios" <contovob@tcd.ie>
To: 31699@debbugs.gnu.org
Subject: bug#31699: 26.1.50; find-face-definition defaults to non-face symbol
Date: Sun, 03 Jun 2018 19:32:38 +0100	[thread overview]
Message-ID: <87fu23ra9l.fsf@tcd.ie> (raw)


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’t know where ‘major-mode’ 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,

-- 
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)





             reply	other threads:[~2018-06-03 18:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-03 18:32 Basil L. Contovounesios [this message]
2018-06-03 18:39 ` bug#31699: 26.1.50; find-face-definition defaults to non-face symbol Basil L. Contovounesios
2018-06-09  6:57   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fu23ra9l.fsf@tcd.ie \
    --to=contovob@tcd.ie \
    --cc=31699@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).