unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ulrich Mueller <ulm@gentoo.org>
To: Ted Zlatanov <tzz@lifelogs.com>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs 23.1 flushes stdin on startup
Date: Sat, 29 Aug 2009 11:12:38 +0200	[thread overview]
Message-ID: <19096.61702.871626.706526@a1i15.kph.uni-mainz.de> (raw)
In-Reply-To: <87zl9jmken.fsf@lifelogs.com>

>>>>> On Fri, 28 Aug 2009, Ted Zlatanov wrote:

UM> Isn't there any better solution? For example, can't the pending input
UM> be saved and stuffed back into the input buffer, instead of discarding
UM> it?

> Emacs already tries to DTRT so this overrides it when the user wants
> or it can't guess accurately.
> See http://article.gmane.org/gmane.emacs.help/66789 for the original
> post.

I had read that post. The question is if discarding the input is
really necessary, or if it could be saved somehow?

> I think (from looking at the code) that doing it without a variable
> would require much more complicated code, and the benefit would be
> small.

The benefit would be that pending input wasn't discarded in the
default configuration.

Ulrich




  reply	other threads:[~2009-08-29  9:12 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4A789738.8090008@roaringpenguin.com>
     [not found] ` <mailman.3892.1249425263.2239.help-gnu-emacs@gnu.org>
2009-08-05 14:00   ` Emacs 23.1 flushes stdin on startup Ted Zlatanov
2009-08-06 16:33     ` Stefan Monnier
2009-08-11 20:14       ` Ted Zlatanov
2009-08-28 14:21         ` Ted Zlatanov
2009-08-28 16:27           ` Ulrich Mueller
2009-08-29  2:19             ` Ted Zlatanov
2009-08-29  9:12               ` Ulrich Mueller [this message]
2009-08-29 14:19                 ` Chong Yidong
2009-08-28 16:42           ` Stefan Monnier
2009-08-28 18:09             ` Dan Nicolaescu
2009-08-29  0:48               ` Stefan Monnier
2009-08-29  2:07                 ` Ted Zlatanov
2009-08-29  4:10                   ` Dan Nicolaescu
2009-08-30  6:10                 ` Dan Nicolaescu
2009-08-06 16:35     ` Stefan Monnier
2009-08-07 21:02     ` Johan Bockgård

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=19096.61702.871626.706526@a1i15.kph.uni-mainz.de \
    --to=ulm@gentoo.org \
    --cc=emacs-devel@gnu.org \
    --cc=tzz@lifelogs.com \
    /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).