From: Jan Chaloupka <jchaloup@redhat.com>
To: 18140@debbugs.gnu.org
Subject: bug#18140: [PATCH] macros.c: CHECK_VECTOR_OR_STRING invokes wrong_type_argument for Qnil instead of return 0
Date: Tue, 29 Jul 2014 10:55:20 +0200 [thread overview]
Message-ID: <53D76178.6000908@redhat.com> (raw)
In-Reply-To: <mvm7g2wh86h.fsf@hawking.suse.de>
On 07/29/2014 10:37 AM, Andreas Schwab wrote:
> Jan Chaloupka <jchaloup@redhat.com> writes:
>
>> Yes, for garbage collector. However, Vlast_kbd_macro will continue being
>> Qnil.
> Why is that a problem? That is the default value.
So is it correct if append and Vlast_kbd_macro are both Qnil resulting
in CHECK_VECTOR_OR_STRING fail?
The bug from BZ is use-case where emacs crashes at startup, loading
.emacs.desktop file.
>> In function Fstart_kbd_macro (macros.c), Vlast_kbd_macro of current_kboard
>> is
>> Qnil for the first invocation. If NILP (append) is false
>> CHECK_VECTOR_OR_STRING fails (invocation
>> of wrong_type_argument resulting in emacs_abort).
> Where does it call emacs_abort?
Because Vlast_kbd_macro is not VECTOR nor STRING
>
>> However, it has to pass.
> Why?
My first question in this response.
>
> Andreas.
>
next prev parent reply other threads:[~2014-07-29 8:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20140729053056.14713.45327.stgit@unused-4-157.brq.redhat.com>
2014-07-29 5:35 ` bug#18140: [PATCH] macros.c: CHECK_VECTOR_OR_STRING invokes wrong_type_argument for Qnil instead of return 0 Jan Chaloupka
2014-07-29 7:52 ` Andreas Schwab
2014-07-29 8:23 ` Jan Chaloupka
2014-07-29 8:37 ` Andreas Schwab
2014-07-29 8:55 ` Jan Chaloupka [this message]
2014-07-29 9:04 ` Andreas Schwab
2014-07-29 9:59 ` Jan Chaloupka
2014-07-29 10:05 ` Andreas Schwab
2014-07-29 8:10 ` Andreas Schwab
[not found] <20140728103721.7115.54163.stgit@unused-4-157.brq.redhat.com>
2014-07-29 5:01 ` Jan Chaloupka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53D76178.6000908@redhat.com \
--to=jchaloup@redhat.com \
--cc=18140@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).