bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#19903: 24.4; Emacs fails to save enriched buffer with error message


From: Jorge
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@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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]