From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.devel Subject: Re: `read--expression' and `read-minibuffer' Date: Thu, 08 Sep 2016 00:50:53 +0200 Message-ID: <87bmzz729e.fsf@web.de> References: <60e5e890-6f50-4f38-a74f-e82ff83b24dc@default> <8e6be928-75ae-4714-bf03-d6505954cf21@default> <10888855-8ce3-648f-82ac-2b9e1409effc@lanl.gov> <87fupb73sh.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1473288713 14272 195.159.176.226 (7 Sep 2016 22:51:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 7 Sep 2016 22:51:53 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 08 00:51:46 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bhlgy-0002Sg-NT for ged-emacs-devel@m.gmane.org; Thu, 08 Sep 2016 00:51:40 +0200 Original-Received: from localhost ([::1]:43579 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhlgw-00015Z-NJ for ged-emacs-devel@m.gmane.org; Wed, 07 Sep 2016 18:51:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhlgN-00015O-FO for emacs-devel@gnu.org; Wed, 07 Sep 2016 18:51:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhlgI-0004am-HX for emacs-devel@gnu.org; Wed, 07 Sep 2016 18:51:03 -0400 Original-Received: from mout.web.de ([212.227.17.11]:60145) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhlgI-0004ai-6p for emacs-devel@gnu.org; Wed, 07 Sep 2016 18:50:58 -0400 Original-Received: from drachen.dragon ([90.186.3.20]) by smtp.web.de (mrweb103) with ESMTPSA (Nemesis) id 0Mgwhg-1bLox52feC-00M0WT; Thu, 08 Sep 2016 00:50:55 +0200 In-Reply-To: (Stefan Monnier's message of "Wed, 07 Sep 2016 18:30:10 -0400") X-Provags-ID: V03:K0:sqclCrWWnJooTbvw9Llx/FBlqKC/PY1Af3osSg+IRYFu94OBBIP OXheQBLlD1WPMCRK58Mz1+5yoq0Auj7tlmhm4Auo77ExWZB7aN7+u3kyZ5KCJZwOXEu3QzU l6fTkCVbvy3CWI2cRoGR+WuMLw6wDOhavvAfsUz0LEOX3LOF2cCdfVzHgl5BXFDmbBIS977 A08s8q+CesKkifsUqrecA== X-UI-Out-Filterresults: notjunk:1;V01:K0:1/6FPkfXyRE=:zOFXrL9/rxzRGeyzGjrTUK HP784p+t5FlK41zXaycBz76bpMNJTWTdTNflx/OhQNd9OACAhOJBCiGjOeSw94Kkd3/m3UrpN gAmsH0lcSq81lbVgS3pAiWCEW2FDAhg1WwmpeA4Kx7RoHdOnmrey36KN8l87o5K2TSHbFt2oE 0FgdjKBkAcP8yXWt5yGQ/jRuiqHEDEYV3lhOr6LRRoOgTNKzCou6cXnViv3iZqjo9qBRMdh0a 6YIDofGLKpjV+vbMQ4iORwAgxU0AIDbjhNDFDbb4ymq/rSZrrf9aiWcZHwCP7JFx1T6TATP2O N3EbenrGGGT03vAc1wZq2gYXSF+YQYXeoGFD5YdAYqAjMV6LQwZPKhS+FIqSbc0V7MjzFaAbt k0nC8nj4d/1V52Td2DsQnMJMUIpemV+2tScy0FRWIqlLlWgeGAd2fI5uBpj+q9E/fMMvUMOB7 tetvlC7fNZNMRzGh8X5lA42/xaUzHEHDg2PlwX1jfKqD4WoXu0sr9U9iHh4nKAz3BIMkOSKb0 QXb8yIv7NaQhUv/n7ZgvqKK2PABtkqFcgNAjg4UaI1ogzyvu0s9lJEhEM+AvHu7UA73RMHggY 9DDNr2e55KngxlMsQF5N71KQ94ralpTGk+H4vQGWGXHlbApiLpNIc1bECcwJEluOcAjCy5s9q y+kf4T2FzLHbU0orRv8dWXa+kIGcMsCVyljlMLgDR5aGlZnHZSjPx3uQbnVIxNW81X74rFvhx RRoXoLxwt4JFyMibvCvUDCAdF5DQUoVjY42p6qTYgd7jN9e+AYZT63LMaPFjh2VkZusTUsOF X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.11 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:207283 Archived-At: Stefan Monnier writes: > Not at all. When a piece of code needs the user to type in an alist, Is this a real-life example? In this special case, a key+value multi prompt would be much more comfortable than a prompt for an alist, I think. If the alist is longer, I would prepare it in scratch and copy it into the minibuffer anyway. About what use cases of entering non-expression s-exps are we talking here? And maybe it often makes sense when symbol names appear in the alist, who knows? It's worse to have no completion in these cases than having a completion that is just not useful in the other cases. Or the programmer may even want to enable the user to enter an expression that evaluates to the alist he should specify (maybe the user wants to refer to some other alist some symbol is bound to, or he had entered before)...then we are in the other case again. Michael.