From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: babel: ob-C with Visual C++ and compilation-mode Date: Thu, 28 Aug 2014 10:02:08 -0400 Message-ID: <87zjeo4qko.fsf@gmail.com> References: <878un4ut6c.fsf@gmail.com> <53E91C32.4000002@free.fr> <87lhqt6b0w.fsf@gmail.com> <53EA8F2B.7010205@free.fr> <87zjf8cdjk.fsf@gmail.com> <53ED1EB0.3030500@free.fr> <87lhqp7jnp.fsf@gmail.com> <53F08FE3.20506@free.fr> <87vbpq6o4w.fsf@gmail.com> <87lhqhcihu.fsf@gmail.com> <87wq9ynikx.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39605) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XN11Q-00024x-Pq for emacs-orgmode@gnu.org; Thu, 28 Aug 2014 10:50:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XN11K-0005lx-Ka for emacs-orgmode@gnu.org; Thu, 28 Aug 2014 10:49:56 -0400 Received: from mail-ob0-x231.google.com ([2607:f8b0:4003:c01::231]:35695) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XN11K-0005lt-Gp for emacs-orgmode@gnu.org; Thu, 28 Aug 2014 10:49:50 -0400 Received: by mail-ob0-f177.google.com with SMTP id wo20so666454obc.36 for ; Thu, 28 Aug 2014 07:49:49 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ernesto Durante Cc: emacs-orgmode@gnu.org Ernesto Durante writes: > Eric Schulte writes: > >> Ernesto Durante writes: >> >> Perhaps a new header argument should be added for C-Family languages >> which will inhibit this main wrapping behavior? >> >> -- Eric > > Hi Eric, > > According to me, we can already inhibit the wrapping with the following > header :main no. Maybe, it should be the default behavior ? > Oh, great. I don't think we should change the default. It is easy to customize the value of this header argument, and the default should be targeted at ease of use for first timers, which I believe means doing something useful even for code blocks without an explicit main. Best, Eric > > > Best > Ernesto -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D (see https://u.fsf.org/yw)