Subject: Re: bug#19903: 24.4; wrong-type-argument symbolp "bold" during enriched-encode

From: Ivan Shmakov <[email-masked]>
Date: Thu, 19 Feb 2015 18:48:01 +0000

>>>>> Jorge  <[email-masked]> writes:

[…]

 > (print (emacs-version))
 > (toggle-debug-on-error)
 > (find-file "enriched_bug_orig.txt")
 > (write-file "enriched_bug_edited.txt")
 > (facemenu-set-face "bold" 1 2)
 > (save-buffer 0)

	Could you please try and report if the error is still signalled
	if the code above is changed to use the 'bold symbol instead of
	a "bold" string?

[…]

 > Enriched: encoding document...
 > Debugger entered--Lisp error: (wrong-type-argument symbolp "bold")
 >   internal-get-lisp-face-attribute("bold" :foreground nil)
 >   face-attribute("bold" :foreground)
 >   enriched-face-ans("bold")
 >   enriched-encode-other-face(nil "bold")

	Unless I be mistaken, faces are ought to be symbols, not
	strings, so this error appears entirely reasonable.

[…]

-- 
FSF associate member #7257  http://boycottsystemd.org/  … 3013 B6A0 230E 334A