From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Ewen Cartwright" Newsgroups: gmane.emacs.help Subject: Dynamic expansion in html-mode Date: Thu, 7 Sep 2006 18:55:53 +0100 Message-ID: References: <1157649435.177798.187670@e3g2000cwe.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1157659265 14064 80.91.229.2 (7 Sep 2006 20:01:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Sep 2006 20:01:05 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 07 22:01:03 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GLQ3a-00051a-IE for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Sep 2006 22:01:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GLQ3a-0002tZ-5p for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Sep 2006 16:01:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GLO6b-0006Zx-OR for help-gnu-emacs@gnu.org; Thu, 07 Sep 2006 13:56:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GLO6Y-0006Pc-Bb for help-gnu-emacs@gnu.org; Thu, 07 Sep 2006 13:56:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GLO6Y-0006Ol-3G for help-gnu-emacs@gnu.org; Thu, 07 Sep 2006 13:55:58 -0400 Original-Received: from [195.153.172.3] (helo=mail.abcam.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GLO6y-0006J4-0K for help-gnu-emacs@gnu.org; Thu, 07 Sep 2006 13:56:24 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message In-Reply-To: <1157649435.177798.187670@e3g2000cwe.googlegroups.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Dynamic expansion in html-mode Thread-Index: AcbSpMpdNBYKVk3gT+q5gHghybr9UAAAIblQ Original-To: X-Mailman-Approved-At: Thu, 07 Sep 2006 16:00:49 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:37218 Archived-At: Hi there, I'm using html-mode to edit ColdFusion files in Emacs 22.0.50.1 on win32. Previously, in Emacs 21, dynamic expansion would allow me to expand names like 'whatever' if, for instance, 'form.whatever' was defined in a buffer. Likewise, if the cursor was positioned over the 'whatever' in 'form.whatever', then M-. would default to the tag name 'whatever'.=20 However, Emacs 22 will only recognize 'form.whatever' as an expansion, and will pick up 'form.whatever' as the tag name to find. I'd far rather have the Emacs 21 behaviour for these operations, and I'm guessing that somewhere in sgml-mode or html-mode I need to tell emacs that '.' is a word separator in order to achieve this. Could anyone point me in the right direction? Thanks in advance, /ewen