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#16526: 24.3.50; scroll-conservatively & c-mode regression Date: Thu, 30 Jan 2014 08:37:08 +0100 Message-ID: <52EA0124.4000809@gmx.at> References: <83r47wausm.fsf@gnu.org> <52E3EAC2.2040100@gmx.at> <83lhy4as2l.fsf@gnu.org> <52E4019C.5080905@gmx.at> <83k3dnc3rl.fsf@gnu.org> <83iot7c3bq.fsf@gnu.org> <52E4EF61.3050404@gmx.at> <831tzubqxw.fsf@gnu.org> <20140126204310.GA3937@acm.acm> <52E61704.6050807@gmx.at> <20140129223626.GD3092@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1391067507 27783 80.91.229.3 (30 Jan 2014 07:38:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Jan 2014 07:38:27 +0000 (UTC) Cc: 16526@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 30 08:38:33 2014 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 1W8mCn-0005NQ-Dw for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Jan 2014 08:38:33 +0100 Original-Received: from localhost ([::1]:46825 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8mCm-0003m9-V5 for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Jan 2014 02:38:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8mCb-0003kg-QI for bug-gnu-emacs@gnu.org; Thu, 30 Jan 2014 02:38:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8mCT-0002KW-U4 for bug-gnu-emacs@gnu.org; Thu, 30 Jan 2014 02:38:21 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55020) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8mCM-0002Jr-2E; Thu, 30 Jan 2014 02:38:06 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W8mCL-00081l-BG; Thu, 30 Jan 2014 02:38:05 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Thu, 30 Jan 2014 07:38:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16526 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 16526-submit@debbugs.gnu.org id=B16526.139106744430797 (code B ref 16526); Thu, 30 Jan 2014 07:38:04 +0000 Original-Received: (at 16526) by debbugs.gnu.org; 30 Jan 2014 07:37:24 +0000 Original-Received: from localhost ([127.0.0.1]:40806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W8mBf-00080Z-K9 for submit@debbugs.gnu.org; Thu, 30 Jan 2014 02:37:23 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:59699) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W8mBc-00080P-9L for 16526@debbugs.gnu.org; Thu, 30 Jan 2014 02:37:21 -0500 Original-Received: from [62.47.45.230] ([62.47.45.230]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0M0tr1-1VGpFZ39aB-00v4MF for <16526@debbugs.gnu.org>; Thu, 30 Jan 2014 08:37:18 +0100 In-Reply-To: <20140129223626.GD3092@acm.acm> X-Provags-ID: V03:K0:dE0muQrHxOfXgmKyj+HrytqNc0aNswL+c9eIj0Kl87Jcuz3pvNg 4pli/s+MZeMQeZ+qwBcyFJTyG+MfeS5V8q9ihipAgKQQlj92Sd7iDnRD2CLNqSTM4xPy6vN hFJAwzPfxm1H/qaI4MKq5eD/Dc3SDjmXqozvCC4JeNr23+5vum/UBcQBt0dFKxCMqLqJ4X3 K62Zm5tVpKwX0ne1R4zJw== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:84243 Archived-At: > I don't think this happens. back_comment (in syntax.c) assumes it > starts outside a comment. Does it? >> In any case, please provide an option say >> `c-open-paren-in-column-0-is-defun-start' which people can set to >> avoid those scans. The doc-string should mention that things like >> Michael's commented out code are handled correctly iff this option is >> nil and that long delays while working with c-mode can be sometimes >> avoided by setting this option to t. The default value could be >> obviously nil. > > I'm hoping that the (rough) patch in one of my other emails from this > evening will have solved the bug, so that playing around with > open-paren-in-column-0-etc. won't be needed. > > As a matter of interest, with my patch applied, running your recipe on > xdisp.c took me 4.4 seconds (including the (sit-for 3)). Less than 8 seconds here which is quite remarkable. Unfortunately, I seem to have another problem now which makes `beginning-of-buffer' in xdisp.c extremely slow with my setup (~ 30 secs). Have to bisect my .emacs again ... Thanks so far, martin