From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Krishnakant Newsgroups: gmane.emacs.help Subject: emacs startup: how to get rid of compile window despite of warnings Date: Mon, 20 Mar 2017 01:36:03 +0530 Message-ID: <8cd89045-b012-6389-8264-5aab7796a049@openmailbox.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1489954012 27243 195.159.176.226 (19 Mar 2017 20:06:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 19 Mar 2017 20:06:52 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 19 21:06:48 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cph69-0005vD-M3 for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Mar 2017 21:06:41 +0100 Original-Received: from localhost ([::1]:57961 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cph6F-00017M-R8 for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Mar 2017 16:06:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41912) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cph5n-00017H-Ev for help-gnu-emacs@gnu.org; Sun, 19 Mar 2017 16:06:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cph5i-0000ov-Er for help-gnu-emacs@gnu.org; Sun, 19 Mar 2017 16:06:19 -0400 Original-Received: from lb1.openmailbox.org ([5.79.108.160]:54443 helo=mail.openmailbox.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cph5i-0000nH-62 for help-gnu-emacs@gnu.org; Sun, 19 Mar 2017 16:06:14 -0400 Original-Received: by mail.openmailbox.org (Postfix, from userid 20002) id DDAC351C0C6; Sun, 19 Mar 2017 21:06:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1489953971; bh=q0X7rgmAUm2No4hPsy4YuaQT0w+S1ZKsPaVav9OMtVY=; h=To:From:Subject:Date:From; b=jss/ZIf+Ye/hcHCaRcrmFcXp8c7QFBbq2XxXXJmzRo9hR7bMGGrCcPaOhwH5jfqLJ 9uA08bfiqyBWFg6V8hJieY5hguy1ylBprwC0PhKFH6ERw7rAOmJ84kPkf+e7iYT1kq oYLLZToRyFSUyUE1DjVojyHmCfOD3IZT6XTDHmd0= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1489953971; bh=q0X7rgmAUm2No4hPsy4YuaQT0w+S1ZKsPaVav9OMtVY=; h=To:From:Subject:Date:From; b=jss/ZIf+Ye/hcHCaRcrmFcXp8c7QFBbq2XxXXJmzRo9hR7bMGGrCcPaOhwH5jfqLJ 9uA08bfiqyBWFg6V8hJieY5hguy1ylBprwC0PhKFH6ERw7rAOmJ84kPkf+e7iYT1kq oYLLZToRyFSUyUE1DjVojyHmCfOD3IZT6XTDHmd0= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 5.79.108.160 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:112606 Archived-At: Dear all, I have seen some answers for my question on stack overflow and the likes. But all of them have the solution to kill the compile buffer only when there are no errors and no warnings. But I have a different requirement. I wish that the compile buffer closes even if there are just warnings. This I need to have when emacs starts. Which is the right hook to call is one part and how do I exactly kill the buffer is another one. I have already set Emacs to show active buffer in full screen mode and also inhibited the default tutorial from coming up in a buffer. I did all this using customize-group emacs and in that I used the group for init. Now can some one just give me an idea of how to get this last one bit right? Happy hacking. Krishnakant.