From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andrew Hyatt Newsgroups: gmane.emacs.bugs Subject: bug#6685: 23.2; Discards control characters during boot. Date: Thu, 08 Sep 2016 01:08:55 -0400 Message-ID: References: <87bpa160pk.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1473312509 17347 195.159.176.226 (8 Sep 2016 05:28:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 8 Sep 2016 05:28:29 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (darwin) Cc: 6685@debbugs.gnu.org To: trentbuck@gmail.com (Trent W. Buck) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 08 07:28:20 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bhrsk-00031r-50 for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Sep 2016 07:28:14 +0200 Original-Received: from localhost ([::1]:45171 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhrsh-0002Ix-St for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Sep 2016 01:28:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhrbE-0008Ii-Ai for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2016 01:10:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhrb8-0003VX-Cs for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2016 01:10:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55392) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhrb8-0003VT-8r for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2016 01:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bhrb8-0002ij-12 for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2016 01:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrew Hyatt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Sep 2016 05:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6685 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6685-submit@debbugs.gnu.org id=B6685.147331135210383 (code B ref 6685); Thu, 08 Sep 2016 05:10:01 +0000 Original-Received: (at 6685) by debbugs.gnu.org; 8 Sep 2016 05:09:12 +0000 Original-Received: from localhost ([127.0.0.1]:53104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bhraK-0002hP-4H for submit@debbugs.gnu.org; Thu, 08 Sep 2016 01:09:12 -0400 Original-Received: from mail-qk0-f174.google.com ([209.85.220.174]:33449) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bhraI-0002hD-OX for 6685@debbugs.gnu.org; Thu, 08 Sep 2016 01:09:11 -0400 Original-Received: by mail-qk0-f174.google.com with SMTP id w204so33508790qka.0 for <6685@debbugs.gnu.org>; Wed, 07 Sep 2016 22:09:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=w20f7yWD/SrQlGgrQbHuyMdcf/UdsXQzODcH2kLGd3w=; b=Yyo9ddx2A2lXCgSb42/8mBKUKZjnK/7bi/j1DMbrus8NXrMrcvWbDhzcsh1+yd/lzl eJY5dEFGatBBAvonDsPDC1CzLr7OazePX+0eveGMizm0lt11RUdp13lt7WRCGKcITYBR af5uIBk3BYvP7Jivg3aSB2sNeKBfOl7+vZuQyGBEV9288jns5NXQSlrevW550FVJudGo xrvXmhPBJ2R0MK8TfuZLmKc543LoaYQ/ajhzAjlJD3FrUwoiSkwiK+sP4p+gkH9zhZZd OGRslKqAJCkqGZurBGW61gfqqBGj5jmHvRpoAlg+liqs9oxEKnrctYCySNuxgqQ3PM+r mUaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=w20f7yWD/SrQlGgrQbHuyMdcf/UdsXQzODcH2kLGd3w=; b=Myez07DpmsZJesP83yt5T9z1BpjhVHOu26j4oB6TLtYulpqXe7u0PaMRvq9wX8VIcW Myw4JYkjVKQNPi/zbE85oCab3kap8eacFP0VfTKZXsN6vb0EKFZnTnhlg47KdVYs8P5A kJoBdportTDVCpTuUz+h0BBRHWXKX92+u7BAxmylEfv80bQ9FNzBpkjkZdBciOtVmL03 tcjW1KBrkhxzqQ7N0Mx/rl9yZ8/IyV5Tmx7jz3qr3fVBvOAOaza9JEXKf9vzAfcw43p+ VDttzdGh3hVheMO5sUPxmzo77CSZW/HL7fvA4QgpBKxJFNwMXn9vU1fxoBkzRpraxY1O D1tg== X-Gm-Message-State: AE9vXwPZJIHgpvrj3so5jo3EzEW+JLi5BCBWr94sJz3V4MH7fO6fwfOOJnp4YVByrUFhvA== X-Received: by 10.55.166.81 with SMTP id p78mr1341687qke.18.1473311345263; Wed, 07 Sep 2016 22:09:05 -0700 (PDT) Original-Received: from Andrews-MacBook-Pro.local (cpe-74-73-128-199.nyc.res.rr.com. [74.73.128.199]) by smtp.gmail.com with ESMTPSA id z52sm12564851qta.40.2016.09.07.22.09.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Sep 2016 22:09:02 -0700 (PDT) In-Reply-To: <87bpa160pk.fsf@gmail.com> (Trent W. Buck's message of "Wed, 21 Jul 2010 12:13:59 +1000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:123082 Archived-At: I was trying to reproduce this in Emacs 25, but emacsclient will not start up a new emacs instance with emacsclient. According to the documentation I have on emacsclient on using the alternative editor flag: If the value of EDITOR is the empty string, run "emacs --daemon" to start Emacs in daemon mode, and try to connect to it. So I can't reproduce this issue anymore. Let me know if I'm missing something, please. trentbuck@gmail.com (Trent W. Buck) writes: > I start emacs with a wrapper script which boils down to > > ALTERNATIVE_EDITOR="" emacsclient -c -t > > In the past (23.1 or so), I could start emacs that way, and while the > daemon was loading in the background, I could type > > M-x irc C-m M-x gnus C-m > > and when the daemon finished loading, the IRC and GNUS functions would > run. Now, what happens is that I get > > xircxgnus > > appended to *scratch*. It seems pretty clear to me that Emacs has > started discarding control characters (^[ and ^M in my case). > > If this change was an attempt to fix a bug, it has actually fixed a > feature (for me), since I now have to wait a couple of seconds for the > frame to render before I can reliably start issuing commands. > > Note: I haven't reproduce this with --quick, because that starts too > fast and in any case I don't know how to make emacsclient -A='' pass -Q > to it's internal emacs --daemon invocation. > > In GNU Emacs 23.2.1 (x86_64-pc-linux-gnu) > of 2010-05-16 on barber, modified by Debian > configured using `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.2/leim' '--with-x=no' '--without-gconf' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS='' > > Important settings: > value of $LC_ALL: nil > value of $LC_COLLATE: C > value of $LC_CTYPE: nil > value of $LC_MESSAGES: nil > value of $LC_MONETARY: nil > value of $LC_NUMERIC: nil > value of $LC_TIME: nil > value of $LANG: en_AU.utf8 > value of $XMODIFIERS: nil > locale-coding-system: utf-8-unix > default enable-multibyte-characters: t > > Major mode: Fundamental > > Minor modes in effect: > xterm-mouse-mode: t > ido-everywhere: t > savehist-mode: t > icomplete-mode: t > partial-completion-mode: t > show-paren-mode: t > delete-selection-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > auto-encryption-mode: t > auto-compression-mode: t > column-number-mode: t > line-number-mode: t > transient-mark-mode: t > > Recent input: > t SPC w h e r e SPC ESC q SPC ESC O A e ESC O B ESC > q SPC s t a g e 1 SPC c a n ' t SPC f i n d SPC s t > a g e 2 . ESC b ESC b ESC b ( DEL ESC [ 4 ~ SPC SPC > S i g h . ESC O C ESC O B C-@ ESC O B ESC O B ESC O > B ESC O B ESC O B ESC O B ESC O B C-w C-@ ESC O B ESC > O B ESC O B ESC O B ESC O B ESC O A C-w C-@ ESC O B > ESC O B ESC O B ESC O B C-g C-_ C-x C-x C-x C-x C-w > C-@ ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B > C-w C-@ ESC O B ESC O B ESC O B ESC O B ESC O B ESC > O B C-w C-@ ESC O B ESC O B ESC O B ESC O B ESC O B > ESC O B ESC O B ESC O B ESC O B C-x C-x ESC O A C-w > DEL C-x C-s RET RET ESC O B ESC O B DEL DEL DEL C-x > C-s ESC < ESC % SPC > RET > RET ! ESC O B DEL ESC O > A ESC O A ESC O A ESC O A ESC O A ESC [ 1 ~ RET ESC > q ESC O A C-d ESC > C-x C-s C-x C-s ESC O A ESC q C-x > C-s C-x C-c q y ESC x r e p o r t SPC e m a c s SPC > b u g RET > > Recent messages: > Mark set [2 times] > Replaced 5 occurrences > Mark set > Saving file /tmp/mutt-dali-1000-1258-11239a89bc4892b64a... > Wrote /tmp/mutt-dali-1000-1258-11239a89bc4892b64a > (No changes need to be saved) > Saving file /tmp/mutt-dali-1000-1258-11239a89bc4892b64a... > Wrote /tmp/mutt-dali-1000-1258-11239a89bc4892b64a > Are you sure you want to quit reading news? (y or n) > (No changes need to be saved) > > Load-path shadows: > /usr/share/emacs/site-lisp/haskell-mode/inf-haskell hides /usr/share/emacs/23.2/site-lisp/haskell-mode/inf-haskell > /usr/share/emacs/site-lisp/haskell-mode/haskell-site-file hides /usr/share/emacs/23.2/site-lisp/haskell-mode/haskell-site-file > /usr/share/emacs/site-lisp/haskell-mode/haskell-simple-indent hides /usr/share/emacs/23.2/site-lisp/haskell-mode/haskell-simple-indent > /usr/share/emacs/site-lisp/haskell-mode/haskell-mode hides /usr/share/emacs/23.2/site-lisp/haskell-mode/haskell-mode > /usr/share/emacs/site-lisp/haskell-mode/haskell-indentation hides /usr/share/emacs/23.2/site-lisp/haskell-mode/haskell-indentation > /usr/share/emacs/site-lisp/haskell-mode/haskell-indent hides /usr/share/emacs/23.2/site-lisp/haskell-mode/haskell-indent > /usr/share/emacs/site-lisp/haskell-mode/haskell-hugs hides /usr/share/emacs/23.2/site-lisp/haskell-mode/haskell-hugs > /usr/share/emacs/site-lisp/haskell-mode/haskell-ghci hides /usr/share/emacs/23.2/site-lisp/haskell-mode/haskell-ghci > /usr/share/emacs/site-lisp/haskell-mode/haskell-font-lock hides /usr/share/emacs/23.2/site-lisp/haskell-mode/haskell-font-lock > /usr/share/emacs/site-lisp/haskell-mode/haskell-doc hides /usr/share/emacs/23.2/site-lisp/haskell-mode/haskell-doc > /usr/share/emacs/site-lisp/haskell-mode/haskell-decl-scan hides /usr/share/emacs/23.2/site-lisp/haskell-mode/haskell-decl-scan > /usr/share/emacs/site-lisp/haskell-mode/haskell-cabal hides /usr/share/emacs/23.2/site-lisp/haskell-mode/haskell-cabal > /usr/share/emacs/site-lisp/haskell-mode/haskell-c hides /usr/share/emacs/23.2/site-lisp/haskell-mode/haskell-c > /usr/share/emacs/23.2/site-lisp/puppet-el/puppet-mode hides /usr/share/emacs/site-lisp/puppet-mode > /usr/share/emacs/23.2/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup > /usr/share/emacs23/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/23.2/lisp/textmodes/flyspell > /usr/share/emacs23/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/23.2/lisp/textmodes/ispell > > Features: > (shadow sort mail-extr emacsbug newcomment vc-dispatcher vc-darcs cl > cl-19 xml parse-time timezone nndraft nnmh auth-source gnus-agent > gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art image mm-uu > mml2015 epg-config mm-view smime dig nntp gnus-cache gnus-sum nnoo > gnus-group gnus-undo nnmail mail-source format-spec gnus-start gnus-spec > gnus-int gnus-range message sendmail regexp-opt ecomplete rfc822 mml > easymenu mml-sec password-cache mm-decode mm-bodies mm-encode mailcap > mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev gmm-utils > mailheader canlock sha1 hex-util hashcash gnus-win gnus gnus-ems > nnheader gnus-util netrc time-date mail-utils mm-util mail-prsvr > wid-edit server jka-compr edmacro kmacro xt-mouse ido savehist icomplete > complete paren delsel saveplace debian-el debian-el-loaddefs w3m-load > emacs-goodies-el emacs-goodies-custom emacs-goodies-loaddefs easy-mmode > dpkg-dev-el dpkg-dev-el-loaddefs ediff-hook vc-hooks lisp-float-type > lisp-mode register page menu-bar rfn-eshadow timer select mldrag mouse > jit-lock font-lock syntax facemenu font-core frame cham georgian > utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean > japanese hebrew greek romanian slovak czech european ethiopic indian > cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev > loaddefs button minibuffer faces cus-face files text-properties overlay > md5 base64 format env code-pages mule custom widget > hashtable-print-readable backquote make-network-process dbusbind > multi-tty emacs)