1. 15 Oct, 2010 3 commits
  2. 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
  3. 12 Oct, 2010 2 commits
  4. 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
  5. 08 Oct, 2010 1 commit
  6. 06 Oct, 2010 2 commits
  7. 05 Oct, 2010 1 commit
  8. 04 Oct, 2010 1 commit
  9. 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
  10. 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
  11. 30 Sep, 2010 1 commit
  12. 28 Sep, 2010 1 commit
  13. 27 Sep, 2010 1 commit
  14. 22 Sep, 2010 1 commit
  15. 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
  16. 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
  17. 14 Sep, 2010 1 commit
  18. 13 Sep, 2010 1 commit
  19. 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
  20. 10 Sep, 2010 2 commits
    • Stefan Monnier's avatar
      New syntax-propertize functionality. · cf38dd42
      Stefan Monnier authored
      * lisp/font-lock.el (font-lock-syntactic-keywords): Make obsolete.
      (font-lock-fontify-syntactic-keywords-region): Move handling of
      font-lock-syntactically-fontified to...
      (font-lock-default-fontify-region): ...here.
      Let syntax-propertize-function take precedence.
      (font-lock-fontify-syntactically-region): Cal syntax-propertize.
      
      * lisp/emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
      
      * lisp/emacs-lisp/syntax.el (syntax-propertize-function)
      (syntax-propertize-chunk-size, syntax-propertize--done)
      (syntax-propertize-extend-region-functions): New vars.
      (syntax-propertize-wholelines, syntax-propertize-multiline)
      (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
      (syntax-propertize): New functions.
      (syntax-propertize-rules): New macro.
      (syntax-ppss-flush-cache): Set syntax-propertize--done.
      (syntax-ppss): Call syntax-propertize.
      
      * lisp/progmodes/ada-mode.el (ada-set-syntax-table-properties)
      (ada-after-change-function, ada-initialize-syntax-table-properties)
      (ada-handle-syntax-table-properties): Only define when
      syntax-propertize is not available.
      (ada-mode): Use syntax-propertize-function.
      
      * lisp/progmodes/autoconf.el (autoconf-mode):
      Use syntax-propertize-function.
      (autoconf-font-lock-syntactic-keywords): Remove.
      
      * lisp/progmodes/cfengine.el (cfengine-mode):
      Use syntax-propertize-function.
      (cfengine-font-lock-syntactic-keywords): Remove.
      
      * lisp/progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
      
      * lisp/progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
      (fortran--font-lock-syntactic-keywords): New var.
      (fortran-line-length): Update syntax-propertize-function and
      fortran--font-lock-syntactic-keywords.
      
      * lisp/progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
      replaces gdb-script-font-lock-syntactic-keywords.
      (gdb-script-mode): Use it.
      
      * lisp/progmodes/js.el (js--regexp-literal): Define while compiling.
      (js-syntax-propertize-function): New var; replaces
      js-font-lock-syntactic-keywords.
      (js-mode): Use it.
      
      * lisp/progmodes/make-mode.el (makefile-syntax-propertize-function):
      New var; replaces makefile-font-lock-syntactic-keywords.
      (makefile-mode): Use it.
      (makefile-imake-mode): Adjust.
      
      * lisp/progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
      replaces mixal-font-lock-syntactic-keywords.
      (mixal-mode): Use it.
      
      * lisp/progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
      to replace octave-font-lock-close-quotes.
      (octave-syntax-propertize-function): New function to replace
      octave-font-lock-syntactic-keywords.
      (octave-mode): Use it.
      
      * lisp/progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
      replace perl-font-lock-syntactic-keywords.
      (perl-syntax-propertize-special-constructs): New fun to replace
      perl-font-lock-special-syntactic-constructs.
      (perl-font-lock-syntactic-face-function): New fun.
      (perl-mode): Use it.
      
      * lisp/progmodes/python.el (python-syntax-propertize-function): New var to
      replace python-font-lock-syntactic-keywords.
      (python-mode): Use it.
      (python-quote-syntax): Simplify and adjust to new use.
      
      * lisp/progmodes/ruby-mode.el (ruby-here-doc-beg-re):
      Define while compiling.
      (ruby-here-doc-end-re, ruby-here-doc-beg-match)
      (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
      (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
      (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
      (ruby-here-doc-end-syntax): Only define when
      syntax-propertize is not available.
      (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
      New functions.
      (ruby-in-ppss-context-p): Update to new syntax of heredocs.
      (electric-indent-chars): Silence bytecompiler.
      (ruby-mode): Use prog-mode, syntax-propertize-function, and
      electric-indent-chars.
      
      * lisp/progmodes/sh-script.el (sh-st-symbol): Remove.
      (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
      (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
      (sh-font-lock-quoted-subshell): Assume we've already matched $(.
      (sh-font-lock-paren): Set syntax-multiline.
      (sh-font-lock-syntactic-keywords): Remove.
      (sh-syntax-propertize-function): New function to replace it.
      (sh-mode): Use it.
      
      * lisp/progmodes/simula.el (simula-syntax-propertize-function): New var to
      replace simula-font-lock-syntactic-keywords.
      (simula-mode): Use it.
      
      * lisp/progmodes/tcl.el (tcl-syntax-propertize-function): New var to
      replace tcl-font-lock-syntactic-keywords.
      (tcl-mode): Use it.
      
      * lisp/progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
      if available.
      (vhdl-fontify-buffer): Adjust.
      
      * lisp/textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
      
      * lisp/textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
      since we don't use it.
      
      * lisp/textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
      replace sgml-font-lock-syntactic-keywords.
      (sgml-mode): Use it.
      
      * lisp/textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
      Use syntax-propertize-function.
      
      * lisp/textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
      to replace texinfo-font-lock-syntactic-keywords.
      (texinfo-mode): Use it.
      
      * test/indent/octave.m: Remove some `fixindent' not needed any more.
      cf38dd42
    • Lars Magne Ingebrigtsen's avatar
      71c17aec
  21. 09 Sep, 2010 1 commit
  22. 03 Sep, 2010 1 commit
    • Stefan Monnier's avatar
      * lisp/electric.el (electricity): New group. · 3b843809
      Stefan Monnier authored
      (electric-indent-chars): New var.
      (electric-indent-post-self-insert-function): New fun.
      (electric-indent-mode): New minor mode.
      (electric-pair-skip-self): New custom.
      (electric-pair-post-self-insert-function): New function.
      (electric-pair-mode): New minor mode.
      3b843809
  23. 02 Sep, 2010 1 commit
  24. 26 Aug, 2010 1 commit
    • Chong Yidong's avatar
      Improvements to describe-package buffer. · cb6c4991
      Chong Yidong authored
      * lisp/help.el (help-map): Bind `C-h P' to describe-package.
      
      * lisp/menu-bar.el (menu-bar-describe-menu): Add describe-package.
      
      * lisp/emacs-lisp/package.el (package-refresh-contents): Catch errors
      when downloading archives.
      (describe-package-1): Add package commentary.
      (package-install-button-action): New function.
      (package-menu-mode-map): Bind ? to package-menu-describe-package.
      (package-menu-view-commentary): Function removed.
      (package-list-packages-internal): Hide the `package' package too.
      cb6c4991
  25. 23 Aug, 2010 1 commit
  26. 22 Aug, 2010 1 commit
    • Chong Yidong's avatar
      Make obsolete --unibyte argument do nothing (Bug#6886). · 198a7a97
      Chong Yidong authored
      * src/emacs.c (main): Remove --unibyte handling (Bug#6886).
      
      * lisp/startup.el (command-line-1): Issue warning for ignored arguments
      --unibyte, etc (Bug#6886).
      
      * doc/lispref/nonascii.texi (Text Representations):
      * doc/lispref/loading.texi (Loading Non-ASCII):
      * doc/lispref/compile.texi (Byte Compilation): Don't mention obsolete
      --unibyte command-line argument.
      198a7a97