From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#22154: 25.0.50; emacsclient -c "breaks" 256-color display in server Date: Mon, 14 Dec 2015 01:21:26 -0500 Message-ID: References: <8361025k9u.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1450074262 4150 80.91.229.3 (14 Dec 2015 06:24:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Dec 2015 06:24:22 +0000 (UTC) Cc: Eric Hanchrow , 22154@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 14 07:24:12 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a8MYK-0006nf-Ed for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Dec 2015 07:24:08 +0100 Original-Received: from localhost ([::1]:57981 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8MYJ-0008Ca-Rs for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Dec 2015 01:24:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54416) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8MYF-0008CP-LE for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2015 01:24:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8MYE-0006tw-LD for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2015 01:24:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8MYE-0006to-Hy for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2015 01:24:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1a8MYE-0003Xj-BN for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2015 01:24:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dan Nicolaescu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Dec 2015 06:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22154 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22154-submit@debbugs.gnu.org id=B22154.145007418813558 (code B ref 22154); Mon, 14 Dec 2015 06:24:02 +0000 Original-Received: (at 22154) by debbugs.gnu.org; 14 Dec 2015 06:23:08 +0000 Original-Received: from localhost ([127.0.0.1]:50848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a8MXM-0003Wc-Kh for submit@debbugs.gnu.org; Mon, 14 Dec 2015 01:23:08 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44228) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a8MXL-0003WR-Q9 for 22154@debbugs.gnu.org; Mon, 14 Dec 2015 01:23:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8MXF-0006mO-Tp for 22154@debbugs.gnu.org; Mon, 14 Dec 2015 01:23:02 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51974) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8MXE-0006m9-FK; Mon, 14 Dec 2015 01:23:00 -0500 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1a8MXD-00032n-N6; Mon, 14 Dec 2015 01:22:59 -0500 In-Reply-To: <8361025k9u.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 13 Dec 2015 19:30:05 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Draft-From: ("nntp+news.gmane.org:gmane.emacs.bugs" 109933) Gcc: nnml+archive:sent-mail-2015 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:109967 Archived-At: Eli Zaretskii writes: >> From: Eric Hanchrow >> Date: Sat, 12 Dec 2015 21:49:10 +0000 >> >> I have TERM set to 'xterm-256color'. >> >> I started emacs with `/mnt/emacs-25/src/emacs -Q` >> >> I confirmed that 256 colors "worked" by doing M-x list-colors-display >> RET, and noting that there were about 256 lines of output, with plenty >> of different colors. >> >> I typed M-x server-start RET. >> >> In another terminal on the same machine, I typed `TERM=xterm >> /mnt/emacs-25/lib-src/emacsclient -c`. That displayed a *scratch* >> buffer, as I'd expected. > > Out of curiosity: why would you want to downgrade the number of colors > in the client frames wrt the number supported by the server? > >> In that new frame, I typed `M-x list-colors-display RET`. I noticed >> that now there were only eight lines of output. >> >> I did C-x 5 0 to delete the new frame, then back in the original frame >> again typed `M-x list-colors-display RET`, and noted that there were >> still only eight lines of output. > > This was never supported, we always assumed that the number of colors > on all tty frames is the same. Using different number of colors on different ttys should work. I just tried it briefly, and it works fine on my Fedora machine with 24.5. I don't have a very recent version compiled. You can try it with $ emacs -Q -f server-start& Then from an xterm: emacsclient -t And then from a different one: env TERM=vt100 emacsclient -t The frame in the first xterm should display some colors, the one in the second should be b&w...