From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: beginning-of-defun (again) Date: Thu, 29 Oct 2015 14:31:08 +0100 Message-ID: <878u6l94yr.fsf@fencepost.gnu.org> References: <56320200.4050503@online.de> <20151029124605.GC2510@acm.fritz.box> <56321791.8040809@online.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1446125498 26032 80.91.229.3 (29 Oct 2015 13:31:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Oct 2015 13:31:38 +0000 (UTC) Cc: Alan Mackenzie , emacs-devel@gnu.org To: Andreas =?iso-8859-1?Q?R=F6hler?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 29 14:31:37 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 1ZrnIm-0001Ac-1W for ged-emacs-devel@m.gmane.org; Thu, 29 Oct 2015 14:31:36 +0100 Original-Received: from localhost ([::1]:44104 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrnIg-0005My-8G for ged-emacs-devel@m.gmane.org; Thu, 29 Oct 2015 09:31:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41172) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrnIR-0005Mt-EL for emacs-devel@gnu.org; Thu, 29 Oct 2015 09:31:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZrnIL-0001UU-Rw for emacs-devel@gnu.org; Thu, 29 Oct 2015 09:31:15 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46915) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrnIL-0001UQ-Ob; Thu, 29 Oct 2015 09:31:09 -0400 Original-Received: from localhost ([127.0.0.1]:60734 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.82) (envelope-from ) id 1ZrnIL-0008Cx-86; Thu, 29 Oct 2015 09:31:09 -0400 Original-Received: by lola (Postfix, from userid 1000) id D5343DF96B; Thu, 29 Oct 2015 14:31:08 +0100 (CET) In-Reply-To: <56321791.8040809@online.de> ("Andreas =?iso-8859-1?Q?R=F6hle?= =?iso-8859-1?Q?r=22's?= message of "Thu, 29 Oct 2015 13:56:49 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e 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:192895 Archived-At: Andreas R=F6hler writes: > On 29.10.2015 13:46, Alan Mackenzie wrote: >> Hello, Andreas. >> >> On Thu, Oct 29, 2015 at 12:24:48PM +0100, Andreas R=F6hler 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. --=20 David Kastrup