From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#10968: 24.0.94; loop indentation with `C-M-q' broken Date: Fri, 09 Mar 2012 23:05:07 +0100 Message-ID: <87lin9toq4.fsf@gmail.com> References: <87ipif38ma.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1331330774 19915 80.91.229.3 (9 Mar 2012 22:06:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 9 Mar 2012 22:06:14 +0000 (UTC) Cc: 10968@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 09 23:06:12 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1S67wv-00047H-Lc for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Mar 2012 23:06:09 +0100 Original-Received: from localhost ([::1]:32922 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S67wv-0006jC-0P for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Mar 2012 17:06:09 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S67ws-0006j4-6n for bug-gnu-emacs@gnu.org; Fri, 09 Mar 2012 17:06:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S67wq-0004HG-FZ for bug-gnu-emacs@gnu.org; Fri, 09 Mar 2012 17:06:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34386) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S67wq-0004HA-9p for bug-gnu-emacs@gnu.org; Fri, 09 Mar 2012 17:06:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S67xl-0002FE-HI for bug-gnu-emacs@gnu.org; Fri, 09 Mar 2012 17:07:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Mar 2012 22:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10968 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10968-submit@debbugs.gnu.org id=B10968.13313307748571 (code B ref 10968); Fri, 09 Mar 2012 22:07:01 +0000 Original-Received: (at 10968) by debbugs.gnu.org; 9 Mar 2012 22:06:14 +0000 Original-Received: from localhost ([127.0.0.1]:41218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S67wy-0002EB-Si for submit@debbugs.gnu.org; Fri, 09 Mar 2012 17:06:13 -0500 Original-Received: from mail-we0-f172.google.com ([74.125.82.172]:38037) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S67ww-0002E3-0N for 10968@debbugs.gnu.org; Fri, 09 Mar 2012 17:06:11 -0500 Original-Received: by werb10 with SMTP id b10so1560647wer.3 for <10968@debbugs.gnu.org>; Fri, 09 Mar 2012 14:05:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=HAKnDhl8UAAHjity0XsW6spMYKmBWKI++J16tH4G+cw=; b=kxCV2NdpxuaN1+rD9ehSjMapHYreW6hJCdLm/Fyvf03y7uhcpv/LCx8RghrAhx3ANa xKPIXpvms1j/eJGIU3zddgHlugqAbUJnoFl7cZ+bXh6J90UcXXnuhylb3BCRiMrokyYw SaZ6mVJDcCsvYtlkmlI7EYfTbsn7nbl/3SNkVrIDdj1AkZPa17Apt1q6q6bsYZQzWbZg 9ua2cFlsvATzXMPOQfadKGy9GPWoik9FPDyoVSXsLh0MKkrUo6aN4dmIm1YTjzx9RWVp Oh3AqvU41PqijfX9H9XA40IzzPIlD/rxvIhvjv8MeLXLSMrAW9Azmz5j9Y5VrA9RNPdy H3XQ== Original-Received: by 10.216.136.131 with SMTP id w3mr2446706wei.15.1331330711721; Fri, 09 Mar 2012 14:05:11 -0800 (PST) Original-Received: from thierry-MM061 (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167]) by mx.google.com with ESMTPS id df3sm8601483wib.1.2012.03.09.14.05.09 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 09 Mar 2012 14:05:10 -0800 (PST) In-Reply-To: (Glenn Morris's message of "Fri, 09 Mar 2012 13:15:17 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:57607 Archived-At: Glenn Morris writes: > Thierry Volpiatto wrote: > >> It seem indenting a CL loop with `C-M-q' (indent-pp-sexp) >> doesn't work anymore unless the loop close is <= two lines. > > Please give an example. (require 'cl) (setq lisp-indent-function 'common-lisp-indent-function) Use C-M-q on following sexp: --8<---------------cut here---------------start------------->8--- (loop with cont = (make-hash-table :test test) for elm in seq unless (gethash elm cont) do (puthash elm elm cont) finally return (loop for i being the hash-values in cont collect i)) --8<---------------cut here---------------end--------------->8--- -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997