From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#16190: 23.4; M-x captialize-word works incorrectly Date: Thu, 19 Dec 2013 08:28:20 -0800 (PST) Message-ID: References: <52AA8710.4030706@twcny.rr.com> <83sitpbis9.fsf@gnu.org> <87ppotuti1.fsf@rosalinde.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1387470561 30132 80.91.229.3 (19 Dec 2013 16:29:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Dec 2013 16:29:21 +0000 (UTC) Cc: caleb@compwizard.net, 16190@debbugs.gnu.org To: Stephen Berman , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 19 17:29:25 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VtgTT-00011M-Ic for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Dec 2013 17:29:23 +0100 Original-Received: from localhost ([::1]:45145 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtgTT-0002JL-05 for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Dec 2013 11:29:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38912) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtgTH-0002HS-FJ for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2013 11:29:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VtgT8-0000UJ-MV for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2013 11:29:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44793) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtgT8-0000UD-Iw for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2013 11:29:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VtgT8-0002tQ-4k for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2013 11:29:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Dec 2013 16:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16190 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 16190-submit@debbugs.gnu.org id=B16190.138747052511091 (code B ref 16190); Thu, 19 Dec 2013 16:29:02 +0000 Original-Received: (at 16190) by debbugs.gnu.org; 19 Dec 2013 16:28:45 +0000 Original-Received: from localhost ([127.0.0.1]:58812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VtgSq-0002sp-UA for submit@debbugs.gnu.org; Thu, 19 Dec 2013 11:28:45 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:17481) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VtgSo-0002se-6q for 16190@debbugs.gnu.org; Thu, 19 Dec 2013 11:28:43 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rBJGSSB3029497 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 19 Dec 2013 16:28:28 GMT Original-Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBJGSL9O028719 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 19 Dec 2013 16:28:22 GMT Original-Received: from abhmp0020.oracle.com (abhmp0020.oracle.com [141.146.116.26]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBJGSKgO028697; Thu, 19 Dec 2013 16:28:21 GMT In-Reply-To: <87ppotuti1.fsf@rosalinde.fritz.box> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:82224 Archived-At: > > That's how capitalize-word is supposed to work. It's not a bug, but > > intended behavior. >=20 > Then its doc string is incorrect: >=20 > capitalize-word is an interactive built-in function in `C source code'= . >=20 > It is bound to M-c. >=20 > (capitalize-word ARG) >=20 > Capitalize the following word (or ARG words), moving over. > This gives the word(s) a first character in upper case > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > and the rest lower case. > ^^^^^^^^^^^^^^^^^^^^^^^^ > With negative argument, capitalize previous words but do not move. The key here is the *word that starts at point*. With point after the `n' here: "another", the word that starts at point is "other". It could help for the doc to explicitly emphasize this, as an extra tip. That is, to point out that there is no scanning backward to find the maximal word, i.e., to find a non word-constituent character. But this should be treated as extra info, implied by a statement (missing, it seems) that the word starts at point. "The following word" is too loose a description to make this clear.