Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!njin!princeton!phoenix!eliot From: eliot@phoenix.Princeton.EDU (Eliot Handelman) Newsgroups: comp.emacs Subject: set-syntax problem Message-ID: <7063@phoenix.Princeton.EDU> Date: 14 Mar 89 07:07:40 GMT Reply-To: eliot@phoenix.Princeton.EDU (Eliot Handelman) Organization: Princeton University, NJ Lines: 18 Ok, I give up. This is the problem (in GNU 18.52): a-long-lisp-name-with-lots-of-hyphens another-hyphenated-name So how do I transpose these two variables? If I use M-x transpose-word, or M-x transpose-sexp, I wind up with: a-long-lisp-name-with-lots-of-another hyphens-hyphenated-name My theory is that the syntax table doesn't think of "-" as a word, so I tried M-x modify-syntax-entry RET - RET "w" and I also tried "w ", but it has no effect. I do this while in the lisp buffer, so it should work. It doesn't. How to do it? That's the question. -Eliot -- >`Take that, Eliot!' -- 20th century composer on a waltz in D major -- Noam Elkies