[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: |
Eli Zaretskii |
Subject: |
bug#19903: 24.4; Emacs fails to save enriched buffer with error message `wrong-type-argument symbolp "bold"' |
Date: |
Fri, 20 Feb 2015 12:03:15 +0200 |
> Date: Fri, 20 Feb 2015 06:51:54 -0200
> From: Jorge <jorge13515@gmail.com>
> Cc: 19903-done@debbugs.gnu.org
>
> 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?
facemenu-set-face calls several other functions, some of which accept
face names, some don't.
- bug#19903: 24.4; wrong-type-argument symbolp "bold" during enriched-encode, (continued)
- bug#19903: 24.4; wrong-type-argument symbolp "bold" during enriched-encode, Eli Zaretskii, 2015/02/21
- bug#19903: 24.4; wrong-type-argument symbolp "bold" during enriched-encode, Ivan Shmakov, 2015/02/25
- bug#19903: 24.4; wrong-type-argument symbolp "bold" during enriched-encode, Eli Zaretskii, 2015/02/25
- bug#19903: 24.4; wrong-type-argument symbolp "bold" during enriched-encode, Ivan Shmakov, 2015/02/25
- bug#19903: 24.4; wrong-type-argument symbolp "bold" during enriched-encode, Eli Zaretskii, 2015/02/25
- bug#19903: 24.4; wrong-type-argument symbolp "bold" during enriched-encode, Ivan Shmakov, 2015/02/25
- bug#19912: facemenu-add-face: does not handle 'face being set to a property list, Ivan Shmakov, 2015/02/21
- bug#19912: facemenu-add-face: does not handle 'face being set to a property list, Ivan Shmakov, 2015/02/25
- bug#19912: facemenu-add-face: does not handle 'face being set to a property list, Ivan Shmakov, 2015/02/25
- bug#19912: facemenu-add-face: does not handle 'face being set to a property list, Ivan Shmakov, 2015/02/26
bug#19903: 24.4; Emacs fails to save enriched buffer with error message `wrong-type-argument symbolp "bold"',
Eli Zaretskii <=