emacs-devel
[Top][All Lists]
Advanced

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

Re: Change in emacsclient behavior


From: Richard Stallman
Subject: Re: Change in emacsclient behavior
Date: Mon, 03 Sep 2007 14:26:06 -0400

    1. When invoked without arguments, display the current frame (-c uses the
    current frame, but this could be customizable to display the initial frame
    or any of existing frames).

Ok.

    2. When invoked with -e or --eval, display the current frame and eval the
    expression on this frame.

Ok.

    3. When invoked with one FILE argument, create a new frame with the file
    buffer.

No.  emacsclient should, by default, display files the same way C-x C-f does.
server.el should simply call find-file.

We already have lots of ways to customize C-x C-f, and we can add more
if users want them.  If server.el simply calls find-file, all these
customization mechanisms will be available for it.

    4. When invoked with multiple FILE arguments, create either one frame with
    windows containing all specified files' buffers,

No, for the same reason.

                                                     or if `pop-up-frames' is
    non-nil, create as many frames as there are file arguments (starting a new
    Emacs session already does this).

That seems plausible for the case where `pop-up-frames' is non-nil.




reply via email to

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