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: Jorge <jorge13515 <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 19903-done <at> debbugs.gnu.org
Subject: bug#19903: 24.4; Emacs fails to save enriched buffer with error message `wrong-type-argument symbolp "bold"'
Date: Fri, 20 Feb 2015 06:51:54 -0200
On Fri, Feb 20, 2015 at 6:27 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> That's a cockpit error: the marked line should have said
>
>   (facemenu-set-face 'bold 1 2)
>
> instead.  Then this script will work and do what you expect.
Thank you very much for the clarification.  I just corrected my code.
However, it seems to me that the current behavior is not
user-friendly.  (facemenu-set-face "bold" 1 2) _does_ make the text
bold, without any warning - which makes it appear that the call was
successful - but then we get an error when we try to save the buffer.
Generally, it is best for errors to be detected as close to their
source as possible.  What do you think?

Regards




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.