From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Evenson Newsgroups: gmane.emacs.help Subject: [BUG?] emacs-23.1 OSX emacsclient always opens a new frame Date: Mon, 17 Aug 2009 12:54:05 +0200 Organization: PANIX Public Access Internet and UNIX, NYC Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1250555693 31525 80.91.229.12 (18 Aug 2009 00:34:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Aug 2009 00:34:53 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 18 02:34:46 2009 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 1MdCez-0004y2-Ko for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Aug 2009 02:34:45 +0200 Original-Received: from localhost ([127.0.0.1]:35535 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MdCey-0000DQ-Ua for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Aug 2009 20:34:44 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!transit3.readnews.com!news-out.readnews.com!transit4.readnews.com!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: localhost Original-X-Trace: reader1.panix.com 1250506447 2074 127.0.0.1 (17 Aug 2009 10:54:07 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Mon, 17 Aug 2009 10:54:07 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.1) Gecko/20090715 Thunderbird/3.0b3 Original-Xref: news.stanford.edu gnu.emacs.help:172053 X-Mailman-Approved-At: Mon, 17 Aug 2009 20:33:50 -0400 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:67227 Archived-At: [Using a self-compiled emacs-23.1 under i386-apple-darwin9.8.0 configured with the '--with-ns' option.] In migrating to emacs-23, all does not seem well with the emacsclient command. My Emacs workflow is to not use frames at all. Now, when I invoke 'emacsclient' on a file (without any additional flags) under OSX, it always opens a new frame. Additionally, upon launch, the new frame presents a message of the form "Buffer 'xxx.txt' still has clients, kill it? (yes or no)", with the code execution seeming to be at the point after one issues the 'server-edit' ("C-x #") command. It seems like the 'emacsclient' code doesn't really understand how to open the buffer in the current frame, failing to wait for the server-edit command, and then somehow recovering on the broken socket, but this is just a hunch. Five minutes of glancing through 'emacsclient.c' wasn't particularly helpful. But maybe my understanding of how Emacs 23 handles Frames needs some education. -- "A screaming comes across the sky. It has happened before, but there is nothing to compare to it now."