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:35:43 -0500 Message-ID: References: <8361025k9u.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1450074978 14106 80.91.229.3 (14 Dec 2015 06:36:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Dec 2015 06:36:18 +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:36:08 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 1a8Mjw-0000KJ-67 for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Dec 2015 07:36:08 +0100 Original-Received: from localhost ([::1]:58026 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8Mju-0003YQ-W3 for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Dec 2015 01:36:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56112) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8Mjr-0003YG-M9 for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2015 01:36:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8Mjq-0000hu-He for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2015 01:36:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43251) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8Mjq-0000hq-Dz for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2015 01:36:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1a8Mjq-0003tO-6t for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2015 01:36: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:36: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.145007495814952 (code B ref 22154); Mon, 14 Dec 2015 06:36:02 +0000 Original-Received: (at 22154) by debbugs.gnu.org; 14 Dec 2015 06:35:58 +0000 Original-Received: from localhost ([127.0.0.1]:50853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a8Mjl-0003t6-QN for submit@debbugs.gnu.org; Mon, 14 Dec 2015 01:35:57 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:46075) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a8Mjk-0003sq-G1 for 22154@debbugs.gnu.org; Mon, 14 Dec 2015 01:35:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8Mje-0000h0-A5 for 22154@debbugs.gnu.org; Mon, 14 Dec 2015 01:35:51 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52106) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8Mje-0000gw-73; Mon, 14 Dec 2015 01:35:50 -0500 Original-Received: from localhost ([::1]:60935 helo=fencepost.gnu.org) by fencepost.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1a8Mjc-0001DV-KN; Mon, 14 Dec 2015 01:35:48 -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-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:109968 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... Date: Mon, 14 Dec 2015 01:24:09 -0500