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: Sun, 29 Jun 2014 16:18:42 +0200 Message-ID: <53B02042.1050107@gmx.at> References: <20140627203416.GA4395@acm.acm> <20140628130059.GA4144@acm.acm> <53AECA88.7010401@gmx.at> <20140628145509.GB4144@acm.acm> <53AFD1FA.5010201@gmx.at> <20140629091757.GA2948@acm.acm> <53AFE536.7010407@gmx.at> <20140629124829.GC2948@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 1404051576 4694 80.91.229.3 (29 Jun 2014 14:19:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Jun 2014 14:19:36 +0000 (UTC) Cc: 16526-done@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 29 16:19:28 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 1X1Fx2-0006rQ-69 for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Jun 2014 16:19:28 +0200 Original-Received: from localhost ([::1]:57879 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1Fx1-0003gV-Lx for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Jun 2014 10:19:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1Fws-0003gI-06 for bug-gnu-emacs@gnu.org; Sun, 29 Jun 2014 10:19:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X1Fwk-0005Ie-Dx for bug-gnu-emacs@gnu.org; Sun, 29 Jun 2014 10:19:17 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45736) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1Fwc-0005Hq-En; Sun, 29 Jun 2014 10:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X1Fwb-0005km-Ui; Sun, 29 Jun 2014 10:19:02 -0400 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: Sun, 29 Jun 2014 14:19:01 +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-done@debbugs.gnu.org id=D16526.140405153622102 (code D ref 16526); Sun, 29 Jun 2014 14:19:01 +0000 Original-Received: (at 16526-done) by debbugs.gnu.org; 29 Jun 2014 14:18:56 +0000 Original-Received: from localhost ([127.0.0.1]:36886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X1FwV-0005kP-R6 for submit@debbugs.gnu.org; Sun, 29 Jun 2014 10:18:56 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:60204) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X1FwS-0005kA-Rm for 16526-done@debbugs.gnu.org; Sun, 29 Jun 2014 10:18:53 -0400 Original-Received: from [62.47.250.54] ([62.47.250.54]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MVMgI-1X9ZX82wqE-00Yldu; Sun, 29 Jun 2014 16:18:44 +0200 In-Reply-To: <20140629124829.GC2948@acm.acm> X-Provags-ID: V03:K0:QR6hXHlM8YIDrEXpCFJB/ElLsaVgHHVgSsh/OZi9FTR0T+KI6PC RBwtmugIYofV8vboZC3ZeSXxeFH+Ck+C+pZPFFHIFrHM085w6ZMq1QNPWRp/S1b/sSgeuki lhtToUKGMTkEK2/iJD+z45bcfEPMf6XnrTdZoQpTwFGQJqCUFiwbyAPPmiGWTtYT1UpyIfD WVSWA4/ZPeKQ6YBduWkLg== 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:90960 Archived-At: > As I suggested yesterday, what is needed is for find_defun_start to > actually determine the beginning-of-defun before POS/POS_BYTE (using > scan_sexps_forward) rather than just giving up and returning BOB. > This position must then be cached for future find_defun_start calls. > The cacheing mechanism is already in place for non-nil open-...-start. I don't even understand why you can't use the 9th element returned by `syntax-ppss' to get the beginning of the outermost defun enclosing `point'. martin