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 18:30:10 -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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1473287252 14332 195.159.176.226 (7 Sep 2016 22:27:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 7 Sep 2016 22:27:32 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 08 00:27:29 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 1bhlJY-00038a-0d for ged-emacs-devel@m.gmane.org; Thu, 08 Sep 2016 00:27:28 +0200 Original-Received: from localhost ([::1]:43497 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhlJV-0008LM-1H for ged-emacs-devel@m.gmane.org; Wed, 07 Sep 2016 18:27:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38923) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhlJO-0008L4-UR for emacs-devel@gnu.org; Wed, 07 Sep 2016 18:27:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhlJL-0000O9-KA for emacs-devel@gnu.org; Wed, 07 Sep 2016 18:27:18 -0400 Original-Received: from [195.159.176.226] (port=57695 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhlJL-0000O5-DS for emacs-devel@gnu.org; Wed, 07 Sep 2016 18:27:15 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bhlJD-00011x-AA for emacs-devel@gnu.org; Thu, 08 Sep 2016 00:27:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 14 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:DMJ2Plqc81e+JUOrtwtMV28QVNI= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 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:207282 Archived-At: > This seems a bit like a pseudo problem to me. The difficulty to define > and distinguish the two cases indicates that. Not at all. When a piece of code needs the user to type in an alist, it uses read-minibuffer, when it needs the user to type in some kind of chunk of code, it uses read--expression. Both can be used to type in the same set of values, but the intention behind is very different and providing eldoc support when typing in an alist wouldn't make much sense in general, whereas it will usually be meaningful in read--expression. Stefan