1. 28 May, 2015 2 commits
  2. 27 May, 2015 3 commits
  3. 25 May, 2015 2 commits
    • Philipp Stephani's avatar
      * lisp/term/xterm.el: Add gui-get-selection support via OSC-52 · 816a2b36
      Philipp Stephani authored
      (xterm--extra-capabilities-type): Add `getSelection'.
      (xterm--query): Add `no-async' argument.
      (xterm--init-activate-get-selection): New function.
      (terminal-init-xterm): Use it.
      (xterm--init-modify-other-keys): Rename from
      (xterm--init-bracketed-paste-mode): Rename from
      (xterm--init-activate-set-selection): Rename from
      (xterm--selection-char): New function.
      (gui-backend-set-selection): Use it.  Use the &context to only apply
      this method in terminals where we enabled the feature.
      (gui-backend-get-selection): New method.
    • Paul Eggert's avatar
      Make TAGS files more portable to MS-Windows · 1efdf7fe
      Paul Eggert authored
      * etc/NEWS: Document this.
      * lib-src/etags.c (readline_internal) [DOS_NT]:
      Don't treat CRs differently from GNUish hosts.
      * lisp/progmodes/etags.el (etags-goto-tag-location):
      Adjust STARTPOS to account for the skipped CRs in dos-style files.
  4. 24 May, 2015 1 commit
    • Artur Malabarba's avatar
      * lisp/emacs-lisp/tabulated-list.el: New optional print method · c205098b
      Artur Malabarba authored
      (tabulated-list-print): New optional argument, UPDATE.  If
      non-nil, the list is printed by only adding and deleting the
      changed entries, instead of erasing the whole buffer.  This method
      is much faster when few or no entries have changed.
      * doc/lispref/modes.texi (Tabulated List Mode): Document it.
      * etc/NEWS: Document it.
  5. 21 May, 2015 1 commit
    • kwhite's avatar
      * lisp/erc/erc.el: Hide network/channel messages · fdad3350
      kwhite authored
      (erc-network-hide-list, etc-channel-hide-list): New lists to define
      message types per network/channel.
      (erc-add-targets): New function to parse list of targets
      (erc-hide-current-message-p): Modified to check for new targets
  6. 20 May, 2015 1 commit
    • Martin Rudalics's avatar
      Improve `switch-to-buffer' in strongly dedicated windows (Bug#20472) · 31d58d45
      Martin Rudalics authored
      * lisp/window.el (switch-to-buffer-in-dedicated-window): New option.
      (switch-to-buffer): If the selected window is strongly dedicated
      to its buffer, signal error before prompting for buffer name.  Handle
      `switch-to-buffer-in-dedicated-window'.  (Bug#20472)
      * doc/lispref/windows.texi (Switching Buffers): Document
  7. 19 May, 2015 1 commit
  8. 17 May, 2015 2 commits
    • Samer Masterson's avatar
      * lisp/eshell/em-term.el (eshell-term-sentinel): · 76f2d19e
      Samer Masterson authored
      No-op by default, only kills term buffer if
      `eshell-destroy-buffer-when-process-dies' is non-nil.  (Bug#18108)
      (eshell-destroy-buffer-when-process-dies): New custom to preserve
      previous behavior.
    • Samer Masterson's avatar
      eshell: Introduce new buffer syntax · e37da5a4
      Samer Masterson authored
      The new buffer syntax '#<buffer-name>' is equivalent to '#<buffer
      buffer-name>'.  Remove `eshell-buffer-shorthand', as it is no longer
      needed (Bug#19319).
      * lisp/eshell/esh-io.el (eshell-buffer-shorthand): Remove.
      (eshell-get-target): Remove shorthand-specific code.
      * lisp/eshell/esh-arg.el (eshell-parse-special-reference): Parse
  9. 16 May, 2015 1 commit
  10. 13 May, 2015 2 commits
    • Glenn Morris's avatar
      ; * etc/NEWS: Small edit. · a8a0be4f
      Glenn Morris authored
    • Glenn Morris's avatar
      Add basic VC push support. · 660c30cc
      Glenn Morris authored
      * lisp/vc/vc.el (vc-push): New autoloaded command.
      * lisp/vc/vc-hooks.el (vc-prefix-map, vc-menu-map): Add vc-push.
      * lisp/vc/vc-bzr.el (vc-bzr--pushpull): New, factored from vc-bzr-pull.
      (vc-bzr-pull): Reimplement using vc-bzr--pushpull.
      (vc-bzr-push): New.
      * lisp/vc/vc-git.el (vc-git--pushpull): New, factored from vc-git-pull.
      (vc-git-pull): Reimplement using vc-git--pushpull.
      (vc-git-push): New.
      * lisp/vc/vc-hg.el (vc-hg--pushpull): New, factored from vc-hg-pull.
      (vc-hg-pull, vc-hg-push): Reimplement using vc-hg--pushpull.
      * doc/emacs/maintaining.texi (Pulling / Pushing):
      Rename from "VC Pull".  Mention pushing.
      (VC With A Merging VCS, VC Change Log): Update xrefs.
      (Branches): Update menu.
      * doc/emacs/emacs.texi: Update menu.
      * etc/NEWS: Mention this.
  11. 11 May, 2015 1 commit
    • Paul Eggert's avatar
      C-x 8 shorthands for curved quotes, Euro, etc. · 4b41540b
      Paul Eggert authored
      Although C-x 8 lets you insert arbitrary Unicode characters,
      it's awkward to use this to insert commonly used symbols such as curved
      quotes, the Euro symbol, etc.  This patch adds simpler sequences for
      characters commonly found in English text and in basic math.
      For example, assuming the Alt key works on your keyboard and iso-transl
      is loaded, one can now type "A-[" instead of "A-RET LEFT SIN TAB RET"
      to get the character "‘" (U+2018 LEFT SINGLE QUOTATION MARK).
      * doc/emacs/mule.texi (Unibyte Mode):
      A few other printing characters now work too.
      * etc/NEWS: Document this.
      * lisp/international/iso-transl.el (iso-transl-char-map):
      Also support the following characters:
      ‐ ‑ ‒ – — ― ‘ ’ “ ” † ‡ • ′ ″ € № ← →  − ≈ ≠ ≤ ≥
  12. 08 May, 2015 1 commit
  13. 07 May, 2015 2 commits
    • Artur Malabarba's avatar
      * etc/NEWS: Fix typo in commit 14bb519f · ead05a1c
      Artur Malabarba authored
    • Artur Malabarba's avatar
      * lisp/emacs-lisp/package.el: New "external" package status · 14bb519f
      Artur Malabarba authored
      An external package is any installed package that's not built-in
      and not from `package-user-dir', which usually means it's from an
      entry in `package-directory-list'.  They are treated much like
      built-in packages, in that they cannot be through the Package Menu
      deleted and are not considered for upgrades.
      (package-desc-status): Identify if a package is installed outside
      (package-menu--status-predicate): Add support for it.
      * etc/NEWS: Document it.
  14. 06 May, 2015 1 commit
  15. 04 May, 2015 1 commit
  16. 01 May, 2015 1 commit
  17. 28 Apr, 2015 1 commit
  18. 27 Apr, 2015 2 commits
    • Stefan Monnier's avatar
      * lisp/saveplace.el (save-place-mode): New minor mode. · 9c3e1e4e
      Stefan Monnier authored
      (save-place): Redefine as an obsolete alias.
    • Stefan Monnier's avatar
      * lisp/midnight.el: Make it a minor mode. Allow predicates. · c603274f
      Stefan Monnier authored
      * lisp/midnight.el: Use lexical-binding.
      (midnight-mode): Make it a proper minor mode.
      (midnight-buffer-display-time): Make arg non-optional.
      (midnight-find): Remove.
      (clean-buffer-list-kill-regexps): Tweak type for new function choice.
      (clean-buffer-list-delay): Allow clean-buffer-list-kill-regexps to
      contain functions.
      (clean-buffer-list): Use cl-find.
      Allow clean-buffer-list-kill-never-regexps to contain functions.
  19. 25 Apr, 2015 1 commit
  20. 22 Apr, 2015 1 commit
    • Oleh Krehel's avatar
      Add a new `inhibit-message' variable · df61b078
      Oleh Krehel authored
      * src/xdisp.c (syms_of_xdisp): Define a boolean `inhibit_message'.
      (message3): Don't call `message3_nolog' (i.e. use the Echo Area) when
      `inhibit_message' is non-zero.
      * etc/NEWS: Add an entry.
      * doc/lispref/display.texi: Add an entry for `inhibit-message',
        mention it in `message'.
  21. 21 Apr, 2015 1 commit
    • Stefan Monnier's avatar
      Fix byte-compiler warnings about looking-back. · c9a75a40
      Stefan Monnier authored
      * lisp/vc/log-view.el (log-view-end-of-defun-1):
      * lisp/textmodes/tex-mode.el (latex-forward-sexp-1):
      * lisp/textmodes/reftex-ref.el (reftex-goto-label):
      * lisp/textmodes/bibtex.el (bibtex-insert-kill):
      * lisp/progmodes/sh-script.el (sh--maybe-here-document):
      * lisp/progmodes/ruby-mode.el (ruby-end-of-defun):
      * lisp/progmodes/ada-mode.el (ada-in-numeric-literal-p):
      * lisp/org/org.el (org-insert-heading, org-sort-entries):
      * lisp/org/org-mouse.el (org-mouse-end-headline)
      * lisp/org/org-clock.el (org-clock-cancel):
      * lisp/man.el (Man-default-man-entry):
      * lisp/mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text)
      * lisp/mail/footnote.el (Footnote-delete-footnote):
      * lisp/mail/emacsbug.el (report-emacs-bug):
      * lisp/info.el (Info-follow-reference, Info-fontify-node):
      * lisp/info-look.el (info-lookup-guess-custom-symbol):
      * lisp/help-fns.el (help-fns--key-bindings):
      * lisp/files.el (hack-local-variables):
      * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-cmd-complete)
      (viper-get-ex-pat, ex-expand-filsyms, viper-get-ex-file)
      * lisp/emulation/viper-cmd.el (viper-backward-indent):
      * lisp/emacs-lisp/lisp-mode.el (calculate-lisp-indent):
      * lisp/emacs-lisp/elint.el (elint-get-top-forms):
      * lisp/cus-edit.el (custom-face-edit-value-create):
      * lisp/calendar/todo-mode.el (todo-set-item-priority)
      (todo-filter-items-1, todo-convert-legacy-files)
      (todo-prefix-overlays): Add explicit second arg to looking-back.
  22. 20 Apr, 2015 1 commit
  23. 19 Apr, 2015 2 commits
  24. 16 Apr, 2015 1 commit
  25. 15 Apr, 2015 2 commits
    • Glenn Morris's avatar
    • Paul Eggert's avatar
      Make [:graph:] act like [:print:] sans space · a122a027
      Paul Eggert authored
      In POSIX [[:print:]] is equivalent to [ [:graph:]], so change
      [:graph:] so that it matches everything that [:print:] does,
      except for space.
      * doc/lispref/searching.texi (Char Classes):
      * etc/NEWS:
      * lisp/emacs-lisp/rx.el (rx):
      Document [:graph:] to be [:print:] sans ' '.
      * src/character.c, src/character.h (graphicp): New function.
      * src/regex.c (ISGRAPH) [emacs]: Use it.
      (BIT_GRAPH): New macro.
      (BIT_PRINT): Increase to 0x200, to make room for BIT_GRAPH.
      (re_wctype_to_bit) [! WIDE_CHAR_SUPPORT]:
      Return BIT_GRAPH for RECC_GRAPH.
      (re_match_2_internal) [emacs]: Use ISGRAPH if BIT_GRAPH,
      and ISPRINT if BIT_PRINT.
  26. 14 Apr, 2015 2 commits
    • Eli Zaretskii's avatar
      Make [:print:] support non-ASCII characters correctly · 6c284c6b
      Eli Zaretskii authored
      * src/regex.c (ISPRINT): Call 'printablep' for multibyte characters.
      (BIT_PRINT): New bit mask.
      (re_wctype_to_bit): Return BIT_PRINT for RECC_PRINT.
      * src/character.c (printablep): New function.
      * src/character.h (printablep): Add prototype.
      * lisp/emacs-lisp/rx.el (rx): Doc fix: document the new behavior
      of 'print', 'alnum', and 'alphabetic'.
      * doc/lispref/searching.texi (Char Classes): Document the new
      behavior of [:print:].
      * etc/NEWS: Mention the new behavior of [:print:].
    • Dmitry Gutov's avatar
      Change diff-switches default to `-u' · a9ccfaef
      Dmitry Gutov authored
      Fixes: debbugs:20290
      * doc/emacs/files.texi (Comparing Files): Document the new default
      value of `diff-switches'.
      * doc/emacs/trouble.texi (Sending Patches): Document the preference
      for unified diff format.  Escape the plus in the suggested `-F' regexp
      * lisp/vc/diff.el (diff-switches): Change the default to `-u'.
  27. 13 Apr, 2015 3 commits
    • Stefan Monnier's avatar
      Deprecate `intangible' and `point-entered' properties · 84e0b7da
      Stefan Monnier authored
      * lisp/emacs-lisp/cursor-sensor.el: New file.
      * lisp/simple.el (pre-redisplay-functions): New hook.
      (redisplay--pre-redisplay-functions): New function.
      (pre-redisplay-function): Use it.
      (minibuffer-avoid-prompt): Mark obsolete.
      (redisplay--update-region-highlight): Adapt it to work as a function on
      * lisp/cus-start.el (minibuffer-prompt-properties--setter): New fun.
      (minibuffer-prompt-properties): Use it.  Use cursor-intangible rather
      than point-entered to make the prompt intangible.
      * lisp/forms.el: Move `provide' calls to the end.
      (forms-mode): Don't use `run-hooks' on a local var.
      (forms--make-format, forms--make-format-elt-using-text-properties):
      Use cursor-intangible rather than `intangible'.
      (forms-mode): Enable cursor-intangible-mode.
      * lisp/isearch.el (isearch-mode): Use defvar-local.
      (cursor-sensor-inhibit): Declare.
      (isearch-mode): Set cursor-sensor-inhibit.
      (isearch-done): Set it back.
      (isearch-open-overlay-temporary, isearch-open-necessary-overlays)
      (isearch-close-unnecessary-overlays): Don't bother with `intangible'
      any more.
      * lisp/ses.el (ses-localvars): Remove `mode-line-process'.
      (ses-sym-rowcol, ses-cell-value, ses-col-width, ses-col-printer):
      Add Edebug spec.
      (ses-goto-print, ses-print-cell, ses-adjust-print-width)
      (ses-goto-data, ses-setup, ses-copy-region): Don't let-bind
      inhibit-point-motion-hooks any more.
      (ses--cell-at-pos, ses--curcell): New functions, extracted from
      (ses-set-curcell): Use them.
      (ses-print-cell, ses-setup): Use cursor-intangible instead of
      `intangible'.  Make sure cursor-intangible isn't sticky at BOB.
      (ses-print-cell-new-width, ses-reprint-all, ses-recalculate-all):
      Use ses--cell-at-pos.
      (ses--mode-line-process, ses--cursor-sensor-highlight): New functions,
      extracted from ses-command-hook.  Make them work with multiple windows
      displaying the same buffer.
      (ses-mode): Use them via mode-line-process and pre-redisplay-functions.
      Enable cursor-intangible-mode.
      (ses-command-hook): Remove cell highlight and mode-line update code.
      (ses-forward-or-insert, ses-copy-region-helper, ses-sort-column):
      Update for new name of text-property holding the cell name.
      (ses-rename-cell): Don't mess with mode-line-process.
      * lisp/erc/erc-stamp.el (erc-add-timestamp): Use the new
      cursor-sensor-functions property instead of point-entered.
      (erc-insert-timestamp-right, erc-format-timestamp):
      Use cursor-intangible rather than `intangible'.
      (erc-munge-invisibility-spec): Use add-to-invisibility-spec and
      remove-from-invisibility-spec.  Enable cursor-intangible-mode and
      cursor-sensor-mode if needed.
      (erc-echo-timestamp): Adapt to calling convention of
      (erc-insert-timestamp-right): Remove unused vars `current-window' and
      * lisp/gnus/gnus-group.el (gnus-tmp-*): Declare.
      (gnus-update-group-mark-positions): Remove unused `topic' var.
      (gnus-group-insert-group-line): Remove unused var `header'.
      (gnus-group--setup-tool-bar-update): New function.
      (gnus-group-insert-group-line): Use it.
      (gnus-group-update-eval-form): Declare local
      dynamically-bound variables.
      (gnus-group-unsubscribe-group): Use \` and \' to match string bounds.
      * lisp/gnus/gnus-topic.el (gnus-topic-jump-to-topic)
      (gnus-group-prepare-topics, gnus-topic-update-topic)
      (gnus-topic-change-level, gnus-topic-catchup-articles)
      (gnus-topic-remove-group, gnus-topic-delete, gnus-topic-indent):
      Use inhibit-read-only.
      (gnus-topic-prepare-topic): Use gnus-group--setup-tool-bar-update.
      (gnus-topic-mode): Use define-minor-mode and derived-mode-p.
      * lisp/textmodes/reftex-index.el (reftex-display-index):
      Use cursor-intangible-mode if available.
      (reftex-index-post-command-hook): Check cursor-intangible.
      * lisp/textmodes/reftex-toc.el (reftex-toc):
      Use cursor-intangible-mode if available.
      (reftex-toc-recenter, reftex-toc-post-command-hook):
      Check cursor-intangible.
      * lisp/textmodes/sgml-mode.el: Use lexical-binding.
      (sgml-tag): Use cursor-sensor-functions instead of point-entered.
      (sgml-tags-invisible): Use with-silent-modifications and
      inhibit-read-only.  Enable cursor-sensor-mode.
      (sgml-cursor-sensor): Rename from sgml-point-entered and adjust to
      calling convention of cursor-sensor-functions.
      * lisp/textmodes/table.el (table-cell-map-hook, table-load-hook)
      (table-point-entered-cell-hook, table-point-left-cell-hook):
      Don't autoload.
      (table-cell-entered-state): Remove var.
      Use cursor-sensor-functions rather than point-entered/left.
      (table--point-entered/left-cell-function): Merge
      table--point-entered-cell-function and table--point-left-cell-function
      and adjust to calling convention of cursor-sensor-functions.
    • Stefan Monnier's avatar
    • Stefan Monnier's avatar
      Collapse successive char deletions in the undo log · 5729f459
      Stefan Monnier authored
      * src/cmds.c (remove_excessive_undo_boundaries): New function,
      extracted from Fself_insert_command.
      (Fdelete_char, Fself_insert_command): Use it.
      * src/fileio.c (Fmake_symbolic_link): Rename arg to `target'.
      * src/keyboard.c (syms_of_keyboard): `top-level' shouldn't be special.