Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!brutus.cs.uiuc.edu!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!mcsun!ukc!edcastle!lfcs!jcb From: jcb@lfcs.ed.ac.uk (Julian Bradfield) Newsgroups: gnu.emacs Subject: Definition of word Message-ID: <350@castle.ed.ac.uk> Date: 8 Sep 89 11:25:02 GMT Sender: root@castle.ed.ac.uk Reply-To: jcb@lfcs.ed.ac.uk (Julian Bradfield) Organization: Laboratory for the Foundations of Computer Science, Edinburgh U Lines: 9 Why is it that a "word" does not include escaped characters? (I should like words with TeX accents (e.g. "nam\'arie") to be counted as one word, and naively thought that making \ an escape would do the trick.) Since it doesn't, what would be the most efficient way to replace forward-word to achieve the desired result? (Viz. that a word ends with the first character that is an non-word constituent not preceded by an escape character.) Any help much appreciated!