Hi again, Stuart Brorson writes: > [...] > I belive that the majority of your submitted stuff involved replacing > my homegrown functions with GTK functions, right? Thanks for doing > this! I am not that familiar with all the featured offered by > GTK. . . . >
Right. There is also memory handling fixes like avoiding memory allocation where it is not required. > [...] > I am completely happy to move comments into the texinfo header in each > function. However, the reason I use the /* --- */ is to be able to > distinguish easily between one function section and the next. This > helps me find my way through the code. > > So, I guess my question is: is there an accepted way to put > this type of delimiters into noweb source? If the noweb processors > just throws this stuff away, what's wrong with it? > In the texinfo (documentation) parts of the noweb files, you have to start each line of a comment with '@c '. Also note that every function has a texinfo introduction that starts with '@section', so that you can use '@section' as a delimiter rather than /* --- */. I agree that it is less visible. But ff you are using something like the outline mode of emacs to chunk the code, you can configure it to start a chunk on '@section'. Anyway, I think it would be better to remove these lines when committing to CVS as it increases your changeset and make things harder to follow. Maybe you can automatically add them to your local copy and remove them when commiting. Regards, Patrick
