From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Liu Newsgroups: gmane.emacs.devel Subject: Re: What should the prefix to prog-indent-sexp do? Date: Wed, 15 May 2013 19:57:48 +0800 Message-ID: References: <51935711.1010705@online.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1368619229 18625 80.91.229.3 (15 May 2013 12:00:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 May 2013 12:00:29 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 15 14:00:26 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 1UcaNZ-0000bJ-24 for ged-emacs-devel@m.gmane.org; Wed, 15 May 2013 14:00:21 +0200 Original-Received: from localhost ([::1]:55821 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcaNY-0004lm-Mk for ged-emacs-devel@m.gmane.org; Wed, 15 May 2013 08:00:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34678) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcaNN-0004Zt-A7 for emacs-devel@gnu.org; Wed, 15 May 2013 08:00:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UcaNI-0000bJ-KZ for emacs-devel@gnu.org; Wed, 15 May 2013 08:00:09 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:59003) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcaNI-0000Yq-AZ for emacs-devel@gnu.org; Wed, 15 May 2013 08:00:04 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UcaNG-0000It-W3 for emacs-devel@gnu.org; Wed, 15 May 2013 14:00:02 +0200 Original-Received: from li511-224.members.linode.com ([66.175.216.224]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 15 May 2013 14:00:02 +0200 Original-Received: from sdl.web by li511-224.members.linode.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 15 May 2013 14:00:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 8 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: li511-224.members.linode.com Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoAgMAAADxkFD+AAAADFBMVEUvT09qWs3/pQD///+J kUVcAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cBBwMLOd3veKQA AACuSURBVBjTldE9CgIxEAXgB+lEyFUC2wo5ikdZ8DSypxhMY7H9VuIVwlqkGRgnm59VsHGafIQ3 CZlAtmKIRaHETgYa12lqvEsPYKf8wXHsPGfqPaUM0g9aJPKFXkmNQmSDqwzz4Fpgpz+6WAPY2z5o uPJJpu0uypcl4nyCibMLQ8lCiVjayLoQvw5LsVKQuHPRR958HZbOcVsKeepcLxpByjycGvnKmY+c MBvrtyjfe0vmuLvdq/kAAAAASUVORK5CYII= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.8.3) Cancel-Lock: sha1:Xvjc4uJdtuf1ZIqNWTJEnuGrT8g= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:159589 Archived-At: On 2013-05-15 17:36 +0800, Andreas Röhler wrote: > What about to use the arg as indent of top-level-form? > I.e. use syntax-ppss, not reg-exp jumping. > That would indent defuns, but also loops, defvars etc. Should work for these cases already. Leo