unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: Miles Bader <miles@gnu.org>
Cc: Juri Linkov <juri@jurta.org>, Dan Nicolaescu <dann@ics.uci.edu>,
	emacs-devel@gnu.org
Subject: Re: defalias chmod for set-file-modes ?
Date: Wed, 24 Dec 2008 16:11:51 +0900	[thread overview]
Message-ID: <874p0uvyh4.fsf@xemacs.org> (raw)
In-Reply-To: <87zlim8517.fsf@catnip.gol.com>

Miles Bader writes:

 > It might be nice to have a few other command such aliases, e.g., mkdir
 > => make-directory.

Commands are functions, and people will start using these aliases in
programs because they're used to using them from Unix shells and
they're shorter.  Is that desirable?

IMHO not, even to a 35-year Unix veteran surely "make-directory" is as
readable as "mkdir" and "M-x mak<TAB>d<RET>" is no longer than "M-x
mkdir<RET>" (though for true speed daemons "M-x mk<TAB>" is indeed
shorter).  What's wrong with

(define-abbrev lisp-mode-abbrev-table "mkdir" "make-directory")

and use of completion to save on typing?  It's not like make-directory
or set-file-attributes is a command used several score times in most
editing sessions, and if you *are* going to be doing that a whole lot,
aren't key sequences like "+" and "M" as short as you're gonna get?




  reply	other threads:[~2008-12-24  7:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-18  9:30 defalias chmod for set-file-modes ? Dan Nicolaescu
2008-12-23 21:35 ` Juri Linkov
2008-12-24  6:24   ` Miles Bader
2008-12-24  7:11     ` Stephen J. Turnbull [this message]
2008-12-24  8:15       ` Miles Bader
2008-12-24 17:33     ` Stefan Monnier
2008-12-24 18:28       ` Dan Nicolaescu
2008-12-24 20:48         ` Juri Linkov

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=874p0uvyh4.fsf@xemacs.org \
    --to=stephen@xemacs.org \
    --cc=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    --cc=juri@jurta.org \
    --cc=miles@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).