1. 10 Sep, 2011 12 commits
    • 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
    • Chong Yidong's avatar
      Fix info and customize *-other-window commands. · 919a69aa
      Chong Yidong authored
      * lisp/cus-edit.el (customize-group): New argument.
      (customize-group-other-window): Use it.
      (customize-face, customize-face-other-window): Likewise.
      (custom-buffer-create-other-window): Use pop-to-buffer directly.
      
      * lisp/info.el (info-setup): New function.
      (info-other-window, info): Call it.
      919a69aa
    • Paul Eggert's avatar
      * buffer.h: Include <sys/types.h> instead of <time.h>. · dfb3f755
      Paul Eggert authored
      Otherwise, off_t wasn't defined on FreeBSD 9.0-BETA2 i386.
      Problem reported by Herbert J. Skuhra.
      dfb3f755
    • Chong Yidong's avatar
    • Chong Yidong's avatar
      Tweaks to display-buffer default actions; remove same-window-* autoload forms. · 8319e0bf
      Chong Yidong authored
      * lisp/window.el (display-buffer-alist): Add entry for buffers
      previously handled same-window-*.
      (display-buffer-alist, display-buffer-default-action)
      (display-buffer-overriding-action): Mark as risky.
      (display-buffer-alist): Document action function changes.
      (display-buffer--same-window-action)
      (display-buffer--other-frame-action): New variables.
      (switch-to-buffer, display-buffer-other-frame): Use them.
      (display-buffer): Rename reuse-frame entry to reusable-frames.
      (display-buffer-reuse-selected-window): Function deleted.
      (display-buffer-reuse-window): Handle reusable-frames alist entry.
      If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
      (display-buffer-special): New function.
      (display-buffer--maybe-pop-up-frame-or-window): Rename from
      display-buffer-reuse-or-pop-window.  Split off special-display
      part into display-buffer-special.
      (display-buffer-use-some-window): Don't perform any special
      pop-up-frames handling.
      (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
      
      * lisp/cmuscheme.el:
      * lisp/ielm.el:
      * lisp/shell.el:
      * lisp/mail/sendmail.el:
      * lisp/progmodes/inf-lisp.el: Don't set same-window-buffer-names.
      
      * lisp/cus-edit.el:
      * lisp/info.el:
      * lisp/net/rlogin.el:
      * lisp/net/telnet.el:
      * lisp/progmodes/gud.el: Don't set same-window-regexps.
      8319e0bf
    • Lars Magne Ingebrigtsen's avatar
    • Andreas Schwab's avatar
      8d903f4e
    • Eli Zaretskii's avatar
      Prevent sluggish bidi redisplay in small windows. · 80ad64f4
      Eli Zaretskii authored
       src/xdisp.c (MAX_DISP_SCAN): Decrease to 250.  Prevents sluggish
       redisplay in small windows.
      80ad64f4
    • Juri Linkov's avatar
      Fix docstrings in lisp/isearch.el. · 25173000
      Juri Linkov authored
      * lisp/isearch.el (isearch-edit-string): Remove obsolete mention of
      `C-w' (`isearch-yank-word-or-char') from docstring.
      (isearch-query-replace): Fix typo in docstring.
      
      Fixes: debbugs:9466
      25173000
    • Juri Linkov's avatar
      * lisp/paren.el (show-paren-function): Don't show escaped parens. · 056e44ef
      Juri Linkov authored
      Let-bind `unescaped' to `t' when paren is not escaped.
      
      Fixes: debbugs:9461
      056e44ef
    • Eli Zaretskii's avatar
      Add to sendmail.el a new command mail-add-attachment. · c3760c17
      Eli Zaretskii authored
       etc/NEWS: Document the new command and the alias for mail-insert-file.
       lisp/mail/sendmail.el (mml-to-mime, mml-attach-file)
       (mm-default-file-encoding): Remove autoload forms, they are
       replaced with autoload cookies in mml.el and mm-encode.el.
       (mail-add-attachment): New command.
       (mail-mode-map): Add a menu-bar item for mail-add-attachment.
       (mail-mode): Mention mail-insert-file and mail-add-attachment in
       the doc string.
       (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
       lisp/gnus/mm-encode.el (mm-default-file-encoding): Add autoload cookie.
       lisp/gnus/mml.el (mml-to-mime, mml-attach-file): Add autoload cookies.
       doc/emacs/sending.texi (Mail Misc): Document mail-add-attachment.
      c3760c17
    • Reuben Thomas's avatar
  2. 09 Sep, 2011 9 commits
  3. 08 Sep, 2011 6 commits
  4. 07 Sep, 2011 13 commits