1. 28 Dec, 2014 1 commit
    • Juri Linkov's avatar
      Use diff faces for compare-windows · d143df5a
      Juri Linkov authored
      * lisp/vc/compare-w.el: Require diff-mode for diff faces.
      (compare-windows-removed, compare-windows-added): New faces
      inheriting from diff faces.
      (compare-windows): Define obsolete face alias.
      (compare-windows-highlight): Replace face `compare-windows' with
      new faces `compare-windows-added' and `compare-windows-removed'.
      (compare-windows-get-recent-window): Signal an error when
      no other window is found.
      Fixes: debbugs:19451
  2. 26 Dec, 2014 1 commit
  3. 25 Dec, 2014 2 commits
    • Dmitry Gutov's avatar
      Consolidate cross-referencing commands · 394ce951
      Dmitry Gutov authored
      Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
      `C-x 5 .' from etags.el to xref.el.
      * progmodes/xref.el: New file.
      * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
      (elisp--identifier-location): New function, extracted from
      (elisp--company-location): Use it.
      (elisp--identifier-completion-table): New variable.
      (elisp-completion-at-point): Use it.
      (emacs-lisp-mode): Set the local values of `xref-find-function'
      and `xref-identifier-completion-table-function'.
      (elisp-xref-find, elisp--xref-find-definitions)
      (elisp--xref-identifier-completion-table): New functions.
      * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
      favor of `xref--marker-ring'.
      (tags-lazy-completion-table): Autoload.
      (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
      (find-tag-noselect): Use `xref-push-marker-stack'.
      (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
      (etags--xref-limit): New constant.
      (etags-xref-find, etags--xref-find-definitions): New functions.
    • Karl Fogel's avatar
      * etc/NEWS: Mention new buffer display behavior for `shell'. · ac549019
      Karl Fogel authored
      This follows up to Sam Steingold's change of 2014-12-23
      in ../lisp/shell.el, in git commit e55a467e.
  4. 19 Dec, 2014 1 commit
  5. 18 Dec, 2014 5 commits
    • Sam Steingold's avatar
      Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1). · 87f9ec7a
      Sam Steingold authored
      * lisp/mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'.
      (mouse-buffer-menu): Use `mouse-buffer-menu-map'.
      * lisp/menu-bar.el (menu-bar-buffer-vector): Extract from
      (menu-bar-update-buffers): Use `menu-bar-buffer-vector'.
      (buffer-menu-open): New user command, bound globally to C-f10,
      provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1).
      (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to
      convert the value returned by `mouse-buffer-menu-map' to a list
      acceptable to `popup-menu' for `buffer-menu-open'.
    • Martin Rudalics's avatar
      Add code for "preserving" window sizes. · 47f730e3
      Martin Rudalics authored
      * frame.c (frame_windows_min_size): New argument IGNORE.
      (adjust_frame_size): When called from change_frame_size call
      frame_windows_min_size with IGNORE Qt so we can ignore size
      * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
      `preserve-size' t.
      (dired-mark-pop-up): Preserve size of window showing marked
      * electric.el (Electric-pop-up-window):
      * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
      with `preserve-size' t.
      * minibuffer.el (minibuffer-completion-help): Use
      `resize-temp-buffer-window' instead of `fit-window-to-buffer'
      (Bug#19355).  Preserve size of completions window.
      * register.el (register-preview): Preserve size of register
      preview window.
      * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
      with `preserve-size' t (Bug#1291).
      * window.el (with-displayed-buffer-window): Add calls to
      (window-min-pixel-size, window--preservable-size)
      (window-preserve-size, window-preserved-size)
      (window--preserve-size, window--min-size-ignore-p): New
      (window-min-size, window-min-delta, window--resizable)
      (window--resize-this-window, split-window-below)
      (split-window-right): Amend doc-string.
      (adjust-window-trailing-edge): Handle preserving window
      sizes.  Signal user-error instead of an error when there's no
      window above or below.
      (window--min-size-1, window-sizable, window--size-fixed-1)
      (window-size-fixed-p, window--min-delta-1)
      (frame-windows-min-size, window--max-delta-1, window-resize)
      (window--resize-child-windows, window--resize-siblings)
      (enlarge-window, shrink-window, split-window): Handle preserving
      window sizes.
      (window--state-put-2): Handle horizontal scroll bars.
      (window--display-buffer): Call `preserve-size' if asked for.
      (display-buffer): Mention `preserve-size' alist member in
      (fit-window-to-buffer): New argument PRESERVE-SIZE.
    • Eli Zaretskii's avatar
      Allow querying font by name for its height and other info. (Bug#19395) · b1978229
      Eli Zaretskii authored
       src/font.c (Ffont_info): Add more font information to the vector
       returned by the function, inspired by query-font.  Doc fix.
       doc/lispref/display.texi (Low-Level Font): Document font-info and query-font.
       lisp/international/mule-diag.el (describe-font-internal): Display
       additional info returned by font-info.
       lisp/linum.el (linum--face-width): Rename from linum--face-height,
       and use the new functionality of font-info.
       (linum-update-window): Use linum--face-width and frame-char-width,
       instead of approximating with height.
       etc/NEWS: Mention the enhancement in font-info.
    • Stefan Monnier's avatar
      * lisp/subr.el (redisplay-dont-pause): Mark as obsolete. · 78101c2b
      Stefan Monnier authored
      * doc/lispref/display.texi (Forcing Redisplay): Remove references to
      redisplay-dont-pause and redisplay-preemption-period (which doesn't
      even exist).
    • NicolasPetton's avatar
  6. 15 Dec, 2014 1 commit
  7. 14 Dec, 2014 3 commits
    • Alan Mackenzie's avatar
      New feature optionally to accelerate auto-repeated scrolling. · 37139317
      Alan Mackenzie authored
      src/xdisp.c: Remove "static" from declaration of
      src/window.c (window_scroll): bind fontification-functions to nil when
      scrolling by whole screens and fast-but-imprecise-scrolling is non-nil.
      (syms_of_window): New DEFVAR_BOOL fast-but-imprecise-scrolling.
      src/lisp.h (bool): Declare Qfontification_functions extern.
      lisp/cus-start.el (all): Add fast-but-imprecise-scrolling.
      doc/emacs/display.texi (Scrolling): fast-but-imprecise-scrolling.
      Describe new variable.
      etc/NEWS: Add entry for fast-but-imprecise-scrolling.
    • Cameron Desautels's avatar
      Provide custom-prompt-customize-unsaved-options. · 4c4f970c
      Cameron Desautels authored
      * doc/emacs/custom.texi (Saving Customizations): Mention
      * etc/NEWS: Mention `custom-prompt-customize-unsaved-options'.
      * etc/TODO: Remove its entry.
      * lisp/cus-edit.el (custom-prompt-customize-unsaved-options): Add a
      mechanism for prompting user about unsaved customizations.
    • Glenn Morris's avatar
      Remove lib-src/grep-changelog · 49daed60
      Glenn Morris authored
      Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00145.html
      * lib-src/grep-changelog: Remove file.
      * lib-src/Makefile.in (INSTALLABLE_SCRIPTS): Remove.
      (all, install, uninstall): Remove INSTALLABLE_SCRIPTS.
      * doc/man/grep-changelog.1: Remove file.
      * make-dist: No more lib-src/grep-changelog.
      * INSTALL: No longer mention grep-changelog.
      * admin/quick-install-emacs (PUBLIC_LIBSRC_SCRIPTS): Remove, and all uses.
      * admin/authors.el (authors-valid-file-names): Add grep-changelog.
      * etc/NEWS: Mention this.
  8. 13 Dec, 2014 1 commit
  9. 09 Dec, 2014 3 commits
  10. 08 Dec, 2014 2 commits
  11. 07 Dec, 2014 1 commit
  12. 05 Dec, 2014 3 commits
  13. 04 Dec, 2014 1 commit
  14. 03 Dec, 2014 2 commits
    • Stefan Monnier's avatar
      Fixes: debbugs:19250 · 41bb375c
      Stefan Monnier authored
      * lisp/minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
      and change default to stay in the minibuffer when called from
      the minibuffer.
      (lazy-completion-table): Use this new argument to preserve the
      old behavior.
      * lisp/progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
      incorrect lexical elements (bug#19250).
    • Eli Zaretskii's avatar
      etc/NEWS: Mention 'file-tree-walk'. · e148a1ea
      Eli Zaretskii authored
  15. 02 Dec, 2014 1 commit
    • Eli Zaretskii's avatar
      Allow to search for characters whose bidi directionality was overridden. · dd601050
      Eli Zaretskii authored
       src/bidi.c (bidi_find_first_overridden): New function.
       src/xdisp.c (Fbidi_find_overridden_directionality): New function.
       (syms_of_xdisp): Defsubr it.
       src/dispextern.h (bidi_find_first_overridden): Add prototype.
       doc/lispref/display.texi (Bidirectional Display): Document
       etc/NEWS: Mention 'bidi-find-overridden-directionality'.
  16. 01 Dec, 2014 1 commit
  17. 27 Nov, 2014 1 commit
  18. 24 Nov, 2014 1 commit
  19. 23 Nov, 2014 2 commits
  20. 19 Nov, 2014 2 commits
  21. 18 Nov, 2014 1 commit
  22. 17 Nov, 2014 4 commits
    • Michal Nazarewicz's avatar
      tildify.el: introduce a `tildify-foreach-region-function' variable · 1901029f
      Michal Nazarewicz authored
      * textmodes/tildify.el (tildify-foreach-region-function): New
      variable specifying a function determining portions of buffer that
      should be tildified.  It allows major modes to create a filtering
      function more elaborate than a set of regular expressions.
      Initialised to `tildify--deprecated-ignore-evironments' by default
      to handle now deprecated `tildify-ignored-environments-alist'
      (tildify--foreach-region): A new function that takes
      `tildify-foreach-region-function' into account and calls callback
      for regions of the buffer that should be tildified.
      (tildify-foreach-ignore-environments): A new function which can be
      partially applied and used as `tildify-foreach-region-function'.
      (tildify-ignored-environments-alist, tildify--pick-alist-entry):
      Mark as obsolete.
      (tildify--find-env): Rename from `tildify-find-env' and mark as
      (tildify--deprecated-ignore-evironments): New function,
      immediately marked as obsolete, used to handle deprecated
      * textmodes/tex-mode.el (tex-common-initialization): Set
      `tildify-foreach-region-function' variable in all variants of TeX
      mode since `tildify-ignored-environments-alist' variable is now
      empty by default.
      * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
      * textmodes/sgml-mode.el (sgml-mode): Ditto in `sgml-mode'.
    • Michal Nazarewicz's avatar
      tildify.el: introduce a `tildify-pattern' variable · d5ec102b
      Michal Nazarewicz authored
      * textmodes/tildify.el (tildify-pattern): New variable for
      defining tildifying pattern.  Being a buffer-local variable it is
      much easier to handle than `tildify-pattern-alist' that has been
      used so far.  It also works better with derived modes.
      (tildify-pattern-alist): Mark as obsolete.
    • Michal Nazarewicz's avatar
      tildify.el: introduce a `tildify-space-string' variable · b8104090
      Michal Nazarewicz authored
      * textmodes/tildify.el (tildify-space-string): New variable for
      specifying representation of a hard space -- a no-break space by
      default.  Being a buffer-local variable it is much easier to
      handle than `tildify-string-alist' that has been used so far.  It
      also works better with derived modes.
      (tildify-string-alist): Mark as obsolete.
      * textmodes/tex-mode.el (tex-common-initialization): Set
      `tildify-space-string' variable in all variants of TeX mode since
      `tildify-string-alist' is now empty by default.
      * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.  If
      encoding supports it use no-break space instead of character
      entity; this changes previous default which used a numeric
      * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.  If
      encoding does not support no-break space, use numeric reference;
      this changes previous default which used named entity (“ ”)
      in HTML mode.
    • Lars Magne Ingebrigtsen's avatar