From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: C-x C-e with prefix arg Date: Tue, 7 May 2013 14:42:42 -0700 Message-ID: References: <4D5891EF34DF42D3A479CF83CAF1E43E@us.oracle.com><87zjw97qo7.fsf@mail.jurta.org><87zjw9z0fk.fsf@mail.jurta.org><88878C7DA62F4DC792EEEE03D46C115B@us.oracle.com><87ip2w1ory.fsf@mail.jurta.org><87ip2vlw8w.fsf@mail.jurta.org><87bo8ngpjr.fsf@mail.jurta.org> <87bo8ma8yr.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1367962977 2266 80.91.229.3 (7 May 2013 21:42:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 May 2013 21:42:57 +0000 (UTC) Cc: emacs-devel@gnu.org To: "'Juri Linkov'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 07 23:42:55 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UZpev-0004Mh-I6 for ged-emacs-devel@m.gmane.org; Tue, 07 May 2013 23:42:53 +0200 Original-Received: from localhost ([::1]:54242 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZpev-0006WP-4i for ged-emacs-devel@m.gmane.org; Tue, 07 May 2013 17:42:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZper-0006WJ-JQ for emacs-devel@gnu.org; Tue, 07 May 2013 17:42:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UZpeq-0006cr-DS for emacs-devel@gnu.org; Tue, 07 May 2013 17:42:49 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:43717) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZpeq-0006cm-7M for emacs-devel@gnu.org; Tue, 07 May 2013 17:42:48 -0400 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r47Lgkjg024399 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 7 May 2013 21:42:47 GMT Original-Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r47LgjqP021152 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 7 May 2013 21:42:45 GMT Original-Received: from abhmt120.oracle.com (abhmt120.oracle.com [141.146.116.72]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r47LgiH2020322; Tue, 7 May 2013 21:42:44 GMT Original-Received: from dradamslap1 (/130.35.178.8) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 07 May 2013 14:42:44 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87bo8ma8yr.fsf@mail.jurta.org> Thread-Index: Ac5LZWsLAkr+OzulQ9y95wtWqgJz6QAApbQA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:159411 Archived-At: > > By your logic, `C-h v' should also print using elision. > > `C-h v' uses the special treatment of large values too: > it moves long lists to the end of the *Help* buffer > and puts the text "Its value is shown below" on the top. > To see the full value, you have to click the button "[below]". No, you don't have to click any button. The full value is shown, without you having to do anything at all. It's just there, period. There is no intermediate, partial value printed, ever. And this is the case even for a help command, not for a command that inserts the value in the buffer, for you to edit or otherwise use. IOW, even just for help, Emacs gives you the full value. > Similarly, you have to click on the abbreviated list > printed by `C-x C-e' to see its full value. Not similar - see above. You're twisting things. For `C-x C-e', the full value should be printed when you print to the current buffer. If you instead want to insert only part of the value, then you can jump through a (minor) extra hoop: `C--' instead of `C-u'. Neither is harder than the other, of course, but `M--' is less commonly used by some users. People should not have to guess that they can "click on the abbreviated list printed by `C-x C-e' to see its full value." That's nuts, IMHO. > > IMO, users should have a quick way of getting the full > > value in the current buffer, _even if_ they generally prefer > > the partial value and have reflected that more general preference > > in the user options. > > Currently the quickest way to get the full value is `C-u C-x > C-e C-b RET' (`C-b' moves point to the abbreviated list where > `RET' is bound to `last-sexp-toggle-display'). That's crazy. No one should have to guess that and then jump through such hoops. Who would think that `C-b RET' would magically give them the full value? When you print to the current buffer, you _usually_ want the full value. That's my assumption, and I'm sticking to it. That most common use case should be simple to realize. Let people jump through a (minor) hoop if they really want to insert only an abbreviated value in the current buffer. > Implementing a shorter key sequence to do the same `M-0 C-x C-e' or > `M-- C-x C-e' like you proposed is a good improvement. I most certainly did not propose any such thing. That's your proposal (I guess). Saying that it is my proposal and that it is a good improvement is a bit disingenuous. I proposed that anytime you print to the current buffer, except if you jump through the minor hoop of using `M--', you should get the full value printed. > So I see no need to change the default behavior of `C-u C-x C-e' > from printing an abbreviated list to printing the full value > since both key sequences will have the same length. We disagree. But let me say it again: I really don't care, beyond trying to improve Emacs for others. For my own use, `C-x C-e' is `pp-eval-last-sexp', and `M-:' is `icicle-pp-eval-expression' (like `pp-eval-expression'). IOW, I already get behavior similar to what I proposed for Emacs. Always have. So if you want to go with your proposal rather than what I suggested in this thread, please do so. But please stop saying that it is my proposal.