Some source code files in glibmm and gtkmm start with seemingly unnecessary lines, such as

   // -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*-
or
   // -*- c++ -*-
   /* $Id$ */
or
   // -*- c++ -*-
   /* $Id: event.ccg,v 1.2 2004/02/10 17:29:54 mxpxpod Exp $ */

gmmproc adds "// -*- c++ -*-" as the first line in generated .h files.

The line that begins "// -*- Mode:" occurs frequently in glibmm/gio. It's said to be used by the emacs editor.

Do you need any of these initial lines? Should any of them be inserted in newly written and/or modified files? Should they be deleted in modified files?

_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to