1. 28 Apr, 2014 1 commit
    • Stefan Monnier's avatar
      * lisp/progmodes/ps-mode.el: Use SMIE. Move string and comment recognition · 9b7b020d
      Stefan Monnier authored
      to syntax-propertize.
      (ps-mode-auto-indent): Mark as obsolete.
      (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
      (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
      word regexp operators.
      (ps-mode-map): Move initialization into declaration.  Remove binding
      for TAB, RET, >, ], and }.
      (ps-mode-syntax-table): Move initialization into declaration.
      Don't give word syntax to non-word chars.
      (ps-run-mode-map): Move initialization into declaration.
      (ps-mode-menu-main): Remove auto-indent entry.
      (ps-mode-smie-rules): New function.
      (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
      (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
      (ps-mode--string-syntax-table): New const.
      (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
      New functions.
      (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
      (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
      9b7b020d
  2. 07 Jan, 2014 1 commit
  3. 01 Jan, 2014 1 commit
  4. 23 Feb, 2013 2 commits
    • Peter Kleiweg's avatar
      Update ps-mode.el from upstream · 2ae3d736
      Peter Kleiweg authored
      * lisp/progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
      (ps-mode-octal-region): Use string-make-unibyte.
      2ae3d736
    • Glenn Morris's avatar
      Add bug-gnu-emacs to some specialized bug report addresses · e8ba2352
      Glenn Morris authored
      * emulation/viper-cmd.el (viper-submit-report):
      * progmodes/ps-mode.el (ps-mode-maintainer-address):
      * progmodes/vera-mode.el (vera-mode-help-address):
      * textmodes/artist.el (artist-maintainer-address):
      * textmodes/reftex.el (reftex-report-bug):
      * vc/ediff-util.el (ediff-submit-report):
      Add bug-gnu-emacs to bug report address.
      e8ba2352
  5. 01 Jan, 2013 1 commit
  6. 24 Sep, 2012 1 commit
    • Chong Yidong's avatar
      Fix uses of long-obsolete font-lock-reference face. · 6c27f0f8
      Chong Yidong authored
      * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
      * calendar/calendar.el (calendar-font-lock-keywords):
      * calendar/diary-lib.el (diary-font-lock-keywords)
      (diary-fancy-font-lock-keywords):
      * textmodes/reftex-sel.el (reftex-insert-docstruct):
      * textmodes/reftex-index.el (reftex-insert-index):
      * textmodes/reftex-cite.el (reftex-format-bib-entry):
      * progmodes/ruby-mode.el (ruby-font-lock-keywords):
      * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
      * progmodes/prolog.el (prolog-font-lock-keywords):
      * progmodes/idlwave.el (idlwave-idl-keywords):
      * progmodes/ada-mode.el (ada-font-lock-keywords):
      * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
      
      * font-lock.el (font-lock-reference-face): Use
      define-obsolete-variable-alias.
      6c27f0f8
  7. 09 Apr, 2012 1 commit
  8. 11 Jan, 2012 1 commit
  9. 05 Jan, 2012 1 commit
  10. 19 Nov, 2011 1 commit
  11. 18 Nov, 2011 1 commit
  12. 13 Nov, 2011 1 commit
  13. 15 Jun, 2011 1 commit
    • Dan Nicolaescu's avatar
      Derive some programming modes from prog-mode. · c5cde042
      Dan Nicolaescu authored
      * lisp/progmodes/python.el (python-mode): Derive from prog-mode.
      * lisp/progmodes/ps-mode.el (ps-mode):
      * lisp/progmodes/mixal-mode.el (mixal-mode):
      * lisp/progmodes/ld-script.el (ld-script-mode): Likewise.
      c5cde042
  14. 22 Apr, 2011 1 commit
  15. 26 Jan, 2011 1 commit
  16. 25 Jan, 2011 1 commit
  17. 15 Jan, 2011 1 commit
  18. 02 Jan, 2011 1 commit
  19. 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
  20. 29 Aug, 2010 1 commit
  21. 23 Jul, 2010 1 commit
    • Markus Triska's avatar
      * lisp/progmodes/ps-mode.el: Use comint. · 9cf2db99
      Markus Triska authored
      (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
      (ps-mode-other-newline): Simplify.
      (ps-run-mode): Derive from comint-mode instead of
      fundamental-mode, yielding input history etc.
      (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
      (ps-run-send-string): Adapt for comint-mode.
      (ps-run-newline): Remove now unneeded function.
      
      Fixes: debbugs:5954
      9cf2db99
  22. 25 May, 2010 1 commit
    • Stefan Monnier's avatar
      Replace Lisp calls to delete-backward-char by delete-char. · d355a0b7
      Stefan Monnier authored
      * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
      skeleton.el, term.el, time.el, wid-edit.el, woman.el,
      calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
      calc/calc.el, emacs-cl-extra.el, emacs-cl-loaddefs.el,
      emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
      eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
      gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
      language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
      net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
      progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
      progmodes/ps-mode.el, progmodes/verilog-mode.el,
      progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
      textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
      textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
      delete-backward-char by calls to delete-char.
      d355a0b7
  23. 13 Jan, 2010 1 commit
  24. 07 Feb, 2009 1 commit
  25. 05 Jan, 2009 1 commit
  26. 06 May, 2008 1 commit
  27. 16 Apr, 2008 1 commit
  28. 10 Apr, 2008 1 commit
  29. 07 Jan, 2008 1 commit
  30. 06 Jan, 2008 1 commit
    • Dan Nicolaescu's avatar
      * configure.in: Remove references to unsupported systems. · f3041af1
      Dan Nicolaescu authored
      * notes/copyright:
      * MAINTAINERS: Remove references to files that have been removed.
      
      * os.texi (System Environment): Remove references to OSes that are
      not supported anymore.
      
      * PROBLEMS:
      * MACHINES: Remove references to systems not supported anymore.
      
      * makefile.w32-in:
      * Makefile.in: Remove references to Xenix.
      
      * gnus.el (gnus-use-long-file-name): Remove reference to xenix.
      
      * obsolete/x-apollo.el: Remove file for unsupported system.
      
      * term/x-win.el (vendor-specific-keysyms): Remove reference to
      Apollo.
      
      * progmodes/gud.el (gud-dgux-p): Remove.
      (dbx): Remove reference to dgux.
      
      * progmodes/ps-mode.el (ps-mode-print-function):
      * ps-print.el (ps-lp-system):
      * paths.el (rmail-spool-directory):
      * ls-lisp.el (ls-lisp-emulation):
      * lpr.el (lpr-lp-system):
      * dired.el (dired-chown-program): Remove references to dgux.
      
      * m/7300.h:
      * m/acorn.h:
      * m/alliant-2800.h:
      * m/alliant.h:
      * m/alliant1.h:
      * m/alliant4.h:
      * m/altos.h:
      * m/amdahl.h:
      * m/apollo.h:
      * m/att3b.h:
      * m/aviion-intel.h:
      * m/aviion.h:
      * m/celerity.h:
      * m/clipper.h:
      * m/cnvrgnt.h:
      * m/convex.h:
      * m/cydra5.h:
      * m/delta88k.h:
      * m/dpx2.h:
      * m/dual.h:
      * m/elxsi.h:
      * m/f301.h:
      * m/gould-np1.h:
      * m/gould.h:
      * m/i860.h:
      * m/ibmps2-aix.h:
      * m/ibmrt-aix.h:
      * m/ibmrt.h:
      * m/irist.h:
      * m/is386.h:
      * m/isi-ov.h:
      * m/mega68.h:
      * m/mg1.h:
      * m/news-r6.h:
      * m/news-risc.h:
      * m/news.h:
      * m/nh3000.h:
      * m/nh4000.h:
      * m/ns16000.h:
      * m/ns32000.h:
      * m/nu.h:
      * m/orion.h:
      * m/orion105.h:
      * m/paragon.h:
      * m/pfa50.h:
      * m/plexus.h:
      * m/pyramid.h:
      * m/pyrmips.h:
      * m/sh3el.h:
      * m/sps7.h:
      * m/sr2k.h:
      * m/stride.h:
      * m/sun1.h:
      * m/sun2.h:
      * m/sun3-68881.h:
      * m/sun3-fpa.h:
      * m/sun3-soft.h:
      * m/sun3.h:
      * m/sun386.h:
      * m/symmetry.h:
      * m/tad68k.h:
      * m/tahoe.h:
      * m/targon31.h:
      * m/tek4300.h:
      * m/tekxd88.h:
      * m/tower32.h:
      * m/tower32v3.h:
      * m/ustation.h:
      * m/wicat.h:
      * m/xps100.h:
      * s/cxux.h:
      * s/cxux7.h:
      * s/dgux.h:
      * s/dgux4.h:
      * s/dgux5-4-3.h:
      * s/dgux5-4r2.h:
      * s/esix.h:
      * s/esix5r4.h:
      * s/hiuxmpp.h:
      * s/hiuxwe2.h:
      * s/iris3-5.h:
      * s/iris3-6.h:
      * s/isc2-2.h:
      * s/isc3-0.h:
      * s/isc4-0.h:
      * s/isc4-1.h:
      * s/newsos5.h:
      * s/newsos6.h:
      * s/osf1.h:
      * s/osf5-0.h:
      * s/riscix1-1.h:
      * s/riscix12.h:
      * s/sco4.h:
      * s/sco5.h:
      * s/sunos4-0.h:
      * s/sunos4-1.h:
      * s/sunos413.h:
      * s/sunos4shr.h:
      * s/umax.h:
      * s/unipl5-2.h:
      * s/xenix.h:
      * cxux-crt0.s:
      * unexapollo.c:
      * unexconvex.c:
      * unexenix.c:
      * unexsni.c: Remove files for systems no longer supported.
      
      * m/intel386.h: Remove references to unsupported systems.
      
      * w32.c (get_emacs_configuration): Remove reference to i860.
      
      * sysdep.c: Remove dead code.
      f3041af1
  31. 06 Dec, 2007 1 commit
  32. 20 Nov, 2007 1 commit
    • Dan Nicolaescu's avatar
      * progmodes/python.el (info-lookup-maybe-add-help): · 6d00e226
      Dan Nicolaescu authored
      * progmodes/ps-mode.el (doc-view-minor-mode):
      * mail/emacsbug.el (Info-menu, Info-goto-node):
      * emulation/viper-keym.el (viper-ex)
      (viper-normalize-minor-mode-map-alist, viper-set-mode-vars-for):
      * emulation/viper-cmd.el (widget-type, widget-button-press)
      (viper-set-hooks):
      * emacs-lisp/tcover-unsafep.el (unsafep-function):
      * emacs-lisp/tcover-ses.el (ses-set-curcell, ses-update-cells)
      (ses-load, ses-vector-delete, ses-create-header-string)
      (ses-read-cell, ses-read-symbol, ses-command-hook, ses-jump):
      * emacs-lisp/gulp.el (mail-subject, mail-send): Declare as
      functions.
      
      * url-mailto.el (mail-send-and-exit):
      * url-http.el (url-dav-file-attributes):
      * url-file.el (ange-ftp-set-passwd, ange-ftp-copy-file-internal):
      (url-generate-unique-filename): Declare as functions.
      6d00e226
  33. 30 Oct, 2007 1 commit
  34. 26 Oct, 2007 1 commit
  35. 25 Oct, 2007 1 commit
  36. 25 Jul, 2007 1 commit
  37. 21 Jan, 2007 1 commit
  38. 10 Feb, 2006 1 commit
  39. 17 Nov, 2005 1 commit