[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] babel: ob-C with Visual C++ and compilation-mode
From: |
Eric Schulte |
Subject: |
Re: [O] babel: ob-C with Visual C++ and compilation-mode |
Date: |
Mon, 18 Aug 2014 08:51:35 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
Ernesto Durante <address@hidden> writes:
> Thierry Banel <address@hidden> writes:
>
>> Le 15/08/2014 19:22, Ernesto Durante a écrit :
>>
>> True.
>> And to achieve that the :includes header tag was added:
>> #+BEGIN_SRC C++ :includes <stdio.h>
>>
>> (Because otherwise a #include statement would end up in the main() function)
>>
>> For me this is already a questionable distortion of C++.
>>
>> The Emacs C++-mode does no attempt at hiding parts of a C++ file.
>> It just display the file as it is, and that is good.
>>
> Yes, you are right.
>
>>
>> This is far too complex for me.
>> I will just write down the main() function rather than learning this
>> extension.
>>
>> But of course, I am just one user among others.
>> You are another user and you feel the need for this extension,
>> and this should be taken into account.
>> Try the extension for yourself, then share it, and see if others like it.
>
> Yes, you are right.
>
Perhaps a new header argument should be added for C-Family languages
which will inhibit this main wrapping behavior?
-- Eric
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D (see https://u.fsf.org/yw)
- Re: [O] babel: ob-C with Visual C++ and compilation-mode, (continued)
- Re: [O] babel: ob-C with Visual C++ and compilation-mode, Ernesto Durante, 2014/08/13
- Re: [O] babel: ob-C with Visual C++ and compilation-mode, Thierry Banel, 2014/08/14
- Re: [O] babel: ob-C with Visual C++ and compilation-mode, Ernesto Durante, 2014/08/15
- Re: [O] babel: ob-C with Visual C++ and compilation-mode, Thierry Banel, 2014/08/17
- Re: [O] babel: ob-C with Visual C++ and compilation-mode, Ernesto Durante, 2014/08/18
- Re: [O] babel: ob-C with Visual C++ and compilation-mode, Thierry Banel, 2014/08/18
- Re: [O] babel: ob-C with Visual C++ and compilation-mode, Ernesto Durante, 2014/08/20
- Re: [O] babel: ob-C with Visual C++ and compilation-mode, Thierry Banel, 2014/08/21
- Re: [O] babel: ob-C with Visual C++ and compilation-mode, Ernesto Durante, 2014/08/24
- Re: [O] babel: ob-C with Visual C++ and compilation-mode, Thierry Banel, 2014/08/28
- Re: [O] babel: ob-C with Visual C++ and compilation-mode,
Eric Schulte <=
- Re: [O] babel: ob-C with Visual C++ and compilation-mode, Ernesto Durante, 2014/08/24
- Re: [O] babel: ob-C with Visual C++ and compilation-mode, Eric Schulte, 2014/08/28
- Re: [O] babel: ob-C with Visual C++ and compilation-mode, Eric Schulte, 2014/08/21
Re: [O] babel: ob-C with Visual C++ and compilation-mode, Eric Schulte, 2014/08/21