From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#358: dabbrev-abbrev-char-regexp Date: Wed, 06 Jul 2011 19:46:23 +0200 Message-ID: References: <1212586214.22521.1256711185@webmail.messagingengine.com> <29vdvw2dcv.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1309981727 28305 80.91.229.12 (6 Jul 2011 19:48:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 6 Jul 2011 19:48:47 +0000 (UTC) Cc: 358@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 06 21:48:43 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QeY5S-0005AY-Jc for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Jul 2011 21:48:42 +0200 Original-Received: from localhost ([::1]:45633 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeY5R-0006yb-EU for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Jul 2011 15:48:41 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:50447) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeWBl-00072i-TO for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2011 13:47:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QeWBk-0005Yt-1j for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2011 13:47:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35151) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeWBj-0005YP-RS for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2011 13:47:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QeWBi-0007SC-DK; Wed, 06 Jul 2011 13:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Jul 2011 17:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 358 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 358-submit@debbugs.gnu.org id=B358.130997439828619 (code B ref 358); Wed, 06 Jul 2011 17:47:02 +0000 Original-Received: (at 358) by debbugs.gnu.org; 6 Jul 2011 17:46:38 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QeWBJ-0007RY-94 for submit@debbugs.gnu.org; Wed, 06 Jul 2011 13:46:37 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QeWBH-0007RI-2p for 358@debbugs.gnu.org; Wed, 06 Jul 2011 13:46:36 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QeWB5-0007s4-Rv; Wed, 06 Jul 2011 19:46:23 +0200 X-Now-Playing: Anna =?UTF-8?Q?J=C3=A4rvinen's?= _Man var bland molnen_: "=?UTF-8?Q?=C3=84r?= det det =?UTF-8?Q?h=C3=A4r?= det hela handlar om" X-Hashcash: 1:23:110706:358@debbugs.gnu.org::aI9ouwlP5dxEn4VP:000000000000000000000000000000000000000000h40Y X-Hashcash: 1:23:110706:rgm@gnu.org::uHaoKmMAOZ6bK2R3:000001McNp In-Reply-To: (Glenn Morris's message of "Wed, 22 Oct 2008 21:28:31 -0400") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-MailScanner-ID: 1QeWB5-0007s4-Rv MailScanner-NULL-Check: 1310579183.94195@3E8kj6Xt+jpg2isQ8NziAg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 06 Jul 2011 13:47:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:48112 Archived-At: Glenn Morris writes: > After looking at this again, there's still no difference between nil > and \\sw\\|\\s- AFAICS, I've now changed the doc string to reflect this. > 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-/. I have no idea how dabbrev works, but isn't that a new bug report? :-) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/