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: Sat, 10 Sep 2016 23:53:03 -0400 Message-ID: References: <87bpa160pk.fsf@gmail.com> <83r38u8irs.fsf@gnu.org> <83sht88e99.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1473566060 29873 195.159.176.226 (11 Sep 2016 03:54:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 11 Sep 2016 03:54:20 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (darwin) Cc: trentbuck@gmail.com, 6685@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 11 05:54:15 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 1bivqQ-00073Z-J7 for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Sep 2016 05:54:14 +0200 Original-Received: from localhost ([::1]:36410 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bivqO-0007oX-KW for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Sep 2016 23:54:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bivqI-0007oO-LO for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2016 23:54:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bivqE-0000Ex-Ct for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2016 23:54:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58169) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bivqE-0000EX-9F for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2016 23:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bivqD-0006O4-TV for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2016 23:54:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87bpa160pk.fsf@gmail.com> Resent-From: Andrew Hyatt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Sep 2016 03:54: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.147356599424498 (code B ref 6685); Sun, 11 Sep 2016 03:54:01 +0000 Original-Received: (at 6685) by debbugs.gnu.org; 11 Sep 2016 03:53:14 +0000 Original-Received: from localhost ([127.0.0.1]:55881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bivpS-0006N4-BN for submit@debbugs.gnu.org; Sat, 10 Sep 2016 23:53:14 -0400 Original-Received: from mail-qk0-f180.google.com ([209.85.220.180]:36687) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bivpQ-0006Mr-W3 for 6685@debbugs.gnu.org; Sat, 10 Sep 2016 23:53:13 -0400 Original-Received: by mail-qk0-f180.google.com with SMTP id z190so104062272qkc.3 for <6685@debbugs.gnu.org>; Sat, 10 Sep 2016 20:53:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version; bh=SAUNgb9+pa2VUvr8OPagsFf1hKdJB67Ypt+TQAsHTog=; b=oIoMNQqbwWraqH3bbkLgtzuQKF6pduQtKTbPKFfo3TtkfwLo/u25RzbjhnzutgFK1P KKwouC5tEdWRG/NpDjmKfuIpxxX7kjOGF8m/p9kF4Otpe73hx2JfMa1bGTIFNIjp/Rh6 TyIInc3yZYI/IU6nWPsM6VCwQlYPJ5Lzl28sJcQssjOnY0uMMWlMxOSwXx0K4l+NmOC6 FbDuaFNr14dfCCmEpIxRL/c1R/+rnHUWlYUoxzpY9UT1HE5y++Uy7CZSb+wbzywEaY7J 7NiKDJ1a5o0NWCvhgQBX8VX0L9I2oDmNP0bm9H2fOldBNubgXPtFye0zyf7AFjWzUPUk nKTw== 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:message-id :user-agent:mime-version; bh=SAUNgb9+pa2VUvr8OPagsFf1hKdJB67Ypt+TQAsHTog=; b=WCKkTTO24oPN8+zcTeZ5xb47f5V3YuPeHRm1dY6E0ZuNnu4rUJccoim/r3Te4Aid1L Ba3Z0urqUuYylABZY1U4X0J47J+PUsTpDgP8Tt5eeOessqtPMnEJAHvA8dc0zvGb2pDN Da1SqBk/xD1qg45bBQTD8zWHs5MhtMwfUiH8DNVtc++EVyphods1aiUlPUFZ0/nwFvck 7dGsPgidJauyzzUAt77/nbmF7cC5W0eXuLBY0aa9svGQmd1dim6s0dX+1DURrdY/DjJM pXwGi8NWxXO4s5P0bcNB617n4dj7n8lEWl/wq6rK5Xg4TSNEgRcce6ZpeBFs2s2Yc7eV jb9Q== X-Gm-Message-State: AE9vXwPnE14p40xgAqnlJpElaL/pGTEgP3OK1gsMRKsvLL1johTjnbLok68lAvwf8Al3ig== X-Received: by 10.55.24.194 with SMTP id 63mr13047873qky.30.1473565987281; Sat, 10 Sep 2016 20:53:07 -0700 (PDT) Original-Received: from Andrews-MacBook-Pro.local.ahyatt-laptop (cpe-74-73-128-199.nyc.res.rr.com. [74.73.128.199]) by smtp.gmail.com with ESMTPSA id 9sm6643616qkc.0.2016.09.10.20.53.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 10 Sep 2016 20:53:04 -0700 (PDT) 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:123154 Archived-At: Eli Zaretskii writes: >> From: Andrew Hyatt >> Date: Fri, 09 Sep 2016 20:32:57 +0000 >> Cc: trentbuck@gmail.com, 6685@debbugs.gnu.org >> >> > 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. >> >> Sorry, I don't understand what you are saying. Starting the daemon >> with ALTERNATIVE_EDITOR="" was part of the recipe; you seem to say it >> no longer works, although the documentation still says it should? It >> certainly works for me, if I understood correctly what you described. >> >> It doesn't work for me for some reason, and the documentation seems to imply >> that it shouldn't work. If using >> ALTERNATIVE_EDITOR="" started emacs in daemon mode, why would the >> documentation tell the user to >> run the "emacs --daemon" manually? Instead, what I get when I don't have an >> emacs in daemon mode, is just >> emacsclient telling me there's no emacs daemon running. >> >> Judging by your response, I feel I must be misunderstanding something, but I >> don't know what. > > What happens if you try this command on your system? That is, if you > type > > ALTERNATE_EDITOR='' emacsclient -t -c > > What I see on a typical GNU/Linux system is this: > > /home/e/eliz/emacs-current/lib-src/emacsclient: can't find socket; have you > started the server? > To start the server in Emacs, type "M-x server-start". > > Warning: due to a long standing Gtk+ bug > http://bugzilla.gnome.org/show_bug.cgi?id=85715 > Emacs might crash when run in daemon mode and the X11 connection is > unexpectedly lost. > Using an Emacs configured with --with-x-toolkit=lucid does not have this > problem. > ("emacs") > Loading 00debian-vars... > [More packages loading from the site-init file...] > Starting Emacs daemon. > Restarting server > Emacs daemon should have started, trying to connect again > > and then I see an Emacs frame (in text mode in this case, since -t was > used) open. As you see, after warning me about no daemon running, > emacsclient starts a new daemon, then attempts to reconnect to it. > > What happens if you try that? Yes, you are correct - I must have had a typo. When I tried it again today, it works as you describe, and I was able to reproduce the original bug. Thanks for the help. I still think the manual seems to say this shouldn't be expected to work, which is odd.