From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#16190: 23.4; M-x captialize-word works incorrectly Date: Mon, 23 Dec 2013 18:12:46 +0200 Message-ID: <8361qf8s1t.fsf@gnu.org> References: <52AA8710.4030706@twcny.rr.com> <83sitpbis9.fsf@gnu.org> <87ppotuti1.fsf@rosalinde.fritz.box> <83haa4bubq.fsf@gnu.org> <52B7BA11.10004@twcny.rr.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1387818956 22235 80.91.229.3 (23 Dec 2013 17:15:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Dec 2013 17:15:56 +0000 (UTC) Cc: 16190@debbugs.gnu.org To: caleb@compwizard.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 23 18:16:01 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 1Vv96l-0002iL-V4 for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Dec 2013 18:16:00 +0100 Original-Received: from localhost ([::1]:34694 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vv96l-0003aU-GL for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Dec 2013 12:15:59 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42520) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vv88v-0007Ix-VX for bug-gnu-emacs@gnu.org; Mon, 23 Dec 2013 11:14:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vv88o-0002p4-Fh for bug-gnu-emacs@gnu.org; Mon, 23 Dec 2013 11:14:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vv88o-0002ou-Cr for bug-gnu-emacs@gnu.org; Mon, 23 Dec 2013 11:14:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vv88n-0004s4-Va for bug-gnu-emacs@gnu.org; Mon, 23 Dec 2013 11:14:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Dec 2013 16:14:01 +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.138781520318650 (code B ref 16190); Mon, 23 Dec 2013 16:14:01 +0000 Original-Received: (at 16190) by debbugs.gnu.org; 23 Dec 2013 16:13:23 +0000 Original-Received: from localhost ([127.0.0.1]:36092 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vv88A-0004qk-Ne for submit@debbugs.gnu.org; Mon, 23 Dec 2013 11:13:23 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:48827) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vv888-0004qY-8y for 16190@debbugs.gnu.org; Mon, 23 Dec 2013 11:13:21 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MY900C00P148U00@a-mtaout20.012.net.il> for 16190@debbugs.gnu.org; Mon, 23 Dec 2013 18:12:54 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MY900C7IP1H2R40@a-mtaout20.012.net.il>; Mon, 23 Dec 2013 18:12:53 +0200 (IST) In-reply-to: <52B7BA11.10004@twcny.rr.com> X-012-Sender: halo1@inter.net.il 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:82449 Archived-At: > Date: Sun, 22 Dec 2013 23:20:33 -0500 > From: Caleb Wakeman > CC: Eli Zaretskii > > (paraphrased quotes) > >>> That's the intended behavior > >> Then its docstring is incorrect > > Fair enough, fixed > > Erm, well... > > I've had several days to think it over, and I don't agree [that it's > fixed]. Yes, the docstring is (was) incorrect; and if it hadn't been > incorrect, I wouldn't have reported it as a bug. > > However, the function would still be doing 'The Wrong Thing' (for me, I > can imagine that cases exist where this isn't), and if I ever used it > again, it would only be because I forgot that it didn't do what I expected. The 3 functions that change letter-case in words, capitalize-word, upcase-word, and downcase-word work in the same way when moving forward: they start with the current buffer position. If you want a function that capitalizes the word at point after looking back for its beginning, you need to code that using thing-at-point or some such.