[Cmake-commits] CMake branch, next, updated. v2.8.7-2858-g1e5cac6

Brad King brad.king at kitware.com
Fri Feb 24 13:25:47 EST 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  1e5cac640dcc7afbf73a749fcaea4b134a865045 (commit)
       via  ab9824e14f07111210ad113a982fd7523f73e9d3 (commit)
      from  625c64a5f1243b9a8d1d6b5f55cadca81fb11715 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1e5cac640dcc7afbf73a749fcaea4b134a865045
commit 1e5cac640dcc7afbf73a749fcaea4b134a865045
Merge: 625c64a ab9824e
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Fri Feb 24 13:25:46 2012 -0500
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Fri Feb 24 13:25:46 2012 -0500

    Merge topic 'cmake-mode-case' into next
    
    ab9824e cmake-mode.el: Make indentation case-insensitive (#12995)


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ab9824e14f07111210ad113a982fd7523f73e9d3
commit ab9824e14f07111210ad113a982fd7523f73e9d3
Author:     Christopher Sean Morrison <brlcad at mac.com>
AuthorDate: Fri Feb 24 10:39:16 2012 -0500
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Fri Feb 24 13:22:22 2012 -0500

    cmake-mode.el: Make indentation case-insensitive (#12995)
    
    Convert the block open and close matching expressions to be explicitly
    insensitive to case.  This way it will not matter whether Emacs is
    sensitive to case when evaluating 'string-match'.

diff --git a/Docs/cmake-mode.el b/Docs/cmake-mode.el
index 4418bfa..9517455 100644
--- a/Docs/cmake-mode.el
+++ b/Docs/cmake-mode.el
@@ -68,9 +68,9 @@ set the path with these commands:
                                        "\\|" "[ \t\r\n]"
                                        "\\)*"))
 (defconst cmake-regex-block-open
-  "^\\(IF\\|MACRO\\|FOREACH\\|ELSE\\|ELSEIF\\|WHILE\\|FUNCTION\\)$")
+  "^\\([iI][fF]\\|[mM][aA][cC][rR][oO]\\|[fF][oO][rR][eE][aA][cC][hH]\\|[eE][lL][sS][eE]\\|[eE][lL][sS][eE][iI][fF]\\|[wW][hH][iI][lL][eE]\\|[fF][uU][nN][cC][tT][iI][oO][nN]\\)$")
 (defconst cmake-regex-block-close
-  "^[ \t]*\\(ENDIF\\|ENDFOREACH\\|ENDMACRO\\|ELSE\\|ELSEIF\\|ENDWHILE\\|ENDFUNCTION\\)[ \t]*(")
+  "^[ \t]*\\([eE][nN][dD][iI][fF]\\|[eE][nN][dD][fF][oO][rR][eE][aA][cC][hH]\\|[eE][nN][dD][mM][aA][cC][rR][oO]\\|[eE][lL][sS][eE]\\|[eE][lL][sS][eE][iI][fF]\\|[eE][nN][dD][wW][hH][iI][lL][eE]\\|[eE][nN][dD][fF][uU][nN][cC][tT][iI][oO][nN]\\)[ \t]*(")
 
 ;------------------------------------------------------------------------------
 

-----------------------------------------------------------------------

Summary of changes:
 Docs/cmake-mode.el |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list