Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


Hi LibreOffice devs,

OK, here's the next version (0.7).

This version has some user interface improvements, and probably some
improved bugs. ;)

add-modelines takes arguments:

$ ./add-modelines -?
./add-modelines: illegal option -- ?
Usage: ./add-modelines [-z] [-s "<sourcefile glob>"] [-p <path to
source>]

So, now you can:

* use -z to zap existing modelines (if they are the first and last lines
of a file)
* use -s to specify file suffixes. Eg. "-s *.cxx *.cpp *.hxx *.silly"
* use -p to specify the path to your LO source directory

These are optional, and if none are used, defaults are set within the
script. If you omit an option, here's the defaults

* Don't zap existing modelines
* Use the current working directory for the search
* Look for *.cpp and *.cxx to add modelines to

Should I start submitting patches for new changes to this file, rather
than ML posts? ;)

Please let me know how it goes for you, and if you experience
turbulence, and if it meets your needs.

Cheers,

Jesse Adelman
San Francisco, CA
Bold and Busted LLC
http://www.boldandbusted.com/

P.S. I'm not submitting the test git patches I ran to validate the
changes, in the interest of space. But I can make them again by request.

Attachment: add-modelines
Description: Binary data


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.