From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chming Newsgroups: gmane.emacs.devel Subject: try-expand-dabbrev weird behavior when "No further expansions found" Date: Wed, 2 Dec 2009 12:03:50 -0800 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1259793824 29661 80.91.229.12 (2 Dec 2009 22:43:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Dec 2009 22:43:44 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 02 23:43:38 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NFxv8-0005o1-2M for ged-emacs-devel@m.gmane.org; Wed, 02 Dec 2009 23:43:38 +0100 Original-Received: from localhost ([127.0.0.1]:48137 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFxv7-0006lQ-RH for ged-emacs-devel@m.gmane.org; Wed, 02 Dec 2009 17:43:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NFvQZ-00015A-NB for emacs-devel@gnu.org; Wed, 02 Dec 2009 15:03:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NFvQW-000103-2t for emacs-devel@gnu.org; Wed, 02 Dec 2009 15:03:55 -0500 Original-Received: from [199.232.76.173] (port=45136 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFvQV-0000zv-QZ for emacs-devel@gnu.org; Wed, 02 Dec 2009 15:03:51 -0500 Original-Received: from mail-iw0-f188.google.com ([209.85.223.188]:48981) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NFvQV-0007G9-AE for emacs-devel@gnu.org; Wed, 02 Dec 2009 15:03:51 -0500 Original-Received: by iwn26 with SMTP id 26so356844iwn.14 for ; Wed, 02 Dec 2009 12:03:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=8Vysg2TBciMEKnHlz/Y/57SFiLR1bwHWvYUsfuCHXVw=; b=cCNsv/CLzi6Fi3bzZUS86eV02YRyn7O5AK4dMHSalC4PIaONaaQoG+ZnJD5qyKYKa5 V+4a4zFJP1NUd33Z7gfzMVIFWv+lt3kM4ufjAWTaVhPnriIzbUi9uOUquIc7cWBvn8Cg KJsTbrnITDYHcIde8BD5LeVNBCpiikuvb12u8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=QYedtpReyT9SBez2DqByCVtmkcovd0AzkcmsmSiSgKrw/uGVjK1pjnJlQQcz40S657 rrQz6F36PKfV3oQiFnkTJWsvF/ImUDo7p3b9Gi9EIzhPE4yIqN35VMlAXJvjcyKUygYR O20ybtuSFYsR04DNmdF0L/ayvq5mza77QPaU8= Original-Received: by 10.231.125.100 with SMTP id x36mr917744ibr.52.1259784230517; Wed, 02 Dec 2009 12:03:50 -0800 (PST) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:118155 Archived-At: 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_")