From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dhruva Newsgroups: gmane.emacs.devel Subject: Minor suggestion for emacsclientw (MS windows specific) Date: Thu, 18 Jan 2007 10:01:59 +0530 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: sea.gmane.org 1169094835 5690 80.91.229.12 (18 Jan 2007 04:33:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 18 Jan 2007 04:33:55 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 18 05:33:52 2007 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 1H7OyD-00044r-Sx for ged-emacs-devel@m.gmane.org; Thu, 18 Jan 2007 05:33:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H7OyE-0000qT-E0 for ged-emacs-devel@m.gmane.org; Wed, 17 Jan 2007 23:33:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H7Oy0-0000qN-Eu for emacs-devel@gnu.org; Wed, 17 Jan 2007 23:33:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H7Oxy-0000pX-4O for emacs-devel@gnu.org; Wed, 17 Jan 2007 23:33:35 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H7Oxx-0000pU-UQ for emacs-devel@gnu.org; Wed, 17 Jan 2007 23:33:33 -0500 Original-Received: from [66.249.92.173] (helo=ug-out-1314.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H7Oxx-0004gf-1B for emacs-devel@gnu.org; Wed, 17 Jan 2007 23:33:33 -0500 Original-Received: by ug-out-1314.google.com with SMTP id j3so85594ugf for ; Wed, 17 Jan 2007 20:31:59 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=uVPK6FjK9Xp5RhBglTbFP+yftCccDlGLNCdwJ8hA730IZGjzqjbb9oYXPkddncock3S5Zj5PjZ6LJdffRkvYhc1QBJLD2pVqus4R1waWuFP8c6N+8bxLVEVYdwVwQ9WObynfyyEnNgSr5s8dhN/XXrT++xwLjOOB0dH6Cwr492I= Original-Received: by 10.78.17.4 with SMTP id 4mr340380huq.1169094719264; Wed, 17 Jan 2007 20:31:59 -0800 (PST) Original-Received: by 10.78.154.2 with HTTP; Wed, 17 Jan 2007 20:31:59 -0800 (PST) Original-To: "Emacs Devel" Content-Disposition: inline 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:65267 Archived-At: Hi, When I associate file extensions to emacsclientw.exe and double click on the file in the explorer, the command shell window pops up and disappears (I have put a "-n" option in the registry to prevent the waiting). IMHO: 1. emacsclientw.exe should never wait (default is "-n") 2. The code should have WinMain() instead of main() as this will eliminate the initial console window from popping up. The code for implementing #2 is can be taken from emacs/nt/runemacs.c. I just wanted to open this for discussion to get a better understanding before trying to implement it. with best regards, dky -- Dhruva Krishnamurthy Contents reflect my personal views only!