From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jorgen Grahn Newsgroups: gmane.emacs.help Subject: upcase-region (was Re: Emacs starter kit - disabled menus) Date: 1 May 2011 14:47:47 GMT Message-ID: References: <87wribz28e.fsf@rapttech.com.au> NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1306268378 16348 80.91.229.12 (24 May 2011 20:19:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 May 2011 20:19:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 24 22:19:29 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QOy4a-0004Ml-CX for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 22:19:24 +0200 Original-Received: from localhost ([::1]:52287 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOy4Z-0004ef-T4 for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 16:19:23 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 43 Original-X-Trace: individual.net D8hkLwIHK6mT5QmSee6nuwQU8Ry3x6o97H1xTEwOiPb555tl6H Cancel-Lock: sha1:QVsuQlzSAEbiAw20zUjRYsT+2tI= User-Agent: slrn/pre1.0.0-18 (Linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:186767 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81114 Archived-At: On Sun, 2011-05-01, Marco Parrone wrote: > Jorgen Grahn writes: > > >> And a +1 for your posting too! I don't have the heart to trim it while >> replying. >> >> I can add that IMHO what you write also applies to giving copies of >> your own .emacs to people. Some (most?) people have a lot of >> undocumented stuff in it. Like this which I inherited from a guy >> called Per in 1996: >> >> ;; Fix upcase-region and downcase-region >> (put 'downcase-region 'disabled nil) >> (put 'upcase-region 'disabled nil) >> >> I have no idea what it does ... > It enables the downcase-region and upcase-region commands. > > It does so by setting the 'disabled property of the respective symbols > to the value of nil. Thanks! If I remove that stuff and run M-x upcase-region, I get a message that it's disabled "because new users often find it confusing". Some searching shows that that happened in Emacs 19 (twenty years ago). >From NEWS.19: C-x C-u (upcase-region) and C-x C-l (downcase-region) are now disabled by default; these commands seem to be often hit by accident, and can be quite destructive if their effects are not noticed immediately. (Interesting. I never typed those by mistake. ^X^C happens by accident a lot these days, though -- ever since I started using vc-mode.) /Jorgen -- // Jorgen Grahn O o .