view .dir-locals.el @ 21246:101489515a70

get_forge_pkg.m: Fix bad nam similarity matching for -forge packages (bug #47102). * get_forge_pkg.m: Use URL "list_packages.php" which contains machine-readable list of Octave-Forge packages. Use new similarity matching algorithm based on Huffman distance if name is not a valid package name.
author Rik <rik@octave.org>
date Wed, 10 Feb 2016 17:42:51 -0800
parents 9ff04de067ce
children df203b20cfc6
line wrap: on
line source

((nil .
      ((c-file-style . "gnu")
       (indent-tabs-mode . nil)
       (fill-column . 72)
       (eval . (when (and (buffer-file-name)
                          (string-match-p "\\.h\\'" (buffer-file-name))
                          (not (string-match-p "/gnulib/" (buffer-file-name))))
                 (c++-mode)
                 (c-set-style "gnu")))))
 (change-log-mode . ((indent-tabs-mode . t)))
 (makefile-mode . ((indent-tabs-mode . t))))