From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Josh Newsgroups: gmane.emacs.devel Subject: Re: What should the prefix to prog-indent-sexp do? Date: Mon, 13 May 2013 21:04:13 -0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c2b276b4a62304dca5bb47 X-Trace: ger.gmane.org 1368504290 30918 80.91.229.3 (14 May 2013 04:04:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 May 2013 04:04:50 +0000 (UTC) Cc: emacs-devel@gnu.org To: Leo Liu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 14 06:04:50 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 1Uc6Tp-0004Ed-Hl for ged-emacs-devel@m.gmane.org; Tue, 14 May 2013 06:04:49 +0200 Original-Received: from localhost ([::1]:34422 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uc6Tp-0004EN-2J for ged-emacs-devel@m.gmane.org; Tue, 14 May 2013 00:04:49 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uc6Tl-0004E7-KN for emacs-devel@gnu.org; Tue, 14 May 2013 00:04:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uc6Tk-0000EY-Pf for emacs-devel@gnu.org; Tue, 14 May 2013 00:04:45 -0400 Original-Received: from mail-qa0-x236.google.com ([2607:f8b0:400d:c00::236]:63905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uc6Tk-0000EF-L3 for emacs-devel@gnu.org; Tue, 14 May 2013 00:04:44 -0400 Original-Received: by mail-qa0-f54.google.com with SMTP id o13so79497qaj.6 for ; Mon, 13 May 2013 21:04:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :x-gm-message-state; bh=1eKnQyLdY5YsYwInmXMF3k94xkuyRpKn2nxIvCB8u8E=; b=o2cD9B+L7LFkMWw8GPXo7JP0/VMBrm4m3ku5iZ0JRVwRlxeZXxJtrD3hIA6XT6GTT+ bvLhEeaiU2U5xG6lzkz5w5OkgUlYj8N98MWY+p//72sP8037qAsQi62ywkt3BU2yk/1V 6hdTjF/UZIoxcsuPx1luhIkEENyqSWXGmHmFEjZMNPvORxCGCfNn/qvncmX/89a35b0D mpZpBS5towFZmYdgjAAqg4OIjgUvsU6NKHR832iEtPSqHZBXpwlNor562ZUQ73ywcpTD 94O13DiCNZyM7xTST6GpaGrrmMpPC7T2kEkMuhFLker5glbglxEC4542cUg7ZQ6nTTDb zbBw== X-Received: by 10.224.171.194 with SMTP id i2mr22509303qaz.80.1368504283718; Mon, 13 May 2013 21:04:43 -0700 (PDT) Original-Received: by 10.49.81.197 with HTTP; Mon, 13 May 2013 21:04:13 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: AuQDXauSEqBOf45yKY9j2YUOkRw X-Gm-Message-State: ALoCoQllDpasSTopuWxr66VgRl7kpNJRKrAnyAzePbEQkdqAkdS2eUYF7A9zUrfGl/mw9DH9miM6 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c00::236 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:159561 Archived-At: --001a11c2b276b4a62304dca5bb47 Content-Type: text/plain; charset=ISO-8859-1 On Mon, May 13, 2013 at 8:33 PM, Leo Liu wrote: > Hi there, > > If you care please respond ASAP. > > My proposal is to make C-u C-M-q do some sort of indent defun as shown > in this patch: > http://thread.gmane.org/gmane.emacs.diffs/120483/focus=120499 It looks like this functionality amounts to C-M-h C-M-\, i.e. mark-defun followed by indent-region, which is both more general and quicker to type (assuming no release of modifiers between commands). --001a11c2b276b4a62304dca5bb47 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Mon, May 13, 2013 at 8:33 PM, Leo Liu <sdl.web@gmail.c= om> wrote:
Hi there,

If you care please respond ASAP.

My proposal is to make C-u C-M-q do some sort of indent defun as shown
in this patch:
http://thread.gmane.org/gmane.emacs.diffs/120483/focus= =3D120499

=A0It looks like this f= unctionality amounts to C-M-h C-M-\, i.e. mark-defun followed by indent-reg= ion, which is both more general and quicker to type (assuming no release of= modifiers between commands).
--001a11c2b276b4a62304dca5bb47--