1. 07 Oct, 2011 1 commit
  2. 20 Aug, 2011 1 commit
  3. 14 Jul, 2011 2 commits
  4. 13 Jul, 2011 1 commit
  5. 07 Jul, 2011 1 commit
  6. 05 Jul, 2011 1 commit
    • Stefan Monnier's avatar
      Fix some uses of switch-to-buffer. · 2dcdbdd9
      Stefan Monnier authored
      * lisp/progmodes/compile.el (compilation-goto-locus):
      * lisp/net/tramp-cmds.el (tramp-append-tramp-buffers):
      * lisp/bs.el (bs-cycle-next, bs-cycle-previous):
      * lisp/bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
      * lisp/bindings.el (mode-line-other-buffer):
      * lisp/autoinsert.el (auto-insert):
      * lisp/arc-mode.el (archive-extract):
      * lisp/abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
      2dcdbdd9
  7. 04 Jul, 2011 1 commit
  8. 11 Jun, 2011 1 commit
    • Martin Rudalics's avatar
      Move/add window-buffer-related functions to window.el. · 9397e56f
      Martin Rudalics authored
      * buffer.c: New Lisp objects Qbuffer_list_update_hook and
      Qclone_number.  Remove external declaration of Qdelete_window.
      (Fbuffer_list): Rewrite doc-string.  Minor restructuring of
      code.
      (Fget_buffer_create, Fmake_indirect_buffer, Frename_buffer): Run
      Qbuffer_list_update_hook if allowed.
      (Fother_buffer): Rewrite doc-string.  Major rewrite for new
      buffer list implementation.
      (other_buffer_safely): New function.
      (Fkill_buffer): Replace call to replace_buffer_in_all_windows by
      calls to replace_buffer_in_windows and
      replace_buffer_in_windows_safely.  Run Qbuffer_list_update_hook
      if allowed.
      (record_buffer): Inhibit quitting and rewrite using quittable
      functions.  Run Qbuffer_list_update_hook if allowed.
      (Frecord_buffer, Funrecord_buffer): New functions.
      (switch_to_buffer_1, Fswitch_to_buffer): Remove.  Move
      switch-to-buffer to window.el.
      (bury-buffer): Move to window.el.
      (Vbuffer_list_update_hook): New variable.
      
      * lisp.h (other_buffer_safely): Add prototype in buffer.c
      section.
      
      * window.h (resize_frame_windows): Move up in code.
      (Fwindow_frame): Remove EXFUN.
      (replace_buffer_in_all_windows): Remove prototype.
      (replace_buffer_in_windows_safely): Add prototype.
      
      * window.c: Declare Qdelete_window static again.  Move down
      declaration of select_count.
      (Fnext_window, Fprevious_window): Rewrite doc-strings.
      (Fother_window): Move to window.el.
      (window_loop): Remove DELETE_BUFFER_WINDOWS and UNSHOW_BUFFER
      cases.  Add REPLACE_BUFFER_IN_WINDOWS_SAFELY case.
      (Fdelete_windows_on, Freplace_buffer_in_windows): Move to
      window.el.
      (replace_buffer_in_windows): Implement by calling
      Qreplace_buffer_in_windows.
      (replace_buffer_in_all_windows): Remove with some functionality
      moved into replace_buffer_in_windows_safely.
      (replace_buffer_in_windows_safely): New function.
      (select_window_norecord, select_frame_norecord): Move in front
      of run_window_configuration_change_hook.  Remove now obsolete
      declarations.
      (Fset_window_buffer): Rewrite doc-string.  Call
      Qrecord_window_buffer.
      (keys_of_window): Move binding for other-window to window.el.
      
      * loadup.el (top-level): Load window before files for the sake
      of replace-buffer-in-windows.
      
      * files.el (read-buffer-to-switch)
      (switch-to-buffer-other-window)
      (switch-to-buffer-other-frame, display-buffer-other-frame): Move
      to window.el.
      
      * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
      (previous-buffer): Move to window.el.
      
      * bindings.el (unbury-buffer): Move to window.el.
      
      * window.el (delete-other-windows-vertically): Move after
      definition of delete-other-windows.
      (other-window, delete-windows-on, replace-buffer-in-windows):
      Move here from window.c.
      (record-window-buffer, unrecord-window-buffer)
      (set-window-buffer-start-and-point, switch-to-prev-buffer)
      (switch-to-next-buffer): New functions.
      (get-next-valid-buffer, last-buffer, next-buffer): Move here
      from simple.el.  Call switch-to-next-buffer.
      (previous-buffer): Move here from simple.el.  Call
      switch-to-prev-buffer.
      (bury-buffer): Move here from buffer.c.  Switch to previous
      buffer when window cannot be deleted.
      (unbury-buffer): Move here from bindings.el.
      (ctl-x-map): Move binding for other-window from window.c to
      here.
      (read-buffer-to-switch, switch-to-buffer-other-window)
      (switch-to-buffer-other-frame): Move here from files.el.
      (normalize-buffer-to-switch-to): New functions.
      (switch-to-buffer): Move here from buffer.c.  Use
      read-buffer-to-switch and normalize-buffer-to-switch-to.
      9397e56f
  9. 28 May, 2011 1 commit
  10. 24 May, 2011 1 commit
  11. 19 Apr, 2011 1 commit
  12. 25 Jan, 2011 1 commit
  13. 15 Jan, 2011 1 commit
  14. 02 Jan, 2011 1 commit
  15. 06 Dec, 2010 1 commit
  16. 19 Oct, 2010 2 commits
  17. 29 Aug, 2010 1 commit
  18. 02 Aug, 2010 2 commits
  19. 28 Jun, 2010 1 commit
    • Chong Yidong's avatar
      * bindings.el (global-map): Bind delete and DEL, the former to · b9229673
      Chong Yidong authored
      delete-forward-char.
      
      * mouse.el (mouse-region-delete-keys): Deleted.
      (mouse-show-mark): Simplify.
      
      * simple.el (delete-active-region): New option.
      (delete-backward-char): Implement in Lisp.
      (delete-forward-char): New command.
      
      * src/cmds.c (Fdelete_backward_char): Move into Lisp.
      b9229673
  20. 29 May, 2010 1 commit
    • Eli Zaretskii's avatar
      Implement bidi-sensitive word movement with arrow keys. · db5dce9d
      Eli Zaretskii authored
       lisp/subr.el (right-arrow-command, left-arrow-command): Move to bindings.el.
       lisp/bindings.el (right-char, left-char): Move from subr.el and
       rename from right-arrow-command and left-arrow-command.
       (right-word, left-word): New functions.
       (global-map) <right>: Bind to right-char.
       (global-map) <left>: Bind to left-char.
       (global-map) <C-right>: Bind to right-word.
       (global-map) <C-left>: Bind to left-word.
      
       doc/emacs/basic.texi (Moving Point): Update due to renaming of commands bound
       to arrows.  Document bidi-aware behavior of C-<right> and C-<left>.
      db5dce9d
  21. 15 May, 2010 1 commit
    • Eli Zaretskii's avatar
      Implement bidi-sensitive movement with arrow keys. · d20e1419
      Eli Zaretskii authored
       src/bidi.c (bidi_paragraph_init): Don't leave alone garbage values
       of bidi_it->paragraph_dir.  Call bidi_initialize if needed.
       src/xdisp.c (Fcurrent_bidi_paragraph_direction): New function.
       (syms_of_xdisp): Defsubr it.
       src/cmds.c (Fforward_char, Fbackward_char): Doc fix.
       src/subr.el (right-arrow-command, left-arrow-command): New functions.
       src/bindings.el (global-map): Bind them to right and left arrow keys.
       etc/NEWS: Mention current-bidi-paragraph-direction
      d20e1419
  22. 01 May, 2010 1 commit
  23. 28 Apr, 2010 1 commit
    • Chong Yidong's avatar
      Unify complete-symbol with completion-at-point. · 48111a85
      Chong Yidong authored
      * bindings.el (complete-symbol): Move into minibuffer.el.
      
      * minibuffer.el (complete-tag): Move from etags.el.  If tags
      completion cannot be performed, return nil instead of signalling
      an error.
      (completion-at-point): Make it an alias for complete-symbol.
      (complete-symbol): Move from bindings.el, and replace with the
      body of completion-at-point.
      
      * progmodes/etags.el (complete-tag): Move to minibuffer.el.
      
      * cedet/semantic.el (semantic-mode): When enabled, add
      semantic-ia-complete-symbol to completion-at-point-functions.
      
      * cedet/semantic/ia.el (semantic-ia-complete-symbol): Return nil
      if Semantic is not active.
      48111a85
  24. 05 Apr, 2010 1 commit
  25. 13 Jan, 2010 1 commit
  26. 05 Dec, 2009 1 commit
  27. 15 Nov, 2009 1 commit
  28. 14 Nov, 2009 1 commit
  29. 11 Nov, 2009 1 commit
    • Dan Nicolaescu's avatar
      * term/x-win.el (x-gtk-stock-map): · 6bdad9ae
      Dan Nicolaescu authored
      * progmodes/vera-mode.el (auto-mode-alist):
      * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
      (inferior-lisp-program, inferior-lisp-load-command):
      * progmodes/hideshow.el (hs-special-modes-alist):
      * progmodes/gud.el (same-window-regexps):
      * progmodes/grep.el (grep-program, find-program, xargs-program):
      * net/telnet.el (same-window-regexps):
      * net/rlogin.el (same-window-regexps):
      * language/ethiopic.el (font-ccl-encoder-alist):
      * vc-sccs.el (vc-sccs-master-templates):
      * vc-rcs.el (vc-rcs-master-templates):
      * subr.el (cl-assertion-failed):
      * simple.el (next-error-overlay-arrow-position):
      * lpr.el (lpr-command):
      * locate.el (locate-ls-subdir-switches):
      * info.el (same-window-regexps, info)
      (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
      * image-mode.el (image-mode, auto-mode-alist):
      * hippie-exp.el (hippie-expand-ignore-buffers):
      * format.el (format-alist):
      * find-dired.el (find-ls-subdir-switches, find-grep-options)
      (find-name-arg):
      * facemenu.el (facemenu-keybindings):
      * dired.el (dired-listing-switches, dired-chown-program):
      * diff.el (diff-switches, diff-command):
      * cus-edit.el (same-window-regexps):
      * bindings.el (mode-line-mule-info)
      (mode-line-buffer-identification): Purecopy strings.
      6bdad9ae
  30. 30 Oct, 2009 1 commit
    • Dan Nicolaescu's avatar
      * puresize.h (BASE_PURESIZE): Increase to 1470000. · ca0a881a
      Dan Nicolaescu authored
      * lread.c (Fload): Purecopy the file name when building Vpreloaded_file_list.
      
      * textmodes/ispell.el (ispell-skip-region-alist):
      * international/mule-conf.el (eight-bit):
      * international/fontset.el (font-encoding-alist):
      * startup.el (pure-space-overflow-message):
      * simple.el (overwrite-mode-textual, overwrite-mode-binary):
      * paths.el (gnus-nntp-service, rmail-spool-directory)
      (term-file-prefix):
      * files.el (save-some-buffers-action-alist):
      * cmuscheme.el (same-window-buffer-names):
      * ielm.el (same-window-buffer-names):
      * shell.el (same-window-buffer-names):
      * mail/sendmail.el (same-window-buffer-names):
      * progmodes/inf-lisp.el (same-window-buffer-names):
      * bindings.el (mode-line-client)
      (mode-line-column-line-number-mode-map):
      * language/tibetan.el (tibetan-precomposition-rule-regexp)
      (tibetan-precomposed-regexp): Purecopy string arguments.
      ca0a881a
  31. 26 Oct, 2009 1 commit
    • Dan Nicolaescu's avatar
      * textmodes/tex-mode.el (tex-dvi-view-command) · a7610c52
      Dan Nicolaescu authored
      (tex-show-queue-command, tex-open-quote):
      * progmodes/ruby-mode.el (auto-mode-alist)
      (interpreter-mode-alist): Purecopy strings.
      
      * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
      
      * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
      string for the hook, keymap and abbrev table.
      
      * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
      
      * x-dnd.el (x-dnd-xdnd-to-action):
      * startup.el (fancy-startup-text, fancy-about-text): Change to
      defconst from defvar.
      
      * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
      
      * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
      Purecopy initialization strings.
      
      * mail/sendmail.el (mail-header-separator)
      (mail-personal-alias-file):
      * mail/rmail.el (rmail-default-dont-reply-to-names)
      (rmail-ignored-headers, rmail-retry-ignored-headers)
      (rmail-highlighted-headers, rmail-secondary-file-directory)
      (rmail-secondary-file-regexp):
      * files.el (null-device, file-name-invalid-regexp)
      (locate-dominating-stop-dir-regexp)
      (inhibit-first-line-modes-regexps): Purecopy initialization
      strings.
      (interpreter-mode-alist): Use mapcar instead of mapc.
      
      * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
      
      * bindings.el (mode-line-major-mode-keymap): Purecopy name.
      (completion-ignored-extensions):
      (debug-ignored-errors): Purecopy strings.
      a7610c52
  32. 23 Oct, 2009 2 commits
    • Dan Nicolaescu's avatar
    • Dan Nicolaescu's avatar
      * puresize.h (BASE_PURESIZE): Increase to 1430000. · 8f43cbf3
      Dan Nicolaescu authored
      * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
      (color-name-rgb-alist, tty-standard-colors)
      (tty-color-mode-alist): Change to defconst.
      
      * simple.el (mark-inactive): Purecopy message.
      
      * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
      (global-map, yank-menu):
      * textmodes/ispell.el (ispell-menu-map):
      * net/eudc.el (eudc-tools-menu):
      * international/mule-cmds.el (describe-language-environment-map)
      (setup-language-environment-map, set-coding-system-map)
      (mule-menu-keymap):
      * vc-hooks.el (vc-menu-entry, vc-menu-map):
      * replace.el (occur-mode-map):
      * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
      
      * bindings.el (propertized-buffer-identification): Purecopy
      tooltip text.
      8f43cbf3
  33. 19 Oct, 2009 1 commit
  34. 15 Oct, 2009 1 commit
  35. 21 Sep, 2009 1 commit
    • Chong Yidong's avatar
      * cedet/semantic.el: Add autoloads for semantic/idle functions. · af7b5a91
      Chong Yidong authored
      * cedet/semantic/util.el (semantic--completion-cache): New var.
      (semantic-symbol-start, semantic-find-tag-for-completion)
      (semantic-complete-symbol): New functions, adapted from Senator.
      
      * bindings.el (complete-symbol): Try semantic-complete-symbol if
      no tag table is active.
      
      * cedet/semantic/idle.el (define-semantic-idle-service): Doc fix.
      af7b5a91
  36. 14 Sep, 2009 1 commit