From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stephen Compall Newsgroups: gmane.lisp.guile.devel Subject: Re: Unrecognized \ sequences and Elisp Date: 27 Jan 2004 00:44:19 -0600 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1075189200 4407 80.91.224.253 (27 Jan 2004 07:40:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2004 07:40:00 +0000 (UTC) Cc: Guile Development Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Jan 27 08:39:53 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AlNpB-0003I0-00 for ; Tue, 27 Jan 2004 08:39:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AlNlO-0005nj-0A for guile-devel@m.gmane.org; Tue, 27 Jan 2004 02:35:58 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AlNkK-0005WE-S3 for guile-devel@gnu.org; Tue, 27 Jan 2004 02:34:52 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AlNBu-00057J-KU for guile-devel@gnu.org; Tue, 27 Jan 2004 01:59:51 -0500 Original-Received: from [192.195.228.35] (helo=csserver.evansville.edu) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AlN5Y-0003Ql-B3 for guile-devel@gnu.org; Tue, 27 Jan 2004 01:52:44 -0500 Original-Received: from csserver.evansville.edu (localhost.localdomain [127.0.0.1]) by csserver.evansville.edu (8.12.8/8.12.8) with ESMTP id i0R6iKlQ029132; Tue, 27 Jan 2004 00:44:20 -0600 Original-Received: (from sc87@localhost) by csserver.evansville.edu (8.12.8/8.12.8/Submit) id i0R6iJgd029128; Tue, 27 Jan 2004 00:44:19 -0600 X-Authentication-Warning: csserver.evansville.edu: sc87 set sender to s11@member.fsf.org using -f Original-To: Neil Jerram In-Reply-To: Original-Lines: 33 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:3317 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:3317 BTW, the old \ behavior *is* documented in the manual, see Info node `(guile)Backslash Escapes'. Unrecognized escape sequences are ignored: if the characters `\*' appear in a string, they will be translated to the single character `*'. prj@po.cwru.edu (Paul Jarc) writes: > That would avoid the need to edit the Emacs sources, though it's a bit > ugly. I guess the Right Way would be to fix Emacs so it doesn't get > confused by parentheses inside strings. See Info node `(emacs)Left Margin Paren'. In the earliest days, the original Emacs found defuns by moving upward a level of parentheses or braces until there were no more levels to go up. This always required scanning all the way back to the beginning of the buffer, even for a small function. To speed up the operation, we changed Emacs to assume that any opening delimiter at the left margin is the start of a defun. This heuristic is nearly always right, and avoids the need to scan back to the beginning of the buffer. However, it mandates following the convention described above. -- Stephen Compall or s11 or sirian In success there's a tendency to keep on doing what you were doing. -- Alan Kay Delta Force ASO CDMA IRA chameleon man satellite imagery Roswell SAFE underground FIPS140 digicash Janet Reno UOP smuggle Rubin _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel