MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0016019 | CMake | CMake | public | 2016-03-14 19:28 | 2016-06-10 14:21 |
Reporter | Julian Schmidt | ||||
Assigned To | Brad King | ||||
Priority | low | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | x64 | OS | CentOS | OS Version | 6.7 |
Product Version | CMake 3.5 | ||||
Target Version | CMake 3.6 | Fixed in Version | CMake 3.6 | ||
Summary | 0016019: cmake-mode.el: cmake-help: one help item is missing for each 'type' | ||||
Description | In the Emacs mode cmake-mode.el, the available help items for cmake-help-command, cmake-help-module, ... are missing the first item each as printed, respectively, by "cmake --help-TYPE". | ||||
Steps To Reproduce | In Emacs 24.5.1, with cmake-model.el from git tag v3.5.0-rc3, do M-x cmake-help Then in the auto-completion, e.g. 'add_compile_options' will not be available. This seems to be an off-by-one error which can be fixed like so: ================== diff --git a/Auxiliary/cmake-mode.el b/Auxiliary/cmake-mode.el index 08ac490..321177a 100644 --- a/Auxiliary/cmake-mode.el +++ b/Auxiliary/cmake-mode.el @@ -304,7 +304,7 @@ and store the result as a list in LISTVAR." (save-window-excursion (cmake-command-run (concat "--help-" listname "-list") nil temp-buffer-name) (with-current-buffer temp-buffer-name - (set listvar (cdr (split-string (buffer-substring-no-properties (point-min) (point-max)) "\n" t)))))) + (set listvar (split-string (buffer-substring-no-properties (point-min) (point-max)) "\n" t))))) (symbol-value listvar) )) ) ================== | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2016-03-14 19:28 | Julian Schmidt | New Issue | |||
2016-03-15 09:38 | Brad King | Note Added: 0040689 | |||
2016-03-16 13:35 | Brad King | Note Added: 0040703 | |||
2016-03-16 13:35 | Brad King | Assigned To | => Brad King | ||
2016-03-16 13:35 | Brad King | Status | new => resolved | ||
2016-03-16 13:35 | Brad King | Resolution | open => fixed | ||
2016-03-16 13:35 | Brad King | Fixed in Version | => CMake 3.6 | ||
2016-03-16 13:35 | Brad King | Target Version | => CMake 3.6 | ||
2016-06-10 14:21 | Kitware Robot | Note Added: 0041224 | |||
2016-06-10 14:21 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|