From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: pjb@informatimago.com (Pascal J. Bourguignon) Newsgroups: gmane.emacs.help Subject: Re: possible to exchange server and client? Date: Mon, 14 Jul 2008 12:02:09 +0200 Organization: Informatimago Message-ID: <87prpg238e.fsf@hubble.informatimago.com> References: <87lk061tdg.fsf@gentoo.hasee.cpu> <873amdb9k2.fsf@gentoo.hasee.cpu> <2CF49115-4120-4873-9C5E-EA4AF025D746@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1216032108 12506 80.91.229.12 (14 Jul 2008 10:41:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Jul 2008 10:41:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 14 12:42:36 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KILVm-0003wO-Av for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Jul 2008 12:42:30 +0200 Original-Received: from localhost ([127.0.0.1]:47896 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KILUt-0003dQ-Vn for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Jul 2008 06:41:36 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!cleanfeed2-b.proxad.net!nnrp20-1.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:NNt3Bai1YSIAqc0JOw3kZqpitME= Original-Lines: 83 Original-NNTP-Posting-Date: 14 Jul 2008 11:59:25 MEST Original-NNTP-Posting-Host: 88.182.134.169 Original-X-Trace: 1216029565 news-3.free.fr 23851 88.182.134.169:35782 Original-X-Complaints-To: abuse@proxad.net Original-Xref: news.stanford.edu gnu.emacs.help:160189 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:55537 Archived-At: anhnmncb writes: > Now what I want is: Start emacs server on xorg, then run an emacsclient > in console and make it to be a server, so the old client becomes new > server and the old server becomes client? Forget about this client/server terms, they're irrelevant here. You can delete-frame the frames you don't want anymore. But keeping an additionnal frame open is a security against accidental exit on terminal disconnection. You can use the following to see what display each frame is on: (defmacro define-frame-parameter (name) `(defun ,(intern (format "frame-%s" name)) (&optional frame) (frame-parameter (or frame (selected-frame)) ',name))) ;; (dolist (p (frame-parameters)) (insert (format "(define-frame-parameter %s)\n" (car p)))) (define-frame-parameter parent-id) (define-frame-parameter display) (define-frame-parameter visibility) (define-frame-parameter icon-name) (define-frame-parameter outer-window-id) (define-frame-parameter window-id) (define-frame-parameter top) (define-frame-parameter left) (define-frame-parameter buffer-list) (define-frame-parameter unsplittable) (define-frame-parameter minibuffer) (define-frame-parameter modeline) (define-frame-parameter width) (define-frame-parameter height) (define-frame-parameter name) (define-frame-parameter background-mode) (define-frame-parameter display-type) (define-frame-parameter horizontal-scroll-bars) (define-frame-parameter scroll-bar-width) (define-frame-parameter cursor-type) (define-frame-parameter auto-lower) (define-frame-parameter auto-raise) (define-frame-parameter icon-type) (define-frame-parameter wait-for-wm) (define-frame-parameter title) (define-frame-parameter buffer-predicate) (define-frame-parameter tool-bar-lines) (define-frame-parameter menu-bar-lines) (define-frame-parameter scroll-bar-background) (define-frame-parameter scroll-bar-foreground) (define-frame-parameter right-fringe) (define-frame-parameter left-fringe) (define-frame-parameter line-spacing) (define-frame-parameter screen-gamma) (define-frame-parameter border-color) (define-frame-parameter cursor-color) (define-frame-parameter mouse-color) (define-frame-parameter background-color) (define-frame-parameter foreground-color) (define-frame-parameter vertical-scroll-bars) (define-frame-parameter internal-border-width) (define-frame-parameter border-width) (define-frame-parameter font) (mapcar (lambda (frame) (list frame (frame-display frame))) (frame-list)) --> ((# ":0.0") (# ":1.0")) -- __Pascal Bourguignon__ http://www.informatimago.com/ THIS IS A 100% MATTER PRODUCT: In the unlikely event that this merchandise should contact antimatter in any form, a catastrophic explosion will result.