Skip to content
Snippets Groups Projects
  1. May 10, 2016
  2. Mar 16, 2016
    • Julian Schmidt's avatar
      cmake-mode.el: Fix help completion item lists with CMake >= 3.0 (#16019) · 9dc384f6
      Julian Schmidt authored and Brad King's avatar Brad King committed
      We run `cmake --help-*-list` to get a list of items for completion.
      Since CMake < 3.0 always printed "cmake version ..." on the first line
      of the output we have previously ignored the first line.  However, CMake
      3.0 and above do not print the version line so we should not ignore the
      first line or we miss one item.
      
      Ideally we should filter the first line out if it is "cmake version ..."
      in order to support CMake < 3.0 cleanly, but at worst the version line
      will show up as a completion option so simply including the first line
      is good enough for now.
      9dc384f6
  3. Oct 08, 2015
  4. Sep 25, 2015
  5. Aug 14, 2015
  6. Aug 13, 2015
  7. Jul 27, 2015
  8. Jun 23, 2015
    • Jostein Kjønigsen's avatar
      cmake-mode.el: Add support for prog-mode hooks (#15521) · b24b58bb
      Jostein Kjønigsen authored and Brad King's avatar Brad King committed
      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.
      b24b58bb
  9. Apr 22, 2015
  10. Jan 19, 2015
    • Peter Vasil's avatar
      cmake-mode.el: Re-add explicit call to require thingatpt · 3a147e1b
      Peter Vasil authored and Brad King's avatar Brad King committed
      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.
      3a147e1b
    • Peter Vasil's avatar
      cmake-mode.el: Fix extracting keyword at point in cmake-help · ca80598e
      Peter Vasil authored and Brad King's avatar Brad King committed
      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 '_'.
      ca80598e
  11. Jan 16, 2015
  12. Nov 12, 2014
  13. Sep 04, 2014
  14. Sep 03, 2014
  15. Feb 13, 2014
  16. Jan 29, 2014
  17. Jan 28, 2014
  18. Jan 02, 2014
  19. Nov 18, 2013
  20. Oct 15, 2013
Loading