1. 21 Jan, 2017 1 commit
  2. 01 Jan, 2017 1 commit
  3. 23 Dec, 2016 1 commit
    • Stefan Monnier's avatar
      Fix M-x hints on Mac port · 08de101d
      Stefan Monnier authored
      * lisp/simple.el (execute-extended-command--shorter): Call
      input-pending-p to trigger input processing on some systems, such
      as Mac port.  (Bug#23002)
      08de101d
  4. 08 Dec, 2016 1 commit
  5. 07 Dec, 2016 1 commit
  6. 25 Nov, 2016 2 commits
  7. 16 Nov, 2016 1 commit
    • Tino Calancha's avatar
      Update parameter :version to 26.1 in several defcustom · 5ffdbe0a
      Tino Calancha authored
      Following defcustom where added or modified for 25.2 release.
      In fact all these changes belong to 26.1 release.
      * lisp/battery.el (battery-linux-sysfs-regexp)
      * lisp/comint.el (comint-password-prompt-regexp)
      * lisp/dired.el (dired-always-read-filesystem)
      * lisp/image.el (image-scaling-factor)
      * lisp/ibuf-ext.el (ibuffer-never-search-content-name)
      (ibuffer-never-search-content-mode)
      * lisp/mouse.el (mouse-select-region-move-to-beginning)
      * lisp/net/net-utils.el (iwconfig-program, iwconfig-program-options)
      (netstat-program, route-program, route-program-options)
      * lisp/net/sieve-manage.el (sieve-manage-default-stream)
      * lisp/progmodes/grep.el (grep-save-buffers)
      * lisp/vc/add-log.el (change-log-directory-files)
      * lisp/url/url-vars.el (url-user-agent)
      * lisp/vc/vc-hg.el (vc-hg-symbolic-revision-styles)
      (vc-hg-use-file-version-for-mode-line-version)
      (vc-hg-parse-hg-data-structures)
      * lisp/wdired.el (wdired-create-parent-directories)
      * lisp/faces.el (homoglyph, nobreak-hyphen, read-multiple-choice-face)
      * lisp/gnus/gnus-art.el (gnus-article-encrypt-protocol)
      (gnus-button-url-regexp)
      * lisp/window.el (switch-to-buffer-preserve-window-point)
      * lisp/ibuffer.el (ibuffer-formats, ibuffer-locked-char)
      (ibuffer-locked-buffer)
      * lisp/textmodes/flyspell.el (flyspell-sort-corrections-function)
      * lisp/emacs-lisp/edebug.el (edebug-sit-on-break)
      * lisp/gnus/message.el (message-user-fqdn)
      * lisp/simple.el (shell-command-dont-erase-buffer)
      (extended-command-suggest-shorter)
      * lisp/net/shr.el (shr-use-fonts)
      * lisp/files.el (mounted-file-systems, kill-emacs-query-functions)
      5ffdbe0a
  8. 07 Nov, 2016 1 commit
  9. 04 Nov, 2016 1 commit
    • Eli Zaretskii's avatar
      Clarify doc string of 'transpose-sexps' · f708cb22
      Eli Zaretskii authored
      * lisp/simple.el (transpose-sexps): Clarify the conditions for
      transposing sexps that are lists or strings.  Mention the effect
      of the prefix argument.  (Bug#24860)
      f708cb22
  10. 23 Oct, 2016 1 commit
  11. 22 Oct, 2016 1 commit
    • Noam Postavsky's avatar
      Fix kill-line's docstring · 5c2da930
      Noam Postavsky authored
      * lisp/simple.el (kill-line): The effect of show-trailing-whitespace is
      important lines with *no* nonblanks (Bug #16654).
      5c2da930
  12. 17 Oct, 2016 1 commit
  13. 03 Oct, 2016 2 commits
    • Karl Fogel's avatar
      Document yank behavior in the right place · e1b2918c
      Karl Fogel authored
      * lisp/simple.el (yank): Document the handling of the
      `yank-handled-properties' and `yank-excluded-properties' variables,
      and the `yank-handler' text property.
      (yank-pop): Refer to `yank' now (bug#286)
      
      * lisp/subr.el (insert-for-yank): Refer to `yank' now.
      (insert-for-yank-1): Refer to `insert-for-yank' now.
      
      See this thread for discussion:
      
        https://lists.gnu.org/archive/html/emacs-devel/2016-09/threads.html#00329
        From: Karl Fogel
        To: Emacs Devel
        Subject: Question about intended behavior of 'insert-for-yank-1'.
        Date: Mon, 12 Sep 2016 00:17:14 -0500
        Message-ID: <874m5lr92d.fsf@red-bean.com>
      e1b2918c
    • Karl Fogel's avatar
      Document yank behavior in the right place · 8cd975ce
      Karl Fogel authored
      * lisp/simple.el (yank): Document the handling of the
      `yank-handled-properties' and `yank-excluded-properties' variables,
      and the `yank-handler' text property.
      (yank-pop): Refer to `yank' now (bug#286)
      
      * lisp/subr.el (insert-for-yank): Refer to `yank' now.
      (insert-for-yank-1): Refer to `insert-for-yank' now.
      
      See this thread for discussion:
      
        https://lists.gnu.org/archive/html/emacs-devel/2016-09/threads.html#00329
        From: Karl Fogel
        To: Emacs Devel
        Subject: Question about intended behavior of 'insert-for-yank-1'.
        Date: Mon, 12 Sep 2016 00:17:14 -0500
        Message-ID: <874m5lr92d.fsf@red-bean.com>
      8cd975ce
  14. 26 Sep, 2016 1 commit
    • Eli Zaretskii's avatar
      Improve documentation of 'expand-abbrev' and wrapper hooks · 9fc9988d
      Eli Zaretskii authored
      * lisp/simple.el (filter-buffer-substring-functions)
      (buffer-substring--filter): Add a link to 'with-wrapper-hook' as
      the place to look for documentation of wrapper hooks.
      * lisp/minibuffer.el (completion-in-region-functions)
      (completion--in-region): Add a link to 'with-wrapper-hook' as the
      place to look for documentation of wrapper hooks.
      * lisp/abbrev.el (expand-abbrev, abbrev--default-expand): Clarify
      the doc strings.  (Bug#24540)
      
      * doc/lispref/text.texi (Buffer Contents): Mention
      'with-wrapper-hook's doc string as the place to learn about that
      obsolete facility.
      9fc9988d
  15. 23 Sep, 2016 1 commit
  16. 16 Sep, 2016 1 commit
  17. 26 Aug, 2016 1 commit
  18. 25 Aug, 2016 2 commits
    • Tino Calancha's avatar
      call-shell-region: New defun · 5e84dcef
      Tino Calancha authored
      Suggested by Stefan Monnier in Bug#22679.
      * lisp/subr.el (call-shell-region): New defun; execute a command
      in an inferior shell with the buffer region as input.
      * lisp/simple.el (shell-command-on-region): Use it.
      * lisp/gnus/message.el (message-do-fcc): Idem.
      * doc/lispref/processes.texi: Document call-shell-region in the manual.
      ;* etc/NEWS: Add entry for this new function.
      5e84dcef
    • Martin Rudalics's avatar
      In ‘clone-indirect-buffer’ fix argument mixup (Bug#24306) · 95c82efd
      Martin Rudalics authored
      * lisp/simple.el (clone-indirect-buffer): Add value for ACTION
      argument in `pop-to-buffer' call (Bug#24306).
      95c82efd
  19. 16 Aug, 2016 1 commit
    • Tino Calancha's avatar
      Allow not erase output buffer in shell commands · c7119916
      Tino Calancha authored
      * lisp/simple.el (shell-command-not-erase-buffer): New option to allow
      not erasing the output buffer between shell commands.  Defaults to nil.
      (shell-command-on-region): Use it.
      (shell-command--save-pos-or-erase): New defun; store a buffer position
      if 'shell-command-not-erase-buffer' is non-nil; otherwise
      erase the output buffer of the shell command.
      (shell-command, shell-command-on-region): Use it.
      (shell-command--set-point-after-cmd): New defun;
      if 'shell-command-not-erase-buffer' is non-nil, set point
      in the output buffer to the position in 'shell-command-saved-pos'.
      (shell-command-sentinel, shell-command-on-region): Use it.
      * doc/emacs/misc.texi (shell-command-not-erase-buffer):
      Document this feature in the manual.
      ; * etc/NEWS: Add entry for this new feature.
      See discussion on:
      http://lists.gnu.org/archive/html/emacs-devel/2016-07/msg00610.html
      c7119916
  20. 13 Aug, 2016 1 commit
    • Noam Postavsky's avatar
      Fix docstring of eval-expression · 06952353
      Noam Postavsky authored
      * lisp/simple.el (eval-expression): Fix the docstring to reflect the
      fact that the prefix argument does not affect formatting for
      integers (Bug #20691).
      06952353
  21. 22 Jul, 2016 1 commit
    • Tino Calancha's avatar
      Fix shell-command[-on-region] doc strings · b13b728c
      Tino Calancha authored
      * lisp/simple.el (shell-command, shell-command-on-region):
      Drop the sentence saying that the command may delete the buffer
      '*Shell Command Output*': the command never delete such
      buffer (Bug#23936).
      b13b728c
  22. 19 Jul, 2016 1 commit
  23. 17 Jul, 2016 2 commits
  24. 14 Jul, 2016 1 commit
  25. 11 Jul, 2016 1 commit
  26. 10 Jul, 2016 1 commit
  27. 06 Jul, 2016 1 commit
    • Phillip Lord's avatar
      Fix missing undo-boundary on revert-buffer. · 8f9c1eda
      Phillip Lord authored
      * lisp/simple.el (undo-auto--undoable-change-no-timer): New function.
      * src/fileio.c (insert-buffer-contents): Call
        undo-auto--undoably-changed-buffers before changes.
      
      Addresses Bug#23785.
      
      Do not merge to master as c98bc982 also addresses the same bug.
      8f9c1eda
  28. 04 Jul, 2016 3 commits
    • Michal Nazarewicz's avatar
      Don’t create unnecessary marker in ‘delete-trailing-whitespace’ · dcefd2bb
      Michal Nazarewicz authored
      * lisp/simple.el (delete-trailing-whitespace): If END argument is nil,
      there is no need for the end-marker to be created.
      dcefd2bb
    • Michal Nazarewicz's avatar
      Simplify ‘delete-trailing-whitespace’ by not treating \n as whitespace · 7c6317a0
      Michal Nazarewicz authored
      * lisp/simple.el (delete-trailing-whitespace): Set newline’s character
      syntax to non-whitespace so that ‘\s-’ regular expression does not match
      it.
      
      This simplifies the loop slightly since a simple ‘\s-+$’ can be used and
      as a consequence ‘line-beginning-position’ function does not need to be
      called any longer.
      
      Furthermore, when newline has whitespace syntax, ‘\s-$’ regular
      expression ends up matching empty lins since ‘\s-’ matches newline
      characetr of proceeding line.  This leads to needless loop iterations.
      
      Since previous change to ‘delete-trailing-whitespace’ already introduced
      ‘with-syntax-table’, take advantage of it and also overwrite newline’s
      character syntax.
      7c6317a0
    • Michal Nazarewicz's avatar
      Make ‘delete-trailing-whitespace’ delete spaces after form feed · dc294483
      Michal Nazarewicz authored
      * lisp/simple.el (delete-trailing-whitespace): Treat form fead as
      a non-whitespace character (regradless of whether it’s character syntax
      is whitespace) and delete any whitespace following it instead of leaving
      lines with form feeds completely unchanged.  I.e. a line like "\f " will
      now became "\f".
      dc294483
  29. 03 Jul, 2016 1 commit
  30. 21 Jun, 2016 1 commit
    • Phillip Lord's avatar
      Ensure undo-boundary after all commands · c98bc982
      Phillip Lord authored
      * lisp/simple.el (undo-auto--boundaries): Ensure an undo-boundary after
        every command whether it (apparently) changes the buffer or not.
      
      See Bug#23785 for discussion.
      c98bc982
  31. 11 Jun, 2016 1 commit
  32. 08 Jun, 2016 1 commit
  33. 07 Jun, 2016 1 commit
  34. 28 May, 2016 1 commit