From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Emilio Lopes Newsgroups: gmane.emacs.bugs Subject: Inconsistent behavior of `current-word' Date: 22 Jun 2003 19:20:55 +0200 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1056303877 32047 80.91.224.249 (22 Jun 2003 17:44:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 22 Jun 2003 17:44:37 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 22 19:44:18 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19U8eY-0007jf-00 for ; Sun, 22 Jun 2003 19:29:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19U8dm-0002NN-GT for gnu-bug-gnu-emacs@m.gmane.org; Sun, 22 Jun 2003 13:28:34 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19U8di-0002Jr-Nf for bug-gnu-emacs@gnu.org; Sun, 22 Jun 2003 13:28:30 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19U8dh-0002IZ-3z for bug-gnu-emacs@gnu.org; Sun, 22 Jun 2003 13:28:29 -0400 Original-Received: from relay1.tiscali.de ([62.26.116.129] helo=webmail.tiscali.de) by monty-python.gnu.org with esmtp (Exim 4.20) id 19U8dg-0002HQ-Kw for bug-gnu-emacs@gnu.org; Sun, 22 Jun 2003 13:28:28 -0400 Original-Received: from manaira.local.tiscali.de (62.246.58.219) by webmail.tiscali.de (6.7.018) id 3EF5C1820000A328 for bug-gnu-emacs@gnu.org; Sun, 22 Jun 2003 19:28:28 +0200 Original-To: bug-gnu-emacs@gnu.org Original-Lines: 18 User-Agent: Emacs Gnus X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:5367 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:5367 Start Emacs and type the following in the "*scratch*" buffer: Diesel-Motor* [The asterisk represents point position] `current-word)' returns "Diesel-Motor" although all other word-related commands (`backward-word', `capitalize-word' etc.) I've tested return "Motor" only. A look at the current syntax table shows that `-' is not a word component: - .. / _ which means: symbol Emilio