all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: shell-like Emacs CLI, and my Usenet behaviour
Date: Sun, 18 Aug 2013 21:27:42 +0200	[thread overview]
Message-ID: <87eh9qpznc.fsf@nl106-137-194.student.uu.se> (raw)

After getting into several firefights, not just here but all over
Usenet, I have decided to change my behaviour. So it happened,
that my laptop (an old warhorse Dell Inspiron 1300), fell out of
my backpack, and broke (but I salvaged the HDD), and I am a
non-religious, "rational" believer in karma, so I interpreted this
as a sign that I should change my behaviour, and not be so easily
provoked, or as confrontational/high-energy in style.

But, not dwelling on the past, I have been thinking if not Emacs
would benefit from a shell-like CLI, instead of hammering the RET
between each stage?

Is this a new idea or did anyone do work on it?

There are several advantages:

For a simple example, the advantage is speed, less typing, and no
visual "reorient" after the RET.

In a shell:

man emacs RET

In Emacs:

M-x man RET emacs RET

For a long, complicated command, apart from the advantages
mentioned, it is often the case you are benefited from seeing the
options, the previous arguments, and the tool name, when you type
the command - you don't get lost as in Emacs - wait... what am I
doing? what did I do one second ago?

The visual memory doesn't work with bits and pieces. To verify
this, take a look at (the shell command)

cp

and then the option

-r

compare this to:

cp -r

The difference is stunning!

What's more, for complicated commands with options and/or
arguments, it is easy to do a mistake. With C-p in zsh, you get
the last command (the entire command), and you can use the
lightning-fast Emacs-style cursor movement keystrokes to get to
the disfunctional part, and correct it.

Although I don't habitually do complicated commands in Emacs,
because I bind it to functions, aliases, and keystrokes,
*sometimes* I do, and then I am frustrated the Emacs CLI isn't as
flexible as the shell's.

Putting it the other way around, are there any advantages to the
Emacs way, or is it the way it is because of practical
considerations when it was implemented?

-- 
Emanuel Berg - programmer (hire me! CV below)
computer projects: http://user.it.uu.se/~embe8573
internet activity: http://home.student.uu.se/embe8573


             reply	other threads:[~2013-08-18 19:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-18 19:27 Emanuel Berg [this message]
2013-08-18 20:55 ` shell-like Emacs CLI, and my Usenet behaviour mathias.dahl
2013-08-18 21:04 ` Pascal J. Bourguignon
2013-08-19  6:57 ` Rustom Mody
2013-08-19  7:55 ` Thien-Thi Nguyen
2013-08-19 15:16 ` Barry Margolin
2013-08-21 13:59 ` Stefan Monnier
2013-08-21 17:50   ` Guido Van Hoecke
2013-08-21 22:58     ` Bob Proulx
2013-08-22  6:40       ` Guido Van Hoecke
2013-08-22 22:42       ` W. Greenhouse
2013-08-23  6:06         ` Guido Van Hoecke

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=87eh9qpznc.fsf@nl106-137-194.student.uu.se \
    --to=embe8573@student.uu.se \
    --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.