From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [sa2c@sa2c.net: pp-eval-last-sexp() does not eval last sexp] Date: Thu, 02 Nov 2006 16:46:52 -0500 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1162504139 9029 80.91.229.2 (2 Nov 2006 21:48:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Nov 2006 21:48:59 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 02 22:48:58 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GfkQh-0003xE-3j for ged-emacs-devel@m.gmane.org; Thu, 02 Nov 2006 22:48:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GfkQg-0001Jn-LD for ged-emacs-devel@m.gmane.org; Thu, 02 Nov 2006 16:48:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GfkOl-00068n-NI for emacs-devel@gnu.org; Thu, 02 Nov 2006 16:46:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GfkOk-00066E-3X for emacs-devel@gnu.org; Thu, 02 Nov 2006 16:46:54 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GfkOj-00065s-Re for emacs-devel@gnu.org; Thu, 02 Nov 2006 16:46:53 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GfkOj-0004tj-SB for emacs-devel@gnu.org; Thu, 02 Nov 2006 16:46:53 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1GfkOi-0007HC-T3; Thu, 02 Nov 2006 16:46:52 -0500 Original-To: emacs-devel@gnu.org 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:61631 Archived-At: Would someone please install this, then ack? ------- Start of forwarded message ------- To: emacs-pretest-bug@gnu.org From: NIIMI Satoshi Date: Wed, 01 Nov 2006 22:30:15 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: pp-eval-last-sexp() does not eval last sexp X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=failed version=3.0.4 Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: pp-eval-expression() was changed to use (interactive "X") and not to pass its argument to eval(), but pp-eval-last-sexp() is not changed. Because of that, target sexp is not evaluted. Here is a patch to fix the problem. *** pp.el 19 10 2006 19:33:06 +0900 1.29 - --- pp.el 01 11 2006 22:13:37 +0900 *************** *** 161,167 **** (set-syntax-table stab) (if arg (insert (pp-to-string (eval exp))) ! (pp-eval-expression exp)))) ;;; Test cases for quote ;; (pp-eval-expression ''(quote quote)) - --- 161,167 ---- (set-syntax-table stab) (if arg (insert (pp-to-string (eval exp))) ! (pp-eval-expression (eval exp))))) ;;; Test cases for quote ;; (pp-eval-expression ''(quote quote)) If emacs crashed, and you have the emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /home/sa2c/opt/emacs22/share/emacs/22.0.90/etc/DEBUG for instructions. In GNU Emacs 22.0.90.2 (i386-unknown-freebsd6.1, GTK+ Version 2.10.6) of 2006-11-01 on berkeley.l.sa2c.net X server distributor `The XFree86 Project, Inc', version 11.0.40300000 configured using `configure '--prefix=/home/sa2c/opt/emacs22' '--with-gtk'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ja_JP.UTF-8 locale-coding-system: utf-8 default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: eldoc-mode: t show-paren-mode: t which-function-mode: t shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t line-number-mode: t Recent input: o e m l i s / e m a i SPC p p C-s p p - e v a l - l a C-a C-M-n C-a M-x s e t - v a d i f f - M-p s " - c " C-x v = C-n C-n C-n C-n C-n C-n C-x 0 M-x e m a C-a C-k s e n r e p o r Recent messages: 20 Making completion list... [3 times] Loading vc-cvs...done Mark saved where search started next-history-element: Beginning of history; no preceding item Making completion list... Loading diff...done Loading vc...done Making completion list... [3 times] Loading emacsbug...done - -- NIIMI Satoshi _______________________________________________ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug ------- End of forwarded message -------