1. 22 Sep, 2011 1 commit
  2. 11 Sep, 2011 1 commit
    • Chong Yidong's avatar
      Change modes that used same-window-* vars to use switch-to-buffer. · 37ac18a3
      Chong Yidong authored
      * cmuscheme.el (run-scheme, switch-to-scheme):
      * ielm.el (ielm):
      * shell.el (shell):
      * net/rlogin.el (rlogin):
      * net/telnet.el (telnet, rsh):
      * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
      
      * cus-edit.el (customize-group, custom-buffer-create)
      (customize-browse, custom-buffer-create-other-window): Use
      switch-to-buffer or switch-to-buffer-other-window.
      
      * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
      (Info-prev, Info-up, Info-speedbar-goto-node)
      (info-display-manual): Use switch-to-buffer.
      (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
      
      * lisp/gnus/message.el (message-pop-to-buffer): Default to switch-to-buffer.
      (message-mail-other-window, message-mail-other-frame)
      (message-news-other-window, message-news-other-frame): Use
      switch-to-buffer-other-frame and switch-to-buffer-other-window instead
      of setting buffer display varibles.
      
      * mail/sendmail.el (mail): Use switch-to-buffer.
      (mail-recover): Use switch-to-buffer-other-window.
      
      * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
      Use switch-to-buffer.
      37ac18a3
  3. 10 Sep, 2011 2 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
      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
  4. 03 Sep, 2011 4 commits
  5. 03 Aug, 2011 1 commit
  6. 02 Aug, 2011 1 commit
  7. 11 Jul, 2011 1 commit
  8. 08 Jul, 2011 2 commits
  9. 06 Jul, 2011 2 commits
  10. 29 Jun, 2011 1 commit
  11. 22 Jun, 2011 1 commit
  12. 09 Jun, 2011 1 commit
  13. 01 Jun, 2011 1 commit
    • Stefan Monnier's avatar
      Silence various byte-compiler warnings. · 2403c841
      Stefan Monnier authored
      * lisp/emacs-lisp/byte-run.el (make-obsolete-variable): New argument
      `access-type' and new obsolescence format.
      * lisp/emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
      new format.
      (byte-compile-check-variable): New `access-type' argument.
      Only warn if the access-type is obsolete.
      (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
      (byte-compile-variable-set): Adjust callers.
      * lisp/help-fns.el (describe-variable): Adjust to new obsolescence format.
      * lisp/mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
      setting it as obsolete.
      * lisp/simple.el (minibuffer-completing-symbol):
      * lisp/font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
      access as obsolete.
      * lisp/minibuffer.el (minibuffer-completing-file-name): Don't make it
      obsolete yet.
      * lisp/international/quail.el (quail-mouse-choose-completion): Remove unused
      code referring to obsolete var.
      (quail-choose-completion-string): Remove.
      * lisp/server.el (server-clients-with, server-kill-buffer-query-function)
      (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
      * lisp/proced.el (proced-send-signal):
      * lisp/emacs-lisp/lisp.el (lisp-complete-symbol):
      Replace completion-annotate-function with completion-extra-properties.
      2403c841
  14. 27 May, 2011 1 commit
  15. 23 May, 2011 2 commits
  16. 18 May, 2011 1 commit
    • Glenn Morris's avatar
      Remove lib-src/fakemail.c. · c136e5cd
      Glenn Morris authored
      * lib-src/fakemail.c: Remove file.
      
      * lib-src/Makefile.in (UTILITIES): Remove fakemail${EXEEXT}.
      (fakemail${EXEEXT}): Remove rule.
      
      * lib-src/makefile.w32-in ($(BLD)/fakemail.exe, fakemail)
      ($(BLD)/fakemail.$(O)): Remove.
      
      * lisp/mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
      
      * lisp/mail/feedmail.el: Update commentary.
      
      * doc/emacs/ack.texi (Acknowledgments): Remove fakemail.c.
      
      * etc/NEWS: Mention this.
      
      * INSTALL: Remove fakemail.
      c136e5cd
  17. 13 May, 2011 1 commit
    • Glenn Morris's avatar
      sendmail.el trivia. · 8340026c
      Glenn Morris authored
      * lisp/mail/sendmail.el (sendmail-program): Try executable-find first.
      (sendmail-send-it): sendmail-program cannot be unbound.
      8340026c
  18. 07 May, 2011 1 commit
  19. 15 Apr, 2011 1 commit
    • Stefan Monnier's avatar
      Use completion-at-point for mailalias.el · daca8ba5
      Stefan Monnier authored
      * lisp/mail/mailalias.el: Use lexical-binding.
      (pattern, mailalias-done): Declare dynamic.
      (mail-completion-at-point-function): New function, from mail-complete.
      (mail-complete): Use it.
      (mail-completion-expand): New function.
      (mail-get-names): Use it.
      (mail-directory, mail-directory-process, mail-directory-stream):
      Don't use `pattern' for lexically bound arg.
      * lisp/mail/sendmail.el (mail-mode-map): Use completion-at-point.
      (mail-mode): Setup mailalias completion here instead.
      daca8ba5
  20. 03 Mar, 2011 1 commit
    • Glenn Morris's avatar
      sendmail.el fix for bug#1776. · fb532fe8
      Glenn Morris authored
      * lisp/mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
      (mail-mode): Remove mail-sent-via from the doc.
      (mail-sent-via): Make it obsolete.
      fb532fe8
  21. 25 Jan, 2011 1 commit
  22. 13 Jan, 2011 1 commit
    • Chong Yidong's avatar
      New arg RETURN-ACTION for compose-mail, and related functions. · 25ca2e61
      Chong Yidong authored
      * lisp/mail/sendmail.el (mail-return-action): New var.
      (mail-mode): Make it buffer-local.
      (mail-bury): Obey it.  Move special Rmail window handling to
      rmail-mail-return.
      (mail, mail-setup): New arg RETURN-ACTION.
      (sendmail-user-agent-compose): Move from simple.el.
      
      * lisp/simple.el (sendmail-user-agent-compose): Move to sendmail.el.
      (compose-mail): New arg RETURN-ACTION.
      (compose-mail-other-window, compose-mail-other-frame): Likewise.
      
      * lisp/gnus/gnus-msg.el (gnus-msg-mail): New arg RETURN-ACTION.  Pass it to
      message-mail.
      
      * lisp/gnus/message.el (message-mail): New arg RETURN-ACTION.
      (message-return-action): New var.
      (message-bury): Use it.
      (message-mode): Make it buffer-local.
      (message-send-and-exit): Always call message-bury.
      (message-tool-bar-gnome): Tweak tool-bar items.  Add :vert-only tags.
      
      * lisp/mail/rmail.el (rmail-mail-return): New function.
      (rmail-start-mail): Pass it to compose-mail.
      
      * lisp/mh-e/mh-comp.el (mh-user-agent-compose): New arg RETURN-ACTION.
      25ca2e61
  23. 02 Jan, 2011 1 commit
  24. 14 Dec, 2010 3 commits
    • Glenn Morris's avatar
      Misc sendmail.el. · e758216c
      Glenn Morris authored
      * lisp/mail/sendmail.el: Don't require rmail or mailalias when compiling.
      Require mail-utils.
      (mail-alias-file): Don't autoload.  Doc fix.
      (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
      (mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
      Mark as obsolete, and risky.
      (mail-setup): Simplify.
      e758216c
    • Glenn Morris's avatar
      Make build-mail-aliases an interactive command. · 53aff12a
      Glenn Morris authored
      * lisp/mail/mailalias.el (build-mail-aliases): Make it interactive.
      * lisp/mail/sendmail.el (build-mail-aliases): Update autoload.
      
      * doc/misc/faq.texi (Expanding aliases when sending mail):
      Now build-mail-aliases is interactive.
      53aff12a
    • Glenn Morris's avatar
      Remove some dired.el autoload cookies on defcustoms. · aae4b48c
      Glenn Morris authored
      * lisp/dired.el (dired-trivial-filenames, dired-chown-program)
      (dired-auto-revert-buffer): Remove autoload cookies.
      * lisp/mail/sendmail.el (mail-recover-1): Require 'dired.
      aae4b48c
  25. 27 Nov, 2010 1 commit
    • Glenn Morris's avatar
      sendmail.el trivia. · 82445062
      Glenn Morris authored
      * lisp/mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
      (expand-mail-aliases): Remove unnecessary autoload.
      82445062
  26. 09 Nov, 2010 1 commit
    • Glenn Morris's avatar
      Replace still more end-of-line etc with line-end-position, etc. · 9b026d9f
      Glenn Morris authored
      * lisp/gnus/nnbabyl.el (nnbabyl-request-move-article, nnbabyl-delete-mail)
      (nnbabyl-check-mbox): Use point-at-bol.
      
      * lisp/cedet/semantic/lex.el (semantic-lex-ignore-comments, semantic-flex):
      * lisp/cedet/semantic/grammar.el (semantic-grammar-epilogue):
      * lisp/cedet/ede/speedbar.el (ede-find-nearest-file-line):
      * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
      * lisp/cedet/ede/autoconf-edit.el (autoconf-delete-parameter):
      Use point-at-bol and point-at-eol.
      
      * lisp/vc/emerge.el (emerge-line-number-in-buf):
      * lisp/textmodes/ispell.el (ispell-region):
      * lisp/textmodes/fill.el (current-fill-column):
      * lisp/progmodes/xscheme.el (xscheme-send-current-line):
      * lisp/progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
      * lisp/progmodes/tcl.el (tcl-hairy-scan-for-comment):
      * lisp/progmodes/sh-script.el (sh-handle-prev-do):
      * lisp/progmodes/meta-mode.el (meta-indent-line):
      * lisp/progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
      (idlwave-in-quote):
      * lisp/progmodes/idlw-shell.el (idlwave-shell-current-frame)
      (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
      * lisp/progmodes/fortran.el (fortran-looking-at-if-then):
      * lisp/progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
      * lisp/progmodes/cperl-mode.el (cperl-sniff-for-indent)
      (cperl-find-pods-heres):
      * lisp/progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
      * lisp/net/quickurl.el (quickurl-list-insert):
      * lisp/net/ldap.el (ldap-search-internal):
      * lisp/net/eudc.el (eudc-expand-inline):
      * lisp/mail/sendmail.el (sendmail-send-it):
      * lisp/mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
      * lisp/emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
      (viper-brac-function):
      * lisp/calc/calc-yank.el (calc-do-grab-region):
      * lisp/calc/calc-keypd.el (calc-keypad-press):
      * lisp/term.el (term-move-columns, term-insert-spaces):
      * lisp/speedbar.el (speedbar-highlight-one-tag-line):
      * lisp/simple.el (current-word):
      * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
      * lisp/info.el (Info-find-node-in-buffer-1, Info-follow-reference)
      (Info-scroll-down):
      * lisp/hippie-exp.el (he-line-beg):
      * lisp/epa.el (epa--marked-keys):
      * lisp/dired-aux.el (dired-kill-line, dired-do-kill-lines)
      (dired-update-file-line, dired-add-entry, dired-remove-entry)
      (dired-relist-entry):
      * lisp/buff-menu.el (Buffer-menu-buffer):
      * lisp/array.el (current-line):
      * lisp/allout.el (allout-resolve-xref)
      (allout-latex-verbatim-quote-curr-line):
      Replace yet more uses of end-of-line etc with line-end-position.
      9b026d9f
  27. 06 Nov, 2010 1 commit
    • Glenn Morris's avatar
      Use line-end-position rather than end-of-line, etc. · 5ed619e0
      Glenn Morris authored
      * textmodes/texnfo-upd.el (texinfo-start-menu-description)
      (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
      (texinfo-delete-existing-pointers, texinfo-find-pointer)
      (texinfo-clean-up-node-line, texinfo-insert-node-lines)
      (texinfo-multiple-files-update):
      * textmodes/table.el (table--probe-cell-left-up)
      (table--probe-cell-right-bottom):
      * textmodes/picture.el (picture-tab-search):
      * textmodes/page-ext.el (pages-copy-header-and-position)
      (pages-directory-for-addresses):
      * progmodes/vera-mode.el (vera-get-offset):
      * progmodes/simula.el (simula-calculate-indent):
      * progmodes/python.el (python-pdbtrack-overlay-arrow):
      * progmodes/prolog.el (end-of-prolog-clause):
      * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
      * progmodes/icon.el (indent-icon-exp):
      * progmodes/etags.el (tag-re-match-p):
      * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
      * progmodes/ebnf2ps.el (ebnf-begin-file):
      * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
      (dcl-save-local-variable):
      * play/life.el (life-setup):
      * play/gametree.el (gametree-looking-at-ply):
      * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
      * mail/sendmail.el (mail-mode-auto-fill):
      * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
      * emacs-lisp/edebug.el (edebug-overlay-arrow):
      * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
      * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
      (woman-tab-to-tab-stop, WoMan-warn-ignored):
      * type-break.el (type-break-file-keystroke-count):
      * term.el (term-replace-by-expanded-history-before-point)
      (term-skip-prompt, term-extract-string):
      * speedbar.el (speedbar-edit-line, speedbar-expand-line)
      (speedbar-contract-line, speedbar-toggle-line-expansion)
      (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
      (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
      * sort.el (sort-skip-fields):
      * skeleton.el (skeleton-internal-list):
      * simple.el (line-move-finish, line-move-to-column):
      * shell.el (shell-forward-command):
      * misc.el (copy-from-above-command):
      * makesum.el (double-column):
      * ebuff-menu.el (electric-buffer-update-highlight):
      * dired.el (dired-move-to-end-of-filename):
      * dframe.el (dframe-popup-kludge):
      * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
      * arc-mode.el (archive-get-lineno):
      Use line-end-position and line-beginning-position.
      
      * net/ange-ftp.el, progmodes/hideif.el, reposition.el:
      Same, but only in comments.
      5ed619e0
  28. 28 Sep, 2010 1 commit
    • Katsumi Yamaoka's avatar
      Fix message-* user options that differ from Gnus trunk. · e0a185ae
      Katsumi Yamaoka authored
      message.el (message-from-style, message-interactive, message-signature): Remove comment.
      message.el (message-cite-prefix-regexp): Default to mail-citation-prefix-regexp always.
      message.el (message-sendmail-envelope-from): Comment fix.
      message.el (message-yank-prefix): Default to mail-yank-prefix always.
      message.el (message-indentation-spaces): Default to mail-indentation-spaces always.
      message.el (message-signature-file): Default to mail-signature-file always.
      sendmail.el (mail-citation-prefix-regexp): Remove "}" from citation prefix.
      e0a185ae
  29. 20 Sep, 2010 1 commit
  30. 17 Sep, 2010 1 commit
  31. 28 Mar, 2010 1 commit