unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* try-expand-dabbrev weird behavior when "No further expansions found"
@ 2009-12-02 20:03 Chming
  2009-12-02 23:12 ` Chming
  0 siblings, 1 reply; 3+ messages in thread
From: Chming @ 2009-12-02 20:03 UTC (permalink / raw
  To: emacs-devel

Hi all,

My emacs is updated the latest version from cvs. When I use
try-expand-dabbrev with M-/, if "No further expansions found" happens,
the cursor will jump to some other place. The following is my setting
about the dabbrev. Does someone know if something is wrong?

Thanks,

Ming

(setq hippie-expand-try-functions-list
      '(
        try-expand-dabbrev
        try-expand-dabbrev-visible
        try-expand-dabbrev-all-buffers
        try-expand-dabbrev-from-kill
        try-expand-list
        try-expand-list-all-buffers
        try-expand-line
        try-expand-line-all-buffers
        try-expand-all-abbrevs
        try-complete-file-name-partially
        try-complete-file-name
        try-expand-whole-kill
        )
      )
(eval-after-load "dabbrev" '(defalias 'dabbrev-expand 'hippie-expand))
(setq dabbrev-case-fold-search t)
(setq dabbrev-case-replace t)
(setq dabbrev-abbrev-skip-leading-regexp "[^ ]*[<>=*]")
(setq dabbrev-abbrev-char-regexp "\\sw\\|\\s_")




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-03  1:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-02 20:03 try-expand-dabbrev weird behavior when "No further expansions found" Chming
2009-12-02 23:12 ` Chming
2009-12-03  1:34   ` try-expand-dabbrev weird behavior when "No further expansions Stefan Monnier

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