Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!ucla-cs!zen!ucbvax!nmsu.CSNET!jthomas From: jthomas@nmsu.CSNET Newsgroups: comp.emacs Subject: abbrev-mode vs (insert "abbrev") Message-ID: <8709030146.AA29005@ucbvax.Berkeley.EDU> Date: Wed, 2-Sep-87 16:31:12 EDT Article-I.D.: ucbvax.8709030146.AA29005 Posted: Wed Sep 2 16:31:12 1987 Date-Received: Sat, 5-Sep-87 07:39:03 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 19 (My apologies, but ...) A month or so ago I posed the following question. I have since been off the list for a while during a move. If there was an answer, I missed it. Sorry. The language modes use forms like: (insert "if " (read-string ": ")) to build skeleton constructs. I use abbrev-mode for variable names, but lose with the above forms because only the last word typed in gets expanded. For example, I have abbrevs "ss"="StringSize" and "sl"="StringLength", if I type "ss" for the above read-string, the result is "if StringSize", but if I type "ss < sl", the result is "if ss < StringLength". The string added by insert is treated as a single entity by abbrev-mode, so only the last "word" is examined for expansion. Am I missing something? Or how can this be fixed (or is it that there's no reasonable way)? Jim Thomas jthomas@nmsu.CSNET (formerly JNTCS@UNO.BITNET)