From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xue Fuqiao Newsgroups: gmane.emacs.devel Subject: Re: C-x C-e with prefix arg [patch] Date: Sun, 5 May 2013 14:05:52 +0800 Message-ID: References: <4D5891EF34DF42D3A479CF83CAF1E43E@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1367733961 23863 80.91.229.3 (5 May 2013 06:06:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 May 2013 06:06:01 +0000 (UTC) Cc: emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 05 08:06:01 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 1UYs5B-00089p-Hs for ged-emacs-devel@m.gmane.org; Sun, 05 May 2013 08:06:01 +0200 Original-Received: from localhost ([::1]:54694 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYs5A-0000O7-Rt for ged-emacs-devel@m.gmane.org; Sun, 05 May 2013 02:06:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYs54-0000O1-QL for emacs-devel@gnu.org; Sun, 05 May 2013 02:05:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UYs53-0007Oj-Ia for emacs-devel@gnu.org; Sun, 05 May 2013 02:05:54 -0400 Original-Received: from mail-ie0-x235.google.com ([2607:f8b0:4001:c03::235]:42169) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYs53-0007Oc-Cl for emacs-devel@gnu.org; Sun, 05 May 2013 02:05:53 -0400 Original-Received: by mail-ie0-f181.google.com with SMTP id x12so3048676ief.26 for ; Sat, 04 May 2013 23:05:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=Jp4NxXrvsZ0EcjG+WmKZG6t8jN/rawCNtFkfbhB46Ko=; b=sybZUxSbT4AWsaF8iUjNwK25Ys0nxk2CPxaPlyEXJx59tI0DPwQlIh1eJ7Q4Xxm/Rb 9/7fCCRj+Ag6GOlfoxQP26Ql9rpBg391Cg57FgRQe4llzwt07ImV/FqqT0A8jILb+qrs E9jAWj44KP5zUig/O+flzQmMViIKSdYyktSCkSPB2BnFxcwn+k+Qqaatv8hjXeBYNsF4 5j2VfyjIJB7jlwKW/Vt5v0zM/e0NJJdfanERLWAV6WYE8qWmW5CSYNK2fX/91ikOOphF rTfbWSJyep2ml1OaBxO4Dgne9EMUL7cevCsH/EaA/5UQ3TLWqyKqJ2ods+lkS5dtzVij HjtQ== X-Received: by 10.50.117.42 with SMTP id kb10mr1274031igb.78.1367733952782; Sat, 04 May 2013 23:05:52 -0700 (PDT) Original-Received: by 10.43.18.10 with HTTP; Sat, 4 May 2013 23:05:52 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c03::235 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:159318 Archived-At: On Sun, May 5, 2013 at 11:51 AM, Drew Adams wrote: >> > How about letting a non-negative prefix arg insert the full >> > value (in effect, binding `eval-expression-print-length' and >> > `eval-expression-print-level' to nil)? And letting a negative >> > prefix arg do what any prefix arg does today: respect the >> > current values of `eval-expression-print-length' and >> > `eval-expression-print-level'? >> >> Agreed. Would you like to submit a patch here or to bug-gnu-emacs? > > Attached. > > I also changed `eval-print-last-sexp' similarly: a negative prefix arg for it > does what the function always did before: print the abbreviated value. > Otherwise it now prints the full value. Looks fine. Can anyone install it? I often receive a time out when performing `bzr update' and some other operations recently. -- Best regards, Xue Fuqiao. http://www.gnu.org/software/emacs/