sundar@mipos2.intel.com (Sundar Iyengar~) (10/26/89)
Is it possible, in GNU emacs, to restrict the abbreviation expansion to certain pre-defined regions within a buffer? I used someone's suggestion about using abbreviations for mail aliases (it is a wonderful and useful idead), but now, I want the expansion applied only when I am typing in the "To:" field. Thanks. sundar --------------------------------------------------------- Sundar Iyengar Microprocessor Design UUCP: intelca!mipos3!mipos2!sundar Intel, SC4-59 ARPA: sundar@mipos2.intel.com 2625, Walsh Avenue CSNET: sundar@mipos2.intel.com Santa Clara, CA 95051 AT&T: O: (408) 765-5206 ---------------------------------------------------------
jym@APPLE.COM (10/26/89)
Perhaps the best way to accomplish what you want to accomplish is to create a .mailrc file with the aliases in it. It would look something like this: alias gnu-misc-discuss gnu-misc-discuss@cis.ohio-state.edu alias info-gnu-emacs info-gnu-emacs@prep.ai.mit.edu alias poppy gbush@whitehouse.fed.gov alias vms-gnu-emacs vms-gnu-emacs@harvard.harvard.edu That would make the aliases work even if (horror of horrors) you actually had to use a standard Unix tool instead of Emacs. <_Jym_>
ds@hollin.prime.com (10/28/89)
I do this (adding aliases to .mailrc to get people's domains supplied automatically), but mail tools become very slow when they have to read in and interpret a long .mailrc file. I wish there were some U**X kernel or perhaps shell feature that did hashed lookups for mail (and other) identifiers to supply omitted components of addresses... David Spector Prime Computer, Inc. ds@primerd.prime.com (until the layoff, shortly)