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

Jan Holesovsky kendy at suse.cz
Wed Oct 13 01:04:08 PDT 2010


Hi Jesse, Sebastian,

On 2010-10-12 at 16:14 +0200, Sebastian Spaeth wrote:

> > I ran v07 on the various git repos and attached the resulting git
> > patches at https://bugs.freedesktop.org/show_bug.cgi?id=30794
> 
> Uploaded the slightly modified form which I used to create v2 of the
> modeline patches:
> https://gist.github.com/622221/a3a6199b21189a0d19f32843f35934fc53699d05
> 
> As per Kendy's request it does not introduce a newline after the emacs
> modeline and it only inserts an empty line before the vim modeline if
> there had been none before.

Thank you both very much for the nice script, pushed to the LibreOffice
repos with the correct attribution :-)

http://cgit.freedesktop.org/libreoffice/build/commit/?id=6986d4121be457fcfcac0d01bbbc234057499012
http://cgit.freedesktop.org/libreoffice/build/commit/?id=100c107bfc5db0089c4de3715cfb35ea150386f6

I am about to review & push the results of the script.

Thank you,
Kendy



More information about the LibreOffice mailing list