emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

try-expand-all-abbrevs bug?


From: Hideyuki SHIRAI
Subject: try-expand-all-abbrevs bug?
Date: Thu, 26 Jan 2006 19:49:07 +0900 (JST)

In GNU Emacs 22.0.50.3 (sparc-sun-solaris2.7, X toolkit, Xaw3d scroll bars)
 of 2006-01-26 on sugar
X server distributor `ASTEC, Inc.', version 11.0.6600
configured using `configure '--without-xim' 'CC=gcc -mcpu=ultrasparc' 
'CFLAGS=-O2''

I found that hippie-expand:try-expand-all-abbrevs() has a bug.

...

Some mode has a abbrev-table without EXPANSION like below,

(define-abbrev-table 'foo-mode-abbrev-table '(
    ("foo" "" foo-bar-hooked 0)
    ... ))

And try `hippie-expand' below point,

example> abc foo def
example>        ^ this point

Then, change a line below and hippie-expand ends.

example> abc  def


I think that 
(setq he-expand-list (delete "" he-expand-list))
in try-expand-all-abbrevs() necessary.

Thanks,

-- 
Hideyuki SHIRAI @ I'm sorry English ..botchy... 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]