1. 31 Oct, 2010 1 commit
  2. 29 Oct, 2010 1 commit
    • Stefan Monnier's avatar
      SMIE: change indent rules format, improve smie-setup. · c4d17d50
      Stefan Monnier authored
      * lisp/emacs-lisp/smie.el (smie-precs-precedence-table)
      (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
      Mark them pure so the tables gets built at compile time.
      (smie-bnf-precedence-table): Store the closer-alist in the table.
      (smie-prec2-levels): Preserve the closer-alist.
      (smie-blink-matching-open): Be more forgiving in case of indentation.
      (smie-hanging-p): Rename from smie-indent--hanging-p.
      (smie-bolp): Rename from smie-indent--bolp.
      (smie--parent, smie--after): New dynamic vars.
      (smie-parent-p, smie-next-p, smie-prev-p): New funs.
      (smie-indent-rules): Remove.
      (smie-indent--offset-rule): Remove fun.
      (smie-rules-function): New var.
      (smie-indent--rule): New fun.
      (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
      (smie-indent-exps): Use it.
      (smie-setup): Setup paren blinking; add keyword args for token
      functions; extract closer-alist from op-levels.
      (smie-indent-debug-log): Remove var.
      (smie-indent-debug): Remove fun.
      * lisp/progmodes/prolog.el (prolog-smie-indent-rules): Remove.
      (prolog-smie-rules): New fun to replace it.
      (prolog-mode-variables): Simplify.
      * lisp/progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
      it's setup automatically.
      (octave-smie-indent-rules): Remove.
      (octave-smie-rules): New fun to replace it.
      (octave-mode): Simplify.
      c4d17d50
  3. 26 Oct, 2010 1 commit
  4. 24 Oct, 2010 1 commit
    • Chong Yidong's avatar
      Merge read-color and facemenu-read-color (Bug#7242). · 9317e499
      Chong Yidong authored
      * lisp/facemenu.el (facemenu-read-color): Alias for read-color.
      (facemenu-set-foreground, facemenu-set-background): Use
      read-color.
      
      * lisp/faces.el (read-color): Use the completion code from
      facemenu-read-color.  Require match in completion.  Doc fix.
      
      * lisp/frame.el (set-background-color, set-foreground-color)
      (set-cursor-color, set-mouse-color, set-border-color): Use
      read-color.
      9317e499
  5. 23 Oct, 2010 2 commits
    • Jan Djärv's avatar
      Mention faceName for Lucid menu/dialog fonts. · a6ac7fc4
      Jan Djärv authored
      a6ac7fc4
    • Glenn Morris's avatar
      Replace digest-doc and sorted-doc C programs with Lisp commands. · 17284e30
      Glenn Morris authored
      * lib-src/digest-doc.c, lib-src/sorted-doc.c: Remove files.
      * lib-src/Makefile.in (UTILITIES): Remove digest-doc and sorted-doc.
      (digest-doc${EXEEXT}, sorted-doc${EXEEXT}): Remove rules.
      * lib-src/makefile.w32-in (ALL): Remove digest-doc and sorted-doc.
      ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe, sorted-doc, digest-doc)
      ($(BLD)/digest-doc.$(O), $(BLD)/sorted-doc.$(O)): Remove rules.
      (install): Don't install digest-doc.exe or sorted-doc.exe.
      
      * lisp/help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
      
      * doc/lispref/help.texi (Documentation Basics): Remove mentions of
      digest-doc and sorted-doc.
      
      * INSTALL, nt/README, nt/README.W32: Do not mention digest-doc and sorted-doc.
      
      * etc/NEWS: Mention this change.
      17284e30
  6. 19 Oct, 2010 1 commit
  7. 16 Oct, 2010 1 commit
    • Chong Yidong's avatar
      Move built-in theme directory to etc/. · 782b5e8d
      Chong Yidong authored
      * custom.el: Custom themes no longer use load-path.
      (custom-theme-load-path): New option.  Change built-in theme
      directory to etc/.
      (custom-enabled-themes): Add custom-theme-load-path dependency.
      (custom-theme--load-path): New function.
      (load-theme, custom-available-themes): Use it.
      
      * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
      (customize-themes): Link to custom-theme-load-path variable.
      782b5e8d
  8. 15 Oct, 2010 3 commits
  9. 13 Oct, 2010 1 commit
    • Juanma Barranquero's avatar
      Rename `image-library-alist' to `dynamic-library-alist'. · 2e288d54
      Juanma Barranquero authored
      * etc/NEWS: Mention `dynamic-library-alist'.
      
      * lisp/image.el (image-library-alist): Declare as obsolete alias.
        (image-type-available-p): Use `dynamic-library-alist'.
      
      * lisp/term/w32-win.el (dynamic-library-alist):
        Use instead of `image-library-alist'.
      
      * nt/INSTALL: Refer to `dynamic-library-alist'.
      
      * src/image.c (Vimage_library_alist)
        (syms_of_image) <image-library-alist>: Move to src/emacs.c and rename.
        (lookup_image_type): Use Vdynamic_library_alist.
        (Finit_image_library): Doc fix.
      
      * src/emacs.c (Vdynamic_library_alist)
        (syms_of_emacs) <dynamic-library-alist>: Move from src/image.c and rename.
        Doc fix.
      
      * src/lisp.h (Vdynamic_library_alist): Declare extern.
      2e288d54
  10. 12 Oct, 2010 2 commits
  11. 11 Oct, 2010 1 commit
    • Jan Djärv's avatar
      Bug#7150: Distinguishing between left and right Alt keys on NextStep/OSX. · a2e35ef5
      Jan Djärv authored
      * lisp/cus-start.el (all): ns-right-alternate-modifier is new.
      
      * lisp/term/ns-win.el (ns-right-alternate-modifier): New defvar.
      (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
      (mac-right-option-modifier): New alias for ns-right-option-modifier.
      
      * src/nsterm.m (Qleft): Declare.
      (ns_right_alternate_modifier): New variable
      (NSRightAlternateKeyMask): New define.
      (EV_MODIFIERS): Parse NSRightAlternateKeyMask if
      ns_right_alternate_modifier isn't Qleft.
      (keyDown): If ns_right_alternate_modifier isn't Qleft, use it
      as emacs modifier for NSRightAlternateKeyMask.
      (syms_of_nsterm): DEFVAR_LISP ns-right-alternate-modifier.
      a2e35ef5
  12. 08 Oct, 2010 1 commit
  13. 06 Oct, 2010 2 commits
  14. 05 Oct, 2010 1 commit
  15. 04 Oct, 2010 1 commit
  16. 03 Oct, 2010 5 commits
    • Glenn Morris's avatar
      Remove directory-sep-char, obsolete since 21.1. · 77f38949
      Glenn Morris authored
      * lisp/subr.el (directory-sep-char): Remove obsolete variable.
      * lisp/net/tramp-compat.el: Don't mess about with the byte-compiler unless
      it is "necessary".
      
      * doc/lispref/files.texi (File Name Components): Remove ignored
      section about deleted variable directory-sep-char.
      
      * etc/NEWS: Mention above change.
      77f38949
    • Glenn Morris's avatar
      Remove vc-header-alist, obsolete since 21.1. · 67141a37
      Glenn Morris authored
      * lisp/vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
      * lisp/vc/vc.el (vc-static-header-alist): Doc fix.
      * lisp/vc/vc-cvs.el (vc-cvs-header):
      * lisp/vc/vc-rcs.el (vc-rcs-header):
      * lisp/vc/vc-sccs.el (vc-sccs-header):
      * lisp/vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
      * lisp/obsolete/vc-mcvs.el (vc-mcvs-header):
      * lisp/progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
      on XEmacs.
      
      * etc/NEWS: Mention above change.
      67141a37
    • Michael Albinus's avatar
      4ddf410a
    • Glenn Morris's avatar
      * lisp/subr.el (make-local-hook): Remove function obsolete since 21.1. · 922ad43e
      Glenn Morris authored
      * lisp/progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
      (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
      XEmacs.
      * lisp/progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
      (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
      
      * lisp/gnu/gnus-util.el (gnus-make-local-hook): Simplify.
      
      * etc/NEWS: Mention above change.
      922ad43e
    • Chong Yidong's avatar
      * lisp/server.el (server-process-filter, server-return-error): Give · 2a847524
      Chong Yidong authored
      emacsclient time to shut down after receiving an error string.
      
      * etc/NEWS: Document tweak to emacsclient exit status.
      2a847524
  17. 02 Oct, 2010 3 commits
    • Eli Zaretskii's avatar
      Invoke kill-emacs on SIGINT on Windows as well. · 383ebd15
      Eli Zaretskii authored
       src/emacs.c (main): Remove !WINDOWSNT conditional.
       (Fkill_emacs): Don't mention exemption on MS-Windows.
       etc/NEWS: Fix the news entry regarding SIGINT in batch mode.
      383ebd15
    • Glenn Morris's avatar
      Remove some functions, variables and aliases obsolete since at least 21.1. · 3226d6ca
      Glenn Morris authored
      * doc/misc/misc.texi (Shell Mode): Remove reference to old function name.
      
      * src/character.c (Fchar_bytes): Remove obsolete function.
      (syms_of_character): Remove Schar_bytes.
      * lisp/subr.el (char-bytes): Remove obsolete function.
      
      * lisp/emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
      
      * lisp/isearch.el (isearch-return-char): Remove obsolete function.
      
      * lisp/mouse.el: No longer provide mldrag.
      (mldrag-drag-mode-line, mldrag-drag-vertical-line):
      Remove obsolete aliases.
      
      * lisp/comint.el (comint-kill-output): Remove obsolete alias.
      
      * lisp/shell.el: Comment fix.
      
      * lisp/composite.el (decompose-composite-char): Remove obsolete function.
      * lisp/ps-def.el (decompose-composite-char): Remove unused function.
      
      * lisp/iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
      
      * lisp/outline.el (outline-visible): Remove obsolete function.
      
      * lisp/term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
      * lisp/faces.el (internal-find-face, internal-get-face)
      (frame-update-faces, frame-update-face-colors)
      (x-frob-font-weight, x-frob-font-slant)
      (internal-frob-font-weight, internal-frob-font-slant)
      (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
      (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
      (x-make-font-bold-italic): Remove functions and aliases, obsolete
      since Emacs 21.1.
      * lisp/emulation/viper-util.el (viper-get-face):
      * lisp/obsolete/lucid.el (find-face, get-face): Use facep.
      * lisp/vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
      Remove unused functions.
      * lisp/vc/ediff-util.el (ediff-submit-report): Doc fix.
      
      * etc/NEWS: Mention above changes.
      3226d6ca
    • Glenn Morris's avatar
      Run kill-emacs-hook in batch mode, and on SIGINT in batch mode. · 9c524fcb
      Glenn Morris authored
      See thread http://lists.gnu.org/archive/html/emacs-devel/2010-09/msg00795.html
      
      * src/emacs.c (fatal_error_signal): Also run Fkill_emacs on SIGINT.
      (main) [!WINDOWSNT]: Handle SIGINT with fatal_error_signal
      in batch-mode.
      (Fkill_emacs): Doc fix.  Also run the hook in batch mode.
      (kill-emacs-hook): Doc fix.
      
      * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
      delete tempfile if interrupted during compilation.
      
      * doc/lispref/os.texi (Killing Emacs): Hook now runs in batch mode.
      
      * etc/NEWS: Mention these changes.
      9c524fcb
  18. 30 Sep, 2010 1 commit
  19. 28 Sep, 2010 1 commit
  20. 27 Sep, 2010 1 commit
  21. 22 Sep, 2010 1 commit
  22. 19 Sep, 2010 2 commits
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/float-sup.el (float-pi): New name for `pi'. · 9e0d4f9e
      Stefan Monnier authored
      (float-e): New name for `e'.
      (degrees-to-radians, radians-to-degrees):
      * lisp/calendar/solar.el (solar-longitude):
      * lisp/calculator.el (calculator-registers, calculator-funcall):
      * lisp/textmodes/artist.el (artist-spray-random-points):
      * lisp/play/bubbles.el (bubbles--initialize-images): Use new names.
      9e0d4f9e
    • Michael Mauger's avatar
      SQL Mode, Version 2.8 - sql-list-all and sql-list-table functions. · 74790210
      Michael Mauger authored
      	* progmodes/sql.el: Version 2.8
      	(sql-login-params): Updated widget structure; changes still
      	needed.
      	(sql-product-alist): Add :list-all and :list-table features for
      	SQLite, Postgres and MySQL products.
      	(sql-redirect): Handle default value.
      	(sql-execute, sql-execute-feature): New functions.
      	(sql-read-table-name): New function.
      	(sql-list-all, sql-list-table): New functions. User API
      	(sql-mode-map, sql-interactive-mode-map): Add key definitions
      	for above functions.
      	(sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
      	for above functions.
      	(sql-postgres-login-params): Add user and database defaults.
      	(sql-buffer-live-p): Bug fix.
      	(sql-product-history); New variable.
      	(sql-read-product): New function. Use it.
      	(sql-set-product, sql-product-interactive): Use it.
      	(sql-connection-history): New variable.
      	(sql-read-connection): New function. Use it.
      	(sql-connect): New function.
      	(sql-for-each-login): Redesign function interface.
      	(sql-make-alternate-buffer-name, sql-save-connection): Use it.
      	(sql-get-login-ext, sql-get-login): Use it. Handle default values.
      	(sql-comint): Check for program. Existing live buffer.
      	(sql-comint-postgres): Add port parameter.
      74790210
  23. 18 Sep, 2010 2 commits
    • Esa Peuha's avatar
      Fix typos in etc/NEWS. · b2957ea8
      Esa Peuha authored
      b2957ea8
    • Stefan Monnier's avatar
      Fix and improve last syntax-propertize patch · b879a6e2
      Stefan Monnier authored
      * lisp/emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
      (syntax-propertize-rules): Add var-ref case.  Fix offset computation
      when adding surrounding \(..\).
      
      * lisp/progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
      (fortran-make-syntax-propertize-function): New function; replaces
      fortran-font-lock-syntactic-keywords.
      (fortran-mode): Use it.
      (fortran-line-length): Use it.  Improve interactive spec.
      
      * lisp/progmodes/js.el (js-mode): Fix last change (bug#7054).
      
      * lisp/textmodes/tex-mode.el (tex-syntax-propertize-rules)
      (latex-syntax-propertize-rules): New consts; replace
      tex-font-lock-syntactic-keywords.
      (tex-env-mark, latex-env-before-change): New functions.
      (latex-electric-env-pair-mode): New minor mode.
      (tex-font-lock-verb): Change arguments; do move point.
      (tex-font-lock-syntactic-face-function): Adjust to new verbatim
      representation as a form of comment.
      (tex-font-lock-keywords-1): Remove workaround, now unneeded.
      (doctex-syntax-propertize-rules): New const; replaces
      doctex-font-lock-syntactic-keywords.
      (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
      b879a6e2
  24. 14 Sep, 2010 1 commit
  25. 13 Sep, 2010 1 commit
  26. 11 Sep, 2010 2 commits
    • Stefan Monnier's avatar
    • Michael Mauger's avatar
      SQL Mode, Version 2.6 · 9250002f
      Michael Mauger authored
      	* progmodes/sql.el: Version 2.6
      	(sql-dialect): Synonym for "sql-product".
      	(sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
      	(sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
      	Set "sql-buffer" to buffer name not buffer object so multiple sql
      	interactive buffers work properly.  Reverts misguided changes in
      	earlier work.
      	(sql-comint): Make sure different buffer name is used if "*SQL*"
      	buffer is for a different product.
      	(sql-make-alternate-buffer-name): Fix bug with "sql-database"
      	login param.
      	(sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
      	(sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
      	(sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
      	Accept new buffer name or prompt for one.
      	(sql-port): Default to zero.
      	(sql-comint-mysql): Handle "sql-port" as a numeric.
      	(sql-port-history): Delete unused variable.
      	(sql-get-login): Default "sql-port" to a number.
      	(sql-product-alist): Correct Postgres prompt and terminator
      	regexp.
      	(sql-sqlite-program): Dynamically detect presence of "sqlite" or
      	"sqlite3" executables.
      	(sql-sqlite-login-params): Add "*.sqlite[23]?" database name
      	pattern.
      	(sql-buffer-live-p): New function.
      	(sql-mode-menu, sql-send-string): Use it.
      	(sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
      	syntax pattern.
      	(sql-mode-postgres-font-lock-keywords): Support Postgres V9.
      	(sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
      9250002f