unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [shirai@meadowy.org: try-expand-all-abbrevs bug?]
@ 2006-01-27  0:33 Richard M. Stallman
  0 siblings, 0 replies; only message in thread
From: Richard M. Stallman @ 2006-01-27  0:33 UTC (permalink / raw)


Could someone please DTRT about this?

------- Start of forwarded message -------
Date: Thu, 26 Jan 2006 19:49:07 +0900 (JST)
To: emacs-pretest-bug@gnu.org
From: Hideyuki SHIRAI <shirai@meadowy.org>
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
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-01-27  0:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-27  0:33 [shirai@meadowy.org: try-expand-all-abbrevs bug?] Richard M. Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).