From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.devel Subject: Re: beginning-of-defun (again) Date: Thu, 29 Oct 2015 15:46:58 +0100 Message-ID: <56323162.30801@online.de> References: <56320200.4050503@online.de> <20151029124605.GC2510@acm.fritz.box> <56321791.8040809@online.de> <878u6l94yr.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1446130019 7300 80.91.229.3 (29 Oct 2015 14:46:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Oct 2015 14:46:59 +0000 (UTC) Cc: Alan Mackenzie , emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 29 15:46:51 2015 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 1ZroTY-00005O-Kl for ged-emacs-devel@m.gmane.org; Thu, 29 Oct 2015 15:46:48 +0100 Original-Received: from localhost ([::1]:44565 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZroTY-0000Uj-3u for ged-emacs-devel@m.gmane.org; Thu, 29 Oct 2015 10:46:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33210) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZroTT-0000Sg-EZ for emacs-devel@gnu.org; Thu, 29 Oct 2015 10:46:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZroTS-0005EJ-KC for emacs-devel@gnu.org; Thu, 29 Oct 2015 10:46:43 -0400 Original-Received: from mout.kundenserver.de ([212.227.126.131]:53949) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZroTL-0005C0-Nb; Thu, 29 Oct 2015 10:46:35 -0400 Original-Received: from [192.168.178.31] ([77.12.74.197]) by mrelayeu.kundenserver.de (mreue002) with ESMTPSA (Nemesis) id 0LgQuz-1aFHCh1nKX-00nxkJ; Thu, 29 Oct 2015 15:46:34 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 In-Reply-To: <878u6l94yr.fsf@fencepost.gnu.org> X-Provags-ID: V03:K0:jfO4eSmuc6rbWkaOIvEbvdlvU/gPxcFncnDnc0rlXCfh3XptGg4 6Qm1idudwv0sCYgg3a0y1l9tmCMpfqXinMjmIeBtec22bzKqysozJFGwkUy6FBni3Etp7Jw efL0Zm6c2+K2H03HsCmEk5yBxJKZ0MFWDQAeploP91GaUNZ8simgfU5CAyyxIF0DCPhK7gE 6RO/4FY3TuMJMyQVHxq6w== X-UI-Out-Filterresults: notjunk:1;V01:K0:4k1zEiy9ouU=:JmAio8XCYm0iZA3qWCI7Jo S9LoWh5wBxzffRd5NpAoubY7m0IPG8CNNbT2GIrJqE2F3uvIoKhZqw7hc6MdMZ74NK6OGsdhT xvsy0/165CeolqwneJAjSfjdN+zPwuOQO7vz3ItPIEoVNj6Q7ABMEN8XiFUXxkjI0eLBRkBIi iHfkMJFNd9Up5fsyaKrnwL8yY17RXdraR/aMv2qq2De42dNeku4m2Nd5EYF4uKuUQpJ/YrgkD U4NMmNl4G5L3lH5/4oazAVSVEaduUcKNWBbd3HbUM0Roq07tQFjtKUuT2rtRjm58prGDPo9x6 g0TrYJiT8ensVfiNfnTWCDQffW7uPVYT94HQEsSUiC7dW6hzy856TLLJT1sSIvUsKUYBuWDug 9vEU8x0KkuE2gh1SMEsPQQSwbdcppht/zQ7Jk5flBqTynNydHxI6+z2zmXSrTwhVacU0YR4WF B8Wwi620+sLpx3iY5kTD779j5id2WKBmceCZs9UmVqgTMZ387C5FdwYpWFWIRA1WvmD6coKT6 NvWT3D6N+EKHtThUxRObF/laHRxKg0jr3EBGcBg+Sd0H/zxc3bAHWVWjNJzjL5aiIGcHg3fpc oTvCH85d3z/056XGlJtZ05E99SP4OPAeN+dj1kS/33N/wwZ27cOfUNpV6krBlCl0DR7l7b2cb 6JP5h/r7DzktAs2BLHNlCCkf2Gkx+LK0X3Rq0xWNyLZJ+F9M5jpZ0Be1cVv7QnQ4cwsnxlwEa Vq9i6AxhH8+uPBOl X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.131 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:192904 Archived-At: On 29.10.2015 14:31, David Kastrup wrote: > Andreas Röhler writes: > >> On 29.10.2015 13:46, Alan Mackenzie wrote: >>> Hello, Andreas. >>> >>> On Thu, Oct 29, 2015 at 12:24:48PM +0100, Andreas Röhler wrote: >>>> Hi guys, >>>> maybe it's time to have a reasonable default-behavior of >>>> beginning-of-defun in Emacs Lisp. >>>> IMO there is no reason for stuff like >>>> open-paren-in-column-0-is-defun-start >>> Unfortunately, there is. Setting it to nil ensures accurate recognition >>> of non-nested parens, >> Sorry, Alan, but if there is no syntax expecting a start in column 0, >> there is no reason to assume that. >> >> Relying on such means working in some cases, in other not. You won't >> want that. > If Emacs becomes too slow for useful work otherwise, that's no > alternative to it sometimes making assumptions leading to bad > highlighting. > Where it was proven Emacs is slow WRT an reasonable implementation, if such a thing doesn't exist? AFAIK the current buggy one predates parse-partial-sexp and that part was never reconsidered WRT pps since. Slow is the current "re-search-backward (if defun-prompt-regexp" stuff, which might be replaced by calls to pps + keyword.