From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: Defining functions on the fly Date: Wed, 17 Jun 2015 08:13:37 +0200 Message-ID: <55811011.8060404@easy-emacs.de> References: <557E99BE.2060407@easy-emacs.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1434522552 11009 80.91.229.3 (17 Jun 2015 06:29:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Jun 2015 06:29:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 17 08:29:01 2015 Return-path: Envelope-to: geh-help-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 1Z56qL-0005sJ-GQ for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Jun 2015 08:29:01 +0200 Original-Received: from localhost ([::1]:44588 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z56qK-0007cx-W6 for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Jun 2015 02:29:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z56qA-0007bu-UO for help-gnu-emacs@gnu.org; Wed, 17 Jun 2015 02:28:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z56q7-0007m8-M7 for help-gnu-emacs@gnu.org; Wed, 17 Jun 2015 02:28:50 -0400 Original-Received: from mout.kundenserver.de ([212.227.17.24]:55988) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z56bY-0000z7-Kl for help-gnu-emacs@gnu.org; Wed, 17 Jun 2015 02:13:44 -0400 Original-Received: from [192.168.178.31] ([77.3.15.189]) by mrelayeu.kundenserver.de (mreue104) with ESMTPSA (Nemesis) id 0MEF9E-1ZKWwp2D4S-00FSkO for ; Wed, 17 Jun 2015 08:13:43 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 In-Reply-To: X-Provags-ID: V03:K0:B+2ibO5iCh23ak3U7bZ9MrGiB8qItiorHN3mDS5Ch3TId3alUAU NrDtD2d7RfrVS8XEt/dHkl8OFR1a54JNLWGFE16Z9/eO5SnFsbJO01FLBQCwcWL7NJL7MJF N16HaXKdAs1+QPaED3jdVKSCtRlAoYNiYeuMK4as7S8mF3OR/naCCu39AGWTzteqkNfK0hD CpKRGllsfyarDTIZwA1HQ== X-UI-Out-Filterresults: notjunk:1; X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.17.24 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104999 Archived-At: Am 17.06.2015 um 00:23 schrieb Stefan Monnier: >> Currently Emacs provides some scheme to fontify source code and some basic >> moves: linewise, symbol, word, paragraph, sexp. >> There is no idea of statement, block/loop or expression and a poor >> top-level --beginning/end-of-defun. > Since we don't need to define functions dynamically for "linewise, > symbol, word, paragraph, sexp", These are very basic things based on character-syntax tables. Expression is limited that way - see the difficulties around triple-quoted-string. > I don't see how "statement, block/loop > or expression and a poor top-level --beginning/end-of-defun" would > require dynamic definition of functions. Because these functions depend on grammar of the goal-language. [ ... ]