From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 9709-done@debbugs.gnu.org
Subject: bug#9709: 24.0.90; TAB-completion causes assertion violation
Date: Tue, 11 Oct 2011 13:32:46 -0400 [thread overview]
Message-ID: <jwvlisr8s61.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <83fwj2dpdq.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 09 Oct 2011 19:52:01 +0200")
> emacs -Q
> C-x b w TAB
> => minibuf.c:1866: Emacs fatal error: assertion failed: CONSP ((bufs))
Oops, sorry, should be fixed now, thanks to the patch below,
Stefan
=== modified file 'src/minibuf.c'
--- src/minibuf.c 2011-10-02 00:25:27 +0000
+++ src/minibuf.c 2011-10-11 15:27:20 +0000
@@ -1859,9 +1859,10 @@
/* First, look for a non-internal buffer in `res'. */
while (CONSP (bufs) && SREF (XCAR (bufs), 0) == ' ')
bufs = XCDR (bufs);
- if (NILP (bufs) && EQ (Flength (res), Flength (Vbuffer_alist)))
- /* All bufs are internal, so don't trip them out. */
- return res;
+ if (NILP (bufs))
+ return (EQ (Flength (res), Flength (Vbuffer_alist))
+ /* All bufs are internal, so don't strip them out. */
+ ? res : bufs);
res = bufs;
while (CONSP (XCDR (bufs)))
if (SREF (XCAR (XCDR (bufs)), 0) == ' ')
prev parent reply other threads:[~2011-10-11 17:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-09 17:52 bug#9709: 24.0.90; TAB-completion causes assertion violation Eli Zaretskii
2011-10-11 17:32 ` Stefan Monnier [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvlisr8s61.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=9709-done@debbugs.gnu.org \
--cc=eliz@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.