From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: pp-eval-expression enhancements Date: Thu, 26 Jul 2007 15:12:19 -0400 Message-ID: References: <871wew40k2.fsf@jurta.org> <87r6mvh7oj.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1185477183 12997 80.91.229.12 (26 Jul 2007 19:13:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 26 Jul 2007 19:13:03 +0000 (UTC) Cc: rms@gnu.org, drew.adams@oracle.com, emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 26 21:13:00 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IE8le-0001xj-OA for ged-emacs-devel@m.gmane.org; Thu, 26 Jul 2007 21:12:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IE8le-0007RA-5u for ged-emacs-devel@m.gmane.org; Thu, 26 Jul 2007 15:12:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IE8l5-0006wZ-81 for emacs-devel@gnu.org; Thu, 26 Jul 2007 15:12:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IE8l3-0006vk-FI for emacs-devel@gnu.org; Thu, 26 Jul 2007 15:12:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IE8l3-0006va-7y for emacs-devel@gnu.org; Thu, 26 Jul 2007 15:12:21 -0400 Original-Received: from tomts36-srv.bellnexxia.net ([209.226.175.93]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IE8l2-00088M-5J; Thu, 26 Jul 2007 15:12:20 -0400 Original-Received: from pastel.home ([70.53.195.62]) by tomts36-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070726191219.ZERI7033.tomts36-srv.bellnexxia.net@pastel.home>; Thu, 26 Jul 2007 15:12:19 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 0AEF97FC0; Thu, 26 Jul 2007 15:12:18 -0400 (EDT) In-Reply-To: <87r6mvh7oj.fsf@jurta.org> (Juri Linkov's message of "Thu\, 26 Jul 2007 11\:48\:28 +0300") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: Solaris 8 (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:75603 Archived-At: >> I'm afraid that it's still too early: the user still has to decide where the >> result goes before seeing that result. A better option might be to provide >> a new command that can be executed right after M-: which would show the last >> result in a separate buffer, pretty printed, highlighted, and all. > I think a new display command to execute after M-: can be useful only > when the user doesn't know beforehand what the output will look like. > But in most cases before executing M-: or M-!, I know what the output > I expect and what I want to do with the output (search/edit/copy-paste...) That's very much not my case. The way I typically use M-: is as follows: - M-: RET [ doesn't give me what I want, either because of a typo, or because I need to refine the command. ] - M-: M-p RET [ still doesn't give me what I want. ] - M-: M-p RET [ Ah, now that's what I wanted to see. ] - And now, if I need to see the result elsewhere, then I'll do C-u M-: M-p RET So even if I know that I will want to insert the output at point, I still want to first see this result to make sure that it's indeed the one I want. Stefan