The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=12995 ====================================================================== Reported By: Christopher Sean Morrison Assigned To: ====================================================================== Project: CMake Issue ID: 12995 Category: Documentation Reproducibility: always Severity: tweak Priority: normal Status: new ====================================================================== Date Submitted: 2012-02-23 21:36 EST Last Modified: 2012-02-23 21:36 EST ====================================================================== Summary: Emacs case-insensitive indentation in cmake-mode Description: The cmake-mode.el Emacs mode would incorrectly indent cmake sources if they were written in lower-case. Attached is a patch that makes the mode case-insensitive so that it will indent correctly regardless of case used. This makes the emacs mode match cmake's own internal (case-insensitive) logic parsing.
Steps to Reproduce: "M-x indent-region" on a .cmake source file or CMakeLists.txt file that writes uses lowercase instead of uppercase for the syntax. Example: macro(BAD_INDENT) if(some_condition) set(foo "bar") else(some_condition) set(bar "foo") endif(some_condition) endmacro(BAD_INDENT) ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2012-02-23 21:36 Christopher Sean MorrisonNew Issue 2012-02-23 21:36 Christopher Sean MorrisonFile Added: cmake-mode-case.patch ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers