all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: bug-gnu-emacs@gnu.org
Subject: bug#6378: all-completions Segfault
Date: Wed, 09 Jun 2010 12:05:15 +0200	[thread overview]
Message-ID: <878w6ojzc4.fsf@tux.homenetwork> (raw)
In-Reply-To: <AANLkTimXG8KLpCE8oINzI4btpgGQOc38SLAsHHY266XO@mail.gmail.com>

Lennart Borgman <lennart.borgman@gmail.com> writes:

> On Wed, Jun 9, 2010 at 9:23 AM, Thierry Volpiatto
> <thierry.volpiatto@gmail.com> wrote:
>> Lennart Borgman <lennart.borgman@gmail.com> writes:
>>
>>> On Wed, Jun 9, 2010 at 7:13 AM, Thierry Volpiatto
>>> <thierry.volpiatto@gmail.com> wrote:
>>>> (completing-read "test: " [1 2 3 23 24 34 26 40 28])
>>>
>>> Does not that crash just because only symbols or strings can be keys
>>> in the collection?
>> I thought but it's worst, because:
>>
>> (completing-read "test: " ["1" "2" "23" "24" "25" "34" "45" "56"])
>>
>> Also crash emacs.
>
> Yes, it expects an obarray, not a plain vector.

Anyway if completing-read is not able to handle a vector 
it should return an error and not crashing emacs.

-- 
Thierry Volpiatto
Gpg key: http://pgp.mit.edu/






  reply	other threads:[~2010-06-09 10:05 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-08 15:46 bug#6378: all-completions Segfault Nathan Weizenbaum
2010-06-08 16:37 ` Lawrence Mitchell
2010-06-08 20:30   ` Stefan Monnier
2010-06-09  5:13     ` Thierry Volpiatto
2010-06-09  6:13       ` Lennart Borgman
2010-06-09  7:23         ` Thierry Volpiatto
2010-06-09  8:51           ` Lennart Borgman
2010-06-09 10:05             ` Thierry Volpiatto [this message]
2010-06-09 11:43               ` Andreas Schwab
2010-06-09 12:01                 ` Thierry Volpiatto
2010-06-09 12:13                   ` Andreas Schwab
2010-06-09  6:18       ` Thierry Volpiatto
2010-06-09  9:09     ` Lawrence Mitchell
2010-06-08 16:41 ` Juanma Barranquero
2010-06-08 16:53   ` Juanma Barranquero
2010-06-08 18:58     ` Lennart Borgman
2010-06-08 19:08       ` Juanma Barranquero
2010-06-08 19:32         ` Lennart Borgman
2010-06-08 19:57           ` Juanma Barranquero

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=878w6ojzc4.fsf@tux.homenetwork \
    --to=thierry.volpiatto@gmail.com \
    --cc=bug-gnu-emacs@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.