emacs-devel
[Top][All Lists]
Advanced

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

address@hidden: try-expand-all-abbrevs bug?]


From: Richard M. Stallman
Subject: address@hidden: try-expand-all-abbrevs bug?]
Date: Thu, 26 Jan 2006 19:33:38 -0500

Could someone please DTRT about this?

------- Start of forwarded message -------
Date: Thu, 26 Jan 2006 19:49:07 +0900 (JST)
To: address@hidden
From: Hideyuki SHIRAI <address@hidden>
Organization: Panasonic Communications Co., Ltd.
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Subject: try-expand-all-abbrevs bug?

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... 


_______________________________________________
emacs-pretest-bug mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------






reply via email to

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