all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Xah <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: What does 'run' do in cperl-mode?
Date: Fri, 25 Jul 2008 14:55:48 -0700 (PDT)	[thread overview]
Message-ID: <0bb45e96-f9f3-4451-a457-004bb5930c76@p10g2000prf.googlegroups.com> (raw)
In-Reply-To: 86hcad9ar4.fsf@lifelogs.com

On Jul 25, 9:41 am, Ted Zlatanov <t...@lifelogs.com> wrote:
> On Fri, 25 Jul 2008 07:55:29 -0700 (PDT)Xah<xah...@gmail.com> wrote:
>
> X> But you can run it by typing Alt+x shell-command (shortcut Alt+x !)
>
> Please note that Alt is not the preferred prefix name for Emacs
> purposes.  It's Meta, abbreviated M (e.g. M-x), for two reasons:
>
> 1) Meta can be mapped to keys other than Alt
>
> 2) Meta can be invoked with ESC as well, which is very handy in a
> terminal session (I actually use ESC all the time even in a graphical
> session)
>
> Ted

Thanks for the info, i think it's good to know.

Here're some reason i think emacs should adopt the Alt+‹key› or
Alt-‹key› notation throughout its documentation.

• The Alt+‹key› or Alt-‹key› notation is universal among Windows and
Linux. Which accounts for about 95% of personal computers used word
wide. (Apple's computers, which account for about %4 marke share
today, also support the Alt key on their keyboards, and OSX's
documentation also use ‹modifier›-‹key› notation. Aquamacs, perhaps
the most widely used emacs distro on OSX, by default has Alt for Meta
too.) (Note that Microsoft Windows used to use the Alt-‹key› notation.
Only in recent years they changed to the Alt+‹key› notation. Arguably,
this is a good change.)

• The Meta name isn't in some linguistic sense superior that covers
different modifier keys on different OSes. It was one of the modifier
key on obsolete keyboards used by lisp machines in the 1980s.

• By default on all major OSes in use (Windows and Linux and OSX),
emacs maps its Meta to Alt key. So, practically speaking, it works
that way.

• Historically, a “Meta+‹key›” shortcut in emacs can also be invoked
by “Esc ‹key›” or “Ctrl+[”. The design was that way mostly because at
the time, many terminals do not have or support the Meta key, and
Terminal is a primary application in computer use in the 1980s. Today,
perhaps all terminal/console/“command line interface” apps support
Meta as Alt either by default or in a preference setting.

• The ability of pressing Esc for Meta might be still useful for some
people. Users who needed that feature could easily read about it in
emacs doc. (I myself used “esc ‹key›” exclusively during 1998-2004,
mostly because it was a one-brainless solution that works on all
telnet apps regardless of hardware, OS, or setup, and i frequently
need to use different machine, OS, or remote servers. Today, i dont
think i ever press Esc ‹key› for Meta+‹key›)

• A argument from user interface perspective, is that multiple
insignificant options are not good because it increases complexity and
causes the user to sidetrack their focus on tasks. KDE and Gnome,
solved this problem for linuxes by adopting wholesale Microsoft
Window's interface starting about 1998. (before KDE and Gnome, GUI
apps on unix use a variety of “Windows Managers” that has incompatible
User Interfaces.)

For some detail related to the Meta key, see:
“Why Emacs's Keyboard Shortcuts Are Painful”
http://xahlee.org/emacs/emacs_kb_shortcuts_pain.html

  Xah
∑ http://xahlee.org/

  reply	other threads:[~2008-07-25 21:55 UTC|newest]

Thread overview: 86+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-24 17:36 What does 'run' do in cperl-mode? formido
2008-07-25  3:02 ` formido
2008-07-25 14:55 ` Xah
2008-07-25 16:41   ` Ted Zlatanov
2008-07-25 21:55     ` Xah [this message]
2008-07-26  0:05       ` Florian Beck
2008-07-26  2:04         ` Xah
2008-07-26  0:33       ` Lennart Borgman (gmail)
     [not found]       ` <mailman.15432.1217032437.18990.help-gnu-emacs@gnu.org>
2008-07-26  1:41         ` Xah
2008-07-28 11:42       ` Nikolaj Schumacher
2008-07-28 11:58         ` Thien-Thi Nguyen
2008-07-28 13:39       ` Ted Zlatanov
2008-07-28 15:02         ` Xah Lee
2008-07-28 16:34           ` Lennart Borgman (gmail)
     [not found]           ` <mailman.15504.1217262880.18990.help-gnu-emacs@gnu.org>
2008-07-28 17:42             ` Xah Lee
2008-07-28 22:44               ` Lennart Borgman (gmail)
2008-07-28 19:57           ` Ted Zlatanov
2008-07-28 20:28             ` Xah Lee
2008-07-28 21:31               ` Ted Zlatanov
2008-07-28 22:09                 ` Xah Lee
2008-07-29 14:33                   ` Ted Zlatanov
2008-07-29 23:20                     ` Xah
     [not found]       ` <mailman.15488.1217245359.18990.help-gnu-emacs@gnu.org>
