unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "K. Frank" <kfrank29.c@gmail.com>
To: help-emacs-windows@gnu.org, Emacs Bugs <bug-gnu-emacs@gnu.org>
Subject: Re: Emacs for Windows: Launch better from a command prompt
Date: Fri, 1 Mar 2013 17:54:13 -0500	[thread overview]
Message-ID: <CAKEnbTN_7qt=p6tRM0hO1tUkmb8ZTSdqp7vYi4MjvkekAeHc+A@mail.gmail.com> (raw)
In-Reply-To: <CAHXt_SW7Bq1JwOBta_2R3SWTB8E+rZU3Z99YCn8Y7hBuLF2W1A@mail.gmail.com>

Hello Andrew!

On Fri, Mar 1, 2013 at 3:49 PM, Andrew Pennebaker
<andrew.pennebaker@gmail.com> wrote:
> Currently, Emacs ties up the Command Prompt until the user quits Emacs. In
> Git Bash, you can hack around this with an ampersand (&), but the default
> behavior should really be to fork a thread for Emacs and immediately return
> terminal control to the user.

With my old version, 23.1.1, "start", the windows analog of "&", as in:

   start emacs

works (although emacs then opens up a new, vaguely annoying console
window of its own).

I believe the "official" approach (at least with my old version) is to use
the companion helper program, runemacs, as in:

   runemacs

This, I believe, will do what you are asking (although it does seem to
flicker a console window briefly).

> Can we default the next version to this behavior?

I'll let the experts answer this one.

But do let me note that emacs (at least my old version) still supports
the old, text-only, console mode, as in:

   emacs -nw

("nw" being, I believe, an abbreviation of "no window")

I have no idea whether having emacs default to "detaching" itself
from the console would make continuing to support "-nw" more
difficult.

> Cheers,
>
> Andrew Pennebaker
> www.yellosoft.us


Good luck.


K. Frank



  reply	other threads:[~2013-03-01 22:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-01 20:49 bug#13850: Emacs for Windows: Launch better from a command prompt Andrew Pennebaker
2013-03-01 22:54 ` K. Frank [this message]
2013-03-02  7:27 ` Eli Zaretskii
     [not found] ` <83k3pquuqy.fsf@gnu.org>
     [not found]   ` <CAHXt_SXakTei9TZFvjEmuggaGNHCQMq4xYfJ0Qtq1NwvOy_82g@mail.gmail.com>
2013-03-02 14:59     ` Eli Zaretskii
     [not found]       ` <CAHXt_SV+VVnj2yw189cNq15sKNqMonWZm2zH_FN3nOS5_PSa3w@mail.gmail.com>
2013-03-02 15:33         ` Eli Zaretskii
     [not found]           ` <CAHXt_SUFhkL64WPzOqTKq0Qq6FYFafC_t4m04qUnreB1Fd2MsQ@mail.gmail.com>
2013-03-02 16:22             ` Eli Zaretskii
2013-03-02 16:25               ` Lennart Borgman
2022-05-01  9:12   ` Lars Ingebrigtsen
2022-05-01  9:57     ` Joel Reicher
     [not found]     ` <86zgk1lgm8.fsf@gmail.com>
2022-05-01 10:09       ` Eli Zaretskii
     [not found]       ` <83bkwh7eec.fsf@gnu.org>
2022-05-01 10:35         ` Joel Reicher

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='CAKEnbTN_7qt=p6tRM0hO1tUkmb8ZTSdqp7vYi4MjvkekAeHc+A@mail.gmail.com' \
    --to=kfrank29.c@gmail.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=help-emacs-windows@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).