GNU bug report logs - #14209
24.3.50; read-face-name: M-o o hi-yellow fails

Previous Next

Package: emacs;

Reported by: Jambunathan K <kjambunathan <at> gmail.com>

Date: Mon, 15 Apr 2013 17:19:01 UTC

Severity: normal

Fixed in version 24.3.50

Done: Roland Winkler <winkler <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: Roland Winkler <winkler <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#14209: closed (24.3.50; read-face-name: M-o o hi-yellow fails)
Date: Sat, 20 Apr 2013 17:47:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 20 Apr 2013 12:41:48 -0500
with message-id <87a9otaylf.fsf <at> gnu.org>
and subject line Re: bug#14209: 24.3.50; read-face-name: M-o o hi-yellow fails
has caused the debbugs.gnu.org bug report #14209,
regarding 24.3.50; read-face-name: M-o o hi-yellow fails
to be marked as done.

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


-- 
14209: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14209
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jambunathan K <kjambunathan <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; read-face-name: M-o o hi-yellow fails
Date: Mon, 15 Apr 2013 22:44:11 +0530
M-o o hi-yellow fails with

,----
| Debugger entered--Lisp error: (wrong-type-argument stringp (hi-yellow))
|   intern((hi-yellow))
|   facemenu-add-new-face((hi-yellow))
|   facemenu-set-face((hi-yellow) nil nil)
|   call-interactively(facemenu-set-face nil nil)
|   command-execute(facemenu-set-face)
`----

The following fix works.

,----  Towards the end of `read-face-name'
| 
|     ;; Return either a list of faces or just one face.
|     (if multiple
|         (nreverse faces)
|       (car (last faces)))   <===== FIXME: `car' is necessary
`----


In GNU Emacs 24.3.50.2 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2013-04-15 on debian-6.05
Bzr revision: 112293 michael.albinus <at> gmx.de-20130415134229-gwd6enp86q5a24fd
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
Important settings:
  value of $LANG: en_IN
  locale-coding-system: iso-latin-1-unix
  default enable-multibyte-characters: t



[Message part 3 (message/rfc822, inline)]
From: Roland Winkler <winkler <at> gnu.org>
To: Jambunathan K <kjambunathan <at> gmail.com>
Cc: 14209-done <at> debbugs.gnu.org
Subject: Re: bug#14209: 24.3.50; read-face-name: M-o o hi-yellow fails
Date: Sat, 20 Apr 2013 12:41:48 -0500
Version: 24.3.50

> ,----  Towards the end of `read-face-name' |  |     ;; Return 
> either a list of faces or just one face.  |     (if multiple | 
> (nreverse faces) |       (car (last faces)))   <===== FIXME: 
> `car' is necessary `---- 

Done.


This bug report was last modified 12 years and 93 days ago.

Previous Next


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