home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / lucid / bug-lucid-emacs / text0106.txt < prev    next >
Encoding:
Text File  |  1993-07-04  |  926 b   |  28 lines

  1. If I expand a mail alias with (expand-abbrev) in a header in a *mail*
  2. buffer, (expand-abbrev) will always return nil, even when the mail
  3. alias is expanded.  Shouldn't it return t in that case?
  4.  
  5. Here's what I did:
  6.  
  7.     Go to the "To:" line.  Write "uwe".  Then "ESC ESC (expand-abbrev)
  8.     RET".  The mail alias is expanded, but expand-abbrev returns
  9.     "nil".
  10.  
  11. My .mailrc contains the line:
  12.  
  13.     alias uwe uwe.wuerfel@rrzc1.rz.uni-regensburg.de
  14.  
  15. The doc of expand-abbrev says:
  16.  
  17.     expand-abbrev: ()
  18.       -- an interactive built-in function.
  19.     Expand the abbrev before point, if there is an abbrev there.
  20.     Effective when explicitly called even when `abbrev-mode' is nil.
  21. ==> Returns t if expansion took place.
  22.  
  23. -- 
  24. ThH, Thorbjoern Hansen, hansen@forwiss.uni-passau.de, thansen@diku.dk
  25. You may write in German, Spanish, Swedish, Danish or even English.
  26. I collect emacs lisp files.  Mail me (the name of) your favorite.
  27.  
  28.