From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#4118: 23.1; eval-last-sexp-print-value is inconvenient Date: Wed, 12 Aug 2009 23:57:59 +0300 Organization: JURTA Message-ID: <87ocqkfxa5.fsf@mail.jurta.org> References: <19073.20002.692770.552510@winooski.ccs.neu.edu> Reply-To: Juri Linkov , 4118@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250119697 19926 80.91.229.12 (12 Aug 2009 23:28:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Aug 2009 23:28:17 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, 4118@emacsbugs.donarmstrong.com To: Eli Barzilay Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 13 01:28:09 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MbNEm-0007e6-61 for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Aug 2009 01:28:08 +0200 Original-Received: from localhost ([127.0.0.1]:33593 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbNEj-0003iE-Oe for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Aug 2009 19:28:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbNDd-000358-Bf for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2009 19:26:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbNDY-0002zh-DG for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2009 19:26:56 -0400 Original-Received: from [199.232.76.173] (port=50557 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbNDY-0002zM-8J for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2009 19:26:52 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:34402) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MbNDX-0005td-J1 for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2009 19:26:51 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7CNQnII010449; Wed, 12 Aug 2009 16:26:49 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7CNF8im008759; Wed, 12 Aug 2009 16:15:08 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Juri Linkov Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 12 Aug 2009 23:15:08 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4118 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4118-submit@emacsbugs.donarmstrong.com id=B4118.12501185437840 (code B ref 4118); Wed, 12 Aug 2009 23:15:08 +0000 Original-Received: (at 4118) by emacsbugs.donarmstrong.com; 12 Aug 2009 23:09:03 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mx1.starman.ee (smtp-out1.starman.ee [85.253.0.3]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7CN91jt007833 for <4118@emacsbugs.donarmstrong.com>; Wed, 12 Aug 2009 16:09:03 -0700 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Original-Received: from mail.starman.ee (82.131.68.109.cable.starman.ee [82.131.68.109]) by mx1.starman.ee (Postfix) with ESMTP id 3739A3F41B5; Thu, 13 Aug 2009 02:08:56 +0300 (EEST) In-Reply-To: <19073.20002.692770.552510@winooski.ccs.neu.edu> (Eli Barzilay's message of "Tue, 11 Aug 2009 06:55:30 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Wed, 12 Aug 2009 19:26:56 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:30137 Archived-At: > `eval-last-sexp' is often useful with a prefix argument inside a > buffer for all kinds of programmatic uses (for example, make a > keyboard macro that massages some text into an S-expression, then > use it to plant the result in the buffer). This uses > `eval-last-sexp-print-value', which will "helpfully" insert other > junk into the buffer (the hex and the octal representations of the > number). But it inserts other representations only when you type `C-x C-e' twice. Do you mean you don't want this after the second `C-x C-e' key press? > This is cute to have on the echo area, but annoying for > such use in macros. It would be better to disable this extra output > in the case of non-echo-area output. Sometimes I use `C-x C-e C-u C-x C-e' to insert other representations to the current buffer to be able to copy their values as text. Of course, it's possible to copy them from the *Messages* buffer, but this is less convenient. -- Juri Linkov http://www.jurta.org/emacs/