Nick, I was up late watching the late movie, so here's a quick agreement.<br><br><div class="gmail_quote">2008/11/13 Nick Treleaven <span dir="ltr"><<a href="mailto:nick.treleaven@btinternet.com" target="_blank">nick.treleaven@btinternet.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Just to reply to the quick points:<br>
<br>
On Wed, 12 Nov 2008 14:23:47 +1100<br>
"Lex Trotman" <<a href="mailto:elextr@gmail.com" target="_blank">elextr@gmail.com</a>> wrote:<br>
<br>
> > > Having separate C++ header templates with the mark already in it<br>
> > > would help users to remember to add it.  BTW it would be good to<br>
> > > have<br>
> ><br>
> > I don't think we should encourage people to make C++ header files<br>
> > with a .h extension, they should use an extension unique to C++.<br>
> ><br>
><br>
> I entirely agree!! Unfortunately a couple of old compilers don't and<br>
> there is lots of code out there using .h files.  I blame Stroustrup,<br>
> who only uses .h for headers throughout his book, even though he<br>
> acknowledges .cpp .cxx etc.<br>
<br>
OK, but I don't think any default templates that come with Geany should<br>
need the C++ comment mark.</blockquote><div><br>Yeah if the delivered header templates were only for .hpp they wouldn't need it.  I guess the C++ mark just needs to be clearly documented for those cases where a C++ .h already exists or is forced by external circumstance.  Saw your comment on removing filetype templates on another post, sounds like a clean solution.  Delivering data files makes it easy for users to tinker and saves you code maintenance.<br>

<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
> > BTW with custom file templates you can have as many templates as you<br>
> > like for the same filetype, so you could have header.hpp,<br>
> > source.cpp, etc template files.<br>
> ><br>
><br>
> Can those templates be delivered with Geany? For something fairly<br>
> fundamental it shouldn't require every user to configure it.<br>
<br>
Basically this needs some work, but will get done some time. But the<br>
point is that custom file templates support is already implemented, so<br>
this isn't another reason to add header filetypes.</blockquote><div><br>Of course not, templates is completely separate from the header file operation problem.  Thats why I left it down here.<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
<br>
> > > In terms of using make object, the .h doesn't compile to a .o<br>
> > > file so thats no good, and I have to admit I don't quite see how<br>
> > > make could<br>
> ><br>
> > I meant when you have a foo.h file and a foo.c file, you can use<br>
> > Make Object on the foo.h file.<br>
> ><br>
><br>
> I still don't understand how this compiles the .h only, sorry for<br>
> being obtuse.<br>
<br>
It doesn't, it compiles the .o, but (when you have foo.c) it<br>
catches any errors in the header.</blockquote><div><br>Oh, Ok, but then I get all the cascade errors in the .cpp file caused by the errors in the .hpp file, the idea is to compile the header first before using it.  I need to do that not only on initial creation but on changes during debugging, adding functionality etc.  Basically any time I modify the hpp file significantly.  Lets see what we can come up with IRO the main question.<br>

</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
> > This would cause more code to maintain, and more checks for header<br>
> > filetypes as well as the source file filetypes.<br>
><br>
><br>
> Surprisingly little code, Geany is pretty well structured but there<br>
> are some hacks needed where filetype checks are hard coded.<br>
</blockquote><div><br>Take this comment as the complement it was meant to be.  I am not intending to tell you how much work to take on as a maintainer.  <br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
I think it is significantly more for maintenance/writing new<br>
features.<br>
<br>
Regards,<br>
Nick<br>
_______________________________________________<br>
Geany-devel mailing list<br>
<a href="mailto:Geany-devel@uvena.de" target="_blank">Geany-devel@uvena.de</a><br>
<a href="http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel" target="_blank">http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel</a><br>
</blockquote></div><br>