1. 13 Oct, 2017 1 commit
  2. 12 Oct, 2017 5 commits
    • Eli Zaretskii's avatar
      Fix this-command-keys for "M-x foo" commands · 59b5dc60
      Eli Zaretskii authored
      * src/keyboard.c (Fset__this_command_keys): Don't assume KEYS is a
      unibyte string.  (Bug#28798)
      59b5dc60
    • Paul Eggert's avatar
      Let rename-file rename dirs across filesystems · 2f4bd2fb
      Paul Eggert authored
      Problem diagnosed by Andreas Schwab (Bug#28792#65).
      This fixes a bug that I introduced in
      2017-09-10T22:39:24@eggert@cs.ucla.edu
      "Fix race with rename-file etc. with dir NEWNAME".
      * src/fileio.c (Frename_file): Copy a source directory across
      file system boundaries even if its name does not end in slash.
      2f4bd2fb
    • João Távora's avatar
      Simplify Flymake user documentation · 41397872
      João Távora authored
      Fix some confusing parts of Flymake user documentation, like a
      repeated listing of situations leading to a syntax check.
      Documentation is now divided into three chapters only: "Using
      Flymake", "Extending Flymake", and a chapter for the legacy backend.
      
      Obsolete mention of "errors" and "lines" is replaced by
      "diagnostics/problems" and "regions" where appropriate.
      
      * doc/misc/flymake.texi (Overview of Flymake): Delete chapter.
      (Using Flymake): Merge with chapter "Overview of Flymake".
      (Installing Flymake): Delete chapter.
      (Flymake mode, Running the syntax check)
      (Navigating to error lines): Delete sections.
      (Syntax check statuses): Review and augment with x-references.
      (Backend exceptions): Mention shortcut in menu.
      
      * lisp/progmodes/flymake.el (flymake-menu): Tweak minor mode
      menu to not speak of "errors".
      (flymake-goto-next-error, flymake-goto-prev-error): Fix
      wording.
      41397872
    • Eli Zaretskii's avatar
      6ff18c39
    • Noam Postavsky's avatar
      Don't use (format "%s" ...) for string copying (Bug#28774) · b78332c3
      Noam Postavsky authored
      As of 2017-10-04 'Speed up (format "%s" STRING) and the like', (format
      "%s" STRING) no longer produces a new string.
      * lisp/ido.el (ido-completions): Use `copy-sequence' to make a new
      string, so that we can add text properties to (copies of) symbol
      names.
      b78332c3
  3. 11 Oct, 2017 9 commits
  4. 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
  5. 09 Oct, 2017 9 commits