GNU bug report logs - #19903
24.4; Emacs fails to save enriched buffer with error message `wrong-type-argument symbolp "bold"'

Previous Next

Package: emacs;

Reported by: Jorge <jorge13515 <at> gmail.com>

Date: Thu, 19 Feb 2015 17:53:01 UTC

Severity: normal

Found in version 24.4

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: Ivan Shmakov <ivan <at> siamics.net>
To: 19903 <at> debbugs.gnu.org, Jorge <jorge13515 <at> gmail.com>
Subject: bug#19903: 24.4; wrong-type-argument symbolp "bold" during enriched-encode 
Date: Thu, 19 Feb 2015 18:48:01 +0000
>>>>> Jorge  <jorge13515 <at> gmail.com> 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




This bug report was last modified 10 years and 85 days ago.

Previous Next


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