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:47:48 +0100 Message-ID: <874mh9946z.fsf@fencepost.gnu.org> References: <56320200.4050503@online.de> <87twp951ug.fsf@gmail.com> <87lhal990p.fsf@fencepost.gnu.org> <87oafhesca.fsf@gmail.com> 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 1446126503 10556 80.91.229.3 (29 Oct 2015 13:48:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Oct 2015 13:48:23 +0000 (UTC) Cc: Andreas =?iso-8859-1?Q?R=F6hler?= , emacs-devel@gnu.org To: Oleh Krehel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 29 14:48:15 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 1ZrnYm-0005b4-Vl for ged-emacs-devel@m.gmane.org; Thu, 29 Oct 2015 14:48:09 +0100 Original-Received: from localhost ([::1]:44193 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrnYl-00024E-Ny for ged-emacs-devel@m.gmane.org; Thu, 29 Oct 2015 09:48:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrnYW-000249-Mq for emacs-devel@gnu.org; Thu, 29 Oct 2015 09:47:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZrnYV-0006cc-PL for emacs-devel@gnu.org; Thu, 29 Oct 2015 09:47:52 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47151) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrnYU-0006c6-7X; Thu, 29 Oct 2015 09:47:50 -0400 Original-Received: from localhost ([127.0.0.1]:60970 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.82) (envelope-from ) id 1ZrnYT-00066s-38; Thu, 29 Oct 2015 09:47:49 -0400 Original-Received: by lola (Postfix, from userid 1000) id 9E17BDF96B; Thu, 29 Oct 2015 14:47:48 +0100 (CET) In-Reply-To: <87oafhesca.fsf@gmail.com> (Oleh Krehel's message of "Thu, 29 Oct 2015 14:07:17 +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:192897 Archived-At: Oleh Krehel writes: > David Kastrup writes: > >> Oleh Krehel writes: >> >>> Hi Andreas, >>> >>> Andreas R=F6hler writes: >>> >>>> maybe it's time to have a reasonable default-behavior of >>>> beginning-of-defun in Emacs Lisp. >>> >>> I think it works pretty well as is. >>> >>>> open-paren-in-column-0-is-defun-start >>> >>> It's a strange variable that doesn't seem to do anything. >> >> Huh? > > Please give an example then. I'm not able to see a difference when it's > unset. This is a Scheme file containing a large structure with multiline strings. Occasionally when working with this file, I have to reformat strings which happened to have "(" after a newline after other people worked on the file, in order to keep Emacs from misinterpreting the context. Such misinterpretation looks ugly in fontification and is a real nuisance if you want to add several lines of new material and have Emacs indent it since Emacs will not indent within "strings" (and when it lost count of "..." pairs, that means everywhere where you'd want it). --=20 David Kastrup