From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#1012: calculate-lisp-indent Date: Tue, 23 Sep 2008 09:07:48 +0200 Message-ID: <48D895C4.6020901@gmx.at> Reply-To: martin rudalics , 1012@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.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 1222155013 19747 80.91.229.12 (23 Sep 2008 07:30:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Sep 2008 07:30:13 +0000 (UTC) Cc: Markus Sauermann To: 1012@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 23 09:31:10 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ki2MV-00017N-Fc for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Sep 2008 09:31:07 +0200 Original-Received: from localhost ([127.0.0.1]:38920 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ki2LT-0008Pf-KW for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Sep 2008 03:30:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ki2LP-0008PF-LZ for bug-gnu-emacs@gnu.org; Tue, 23 Sep 2008 03:29:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ki2LN-0008P3-9c for bug-gnu-emacs@gnu.org; Tue, 23 Sep 2008 03:29:58 -0400 Original-Received: from [199.232.76.173] (port=49692 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ki2LN-0008P0-37 for bug-gnu-emacs@gnu.org; Tue, 23 Sep 2008 03:29:57 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:24960) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ki2LM-0001Ew-An for bug-gnu-emacs@gnu.org; Tue, 23 Sep 2008 03:29:56 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ki2LL-0006sU-E1 for bug-gnu-emacs@gnu.org; Tue, 23 Sep 2008 03:29:55 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8N7TrdZ025372; Tue, 23 Sep 2008 00:29:53 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m8N7K24x022987; Tue, 23 Sep 2008 00:20:02 -0700 X-Loop: don@donarmstrong.com Resent-From: martin rudalics Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 23 Sep 2008 07:20:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1012 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1012-submit@emacsbugs.donarmstrong.com id=B1012.122215384321670 (code B ref 1012); Tue, 23 Sep 2008 07:20:02 +0000 Original-Received: (at 1012) by emacsbugs.donarmstrong.com; 23 Sep 2008 07:10:43 +0000 Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m8N7Ad6h021663 for <1012@emacsbugs.donarmstrong.com>; Tue, 23 Sep 2008 00:10:41 -0700 Original-Received: (qmail invoked by alias); 23 Sep 2008 07:10:34 -0000 Original-Received: from 62-47-58-101.adsl.highway.telekom.at (EHLO [62.47.58.101]) [62.47.58.101] by mail.gmx.net (mp009) with SMTP; 23 Sep 2008 09:10:34 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19eBIkg0VheqBDEtKrASRvAhACZ2dEyKdLqGXlv5F a9FnC/WOgD55iD User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.72 X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Tue, 23 Sep 2008 03:29:58 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:20707 Archived-At: > In this E-Mail I included a patch, that solves the problems for me, and > was created with the command > > mhoram@revelstone:~/emacs/trunk/emacs/lisp$ cvs diff -c > > ~/emacs-bugreport.txt > > The patch works for scenario 1 by an additional call of the > (backward-prefix-chars) function, which sets point back to the beginning > of ",@". > For scenario 2 the addition of "\\|([ \t]+" solves the problem, by not > entering the while-loop (and thus calling the function (forward-sexp > -1)), if there are only spaces between the "(" and the first object. Thank you, applied. martin