GNU bug report logs - #31699
26.1.50; find-face-definition defaults to non-face symbol

Previous Next

Package: emacs;

Reported by: "Basil L. Contovounesios" <contovob <at> tcd.ie>

Date: Sun, 3 Jun 2018 18:33:01 UTC

Severity: normal

Found in version 26.1.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#31699: closed (26.1.50; find-face-definition defaults to
 non-face symbol)
Date: Sat, 09 Jun 2018 06:58:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 09 Jun 2018 09:57:34 +0300
with message-id <83d0x0tpk1.fsf <at> gnu.org>
and subject line Re: bug#31699: 26.1.50; find-face-definition defaults to non-face symbol
has caused the debbugs.gnu.org bug report #31699,
regarding 26.1.50; find-face-definition defaults to non-face symbol
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
31699: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31699
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.1.50; find-face-definition defaults to non-face symbol
Date: Sun, 03 Jun 2018 19:32:38 +0100
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)


[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: "Basil L. Contovounesios" <contovob <at> tcd.ie>
Cc: 31699-done <at> debbugs.gnu.org
Subject: Re: bug#31699: 26.1.50;
 find-face-definition defaults to non-face symbol
Date: Sat, 09 Jun 2018 09:57:34 +0300
> From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
> Date: Sun, 03 Jun 2018 19:39:34 +0100
> 
> "Basil L. Contovounesios" <contovob <at> tcd.ie> writes:
> 
> > Patch to follow.
> 
> As promised:

Thanks, pushed to the master branch.


This bug report was last modified 7 years and 41 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.