From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: skeleton.el machinery eats newlines. Date: Sat, 18 Jan 2003 19:02:09 -0600 (CST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200301190102.TAA14418@eel.dms.auburn.edu> References: <200301080429.WAA23098@eel.dms.auburn.edu> <200301182041.h0IKf0G23118@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1042938135 29512 80.91.224.249 (19 Jan 2003 01:02:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 19 Jan 2003 01:02:15 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18a3qn-0007fq-00 for ; Sun, 19 Jan 2003 02:02:13 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18a40x-0000Bf-00 for ; Sun, 19 Jan 2003 02:12:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18a3qv-0000hU-0A for emacs-devel@quimby.gnus.org; Sat, 18 Jan 2003 20:02:21 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18a3qR-00007t-00 for emacs-devel@gnu.org; Sat, 18 Jan 2003 20:01:51 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18a3qG-00084P-00 for emacs-devel@gnu.org; Sat, 18 Jan 2003 20:01:43 -0500 Original-Received: from manatee.dms.auburn.edu ([131.204.53.104]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18a3q8-0007or-00 for emacs-devel@gnu.org; Sat, 18 Jan 2003 20:01:32 -0500 Original-Received: from eel.dms.auburn.edu (eel.dms.auburn.edu [131.204.53.108]) by manatee.dms.auburn.edu (8.9.1a/8.9.1) with ESMTP id TAA29243; Sat, 18 Jan 2003 19:01:31 -0600 (CST) Original-Received: (from teirllm@localhost) by eel.dms.auburn.edu (8.9.3+Sun/8.9.3) id TAA14418; Sat, 18 Jan 2003 19:02:09 -0600 (CST) X-Authentication-Warning: eel.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: monnier+gnu/emacs@rum.cs.yale.edu In-reply-to: <200301182041.h0IKf0G23118@rum.cs.yale.edu> (monnier+gnu/emacs@rum.cs.yale.edu) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10854 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10854 Stefan Monnier wrote: I think I've finally tracked down and fixed the ;;-indentation problem. It turns out it was not in skeleton.el but in sh-script.el and was a subtle issue of a `syntax-table' text-property being wrongly inherited because of a missing `rear-nonsticky' property. sh-if and sh-case now indeed seem to work fine, indentation and all, except when sh-case is invoked at the very beginning of a buffer, in which case one runs into a "Beginning of buffer" error, but that is a completely separate issue, on which I reported earlier in this thread, related to the question of whether sh-script.el assumes that all shell-scripts start with a magic number (or at least some kind of comment) and whether it should actually do so. I will follow up on this separately since it is an unrelated issue. Thanks, Luc.