- 08 Oct, 2015 2 commits
-
-
Kevin Burge authored
cmake-unscreamify-buffer should unscream more than just words. For example: CHECK_FUNCTION_EXISTS (...)
-
Kevin Burge authored
Symbols such as "CHECK_FUNCTION_EXISTS" should not trigger an open block (due to containing the "word" FUNCTION). Fix this regression caused by commit v3.4.0-rc1~292^2~3 (cmake-mode.el: Use `rx' for regexps, 2015-07-23).
-
- 25 Sep, 2015 1 commit
-
-
http://www.cmake.orghttps://cmake.orgBrad King authored
The latter is now the preferred URL for visiting cmake.org with a browser. Convert using the shell code: git ls-files -z | xargs -0 sed -i 's|http://www\.cmake|https://cmake|g'
-
- 14 Aug, 2015 1 commit
-
-
Roy Crihfield authored
Simplify regexp for variable names, and allow more legal characters. Remove `$ *` as legal chars, and allow `- + / .` in names.
-
- 13 Aug, 2015 1 commit
-
-
Roy Crihfield authored
Allow space separating name and opening parenthesis.
-
- 27 Jul, 2015 5 commits
-
-
Roy Crihfield authored
Emacs 24 and above support a generic "prog-mode" to simplify definition of programming modes. Derive "cmake-mode" from it since we are a programming mode.
-
Roy Crihfield authored
Control flow keywords will now be highlighted as such. Variable names will be also be recognized. Adjust function name highlighting to work in places other than the start of a line.
-
Roy Crihfield authored
unscreamify-cmake-buffer => cmake-unscreamify-buffer While at it, wrap the operation in (save-excursion).
-
Roy Crihfield authored
This allows the keywords be defined in a list and reused in different regexps.
-
Roy Crihfield authored
Superficial changes to use more conventional Emacs Lisp idioms.
-
- 23 Jun, 2015 1 commit
-
-
Jostein Kjønigsen authored
Since version 24, Emacs supports a generic mode called prog-mode. Like all other modes it has its own mode-hook, prog-mode-hook. For Emacs users it is common to provide all your generic programming-mode related customizations in this mode-hook. cmake-mode is definitely a programming-mode and should support calling this hook. There are two ways to make that happen: * Make your major-mode a derived-mode from prog-mode. * Manually calling the hook upon mode-activation. Implementing a derived mode may be the most proper thing to do, but that may require quite a few structural changes. For now just call the hook explicitly if it exists. This should cover much of what users need.
-
- 22 Apr, 2015 1 commit
-
-
Gaëtan Lehmann authored
With the current version of homebrew one gets: bash: _init_completion: command not found Avoid this by initializing manually when the function is not defined.
-
- 19 Jan, 2015 2 commits
-
-
Peter Vasil authored
Usually it is not needed to call '(require 'thingatpt')' explicitly because the function 'symbol-at-point' is in autoloaded but to be sure to have the function loaded in every case, require thingatpt.
-
Peter Vasil authored
Since commit v3.1.0-rc2~1^2~1 (cmake-mode.el: syntax of '_' should be treated as symbol, 2014-11-12) the 'word-at-point' function does not extract the whole keyword anymore if it contains an '_', because 'forward-word' stops at '_'. Use 'symbol-at-point' to extract a whole keyword even if there is an '_'.
-
- 16 Jan, 2015 1 commit
-
-
William Lynch authored
Some links to cmake.org now redirect, so link to the new pages directly.
-
- 12 Nov, 2014 1 commit
-
-
Syohei YOSHIDA authored
Word commands, such as foward-word(M-f), backward-kill-word(M-backspace), don't work well like other major-modes if syntax of '_' is treated as "word". Tested-by:
Guillaume Papin <guillaume.papin@parrot.com>
-
- 04 Sep, 2014 1 commit
-
-
Lukáš Lalinský authored
-
- 03 Sep, 2014 1 commit
-
-
Sylvain Joubert authored
-
- 13 Feb, 2014 2 commits
-
-
Philipp Möller authored
-
Philipp Möller authored
-
- 29 Jan, 2014 2 commits
-
-
Philipp Möller authored
-
Philipp Möller authored
-
- 28 Jan, 2014 3 commits
-
-
Philipp Möller authored
-
Philipp Möller authored
Drop use of the free variable from unscreamify-cmake-buffer. The proper way to do this would be defvar or let, but it is more sensible to drop the feature completely: replace-match will shift the point and the saved-point will be invalid. More careful coding could avoid this, but seems overkill.
-
Philipp Möller authored
This should not be used from lisp programs. Use the replacement suggested by the doc: (goto-char (point-min))
-
- 02 Jan, 2014 2 commits
-
-
Yasuyuki Oka authored
-
Yasuyuki Oka authored
-
- 18 Nov, 2013 1 commit
-
-
Brad King authored
The keybindings added by commit 301e67e3 (cmake-mode.el: add local keybindings, 2012-09-20) overlap the reserved C-c space: http://www.gnu.org/software/emacs/manual/html_node/elisp/Key-Binding-Conventions.html Revert the commit to drop them. Reported-by:
Paul Smith <paul@mad-scientist.net> Reviewed-by:
Eric NOULARD <eric.noulard@gmail.com>
-
- 15 Oct, 2013 2 commits