summaryrefslogtreecommitdiffstats
path: root/Auxiliary
Commit message (Collapse)AuthorAgeFilesLines
* cmake-mode.el: unscreamify symbols instead of wordsKevin Burge2015-10-081-1/+1
| | | | | | | cmake-unscreamify-buffer should unscream more than just words. For example: CHECK_FUNCTION_EXISTS (...)
* cmake-mode.el: treat keywords as symbolsKevin Burge2015-10-081-4/+4
| | | | | | | 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).
* Replace http://www.cmake.org URLs with https://cmake.orgBrad King2015-09-252-2/+2
| | | | | | | 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'
* cmake-mode.el: Refine variable font-lockRoy Crihfield2015-08-141-1/+1
| | | | | Simplify regexp for variable names, and allow more legal characters. Remove `$ *` as legal chars, and allow `- + / .` in names.
* cmake-mode.el: Fix function name font-lockRoy Crihfield2015-08-131-1/+1
| | | | Allow space separating name and opening parenthesis.
* cmake-mode.el: Derive cmake-mode from prog-modeRoy Crihfield2015-07-271-35/+23
| | | | | | 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.
* cmake-mode.el: Add font-lock for keywords and variablesRoy Crihfield2015-07-271-3/+11
| | | | | | 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.
* cmake-mode.el: Rename function to be consistentRoy Crihfield2015-07-271-9/+11
| | | | | | unscreamify-cmake-buffer => cmake-unscreamify-buffer While at it, wrap the operation in (save-excursion).
* cmake-mode.el: Use `rx' for regexpsRoy Crihfield2015-07-271-16/+26
| | | | | This allows the keywords be defined in a list and reused in different regexps.
* cmake-mode.el: Minor clean-upRoy Crihfield2015-07-271-41/+20
| | | | Superficial changes to use more conventional Emacs Lisp idioms.
* cmake-mode.el: Add support for prog-mode hooks (#15521)Jostein Kjønigsen2015-06-231-1/+3
| | | | | | | | | | | | | | | | | 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.
* bash-completion: Avoid using _init_completion when not definedGaëtan Lehmann2015-04-223-3/+24
| | | | | | | | 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.
* Merge topic 'emacs-mode-fix-word-at-point'Brad King2015-01-201-0/+1
|\ | | | | | | | | 3a147e1b cmake-mode.el: Re-add explicit call to require thingatpt
| * cmake-mode.el: Re-add explicit call to require thingatptPeter Vasil2015-01-191-0/+1
| | | | | | | | | | | | 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.
* | Merge topic 'fix-cmake-org-links'Brad King2015-01-192-2/+2
|\ \ | |/ |/| | | | | 91fbcda2 Help: Update cmake.org links to avoid redirects
| * Help: Update cmake.org links to avoid redirectsWilliam Lynch2015-01-162-2/+2
| | | | | | | | Some links to cmake.org now redirect, so link to the new pages directly.
* | cmake-mode.el: Fix extracting keyword at point in cmake-helpPeter Vasil2015-01-191-3/+7
|/ | | | | | | | 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 '_'.
* cmake-mode.el: syntax of '_' should be treated as symbolSyohei YOSHIDA2014-11-121-2/+1
| | | | | | | 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>
* Merge topic 'bash-complete-ctest-labels'Brad King2014-09-041-2/+6
|\ | | | | | | | | 2603e128 bash-completion: Complete 'ctest' label names
| * bash-completion: Complete 'ctest' label namesSylvain Joubert2014-09-031-2/+6
| |
* | cmake-syntax.vim: Update the command listLukáš Lalinský2014-09-041-2/+2
|/
* cmake-mode.el: Add help for variables/properties/complete. Factorize.Philipp Möller2014-02-131-47/+81
|
* cmake-mode.el: Add the ability to retrieve module help.Philipp Möller2014-02-131-0/+31
|
* cmake-mode.el: Add auto-completion to cmake-help-commandPhilipp Möller2014-01-291-8/+19
|
* cmake-mode.el: Clean up cmake-command-run and add buffername argumentPhilipp Möller2014-01-291-30/+13
|
* cmake-mode.el: Replace 'setq' with 'let' or inliningPhilipp Möller2014-01-281-22/+23
|
* cmake-mode.el: Don't assign to free variable save-pointPhilipp Möller2014-01-281-2/+0
| | | | | | | | | 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.
* cmake-mode.el: Avoid using beginning-of-bufferPhilipp Möller2014-01-281-1/+1
| | | | | This should not be used from lisp programs. Use the replacement suggested by the doc: (goto-char (point-min))
* cmake-mode.el: Add autoload cookiesYasuyuki Oka2014-01-021-4/+9
|
* cmake-mode.el: Move header line to the top of fileYasuyuki Oka2014-01-021-1/+2
|
* cmake-mode.el: drop reserved keybindings (#14576)Brad King2013-11-181-17/+1
| | | | | | | | | | | | 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>
* Move cmake.m4 from Utilities to AuxiliaryBrad King2013-10-152-0/+54
| | | | | The latter fits more consistently with other third party integration files.
* Rename Docs to AuxiliaryBrad King2013-10-159-0/+864
The directory contains auxiliary support files for integration with other tools, not documentation.