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 1 commit
    • 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. 26 Jan, 2011 1 commit
  5. 25 Jan, 2011 1 commit
  6. 15 Jan, 2011 1 commit
  7. 02 Jan, 2011 1 commit
  8. 10 Dec, 2010 1 commit
    • Stefan Monnier's avatar
      Derive from prog-mode, use derived-mode-p, and fix up various · 175069ef
      Stefan Monnier authored
      minor style issues in lisp/progmodes.
      
      * lisp/progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
      (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
      make-local-hook.
      * lisp/progmodes/sh-script.el (sh-require-final-newline): Remove.
      (sh-set-shell): Don't set require-final-newline since it's already done
      by prog-mode.
      * lisp/progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
      since we never set it.
      * lisp/progmodes/ebrowse.el (ebrowse-set-tree-indentation):
      Use read-string and standard prompt.
      * lisp/progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
      * lisp/progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
      (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
      (meta-common-mode-map): Rename from meta-mode-map.
      Remove C-m binding, which is a user preference, not mode specific.
      (meta-common-mode): New major mode; replace meta-common-initialization.
      * lisp/progmodes/js.el (js-mode): Call syntax-propertize rather than messing
      around with font-lock.
      * lisp/progmodes/etags.el (select-tags-table-mode):
      Derive from special-mode.
      * lisp/progmodes/octave-mod.el (octave-mode):
      * lisp/progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
      (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
      (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
      Let define-derived-mode do its job.
      * lisp/progmodes/cpp.el (cpp-edit-mode-map):
      Move initialization into declaration.
      (cpp-edit-mode): Use define-derived-mode.
      (cpp-edit-load): Use derived-mode-p.
      * lisp/progmodes/mixal-mode.el (mixal-mode):
      * lisp/progmodes/f90.el (f90-mode):
      * lisp/progmodes/cfengine.el (cfengine-mode): Don't bother setting
      require-final-newline since prog-mode does it already.
      * lisp/progmodes/cc-cmds.el (c-update-modeline): Use match-string.
      * lisp/progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
      * lisp/progmodes/antlr-mode.el: Require cc-mode upfront.
      (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
      the declaration.
      (antlr-directory-dependencies, antlr-show-makefile-rules):
      Use derived-mode-p.
      (antlr-language-option): Don't assume point-min==1.
      (antlr-mode): Use define-derived-mode.
      * lisp/progmodes/ada-mode.el: Use derived-mode-p.
      (ada-mode): Use define-derived-mode.
      Use hack-local-variables-hook.
      
      * lisp/progmodes/vhdl-mode.el (vhdl-mode):
      * lisp/progmodes/verilog-mode.el (verilog-mode):
      * lisp/progmodes/vera-mode.el (vera-mode):
      * lisp/progmodes/sql.el (sql-mode):
      * lisp/progmodes/scheme.el (scheme-mode):
      * lisp/progmodes/perl-mode.el (perl-mode):
      * lisp/progmodes/octave-inf.el (inferior-octave-mode):
      * lisp/progmodes/autoconf.el (autoconf-mode):
      * lisp/progmodes/m4-mode.el (m4-mode):
      * lisp/progmodes/inf-lisp.el (inferior-lisp-mode):
      * lisp/progmodes/idlwave.el (idlwave-mode):
      * lisp/progmodes/icon.el (icon-mode):
      * lisp/progmodes/idlw-help.el (idlwave-help-mode):
      * lisp/progmodes/dcl-mode.el (dcl-mode):
      * lisp/progmodes/idlw-shell.el (idlwave-shell-mode):
      * lisp/progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
      (ebrowse-member-mode, ebrowse-electric-position-mode):
      Use define-derived-mode.
      
      * lisp/progmodes/xscheme.el (xscheme-start)
      (local-set-scheme-interaction-buffer, scheme-interaction-mode):
      * lisp/progmodes/which-func.el (which-function):
      * lisp/progmodes/vhdl-mode.el (vhdl-set-style):
      * lisp/progmodes/verilog-mode.el (verilog-set-compile-command)
      (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
      (verilog-set-define, verilog-auto-reeval-locals):
      * lisp/progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
      * lisp/progmodes/simula.el (simula-mode):
      * lisp/progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
      * lisp/progmodes/python.el (python-check, python-mode):
      * lisp/progmodes/prolog.el (prolog-mode-variables):
      * lisp/progmodes/gud.el (gud-tooltip-activate-mouse-motions):
      * lisp/progmodes/ebrowse.el (ebrowse-view-file-other-frame):
      * lisp/progmodes/delphi.el (delphi-mode):
      * lisp/progmodes/cc-styles.el (c-setup-paragraph-variables):
      * lisp/progmodes/cc-mode.el (c-basic-common-init, c-common-init)
      (c-font-lock-init): Move make-local-variable to their setq.
      
      * lisp/progmodes/xscheme.el (exit-scheme-interaction-mode)
      (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
      (xscheme-debugger-mode-p, xscheme-send-string-1):
      * lisp/progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
      (tcl-load-file, tcl-restart-with-file):
      * lisp/progmodes/ps-mode.el (ps-run-running):
      * lisp/progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
      * lisp/progmodes/js.el (js--get-all-known-symbols):
      * lisp/progmodes/inf-lisp.el (inferior-lisp-proc):
      * lisp/progmodes/idlwave.el (idlwave-beginning-of-statement)
      (idlwave-template, idlwave-update-buffer-routine-info)
      (idlwave-update-current-buffer-info)
      (idlwave-get-routine-info-from-buffers, idlwave-choose)
      (idlwave-scan-class-info, idlwave-fix-keywords)
      (idlwave-list-buffer-load-path-shadows):
      * lisp/progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
      (idlwave-toolbar-remove):
      * lisp/progmodes/idlw-shell.el (idlwave-shell-save-and-action)
      (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
      (idlwave-shell-menu-def):
      * lisp/progmodes/idlw-complete-structtag.el
      (idlwave-prepare-structure-tag-completion):
      * lisp/progmodes/gud.el (gud-set-buffer):
      * lisp/progmodes/f90.el (f90-backslash-not-special):
      * lisp/progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
      175069ef
  9. 10 Oct, 2010 1 commit
    • Dan Nicolaescu's avatar
      Declare and define in one step various mode maps. · a0310a6c
      Dan Nicolaescu authored
      * lisp/shell.el (shell-mode-map):
      * lisp/progmodes/modula2.el (m2-mode-map):
      * lisp/progmodes/inf-lisp.el (inferior-lisp-mode-map):
      * lisp/play/mpuz.el (mpuz-mode-map):
      * lisp/play/landmark.el (lm-mode-map):
      * lisp/play/decipher.el (decipher-mode-map):
      * lisp/play/5x5.el (5x5-mode-map):
      * lisp/net/telnet.el (telnet-mode-map):
      * lisp/net/quickurl.el (quickurl-list-mode-map):
      * lisp/net/mairix.el (mairix-searches-mode-map):
      * lisp/net/eudc-hotlist.el (eudc-hotlist-mode-map):
      * lisp/net/dig.el (dig-mode-map):
      * lisp/mail/mspools.el (mspools-mode-map):
      * lisp/hexl.el (hexl-mode-map):
      * lisp/emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
      (wordstar-C-o-map, wordstar-C-q-map):
      * lisp/emacs-lisp/edebug.el (edebug-eval-mode-map):
      * lisp/emacs-lisp/chart.el (chart-map):
      * lisp/edmacro.el (edmacro-mode-map):
      * lisp/array.el (array-mode-map): Declare and define in one step.
      
      * lisp/erc/erc-list.el (erc-list-menu-mode-map): Declare and define in one step.
      a0310a6c
  10. 13 Jan, 2010 1 commit
  11. 11 Nov, 2009 2 commits
    • Dan Nicolaescu's avatar
      * widget.el (define-widget): Purecopy the docstring. · aaa448c9
      Dan Nicolaescu authored
      * international/mule-cmds.el (charset): Do not purecopy the
      docstring here, define-widget does it.
      
      * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
      * textmodes/bibtex-style.el (auto-mode-alist):
      * progmodes/inf-lisp.el (inferior-lisp-prompt):
      * progmodes/compile.el (compile-command):
      * language/korea-util.el (default-korean-keyboard):
      * international/mule-conf.el (file-coding-system-alist):
      * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
      * tooltip.el (tooltip-frame-parameters):
      * newcomment.el (comment-end, comment-padding):
      * dired.el (dired-trivial-filenames):
      * comint.el (comint-file-name-prefix): Purecopy initial values.
      aaa448c9
    • 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
  12. 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
  13. 24 Sep, 2009 1 commit
    • Juanma Barranquero's avatar
      Fix typos. · 5a0c3f56
      Juanma Barranquero authored
      * allout.el
      * dired-aux.el
      * dired-x.el
      * epa-file.el
      * ps-print.el
      * shell.el
      * vc-hooks.el
      * vc-rcs.el
      * vc-sccs.el
      * vc.el
      * view.el
      * wdired.el
      * emacs-lisp/authors.el
      * net/dig.el
      * net/socks.el
      * net/zeroconf.el
      * obsolete/vc-mcvs.el
      * progmodes/gdb-mi.el
      * progmodes/grep.el
      * progmodes/idlw-help.el
      * progmodes/idlw-shell.el
      * progmodes/idlwave.el
      * progmodes/inf-lisp.el
      * textmodes/bibtex.el
      * textmodes/ispell.el
      * textmodes/reftex-toc.el
      5a0c3f56
  14. 05 Jan, 2009 1 commit
  15. 06 May, 2008 1 commit
  16. 10 Apr, 2008 1 commit
  17. 07 Apr, 2008 1 commit
  18. 07 Jan, 2008 1 commit
  19. 25 Jul, 2007 1 commit
  20. 21 Jan, 2007 1 commit
  21. 02 Jun, 2006 1 commit
  22. 10 Feb, 2006 1 commit
  23. 01 Aug, 2005 1 commit
  24. 04 Jul, 2005 1 commit
  25. 16 Jun, 2005 1 commit
  26. 29 May, 2005 1 commit
  27. 26 May, 2005 1 commit
    • Lute Kamstra's avatar
      * progmodes/ada-mode.el (ada-mode): · 9a969196
      Lute Kamstra authored
      * progmodes/antlr-mode.el (antlr-mode):
      * progmodes/autoconf.el (autoconf-mode):
      * progmodes/dcl-mode.el (dcl-mode):
      * progmodes/delphi.el (delphi-mode):
      * progmodes/ebrowse.el (ebrowse-tree-mode)
      (ebrowse-electric-list-mode, ebrowse-member-mode)
      (ebrowse-electric-position-mode):
      * progmodes/f90.el (f90-mode):
      * progmodes/fortran.el (fortran-mode):
      * progmodes/icon.el (icon-mode):
      * progmodes/idlw-help.el (idlwave-help-mode):
      * progmodes/idlw-shell.el (idlwave-shell-mode):
      * progmodes/idlwave.el (idlwave-mode):
      * progmodes/inf-lisp.el (inferior-lisp-mode):
      * progmodes/m4-mode.el (m4-mode):
      * progmodes/meta-mode.el (metafont-mode, metapost-mode):
      * progmodes/modula2.el (modula-2-mode):
      * progmodes/octave-inf.el (inferior-octave-mode):
      * progmodes/octave-mod.el (octave-mode):
      * progmodes/pascal.el (pascal-mode):
      * progmodes/sh-script.el (sh-mode):
      * progmodes/sql.el (sql-mode, sql-interactive-mode):
      * progmodes/vhdl-mode.el (vhdl-mode):
      * progmodes/xscheme.el (scheme-interaction-mode):  Use run-mode-hooks.
      9a969196
  28. 13 May, 2005 1 commit
  29. 26 Apr, 2005 1 commit
  30. 20 Apr, 2005 1 commit
    • Luc Teirlinck's avatar
      (inferior-lisp): New defgroup. · 7bf23e19
      Luc Teirlinck authored
      (inferior-lisp-filter-regexp, inferior-lisp-program)
      (inferior-lisp-load-command, inferior-lisp-prompt)
      (inferior-lisp-mode-hook, lisp-source-modes)
      (inferior-lisp-load-hook): defvar->defcustom.
      (inferior-lisp-program, inferior-lisp-prompt)
      (inferior-lisp-load-hook): Doc fixes.
      (inferior-lisp-install-letter-bindings): Small change in introductory comment.
      7bf23e19
  31. 16 Apr, 2004 1 commit
  32. 08 Sep, 2003 1 commit
  33. 01 Sep, 2003 1 commit
  34. 03 Jul, 2002 2 commits
  35. 20 Dec, 2001 1 commit
  36. 10 Oct, 2000 1 commit
  37. 07 Aug, 2000 1 commit
  38. 19 Apr, 2000 1 commit
    • Gerd Moellmann's avatar
      (inferior-lisp-mode): Don't set · 92d2bc08
      Gerd Moellmann authored
      non-existing variable comint-input-sentinel.
      (inferior-lisp-args-to-list): Removed.
      (inferior-lisp): Use split-string instead of
      inferior-lisp-args-to-list.
      92d2bc08