From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#358: dabbrev-abbrev-char-regexp Date: Wed, 22 Oct 2008 21:28:31 -0400 Message-ID: References: <1212586214.22521.1256711185@webmail.messagingengine.com> <29vdvw2dcv.fsf@fencepost.gnu.org> Reply-To: Glenn Morris , 358@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1224726618 2428 80.91.229.12 (23 Oct 2008 01:50:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Oct 2008 01:50:18 +0000 (UTC) To: 358@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 23 03:51:19 2008 connect(): Connection refused Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KspM7-0008K9-LH for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Oct 2008 03:51:19 +0200 Original-Received: from localhost ([127.0.0.1]:36670 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KspL1-0003eP-Uw for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Oct 2008 21:50:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KspKx-0003e1-Gm for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 21:50:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KspKv-0003dK-Uj for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 21:50:07 -0400 Original-Received: from [199.232.76.173] (port=37301 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KspKv-0003dC-Pu for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 21:50:05 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57400) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KspKv-0001lh-9B for bug-gnu-emacs@gnu.org; Wed, 22 Oct 2008 21:50:05 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9N1o1R0013885; Wed, 22 Oct 2008 18:50:01 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9N1e4rX011620; Wed, 22 Oct 2008 18:40:04 -0700 X-Loop: don@donarmstrong.com Resent-From: Glenn Morris Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 23 Oct 2008 01:40:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 358 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 358-submit@emacsbugs.donarmstrong.com id=B358.122472547710270 (code B ref 358); Thu, 23 Oct 2008 01:40:04 +0000 Original-Received: (at 358) by emacsbugs.donarmstrong.com; 23 Oct 2008 01:31:17 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9N1VErF010264 for <358@emacsbugs.donarmstrong.com>; Wed, 22 Oct 2008 18:31:15 -0700 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Ksp03-0006EH-KM; Wed, 22 Oct 2008 21:28:31 -0400 X-Spook: Islam Abduganievich Karimov ASLET Albania Forte clones X-Ran: <4=fUytK$^}"\>!;I=@&/[Z\>TC=]hxzS)>j-QNFI)Qk"nY=$#Rn5GNOhd}K'y%n\J^nYV X-Hue: black X-Attribution: GM In-Reply-To: <29vdvw2dcv.fsf@fencepost.gnu.org> (Glenn Morris's message of "Mon, 13 Oct 2008 21:07:44 -0400") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 22 Oct 2008 21:50:07 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:21819 Archived-At: After looking at this again, there's still no difference between nil and \\sw\\|\\s- AFAICS, but now dabbrev--abbrev-at-point makes little sense to me: emacs -Q --eval '(setq dabbrev-abbrev-char-regexp "\\sw")' in scratch: yes-or-no--- followed by M-/ gives "No dynamic expansion for `no---' found". Obviously, "---" are not word constituents, yet they are included in the abbrev, in flat contradiction to the doc-string of dabbrev-abbrev-char-regexp: if you set this variable to "\\sw", then expanding `yes-or-no-' signals an error because `-' is not part of a word This is caused by dabbrev--abbrev-at-point's: ;; If we aren't right after an abbreviation, ;; move point back to just after one. ;; This is so the user can get successive words ;; by typing the punctuation followed by M-/.