2008-07-28 15:22         ` Xah Lee
2008-07-28 22:14           ` Nikolaj Schumacher
     [not found]           ` <mailman.15520.1217283300.18990.help-gnu-emacs@gnu.org>
2008-07-28 22:54             ` Xah Lee
2008-07-29  3:32               ` Eli Zaretskii
     [not found]               ` <mailman.15531.1217302334.18990.help-gnu-emacs@gnu.org>
2008-07-29  7:25                 ` Xah
2008-07-29  7:46                   ` Juanma Barranquero
     [not found]                   ` <mailman.15537.1217317612.18990.help-gnu-emacs@gnu.org>
2008-07-29  8:41                     ` Xah
2008-07-29 12:56                       ` Juanma Barranquero
2008-07-29 13:34                       ` William Case
2008-07-29  9:39                     ` Phil Carmody
2008-07-29 12:55                       ` Juanma Barranquero
2008-07-29 18:19                     ` Colin S. Miller
2008-07-30 12:29                       ` David Hansen
2008-07-30 13:34                         ` Juanma Barranquero
2008-07-29 19:33                   ` Eli Zaretskii
     [not found]                   ` <mailman.15565.1217360044.18990.help-gnu-emacs@gnu.org>
2008-07-29 19:45                     ` Joost Diepenmaat
2008-07-29 21:16                     ` Xah
2008-07-30  3:34                       ` Eli Zaretskii
     [not found]                       ` <mailman.15577.1217388899.18990.help-gnu-emacs@gnu.org>
2008-07-30  3:55                         ` Xah
2008-07-30 18:06                           ` Eli Zaretskii
     [not found]                           ` <mailman.15607.1217441187.18990.help-gnu-emacs@gnu.org>
2008-07-30 18:37                             ` Xah
2008-08-23 21:22                     ` David Combs
2008-08-23 21:41                     ` Barry Margolin
2008-08-24  0:15                       ` origin of the Meta key Xah
2008-08-24  3:38                         ` Barry Margolin
2008-08-26 12:19                           ` Allan Gottlieb
2008-07-29 22:25                   ` What does 'run' do in cperl-mode? Andreas Eder
2008-07-29 23:35                     ` Xah
2008-07-30  8:47                       ` Andreas Eder
2008-07-30  9:49                         ` Xah
2008-07-30 17:58                           ` Eli Zaretskii
     [not found]                           ` <mailman.15606.1217440713.18990.help-gnu-emacs@gnu.org>
2008-07-30 18:17                             ` David Kastrup
2008-07-29 11:13               ` Nikolaj Schumacher
2008-07-29 11:52               ` Alan Mackenzie
     [not found]               ` <mailman.15542.1217330058.18990.help-gnu-emacs@gnu.org>
2008-07-29 12:05                 ` Xah
2008-07-29 21:55                   ` David Kastrup
     [not found]               ` <mailman.15545.1217332445.18990.help-gnu-emacs@gnu.org>
2008-07-29 12:44                 ` Xah
2008-07-29 15:16                   ` Nikolaj Schumacher
2008-07-29 18:27                   ` Alan Mackenzie
     [not found]                   ` <mailman.15550.1217344626.18990.help-gnu-emacs@gnu.org>
2008-07-29 21:32                     ` Xah
2008-07-29 23:06                       ` Nikolaj Schumacher
     [not found]                       ` <mailman.15574.1217372768.18990.help-gnu-emacs@gnu.org>
2008-07-29 23:29                         ` Xah
2008-07-31 19:07                       ` Ted Zlatanov
2008-08-01  3:34                         ` Xah
2008-08-01  7:18                           ` Eli Zaretskii
     [not found]                           ` <mailman.15688.1217575142.18990.help-gnu-emacs@gnu.org>
2008-08-01  8:00                             ` Xah
2008-08-01  8:12                           ` Nikolaj Schumacher
2008-08-01 15:17                           ` Ted Zlatanov
2008-08-06 22:42                           ` Harry Putnam
     [not found]                           ` <mailman.15964.1218062567.18990.help-gnu-emacs@gnu.org>
2008-08-06 23:22                             ` Xah
2008-08-07  6:39                               ` David Kastrup
2008-08-07  8:24                                 ` Xah
     [not found]                   ` <mailman.15564.1217356016.18990.help-gnu-emacs@gnu.org>
2008-07-29 22:50                     ` Xah
2008-07-30 15:15                       ` Alan Mackenzie
     [not found]                       ` <mailman.15602.1217430872.18990.help-gnu-emacs@gnu.org>
2008-07-30 17:32                         ` Xah
2008-07-30 17:45                           ` Joost Kremers
2008-07-30 18:33                             ` Xah
2008-07-30 19:40               ` Bastien
2008-07-30  0:28     ` namekuseijin
2008-07-27  3:05   ` formido
2008-07-27 11:36     ` Lennart Borgman (gmail)
2008-07-27 11:56       ` Thierry Volpiatto
  -- strict thread matches above, loose matches on Subject: below --
2008-08-06 23:27 Xah
2008-08-07 14:27 ` Harry Putnam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0bb45e96-f9f3-4451-a457-004bb5930c76@p10g2000prf.googlegroups.com \
    --to=xahlee@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.