1. 10 Oct, 2017 16 commits
    • João Távora's avatar
      Unbreak the button in the Flymake diagnostics buffer again · 0526aac4
      João Távora authored
      Adding the 'keymap' property enabled RET but broke the mouse-action.
      
      * lisp/progmodes/flymake.el
      (flymake--diagnostics-buffer-entries): Use 'action' instead of 'keymap'.
      0526aac4
    • Mark Oteiza's avatar
      Add mode map to Flymake diagnostic button · c89f001d
      Mark Oteiza authored
      * lisp/progmodes/flymake.el (flymake--diagnostics-buffer-entries): Add
      keymap propery.
      c89f001d
    • João Távora's avatar
      Tweak the Flymake diagnostics buffer again · f9cd8ee6
      João Távora authored
      * lisp/progmodes/flymake.el
      (flymake-diagnostics-buffer-mode-map): Don't bind [mouse-1].
      (flymake-show-diagnostic): Rename from
      flymake-show-diagnostic-at-point.  Really use another window.
      (flymake-goto-diagnostic): Rename from
      flymake-goto-diagnostic-at-point.
      (flymake--diagnostics-buffer-entries): Use a button just for
      the message bit.
      f9cd8ee6
    • Mark Oteiza's avatar
      Simplify Flymake diagnostics buffer UX · 0e83f5f2
      Mark Oteiza authored
      Don't create text-buttons unnecessarily, just bind RET and SPC in the
      diagnostics buffer to a command that figures out which diagnostic it
      was invoked on.
      
      * lisp/progmodes/flymake.el
      (flymake--diagnostics-buffer-mode-keymap): Renamed from
      flymake--diagnostics-buffer-button-keymap.
      (flymake-show-diagnostic-at-point): Don't take a button.
      (flymake-goto-diagnostic-at-point): Don't pass button to
      flymake-show-diagnostic-at-point.
      (flymake--diagnostics-buffer-entries): Simplify.
      0e83f5f2
    • João Távora's avatar
      First stab at a Flymake diagnostics buffer · cf4a15b9
      João Távora authored
      The diagnostics buffer summarizes the diagnostics of a buffer in a
      tabulated list and is permanently updated after each Flymake check.
      
      * lisp/progmodes/flymake.el (flymake--handle-report): Call
      flymake-show-diagnostics-buffer under certain conditions.
      (flymake-menu, flymake--diagnostics-buffer-source)
      (flymake--diagnostics-buffer-button-keymap)
      (flymake-show-diagnostic-at-point)
      (flymake-goto-diagnostic-at-point)
      (flymake--diagnostics-buffer-entries)
      (flymake-diagnostics-buffer-mode)
      (flymake--diagnostics-buffer-name)
      (flymake-show-diagnostics-buffer): New definitions.
      cf4a15b9
    • João Távora's avatar
      * etc/NEWS (Flymake): Rewrite entry. · e4a15563
      João Távora authored
      e4a15563
    • Eli Zaretskii's avatar
      Improve the Flymake manual · 00adeb43
      Eli Zaretskii authored
      * doc/misc/flymake.texi: Add a 'coding' cookie.  Add a
      @syncodeindex directive for @vindex.  Use 2 spaces between
      sentences.  Lower-case @cindex entries.
      (Overview of Flymake): Fix use of @itemize and @pxref.  Fix
      punctuation and markup.
      (Backend exceptions): Use @emph instead of @dfn.  Add more
      indexing.
      (Customizable variables, Extending Flymake): Improve wording.
      (Flymake error types): Fix usage of @itemize.  Improve wording.
      (Backend functions): Fix punctuation.  Fix markup.  Add a
      cross-reference to ELisp manual.
      (Flymake utility functions): Add a cross-reference to ELisp manual.
      (An annotated example backend): Fix punctuation and typos.
      (Flymake mode, Running the syntax check)
      (Navigating to error lines, Backend exceptions)
      (Customizable variables, Flymake error types, Backend functions)
      (Flymake utility functions, Proc customization variables)
      (Locating a master file, Locating the buildfile)
      (Starting the syntax check process, Parsing the output)
      (Interaction with other modes): Fix indexing.  Add index entries
      for functions, variables, and concepts.
      00adeb43
    • Eli Zaretskii's avatar
    • João Távora's avatar
      Fix two Flymake bugs · 042b3cfb
      João Távora authored
      * lisp/progmodes/flymake.el (define-fringe-bitmap): Protect
      against --without-x.
      (flymake--mode-line-format): Ensure mode-line's mouse-4 and mouse-5 work
      in their own windows.
      042b3cfb
    • João Távora's avatar
      Don't log "emergencies" in the Flymake legacy backend · 3dfa2ca4
      João Távora authored
      * lisp/progmodes/flymake-proc.el (flymake-proc--panic)
      (flymake-proc-legacy-flymake): Don't log "emergencies"
      3dfa2ca4
    • João Távora's avatar
      Add full documentation on new Flymake API · 1c2e1884
      João Távora authored
      Also, as a minor addition to this API, set flymake-text
      on the diagnostic overlay.  This enables a good example in
      the section "Customization Flymake annotations".
      
      * doc/misc/flymake.texi (Overview of Flymake)
      (Syntax check statuses): Rework.
      (Backend exceptions): Rename from "Troubleshooting"
      (Customizable variables): Add flymake-start-on-flymake-mode. Rework.
      (Extending Flymake): Write chapter.
      (Customizing Flymake annotations, Flymake backends)
      (Flymake utility functions, An annotated example backend):
      New sections and subsections
      
      * lisp/progmodes/flymake.el (flymake-diagnostic-functions)
      (flymake-diagnostic-types-alist): Rework docstring.
      (flymake--highlight-line): Set and use flymake-text property in overlay.
      (flymake-goto-next-error, flymake-goto-prev-error): Fix funny quotes.
      1c2e1884
    • João Távora's avatar
      Fix some Flymake docstrings and messages · 0f7f677f
      João Távora authored
      * lisp/progmodes/flymake.el
      (flymake-start-on-flymake-mode): fix typo.
      (flymake-mode): Add docstring.
      (flymake-mode-line-format): Fix help-echo indications. mouse-2
      describes flymake-mode.
      0f7f677f
    • João Távora's avatar
      Make three new Flymake commands for debugging common problems · 21e70757
      João Távora authored
      * lisp/progmodes/flymake.el (flymake-running-backends)
      (flymake-disabled-backends)
      (flymake-reporting-backends): Make interactive.
      (flymake--collect): Take optional arg.
      21e70757
    • Noam Postavsky's avatar
    • Paul Eggert's avatar
      ; Typo fixes, mostly repeated words · 5d51403c
      Paul Eggert authored
      5d51403c
    • Paul Eggert's avatar
      ; Spelling fixes · 0d004ed0
      Paul Eggert authored
      0d004ed0
  2. 09 Oct, 2017 14 commits
  3. 08 Oct, 2017 9 commits
  4. 07 Oct, 2017 1 commit