From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.devel Subject: Re: What should the prefix to prog-indent-sexp do? Date: Wed, 15 May 2013 11:36:17 +0200 Message-ID: <51935711.1010705@online.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1368610435 22314 80.91.229.3 (15 May 2013 09:33:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 May 2013 09:33:55 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 15 11:33:54 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 1UcY5p-0002Hf-UL for ged-emacs-devel@m.gmane.org; Wed, 15 May 2013 11:33:54 +0200 Original-Received: from localhost ([::1]:56240 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcY5p-0004DJ-GU for ged-emacs-devel@m.gmane.org; Wed, 15 May 2013 05:33:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44558) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcY5l-0004DB-Uo for emacs-devel@gnu.org; Wed, 15 May 2013 05:33:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UcY5k-0001zf-GN for emacs-devel@gnu.org; Wed, 15 May 2013 05:33:49 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.186]:53351) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcY5k-0001zI-6k for emacs-devel@gnu.org; Wed, 15 May 2013 05:33:48 -0400 Original-Received: from [192.168.178.21] (brln-4db9f307.pool.mediaWays.net [77.185.243.7]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0MfBqk-1UrJmV3pZi-00OuF1; Wed, 15 May 2013 11:33:46 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 In-Reply-To: X-Provags-ID: V02:K0:AJX22z6uPjvcOTs9Iy8d4qeNMfMsOSUsHw3ZG9JCzEU XsjjYOetlTa/hKSLcKiOxQK/MRHd9pyXZbHNucoXl9S94l2nuW 71suRip4OM5Kig0XzHfzLm6kGDw6OmqHKJAaF6WzSyic1rEf18 ROiOWpBYq2Pi6AZ5F3U7OUGewu+LeqE9AMevvHagemGBxOJkAs WWoYWamn8DhuZOMZpTee5ba2pj/TV/9Y0ZfHbk0LiabuAXeprf l6pEitGLRGkQ023oQM5yUHssT1TB7TjcbUyn0Hdd+mzoPlKgOH DrTh36RX+QFbly7jPCTeqV3pgxTUymReyFzuyn3DOQnTBqF/VD jGUDefKphpiryQGSZPbc= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.126.186 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:159586 Archived-At: Am 14.05.2013 05:33, schrieb Leo Liu: > 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 > > Thanks, > Leo > > > IMO a good idea. 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. Andreas