all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
To: csant <csant@csant.info>
Cc: "Károly Lőrentey" <karoly@lorentey.hu>,
	emacs-devel <emacs-devel@gnu.org>
Subject: Re: [multi-tty] X or tty
Date: Fri, 18 May 2007 22:14:40 +0200	[thread overview]
Message-ID: <857ir5ubwv.fsf@lola.goethe.zz> (raw)
In-Reply-To: <op.tsjgc3ltd84skq@fiore.malebolge> (csant@csant.info's message of "Fri\, 18 May 2007 21\:56\:53 +0200")

csant <csant@csant.info> writes:

> On Fri, 18 May 2007 21:09:12 +0200, Károly Lőrentey
> <karoly@lorentey.hu>  wrote:
>
>>    1. Emacsclient opens a new frame by default.  It prefers X, but
>>       falls back to tty when necessary or when forced, just like Emacs
>>       itself.
>
> The simplest case is running server and client both in X, and
> expected behaviour would be for the client to prefer X.  Equally
> obvious would be the case where no X is available, and both the
> server and the client run in console.  I can easily see use cases
> for running the emacs server without X (in screen, or in console)
> and expect emacsclients to draw their frame on the X display they
> are invoked on.  I can a bit less easily imagine cases where you'd
> run the server in X, and clients on a display but wanting them to
> open the frame in terminal.

Funny.  For me it is just the other way round.  The normal case for me
is to run my emacs server in an X session.  Now if I am somewhere on
the road and want to access my Emacs session at home via a modem
connection or similar, I have quite limited bandwidth.  Even though
the ssh session I'll be using into my home computer forwards X
connections, I would not want to make use of it: it would be dead
slow.

> Ideally, I'd like the client to inherit by default any `forced'
> flags set to the server, i.e. to start by default with -t when the
> server was deliberately started -nw in an environment that does have
> $DISPLAY set.  This could be overwritten in the client with -d .
>
> Would that break more expected behaviours than fix some?

I think it would be unexpected.  If you have frequent particular uses,
I think it reasonable to use a shell script wrapper or shell alias or
environment variables for starting your favorite programs with your
favorite options.

Maybe emacsclient could read options from an environment variable
EMACSCLIENT_FLAGS (is that environment name acceptable under Windows?)
on startup, then you could set it there.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

  reply	other threads:[~2007-05-18 20:14 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-17 20:52 [multi-tty] Emacs port status Jason Rumney
2007-05-17 21:14 ` David Kastrup
2007-05-18 14:56   ` Eli Zaretskii
2007-05-18 19:09     ` Károly Lőrentey
2007-05-18 19:56       ` [multi-tty] X or tty (was Re: Emacs port status) csant
2007-05-18 20:14         ` David Kastrup [this message]
2007-05-18 20:39           ` [multi-tty] X or tty csant
2007-05-18 20:59             ` David Kastrup
2007-05-20 11:47           ` Károly Lőrentey
2007-05-20 11:43         ` [multi-tty] X or tty (was Re: Emacs port status) Karoly Lorentey
2007-05-19 11:15       ` [multi-tty] Emacs port status Eli Zaretskii
2007-05-19 10:55     ` Richard Stallman
2007-05-19 11:11       ` Eli Zaretskii
2007-05-19 11:29         ` Juanma Barranquero
2007-05-20  6:50         ` Richard Stallman
2007-05-20  7:35           ` David Kastrup
2007-05-20 18:57             ` Eli Zaretskii
2007-05-20 22:04             ` Richard Stallman
2007-05-20 18:56           ` Eli Zaretskii
2007-05-20 11:32     ` Kenichi Handa
2007-05-20 19:09       ` Eli Zaretskii
2007-05-20 15:49     ` Dan Nicolaescu
2007-05-20 19:14       ` Eli Zaretskii
2007-05-18  3:06 ` Károly Lo"rentey
2007-05-19 23:25 ` MacOS port functional too (was Re: [multi-tty] Emacs port status) Dan Nicolaescu
2007-05-20  9:26   ` MacOS port functional too David Kastrup
2007-05-20 18:59     ` Eli Zaretskii
2007-05-20 20:38     ` Jason Rumney
2007-05-21  6:00       ` vms for emacs [was: MacOS port functional too] Thien-Thi Nguyen
2007-05-21  7:21         ` vms for emacs David Kastrup
2007-05-21 11:21           ` jasonr
2007-05-21 11:32             ` David Kastrup
2007-05-21 13:14             ` Miles Bader
2007-05-22  8:30             ` Richard Stallman
2007-05-21 14:22         ` vms for emacs [was: MacOS port functional too] Chip Coldwell
2007-05-22  5:25           ` dhruva
2007-05-21 10:33       ` MacOS port functional too Richard Stallman
2007-05-20 16:12   ` MacOS port functional too (was Re: [multi-tty] Emacs port status) Karoly Lorentey

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=857ir5ubwv.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=csant@csant.info \
    --cc=emacs-devel@gnu.org \
    --cc=karoly@lorentey.hu \
    /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.