From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#21501: new Emacs functions for capitalizing text intelligently Date: Sat, 19 Sep 2015 16:27:34 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1442694503 8204 80.91.229.3 (19 Sep 2015 20:28:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Sep 2015 20:28:23 +0000 (UTC) Cc: 21501@debbugs.gnu.org To: Zachary Kanfer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 19 22:28:13 2015 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 1ZdOjy-0003ok-0V for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Sep 2015 22:28:10 +0200 Original-Received: from localhost ([::1]:47686 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZdOjw-0005H4-Kb for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Sep 2015 16:28:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46674) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZdOjt-0005Gu-6c for bug-gnu-emacs@gnu.org; Sat, 19 Sep 2015 16:28:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZdOjq-0008Ju-0d for bug-gnu-emacs@gnu.org; Sat, 19 Sep 2015 16:28:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45713) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZdOjp-0008Jk-Tc for bug-gnu-emacs@gnu.org; Sat, 19 Sep 2015 16:28:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZdOjp-0005fV-N4 for bug-gnu-emacs@gnu.org; Sat, 19 Sep 2015 16:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Sep 2015 20:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21501 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21501-submit@debbugs.gnu.org id=B21501.144269445821742 (code B ref 21501); Sat, 19 Sep 2015 20:28:01 +0000 Original-Received: (at 21501) by debbugs.gnu.org; 19 Sep 2015 20:27:38 +0000 Original-Received: from localhost ([127.0.0.1]:37923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZdOjR-0005eZ-Et for submit@debbugs.gnu.org; Sat, 19 Sep 2015 16:27:37 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:2629) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZdOjP-0005eR-KO for 21501@debbugs.gnu.org; Sat, 19 Sep 2015 16:27:36 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0A+FgA731xV/2yixEVcgxCEAoVVwwsEAgKBPD0QAQEBAQEBAYEKQQWDXQEBAwFWIwULCw4mEhQYDSSINwjPIwEBAQEGAQEBAR6LOoUFB4QtBZA0jmODa5A9gUUjhBQigngBAQE X-IPAS-Result: A0A+FgA731xV/2yixEVcgxCEAoVVwwsEAgKBPD0QAQEBAQEBAYEKQQWDXQEBAwFWIwULCw4mEhQYDSSINwjPIwEBAQEGAQEBAR6LOoUFB4QtBZA0jmODa5A9gUUjhBQigngBAQE X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="165330106" Original-Received: from 69-196-162-108.dsl.teksavvy.com (HELO pastel.home) ([69.196.162.108]) by ironport2-out.teksavvy.com with ESMTP; 19 Sep 2015 16:27:34 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 728A162376; Sat, 19 Sep 2015 16:27:34 -0400 (EDT) In-Reply-To: (Zachary Kanfer's message of "Thu, 17 Sep 2015 00:32:32 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) 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: 208.118.235.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:106710 Archived-At: > I'm submitting some additional -dwim functions to that change the > capitalization of text the way the user probably wants. Looks OK to me. > Changelog entry: > * simple.el: Add functions for capitalizing text intelligently. > (capitalize-dwim): New function. > (upcase-dwim): New function. > (downcase-dwim): New function. Thanks. Please add that to the commit message. More specifically, use the first line above as the first line of the commit message, and add (capitalize-dwim, upcase-dwim, downcase-dwim): New functions. at the end. I'm tempted to bind M-u, M-l, and M-c to those new commands. WDYT? Stefan