[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shell-command-on-region
From: |
Alexander Pohoyda |
Subject: |
Re: shell-command-on-region |
Date: |
Thu, 19 Aug 2004 20:15:50 +0200 (CEST) |
> >> Better use the lower level commands call-process, start-process,
> >> and friends when you want to run a command from Lisp.
> > Thanks for your reply. Is this a proposed solution or a workaround?
> > I have other ways to work around the problem, but I wanted to know the
> > official oppinion on the issue.
>
> I don't think it's an official position, but it is based on the following:
> - several Emacs commands are rarely appropriate for use as functions in
> Elisp (`set-mark', `perform-replace', `switch-to-buffer',
> `beginning-of-buffer', ...). Most of these commands do more than what
> meets the eye.
Good point, thanks for the explanation! You've convinced me.
Could you please add a warning to function description? I have a
deja vu that I have asked this question before.
--
Alexander Pohoyda <address@hidden>
PGP Key fingerprint: 7F C9 CC 5A 75 CD 89 72 15 54 5F 62 20 23 C6 44
Re: shell-command-on-region, Richard Stallman, 2004/08/17