From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Rauchenwald Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: 23.0.60; restarting X causes emacsclient display bugs Date: Sat, 2 Feb 2008 21:30:21 +0100 (CET) Message-ID: <20080202203021.E21DB34DCBD@walter> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1202003312 4938 80.91.229.12 (3 Feb 2008 01:48:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Feb 2008 01:48:32 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 03 02:48:53 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JLTyS-0007Gp-BX for ged-emacs-devel@m.gmane.org; Sun, 03 Feb 2008 02:48:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLTy0-0005Hh-Ib for ged-emacs-devel@m.gmane.org; Sat, 02 Feb 2008 20:48:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JLP0S-0007Bd-JS for emacs-devel@gnu.org; Sat, 02 Feb 2008 15:30:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JLP0R-00079o-ML for emacs-devel@gnu.org; Sat, 02 Feb 2008 15:30:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLP0R-00079d-IH for emacs-devel@gnu.org; Sat, 02 Feb 2008 15:30:31 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JLP0R-0000w5-CO for emacs-devel@gnu.org; Sat, 02 Feb 2008 15:30:31 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JLP0R-0001eV-1N for emacs-pretest-bug@gnu.org; Sat, 02 Feb 2008 15:30:31 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JLP0N-0000vR-Vn for emacs-pretest-bug@gnu.org; Sat, 02 Feb 2008 15:30:31 -0500 Original-Received: from fg-out-1718.google.com ([72.14.220.157]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JLP0N-0000v1-H5 for emacs-pretest-bug@gnu.org; Sat, 02 Feb 2008 15:30:27 -0500 Original-Received: by fg-out-1718.google.com with SMTP id d23so1616296fga.30 for ; Sat, 02 Feb 2008 12:30:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:to:subject:message-id:date:from; bh=aXWwoNjjwIEpDYbvqFZgVcTZyW74lCpRHMeU5pgy5HM=; b=B2rGlKwgpHKBHNTYBF3ODPTIln3MM9bGycSeJylVUDB6MRv2kHnGLR2983U5pki3sZJjTzJQRIeaY3dT79knh3r9rmuvLuYfEVJ2fjFSyBBIDFxr8Fhudtavyug11h4ftHUvZBR03NFPgRjDznNVk9vjONzQ70tsHsBmiIbdQ5M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=to:subject:message-id:date:from; b=Vz3nl2eefp5lh/ObMr8Q5mJQfQK1of7T1vO945xqJnDLkjgWLkbQWp68oK9KbrTs5Qp7pYvGmGUc/tumygAyfsZZwD5CEM99Pmmf3/zj4sIyULVO5+WJjv9ZNjGN3SnfAlIsZyjZplp5PKFkmZ9i0go9ZT97vsmfK7N57thRCmY= Original-Received: by 10.86.97.7 with SMTP id u7mr4678099fgb.39.1201984225184; Sat, 02 Feb 2008 12:30:25 -0800 (PST) Original-Received: from walter ( [83.215.41.131]) by mx.google.com with ESMTPS id 4sm2072645fge.3.2008.02.02.12.30.23 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 02 Feb 2008 12:30:23 -0800 (PST) Original-Received: by walter (Postfix, from userid 1000) id E21DB34DCBD; Sat, 2 Feb 2008 21:30:21 +0100 (CET) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Sat, 02 Feb 2008 20:44:30 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:88071 gmane.emacs.pretest.bugs:20859 Archived-At: Hi, I try running emacs inside screen, and open frames to it with emacsclient. This works fine, until I need to restart the X server for whatever reason. newly created X frames don't update properly when scrolling (part of the text stays), the mode-line faces are not right (background is black) and the modeline isn't cleared before it updates, so after switching a few buffers only garbage is in it. To reproduce: 1) start emacs in a detached screen screen -dmS emacsserver emacs -nw -Q --eval '(setq server-name "foo")' -f server-start 2) open an X frame emacsclient -s foo -c -d :0 3) close the X frame and restart X 4) open an X frame (the first try always fails for me, so you may need to do it twice emacsclient -s foo -c -d :0 This frame shows various redisplay problems, for example when browsing through a buffer with C-n (here only half of the screen is updated, but it seems to be connected to scoll-conservatively). Note that tty frames (emacsclient -t) work fine. Can anyone reproduce this? What other information do you need? Thanks, Tom In GNU Emacs 23.0.60.3 (i686-pc-linux-gnu, GTK+ Version 2.12.7) of 2008-02-02 on walter configured using `configure '--with-gtk' '--enable-font-backend' '--with-xft' '--with-dbus'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil 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: nil value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-compression-mode: t line-number-mode: t Recent input: C-x 5 0 C-x b C-x C-f . e m a C-x C-c C-h k C-x C-c C-x C-c RET C-x b m e s s TAB DEL DEL DEL DEL DEL ESC x r e p o TAB r TAB RET Recent messages: ("emacs" "-Q" "--eval" "(setq server-name \"foo\")" "-f" "server-start") For information about GNU Emacs and the GNU system, type C-h C-a. When done with this frame, type C-x 5 0 [2 times] (No files need saving) When done with this frame, type C-x 5 0 Type C-x 1 to delete the help window. (No files need saving) call-interactively: Text is read-only Quit Making completion list...