From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dale Snell Newsgroups: gmane.emacs.help Subject: Re: one key-press to comment out lines of code? Date: Thu, 1 May 2014 15:54:30 -0700 Organization: Organization? Me? ROFL!! Message-ID: <20140501155430.5dcedf9f@zothique> References: <87fvku94ms.fsf@skimble.plus.com> <87y4ymiqfg.fsf@nl106-137-194.student.uu.se> <87a9b1iogu.fsf@nl106-137-194.student.uu.se> Reply-To: ddsnell@frontier.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1398984915 8396 80.91.229.3 (1 May 2014 22:55:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 May 2014 22:55:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 02 00:55:08 2014 Return-path: Envelope-to: geh-help-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 1Wfzsi-0004pG-6X for geh-help-gnu-emacs@m.gmane.org; Fri, 02 May 2014 00:55:08 +0200 Original-Received: from localhost ([::1]:41686 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wfzsh-0003ti-L3 for geh-help-gnu-emacs@m.gmane.org; Thu, 01 May 2014 18:55:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WfzsR-0003td-KI for help-gnu-emacs@gnu.org; Thu, 01 May 2014 18:54:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WfzsL-0008BD-Hj for help-gnu-emacs@gnu.org; Thu, 01 May 2014 18:54:51 -0400 Original-Received: from filter04.roch.ny.frontiernet.net ([66.133.183.234]:49680) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WfzsL-0008B7-DJ for help-gnu-emacs@gnu.org; Thu, 01 May 2014 18:54:45 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by filter04.roch.ny.frontiernet.net (Postfix) with ESMTP id 1014E24C667 for ; Thu, 1 May 2014 22:54:44 +0000 (UTC) Original-Received: from relay03.roch.ny.frontiernet.net ([66.133.182.166]) by localhost (filter04.roch.ny.frontiernet.net [66.133.183.234]) (amavisd-new, port 10024) with LMTP id LMQxwwIHg7iL for ; Thu, 1 May 2014 22:54:32 +0000 (UTC) X-Originating-IP: [50.39.121.206] X-Previous-IP: 50.39.121.206 Original-Received: from zothique (50-39-121-206.bvtn.or.frontiernet.net [50.39.121.206]) by relay03.roch.ny.frontiernet.net (Postfix) with ESMTPA id 3E15F23B0F for ; Thu, 1 May 2014 22:54:29 +0000 (UTC) In-Reply-To: <87a9b1iogu.fsf@nl106-137-194.student.uu.se> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; x86_64-redhat-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 66.133.183.234 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:97529 Archived-At: On Thu, 01 May 2014 16:05:21 +0200 Emanuel Berg wrote: > Dale Snell writes: > > On your keyboard, perhaps. Mine's set up a bit > > differently (the "Windows" keys are the Meta keys, > > the Alt keys, on either side of the space bar, are > > the Alt keys.) > > Interesting. I have a keyboard from Sun. Turns out, it > says "Alt" on the Meta key, but it has the Meta key > behaviour and I don't remember configuring that. You probably didn't. In my experience, most personal computer OSs map Meta and Alt together on the same keys. So you wouldn't notice unless you needed both alt and meta variations of the same character. Fortunately, such mappings can be repaired, if needed. > [...] I think (and someone on > this list confirmed this with a cool image) that the > Esc solution for Emacs has historical roots when the > paleo-keyboards had Esc somewhere else. (Get back to > you on this when I find that old post.) Heh, yeah, the old terminals had keys wandering all over the place. Every manufacturer had a different idea of where things like escape, |, \, `, ~, and so on belonged. Sometimes they would change their minds from one model to the next. As I recall, the DEC VT-101 that I learned Emacs on had the escape key where the `/~ usually is now. The `/~ key was between the =/+ and backspace keys, and the |/\ key was to the right of the return key. (An awful place. One had to be careful if one used those characters.) > But perhaps you re-routed Esc for Caps Lock? No, I swapped control for caps-lock, putting the control key next to the A key, where it's much more accessible. Since I seldom use the caps-lock function, it doesn't bother me that said key was relegated to the second most inconvenient place on the keyboard. (The most inconvenient position, imnsho, is the right control key. Next to the left arrow key. Ugh.) --Dale -- Q: Why did the Klingon color his hair blond? A: Because it was a good day to dye.