[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Inconsistent behavior of `current-word'
From: |
Emilio Lopes |
Subject: |
Inconsistent behavior of `current-word' |
Date: |
22 Jun 2003 19:20:55 +0200 |
User-agent: |
Emacs Gnus |
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
- Inconsistent behavior of `current-word',
Emilio Lopes <=