[Libreoffice] [SCRIPT, EASYHACK] "add-modelines", a script to add modelines to source files

someone at boldandbusted.com someone at boldandbusted.com
Mon Oct 11 11:27:56 PDT 2010

On Mon, 11 Oct 2010 13:47 +0200, "Thorsten Behrens"
<thb at documentfoundation.org> wrote:
> Caolán McNamara wrote:
> > Aha, what it boils down to, right, is that the emacs mode lines in that
> > sw/source/filter/ww8/ww8atr.cxx and friends won't be used by emacs
> > seeing as its neither pattern.
> > 
> So let's remove them - added to the list of EasyHack topics.
> Cheers,
> -- Thorsten
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libreoffice

I can make this a feature of add-modelines (which I should perhaps
rename to modelines-edit), just add another option to zap all
modeline-like whole-line comments not in the first or last lines of a

However, the script as I last sent it (version 0.7) works to cover the
original EasyHack spec. During testing, I ran it several times over the
entire LO codebase (*everything* checked out of git into one top-level
directory). That would make a nice big commit! Who will do it and commit
the resulting patches, and what's the criteria for removing the EasyHack
request that this script fulfills? It would be nice to see an e-mail to
the list from whoever is going to do it when they start the run, just so
I can be on #libreoffice to hear if it erases their main filesystem or
otherwise blows up into pretty glimmering shards (or if, more boringly,
it actually works).

I know I wrote the first edit on Friday, bumped version on Sunday, and
it is a holiday in the U.S. today, so please don't take my eagerness as
being demanding. ;)


Jesse Adelman
Bold and Busted LLC
San Francisco, CA

More information about the LibreOffice mailing list