From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: `read--expression' and `read-minibuffer' Date: Wed, 07 Sep 2016 20:19:04 -0400 Message-ID: References: <60e5e890-6f50-4f38-a74f-e82ff83b24dc@default> <8e6be928-75ae-4714-bf03-d6505954cf21@default> <10888855-8ce3-648f-82ac-2b9e1409effc@lanl.gov> <87fupb73sh.fsf@web.de> <87bmzz729e.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1473294298 14045 195.159.176.226 (8 Sep 2016 00:24:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 8 Sep 2016 00:24:58 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Michael Heerdegen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 08 02:24:48 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 1bhn8y-0001TH-9D for ged-emacs-devel@m.gmane.org; Thu, 08 Sep 2016 02:24:40 +0200 Original-Received: from localhost ([::1]:43908 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhn8n-00042v-38 for ged-emacs-devel@m.gmane.org; Wed, 07 Sep 2016 20:24:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhn3d-0007cR-C5 for emacs-devel@gnu.org; Wed, 07 Sep 2016 20:19:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhn3Z-0002uF-6t for emacs-devel@gnu.org; Wed, 07 Sep 2016 20:19:08 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:33615) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhn3Z-0002tw-2n for emacs-devel@gnu.org; Wed, 07 Sep 2016 20:19:05 -0400 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id u880J2Ib006047; Wed, 7 Sep 2016 20:19:03 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 71FF1AE0D5; Wed, 7 Sep 2016 20:19:04 -0400 (EDT) In-Reply-To: <87bmzz729e.fsf@web.de> (Michael Heerdegen's message of "Thu, 08 Sep 2016 00:50:53 +0200") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5790=0 X-NAI-Spam-Version: 2.3.0.9418 : core <5790> : inlines <5194> : streams <1696974> : uri <2284280> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 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:207284 Archived-At: >> 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. Could be, but that's what read-minibuffer does: it reads an S-exp without knowing anything more about what the S-exp will be used for. It's never the best choice, indeed. Stefan