emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A not quite stylish proposal for command line processing


From: Lennart Borgman (gmail)
Subject: Re: A not quite stylish proposal for command line processing
Date: Mon, 30 Jul 2007 19:24:10 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.5) Gecko/20070716 Thunderbird/2.0.0.5 Mnenhy/0.7.5.666

David Kastrup wrote:
"Lennart Borgman (gmail)" <address@hidden> writes:

Richard Stallman wrote:
    It would allow to write

    emacs --eval '(ediff-files (*argv++) (*argv++))' "$FILE1" "$FILE2"

It is a cute hack, but does anyone really want to use this?

Maybe on w32, but I prefer using emacsclient for this.

emacsclient does not help here.  And the below assumes that you can
flip backslashes without changing their meaning.  Not likely to be
true for regexps or similar.  Getting them and other strings and
special characters unmolested into Emacs using portable shell scripts
is actually a royal nuisance without using command-line-args-left.


Yes, you are right. Your idea with command-line-args-left and argument handling in emacsclient that are more like those of emacs is the right way to go.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]