1. 31 Dec, 2014 1 commit
  2. 29 Dec, 2014 3 commits
    • Paul Eggert's avatar
      97311068
    • Paul Eggert's avatar
      system-name's returned value can vary · f9acac75
      Paul Eggert authored
      Also, the system-name variable is now obsolete.
      Fixes Bug#19438.
      * doc/lispref/os.texi (System Environment):
      * etc/NEWS: Document this.
      * doc/misc/efaq.texi:
      (Displaying the current file name in the titlebar):
      * lisp/desktop.el (desktop-save-frameset):
      * lisp/dnd.el (dnd-get-local-file-uri):
      * lisp/gnus/message.el (message-make-fqdn):
      * lisp/gnus/nnvirtual.el (nnvirtual-retrieve-headers)
      (nnvirtual-update-xref-header):
      * lisp/nxml/rng-uri.el (rng-uri-file-name-1):
      * lisp/org/org-clock.el (org-clock-save):
      * src/filelock.c (current_lock_owner):
      * src/xrdb.c (get_environ_db):
      * src/xterm.c (same_x_server):
      * src/xterm.c (x_term_init):
      Prefer (system-name) to system-name, and avoid naming
      locals 'system-name'.
      * doc/misc/smtpmail.texi (Server workarounds): Fix grammar.
      * lisp/startup.el (system-name): Now an obsolete variable.
      * src/editfns.c (cached_system_name): New static var.
      (init_and_cache_system_name): New function.
      (init_editfns, Fsystem_name): Use it.
      (syms_of_editfns): Initialize it and Vsystem_name to the same value.
      * src/sysdep.c [HAVE_SOCKETS]: Don't include <sys/socket.h>, <netdb.h>.
      (h_errno) [TRY_AGAIN && !HAVE_H_ERRNO]: Remove decl.
      (init_system_name) [HAVE_SOCKETS]: Don't canonicalize the name.
      Don't create a new string if the current value is already correct.
      f9acac75
    • Dmitry Gutov's avatar
      Declare many etags command obsolete; update the goto menu · c1eec814
      Dmitry Gutov authored
      * lisp/menu-bar.el (menu-bar-goto-menu): Replace all but one etags item
      with xref ones.
      
      * lisp/progmodes/etags.el (find-tag-other-window)
      (find-tag-other-frame, find-tag-regexp, tags-loop-continue)
      (tags-apropos): Declare obsolete.
      c1eec814
  3. 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
      d143df5a
  4. 26 Dec, 2014 1 commit
  5. 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'.
      (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.
      394ce951
    • 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.
      ac549019
  6. 19 Dec, 2014 1 commit
  7. 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'.
      (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'.
      87f9ec7a
    • 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
      restrictions.
      
      * 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
      files.
      * 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-preserve-size'.
      (window-min-pixel-size, window--preservable-size)
      (window-preserve-size, window-preserved-size)
      (window--preserve-size, window--min-size-ignore-p): New
      functions.
      (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
      doc-string.
      (fit-window-to-buffer): New argument PRESERVE-SIZE.
      47f730e3
    • 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.
      b1978229
    • 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).
      78101c2b
    • NicolasPetton's avatar
      62d7857d
  8. 15 Dec, 2014 1 commit
  9. 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
      Qfontification_functions.
      
      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.
      37139317
    • Cameron Desautels's avatar
      Provide custom-prompt-customize-unsaved-options. · 4c4f970c
      Cameron Desautels authored
      * doc/emacs/custom.texi (Saving Customizations): Mention
      `custom-prompt-customize-unsaved-options'.
      
      * 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.
      (Bug#19328)
      4c4f970c
    • 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.
      49daed60
  10. 13 Dec, 2014 1 commit
  11. 09 Dec, 2014 3 commits
  12. 08 Dec, 2014 2 commits
  13. 07 Dec, 2014 1 commit
  14. 05 Dec, 2014 3 commits
  15. 04 Dec, 2014 1 commit
  16. 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).
      41bb375c
    • Eli Zaretskii's avatar
      etc/NEWS: Mention 'file-tree-walk'. · e148a1ea
      Eli Zaretskii authored
      e148a1ea
  17. 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
       'bidi-find-overridden-directionality'.
      
       etc/NEWS: Mention 'bidi-find-overridden-directionality'.
      dd601050
  18. 01 Dec, 2014 1 commit
  19. 27 Nov, 2014 1 commit
  20. 24 Nov, 2014 1 commit
  21. 23 Nov, 2014 2 commits
  22. 19 Nov, 2014 2 commits
  23. 18 Nov, 2014 1 commit