1. 27 Jun, 2012 1 commit
    • Stefan Monnier's avatar
      Get rid of all the manual purecopy calls in menu-bar definitions. · 1ec4b7b2
      Stefan Monnier authored
      * lisp/loadup.el (purify-flag): Pre-grow the hash-table to reduce the
      memory use.
      * lisp/bindings.el (bindings--define-key): New function.
      * lisp/vc/vc-hooks.el, lisp/replace.el, lisp/menu-bar.el:
      * lisp/international/mule-cmds.el, lisp/emacs-lisp/lisp-mode.el:
      * lisp/buff-menu.el, lisp/bookmark.el:
      * bindings.el: Use it to purecopy define-key bindings.
      * src/fns.c (maybe_resize_hash_table): Output message when growing the
      purify-hashtable.
      1ec4b7b2
  2. 28 Mar, 2012 1 commit
    • Glenn Morris's avatar
      Doc and lispref updates related to searching · fee88ca0
      Glenn Morris authored
      * doc/lispref/searching.texi (Regexp Functions, Regexp Search):
      (Simple Match Data, Saving Match Data, Standard Regexps): Copyedits.
      (Regexp Functions): Mention regexp-opt is not guaranteed.
      Mention regexp-opt-charset.
      (Regexp Search): Recommend against looking-back.
      (Search and Replace): Use Texinfo recommended quote convention.
      Add more query-replace-map items.  List multi-query-replace-map items.
      
      * lisp/replace.el (query-replace-map): Doc fix.
      
      * admin/FOR-RELEASE: Related markup.
      fee88ca0
  3. 11 Mar, 2012 1 commit
  4. 23 Feb, 2012 1 commit
  5. 11 Jan, 2012 1 commit
  6. 05 Jan, 2012 1 commit
  7. 27 Nov, 2011 1 commit
  8. 20 Nov, 2011 1 commit
  9. 19 Sep, 2011 1 commit
    • Leo Liu's avatar
      Fixes for Occur Edit mode. · 08d355e3
      Leo Liu authored
      * replace.el (occur-revert-arguments): Make it permanent-local.
      (occur-mode): Don't call font-lock-defontify.
      08d355e3
  10. 17 Sep, 2011 1 commit
    • Chong Yidong's avatar
      * lisp/replace.el (occur-mode-map): Rebind occur-edit-mode to "e". · 8c0f49f0
      Chong Yidong authored
      (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
      occur-mode-display-occurrence.
      (occur-edit-mode): Add usage message.
      (occur-cease-edit): New command.
      (occur-after-change-function): Use text properties to find the
      position of the prefix text.
      (occur-engine): Set stickiness of prefix text properties.
      
      Fixes: debbugs:8463
      8c0f49f0
  11. 14 Sep, 2011 1 commit
  12. 10 Sep, 2011 1 commit
    • Chong Yidong's avatar
      Fix various uses of display-buffer and pop-to-buffer · 3199b96f
      Chong Yidong authored
      to avoid using special-display-* and same-window-* variables.
      
      * lisp/buff-menu.el (Buffer-menu-switch-other-window): Use second arg
      of display-buffer.
      (Buffer-menu-2-window): Use switch-to-buffer-other-window.
      
      * lisp/replace.el (occur-mode-goto-occurrence)
      (occur-mode-display-occurrence) Use second arg of pop-to-buffer
      and display-buffer.
      
      * lisp/window.el (display-buffer-alist): Add *Python*.
      
      * lisp/mail/reporter.el (reporter-submit-bug-report): Use second arg of
      display-buffer.
      
      * lisp/mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
      special-display and same-window variables.
      (mail-other-window): Use switch-to-buffer-other-window.
      (mail-other-frame): USe switch-to-buffer-other-frame.
      
      * lisp/progmodes/gdb-mi.el (gdb-frame-gdb-buffer): Use
      display-buffer-other-frame.
      (gdb-display-gdb-buffer): Use pop-to-buffer.
      
      * lisp/progmodes/gud.el (gud-goto-info): Use info-other-window.
      
      * lisp/progmodes/python.el: Don't set same-window-buffer-names.
      
      * lisp/textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
      3199b96f
  13. 02 Jul, 2011 1 commit
  14. 28 May, 2011 1 commit
    • Leo Liu's avatar
      New major mode: Occur Edit mode. · 60e56523
      Leo Liu authored
      * lisp/replace.el (occur-menu-map, occur-edit-mode-map): New vars.
      (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
      (occur-edit-mode): New major mode (Bug#8463).
      (occur-after-change-function): New function.
      (occur-engine): Give Occur tags a read-only property.
      60e56523
  15. 19 Apr, 2011 1 commit
  16. 08 Apr, 2011 1 commit
  17. 23 Feb, 2011 1 commit
  18. 10 Feb, 2011 1 commit
    • Stefan Monnier's avatar
      Move keymap initialization into declaration. · b016851c
      Stefan Monnier authored
      * lisp/textmodes/enriched.el (enriched-mode-map):
      * lisp/textmodes/bib-mode.el (bib-mode-map):
      * lisp/term/lk201.el (lk201-function-map):
      * lisp/tar-mode.el (tar-mode-map):
      * lisp/replace.el (occur-mode-map):
      * lisp/progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
      * lisp/progmodes/idlw-help.el (idlwave-help-mode-map):
      * lisp/progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
      * lisp/play/solitaire.el (solitaire-mode-map):
      * lisp/play/snake.el (snake-mode-map, snake-null-map):
      * lisp/play/pong.el (pong-mode-map):
      * lisp/play/handwrite.el (menu-bar-handwrite-map):
      * lisp/play/gametree.el (gametree-mode-map):
      * lisp/net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map
      (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
      * lisp/net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
      (newsticker--url-keymap):
      * lisp/net/net-utils.el (nslookup-mode-map, ftp-mode-map):
      * lisp/menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
      (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
      (menu-bar-edit-menu, menu-bar-custom-menu)
      (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
      (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
      (menu-bar-line-wrapping-menu, menu-bar-options-menu)
      (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
      (menu-bar-tools-menu, menu-bar-describe-menu)
      (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
      (menu-bar-help-menu):
      * lisp/mail/rmailsum.el (rmail-summary-mode-map):
      * lisp/kmacro.el (kmacro-step-edit-map):
      * lisp/ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
      (ibuffer-mode-operate-map):
      * lisp/hi-lock.el (hi-lock-menu, hi-lock-map):
      * lisp/emulation/vip.el (vip-mode-map):
      * lisp/emacs-lisp/re-builder.el (reb-lisp-mode-map):
      * lisp/bookmark.el (bookmark-bmenu-mode-map):
      * lisp/help-mode.el (help-mode-map):
      * lisp/erc/erc-list.el (erc-list-menu-mode-map):
      * lisp/org/org-remember.el (org-remember-mode-map):
      * lisp/org/org-src.el (org-src-mode-map): Move initialization into declaration.
      b016851c
  19. 01 Feb, 2011 1 commit
    • Sam Steingold's avatar
      * lisp/simple.el (special-mode-map): Bind "h" to `describe-mode'; · abef340a
      Sam Steingold authored
      bind "z" to `kill-this-buffer'.
      (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
      * lisp/apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
      (apropos-mode): Inherit from `special-mode'.
      * lisp/arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
      * lisp/bookmark.el (bookmark-bmenu-mode): Define using
      `define-derived-mode' inheriting from `special-mode'.
      * lisp/dired.el (dired-mode-map): Inherit from `special-mode-map'.
      * lisp/image-mode.el (image-mode-map): Ditto.
      * lisp/replace.el (occur-mode): Define using
      `define-derived-mode' inheriting from `special-mode'.
      * lisp/tar-mode.el (tar-mode): Inherit from `special-mode'.
      * lisp/calendar/diary-lib.el (diary-fancy-display-mode):
      Inherit from `special-mode-map'.
      * lisp/emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
      Inherit from `special-mode'.
      * lisp/emacs-lisp/package.el (package-menu-mode-map): Copy from
      `special-mode-map'.
      (package-menu-mode): Define using `define-derived-mode'
      inheriting from `special-mode'.
      * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
      * lisp/net/xesam.el (xesam-mode): Inherit from `special-mode'.
      (xesam-mode-map): Define separately.
      * lisp/play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
      * lisp/progmodes/compile.el (compilation-minor-mode-map)
      (compilation-mode-map): Inherit from `special-mode-map'.
      * lisp/vc/diff-mode.el (diff-mode-shared-map):
      Inherit from `special-mode-map'.
      * lisp/vc/log-view.el (log-view-mode-map): Add a comment.
      abef340a
  20. 25 Jan, 2011 1 commit
  21. 15 Jan, 2011 1 commit
  22. 02 Jan, 2011 1 commit
  23. 04 Dec, 2010 1 commit
  24. 29 Aug, 2010 1 commit
  25. 08 Aug, 2010 1 commit
    • Johan Bockgård's avatar
      Fix query-replace-regexp incomplete highlighting (Bug#6808). · e54a1075
      Johan Bockgård authored
      * replace.el (replace-highlight): Bind isearch-forward and
      isearch-error, ensuring that highlighting is updated if the user
      switches the search direction (Bug#6808).
      
      * isearch.el (isearch-lazy-highlight-forward): New var.
      (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
      (isearch-lazy-highlight-update): Use it.
      e54a1075
  26. 20 May, 2010 1 commit
  27. 30 Mar, 2010 3 commits
  28. 23 Mar, 2010 3 commits
  29. 21 Mar, 2010 1 commit
  30. 18 Mar, 2010 1 commit
  31. 13 Jan, 2010 1 commit
  32. 30 Nov, 2009 1 commit
    • Juri Linkov's avatar
      (perform-replace): Let-bind recenter-last-op to nil. · 2952b1ae
      Juri Linkov authored
      For def=recenter, replace `recenter' with `recenter-top-bottom'
      that is called with `this-command' and `last-command' let-bound
      to `recenter-top-bottom'.  When the last `def' was not `recenter',
      set `recenter-last-op' to nil.  (Bug#4981)
      2952b1ae
  33. 12 Nov, 2009 1 commit
    • Dan Nicolaescu's avatar
      * textmodes/ispell.el (ispell-skip-region-alist): · 6d341a2a
      Dan Nicolaescu authored
      * textmodes/css-mode.el (auto-mode-alist):
      * progmodes/compile.el (auto-mode-alist):
      * international/mule.el (ctext-non-standard-encodings-alist)
      (ctext-non-standard-encodings-regexp):
      * simple.el (shell-command-switch, text-read-only):
      * replace.el (occur-mode-map):
      * paths.el (rmail-file-name):
      * jka-cmpr-hook.el (jka-compr-build-file-regexp):
      * find-file.el (ff-special-constructs):
      * files.el (file-name-handler-alist):
      * composite.el: Purecopy strings.
      6d341a2a
  34. 11 Nov, 2009 1 commit
    • Dan Nicolaescu's avatar
      * subr.el (menu-bar-separator): New defconst. · a3c20c83
      Dan Nicolaescu authored
      * replace.el (occur-mode-map):
      * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
      (menu-bar-edit-menu, menu-bar-goto-menu, menu-bar-edit-menu)
      (menu-bar-custom-menu, menu-bar-showhide-menu)
      (menu-bar-options-menu, menu-bar-tools-menu)
      (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
      (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
      (menu-bar-help-menu):
      * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
      * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
      a3c20c83
  35. 23 Oct, 2009 1 commit
    • 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
  36. 12 Aug, 2009 1 commit