1. 15 Jul, 2020 10 commits
    • Juri Linkov's avatar
      Use describe-char-padded-string for composed character names in "C-u C-x =" · 96971e38
      Juri Linkov authored
      * lisp/descr-text.el (describe-char): Use describe-char-padded-string
      for displaying Unicode names of composed characters on GUI frames.
      (Bug#42256)
      96971e38
    • Tassilo Horn's avatar
      ;Fix eldoc regression bug#42365 · 85eaa837
      Tassilo Horn authored
      85eaa837
    • Jonas Bernoulli's avatar
      * lisp/epa.el (epa-show-key): New command. · 58bec884
      Jonas Bernoulli authored
      Users can move in `epa-key-list-mode' buffers using either
      `next-line'/`previous-line' or `widget-forward'/`widget-backward'.
      When using the first set of commands, then the cursor stays in the
      current column and that normally is the first column.  The key
      widgets do not begin until the third character of their respective
      lines.
      
      All `epa' commands work regardless of whether the cursor is on the
      widget or before them.  The `epa-show-key' command did not exist until
      now because the `widget-button-press' already performs its task.  But
      because the widgets don't span complete lines we actually need this
      command too.
      58bec884
    • Jonas Bernoulli's avatar
      epa-key-list-mode-map: Use widget-keymap as parent keymap · 8c603477
      Jonas Bernoulli authored
      Normally when one keymap is to be treated as the parent of another,
      then that relationship is setup once at the time when the child is
      being defined, i.e. at birth.  For some reason, this was not done
      here; instead `widget-keymap' is set as `epa-key-list-mode-map'
      parent every time the former is setup to be used as the local map.
      
      This appears to be a mistake.  A few other keymaps use `widget-keymap'
      as their parent and in those cases the relationship is established
      just once. `epa-key-list-mode-map' is the only exception and because
      there is absolutely no indication that that is justified, we remove
      this inconsistency.
      
      * lisp/epa.el (epa-key-list-mode-map): Set the parent of this keymap
      while defining it.
      * lisp/epa.el (epa--list-keys): Do not set the parent of the local
      keymap here.
      8c603477
    • Jonas Bernoulli's avatar
      Cosmetic changes to epa libraries · 9f82622d
      Jonas Bernoulli authored
      These changes make the code more readable.
      
      * lisp/epa-dired.el (epa-dired-do-decrypt, epa-dired-do-verify)
      (epa-dired-do-sign, epa-dired-do-encrypt): Use dolist instead
      of while.
      * lisp/epa-file.el (epa-file-passphrase-callback-function):
      Set just one variable per setq call.
      9f82622d
    • Jonas Bernoulli's avatar
      Drop unnecessary backward compatibility aliases · e78c15ac
      Jonas Bernoulli authored
      We can assume that `encode-coding-string' and `decode-coding-string'
      are available; they were added in 1997.
      
      * lisp/epa-file.el (epa-file--encode-coding-string)
      (epa-file--decode-coding-string): Remove aliases for
      encode-coding-string and decode-coding-string.
      * lisp/epa-file.el (epa-file-write-region): Use encode-coding-string
      instead of removed epa-file--encode-coding-string.
      e78c15ac
    • Jonas Bernoulli's avatar
      Improve and add doc-strings · 0e2af5cc
      Jonas Bernoulli authored
      * lisp/epa-file.el (epa-file-select-keys):
      lisp/epa-hook.el (epa-file-name-regexp):
      lisp/epa.el (epa-exit-buffer): Improve doc-string.
      * lisp/epa-hook.el (epa-file-name-regexp-update): Add doc-string.
      0e2af5cc
    • Jonas Bernoulli's avatar
    • Jonas Bernoulli's avatar
      Add all epa faces to epa-faces Custom group · bb6fe683
      Jonas Bernoulli authored
      `epa-validity-face-alist' isn't actually a face but belongs
      in that group anyway.
      
      * lisp/epa.el (epa-field-name, epa-field-body)
      (epa-validity-face-alist): Add to epa-faces Custom group.
      bb6fe683
    • Jonas Bernoulli's avatar
      * lisp/epa.el (epa-faces): Move definition. · c2ef4a13
      Jonas Bernoulli authored
      Previously option `epa-mail-aliases' was the only option that was
      defined right after the group `epa-faces' and right before all the
      faces.  Now it is defined with all the other options and thus before
      the definition of the `epa-faces' group, which it does not belong to.
      c2ef4a13
  2. 14 Jul, 2020 3 commits
  3. 12 Jul, 2020 9 commits
    • Juri Linkov's avatar
      Display "C-u C-x =" composed character names on GUI frames as well · 46a0c115
      Juri Linkov authored
      * lisp/descr-text.el (describe-char): On GUI frames, display the
      Unicode names of the composed characters like they are displayed
      on TTY frames.  (Bug#42256)
      46a0c115
    • Eli Zaretskii's avatar
      0339325d
    • Dmitry Gutov's avatar
    • James N. V. Cash's avatar
      Fix a typo in eldoc.el · 7a712578
      James N. V. Cash authored
      * lisp/emacs-lisp/eldoc.el (eldoc-documentation-functions): Fix a
      typo.  (Bug#42310)
      
      Copyright-paperwork-exempt: yes
      7a712578
    • Eli Zaretskii's avatar
      Fix last doc changes in project.el · f5bc508b
      Eli Zaretskii authored
      * lisp/progmodes/project.el (project-find-functions)
      (project-current): Add back information which was recently
      removed.
      f5bc508b
    • João Távora's avatar
      Sort out ElDoc backward compatibility of eldoc-documentation-function · 45d7db6d
      João Távora authored
      As explained previously, we can't simply make
      eldoc-documentation-function an variable alias for
      eldoc-documentation-strategy, because ElDoc is pre-loaded in Emacs <
      28, where it holds at least one buffer-local binding.  So if eldoc.el
      is loaded in those versions, we do the variable alias binding in
      reverse.  We do this using a macro
      eldoc--documentation-strategy-defcustom to at load time in which
      direction to make the variable alias.
      
      * lisp/emacs-lisp/eldoc.el
      (eldoc--documentation-strategy-defcustom): Helper macro.
      (eldoc-documentation-strategy, eldoc-documentation-function): Use it.
      (Version): Bump to 1.5.0
      45d7db6d
    • Michael Albinus's avatar
      More Tramp code cleanup · 7ee32966
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-process-actions):
      * lisp/net/tramp-adb.el (tramp-adb-handle-file-system-info)
      (tramp-adb-handle-set-file-times)
      (tramp-adb-maybe-open-connection):
      * lisp/net/tramp-cmds.el (tramp-rename-files, tramp-rename-these-files)
      (tramp-reporter-dump-variable):
      * lisp/net/tramp-sh.el (tramp-do-file-attributes-with-stat)
      (tramp-sh-handle-file-selinux-context)
      (tramp-do-directory-files-and-attributes-with-stat)
      (tramp-sh-handle-file-name-all-completions)
      (tramp-sh-handle-write-region)
      (tramp-sh-handle-file-notify-add-watch)
      (tramp-sh-gvfs-monitor-dir-process-filter)
      (tramp-sh-inotifywait-process-filter)
      (tramp-sh-handle-file-system-info, tramp-find-executable)
      (tramp-open-shell, tramp-find-shell):
      * lisp/net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat)
      (tramp-smb-handle-file-system-info):
      * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-file-selinux-context)
      (tramp-sudoedit-handle-file-system-info): Remove superfluous
      `eval-when-compile', `concat' creates the string during byte
      compilation.  Reported by Mattias Engdegård <mattiase@acm.org>.
      
      * lisp/net/tramp-adb.el (tramp-adb-prompt): Simplify.
      (tramp-adb-send-command):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-dbus-string-to-byte-array):
      Use `string-match-p'.
      
      * lisp/net/tramp-sh.el (tramp-sunos-unames): New defconst.
      (tramp-find-executable, tramp-find-shell, tramp-get-remote-stat): Use it.
      7ee32966
    • Dmitry Gutov's avatar
      project-kill-buffers: Update the docstring too · 4a467f75
      Dmitry Gutov authored
      * lisp/progmodes/project.el (project-kill-buffers):
      Copy a sentence over from project-switch-to-buffer.
      4a467f75
    • Dmitry Gutov's avatar
      More docstring updates in project.el · ebcbd50c
      Dmitry Gutov authored
      * lisp/progmodes/project.el (project-find-functions)
      (project-current, project-switch-to-buffer):
      More docstring updates.
      ebcbd50c
  4. 11 Jul, 2020 11 commits
  5. 10 Jul, 2020 6 commits
    • João Távora's avatar
      Fix placement of Eldoc docs during eval-expression (bug#42309) · 1198b03e
      João Távora authored
      * lisp/emacs-lisp/eldoc.el (eldoc--handle-docs): Rework.
      1198b03e
    • João Távora's avatar
      Revert "Fix Eldoc problem when loading on Emacs 26.3" · c2599632
      João Távora authored
      This reverts commit 9ade7ea7.
      
      * lisp/emacs-lisp/eldoc.el (Version): Bump to 1.4.0
      c2599632
    • Basil L. Contovounesios's avatar
      Consistently stylize eldoc as ElDoc in prose · 6290850d
      Basil L. Contovounesios authored
      * doc/emacs/custom.texi (Specifying File Variables):
      * doc/emacs/modes.texi (Major Modes):
      * doc/emacs/programs.texi (Lisp Doc):
      * etc/NEWS.22:
      * etc/NEWS.23:
      * lisp/progmodes/python.el:
      (python-eldoc-function):
      * test/lisp/progmodes/python-tests.el: Consistently capitalize eldoc
      as ElDoc rather than Eldoc.
      6290850d
    • Michael Albinus's avatar
      Tramp code cleanup · 7caf5706
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-shell-prompt-pattern)
      (tramp-wrong-passwd-regexp, tramp-method-regexp-alist)
      (tramp-domain-regexp, tramp-host-regexp, tramp-ipv6-regexp)
      (tramp-port-regexp, tramp-debug-outline-regexp)
      (tramp-drop-volume-letter, tramp-parse-shostkeys)
      (tramp-handle-file-name-case-insensitive-p):
      * lisp/net/tramp-adb.el (tramp-adb-send-command-and-check):
      * lisp/net/tramp-ftp.el (tramp-ftp-enable-ange-ftp):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-monitor-process-filter):
      * lisp/net/tramp-sh.el (tramp-display-escape-sequence-regexp)
      (tramp-device-escape-sequence-regexp):
      * lisp/net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat)
      (tramp-smb-handle-set-file-acl, tramp-smb-read-file-entry):
      * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-file-selinux-context):
      Use character classes in regexp.
      
      * lisp/net/tramp-adb.el (tramp-adb-ls-date-year-regexp)
      (tramp-adb-ls-date-time-regexp): New defconst.
      (tramp-adb-ls-date-regexp, tramp-adb-ls-toolbox-regexp)
      (tramp-adb-sh-fix-ls-output): Use them.
      (tramp-adb-handle-set-file-times, tramp-adb-maybe-open-connection):
      Apply `eval-when-compile' on constant concat data.
      (tramp-do-parse-file-attributes-with-ls):
      Suppress `signal-hook-function'.
      (tramp-adb--gnu-switches-to-ash): Remove unused function.
      (tramp-adb-handle-set-file-modes): Qhote argument.
      (tramp-adb-maybe-open-connection): Set file property rather than flush.
      
      * lisp/net/tramp-cmds.el (tramp-rename-these-files):
      Apply `eval-when-compile' on constant concat data.
      
      * lisp/net/tramp-gvfs.el (tramp-gvfs-file-attributes)
      (tramp-gvfs-file-attributes-with-gvfs-ls-regexp): Embed them in
      `eval-and-compile'.
      (tramp-gvfs-get-directory-attributes): Apply `eval-when-compile'
      on constant concat data.
      7caf5706
    • João Távora's avatar
      Fix byte compilation warning in Eldoc · 62725e87
      João Távora authored
      * lisp/emacs-lisp/eldoc.el (eldoc-documentation-function): Pass nil as
      second argument.
      62725e87
    • João Távora's avatar
      Fix Eldoc problem when loading on Emacs 26.3 · 9ade7ea7
      João Távora authored
      When defining the obsolete variable alias for old
      eldoc-documentation-function (which now points to the newer
      eldoc-documentation-strategy), one gets the error "don't know how to
      make a localized vareiable an alias".  I'm not sure, but I suspect
      this is because Eldoc is preloaded in Emacs 26.3 and the
      eldoc-documentation-function variable is already set locally by some
      Elisp buffer.
      
      Uninterning the symbol shortly before defining the alias seems to fix
      it.
      
      * lisp/emacs-lisp/eldoc.el (eldoc-documentation-function):
      Unintern on load.
      (Version): Bump to 1.3.0
      9ade7ea7
  6. 09 Jul, 2020 1 commit