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: pp.el patch Date: Tue, 22 Apr 2008 09:37:51 -0700 Message-ID: <005301c8a497$3648b250$0200a8c0@us.oracle.com> References: <003d01c8a198$fb540e70$0200a8c0@us.oracle.com> <87skxduca9.fsf@grepfind.mwolson.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1208882432 3755 80.91.229.12 (22 Apr 2008 16:40:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Apr 2008 16:40:32 +0000 (UTC) To: "'Michael Olson'" , Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 22 18:41:04 2008 connect(): Connection refused 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 1JoLXa-0007qe-VC for ged-emacs-devel@m.gmane.org; Tue, 22 Apr 2008 18:40:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JoLWv-0000OS-AV for ged-emacs-devel@m.gmane.org; Tue, 22 Apr 2008 12:39:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JoLWr-0000O4-Ac for emacs-devel@gnu.org; Tue, 22 Apr 2008 12:39:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JoLWo-0000Nj-OS for emacs-devel@gnu.org; Tue, 22 Apr 2008 12:39:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JoLWo-0000Ng-Fi for emacs-devel@gnu.org; Tue, 22 Apr 2008 12:39:34 -0400 Original-Received: from rgminet01.oracle.com ([148.87.113.118]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JoLWl-0004Zq-Bt; Tue, 22 Apr 2008 12:39:31 -0400 Original-Received: from agmgw1.us.oracle.com (agmgw1.us.oracle.com [152.68.180.212]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m3MGdSXh022297; Tue, 22 Apr 2008 10:39:28 -0600 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by agmgw1.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m3MGdRKj008019; Tue, 22 Apr 2008 10:39:28 -0600 Original-Received: from inet-141-146-46-1.oracle.com by acsmt351.oracle.com with ESMTP id 3656521251208882271; Tue, 22 Apr 2008 09:37:51 -0700 Original-Received: from dradamslap1 (/141.144.82.120) by bhmail.oracle.com (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 22 Apr 2008 09:37:50 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AciklGgtPV9EYeU+TpWrkVCQ4IaiXwAAafMg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 In-Reply-To: <87skxduca9.fsf@grepfind.mwolson.org> X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:95786 Archived-At: > > The attached pp.el patch does the following: > > > > * Adds two user options used by `pp-eval-expression': > > `pp-eval-expression-print-length' > > `pp-eval-expression-print-level' > > > > * Changes `pp-eval-expression' in these ways: > > > > . Respects the new options and `eval-expression-debug-on-error'. > > > > . Reads the expression using keymap `pp-read-expression-map', > > which provides some Emacs-Lisp mode bindings. > > > > . Adds an optional arg INSERT-VALUE (prefix-arg), similar to > > what `eval-expression' has. See doc string. > > > > I find it useful. YMMV. I bind it to `M-:'. > > This looks interesting to me. Can you provide a ChangeLog entry? 2008-04-22 Drew Adams * pp.el: (pp-eval-expression-print-length, pp-eval-expression-print-level, pp-read-expression-map): New variables. (pp-eval-expression): Added optional argument INSERT-VALUE. Read expression using keymap pp-read-expression-map. Respect pp-eval-expression-print-length, pp-eval-expression-print-level, and eval-expression-debug-on-error.