1. 13 Sep, 2010 8 commits
    • Michael Albinus's avatar
      459bba37
    • Michael Albinus's avatar
      * tramp.texi (Inline methods): Remove "ssh1_old", "ssh2_old" and · 371d9801
      Michael Albinus authored
      "fish" methods.
      (External methods): Remove "scp1_old" and "scp2_old" methods.
      371d9801
    • Michael Albinus's avatar
      Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el. · 03c1ad43
      Michael Albinus authored
      * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
      
      * net/tramp.el (top): Don't show loading message.  Require just
      'tramp-compat, everything else is required there.  Use
      `ignore-errors' where appropriate.
      (tramp-inline-compress-start-size, tramp-copy-size-limit)
      (tramp-terminal-type, tramp-end-of-output)
      (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
      (tramp-completion-function-alist-ssh)
      (tramp-completion-function-alist-telnet)
      (tramp-completion-function-alist-su)
      (tramp-completion-function-alist-putty, tramp-remote-path)
      (tramp-remote-process-environment, tramp-sh-extra-args)
      (tramp-actions-before-shell, tramp-uudecode)
      (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
      (tramp-perl-file-attributes)
      (tramp-perl-directory-files-and-attributes)
      (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
      (tramp-perl-encode, tramp-perl-decode)
      (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
      (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
      (tramp-handle-make-symbolic-link, tramp-handle-load)
      (tramp-handle-file-name-as-directory)
      (tramp-handle-file-name-directory)
      (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
      (tramp-handle-file-exists-p, tramp-handle-file-attributes)
      (tramp-do-file-attributes-with-ls)
      (tramp-do-file-attributes-with-perl)
      (tramp-do-file-attributes-with-stat)
      (tramp-handle-set-visited-file-modtime)
      (tramp-handle-verify-visited-file-modtime)
      (tramp-handle-set-file-modes, tramp-handle-set-file-times)
      (tramp-set-file-uid-gid, tramp-remote-selinux-p)
      (tramp-handle-file-selinux-context)
      (tramp-handle-set-file-selinux-context)
      (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
      (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
      (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
      (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
      (tramp-handle-file-ownership-preserved-p)
      (tramp-handle-directory-file-name, tramp-handle-directory-files)
      (tramp-handle-directory-files-and-attributes)
      (tramp-do-directory-files-and-attributes-with-perl)
      (tramp-do-directory-files-and-attributes-with-stat)
      (tramp-handle-file-name-all-completions)
      (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
      (tramp-handle-copy-file, tramp-handle-copy-directory)
      (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
      (tramp-do-copy-or-rename-file-via-buffer)
      (tramp-do-copy-or-rename-file-directly)
      (tramp-do-copy-or-rename-file-out-of-band)
      (tramp-handle-make-directory, tramp-handle-delete-directory)
      (tramp-handle-delete-file)
      (tramp-handle-dired-recursive-delete-directory)
      (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
      (tramp-handle-insert-directory)
      (tramp-handle-unhandled-file-name-directory)
      (tramp-handle-expand-file-name)
      (tramp-handle-substitute-in-file-name)
      (tramp-handle-executable-find, tramp-process-sentinel)
      (tramp-handle-start-file-process, tramp-handle-process-file)
      (tramp-handle-call-process-region, tramp-handle-shell-command)
      (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
      (tramp-handle-insert-file-contents)
      (tramp-handle-insert-file-contents-literally)
      (tramp-handle-find-backup-file-name)
      (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
      (tramp-vc-registered-file-names, tramp-handle-vc-registered)
      (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
      (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
      (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
      (tramp-find-file-exists-command, tramp-open-shell)
      (tramp-find-shell, tramp-barf-if-no-shell-prompt)
      (tramp-open-connection-setup-interactive-shell)
      (tramp-local-coding-commands, tramp-remote-coding-commands)
      (tramp-find-inline-encoding, tramp-call-local-coding-command)
      (tramp-inline-compress-commands, tramp-find-inline-compress)
      (tramp-compute-multi-hops, tramp-maybe-open-connection)
      (tramp-send-command , tramp-wait-for-output)
      (tramp-send-command-and-check, tramp-barf-unless-okay)
      (tramp-send-command-and-read, tramp-mode-string-to-int)
      (tramp-convert-file-attributes, tramp-check-cached-permissions)
      (tramp-file-mode-from-int, tramp-file-mode-permissions)
      (tramp-shell-case-fold, tramp-make-copy-program-file-name)
      (tramp-method-out-of-band-p, tramp-local-host-p)
      (tramp-get-remote-path, tramp-get-remote-tmpdir)
      (tramp-get-ls-command, tramp-get-ls-command-with-dired)
      (tramp-get-test-command, tramp-get-test-nt-command)
      (tramp-get-file-exists-command, tramp-get-remote-ln)
      (tramp-get-remote-perl, tramp-get-remote-stat)
      (tramp-get-remote-readlink, tramp-get-remote-trash)
      (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
      (tramp-get-local-uid, tramp-get-local-gid)
      (tramp-get-inline-compress, tramp-get-inline-coding, ): Move to
      tramp-sh.el.
      (tramp-methods, tramp-default-method-alist)
      (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
      Move initialization to tramp-sh.el.
      (tramp-temp-name-prefix): Make it a defconst.
      (tramp-dissect-file-name): Don't check anymore for multi-hop
      methods.
      (tramp-debug-outline-regexp): Add a docstring.
      (tramp-debug-outline-level): Renamed from `tramp-outline-level'.
      (tramp-get-debug-buffer): Use it.
      
      * net/tramp-cache.el (top): Set tramp-autoload cookie for
      initialization forms.
      (tramp-set-connection-property): Don't protect `tramp-message'
      call, it isn't necessary any longer.
      (tramp-dump-connection-properties): Use `ignore-errors'.
      
      * net/tramp-compat.el (top): Require 'advice, 'format-spec,
      'password-cache and 'auth-source.
      
      * net/tramp-gvfs.el (top):
      * net/tramp-smb.el (top): Require 'tramp-sh.
      
      * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
      
      * net/tramp-sh.el: New file, derived from tramp.el.
      (top): Initialize `tramp-methods', `tramp-default-method-alist',
      `tramp-default-user-alist', tramp-foreign-file-name-handler-alist.
      Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".  Use
      `ignore-errors' where appropriate.
      (tramp-sh-file-name-handler-alist): Renamed from
      `tramp-file-name-handler-alist'.
      (tramp-send-command-and-check): Return t or nil.  Remove all
      `zerop' checks, where called.
      (tramp-handle-set-file-modes)
      (tramp-do-copy-or-rename-file-directly)
      (tramp-handle-delete-directory, tramp-handle-delete-file)
      (tramp-maybe-send-script, ): Use `tramp-barf-unless-okay'.
      (tramp-sh-file-name-handler, tramp-send-command-and-check)
      (tramp-get-remote-ln): Set tramp-autoload cookie.
      
      * net/tramp-fish.el: Remove file.
      03c1ad43
    • Lars Magne Ingebrigtsen's avatar
      * configure.in (HAVE_LIBXML2): Check that the libxml2 we found can · c7a1fb9b
      Lars Magne Ingebrigtsen authored
      be used.  This fixes a conf problem on Mac OS X.
      c7a1fb9b
    • Eli Zaretskii's avatar
      375a0f65
    • Daiki Ueno's avatar
      epa-file: suppress file-locking question on M-x revert-buffer · c5fe4acb
      Daiki Ueno authored
      * epa-file.el (epa-file-insert-file-contents): If visiting, bind
      buffer-file-name to avoid file-locking.  (Bug#7026)
      c5fe4acb
    • Robert J. Chassell's avatar
      10-09-13 · ed9a2f68
      Robert J. Chassell authored
      ed9a2f68
    • Michael Albinus's avatar
      * notifications.el (notifications-notify): Add support for · 7ea2d383
      Michael Albinus authored
      image-path and sound-name.
      (notifications-specification-version): Add this variable.
      7ea2d383
  2. 12 Sep, 2010 3 commits
  3. 11 Sep, 2010 7 commits
    • Glenn Morris's avatar
      * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Tweak previous change. · 7eb662be
      Glenn Morris authored
      Write out the name of the .elc file, rather than the temp-file.
      7eb662be
    • Glenn Morris's avatar
      Close bug#4196. · 0f34ae28
      Glenn Morris authored
      * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
      atomically, to avoid parallel build errors.
      0f34ae28
    • 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
    • Glenn Morris's avatar
      Remove some obsolete files from etc/. · ac1e75b3
      Glenn Morris authored
      * emacs.bash, emacs.csh, ms-kermit: Remove obsolete files (use
      emacsclient -a instead of the first two).
      ac1e75b3
    • Glenn Morris's avatar
      lisp/url tiny fixes. · a5cda60e
      Glenn Morris authored
      * url-cache.el, url-gw.el, url-history.el, url-irc.el, url-util.el:
      * url-vars.el: Remove leading `*' from defcustom docs.
      a5cda60e
    • Lars Magne Ingebrigtsen's avatar
      Merge changes made in Gnus trunk. · a9ec34f4
      Lars Magne Ingebrigtsen authored
      gnus-sum.el: Avoid calling a hook function per summary line;
      Call `gnus-summary-highlight-line' directly from all places that used to call it indirectly.
      
      netrc.el (netrc-credentials): New conveniency function.
      
      gnus-start.el (gnus-read-active-file-1): If gnus-agent isn't set, then do request scans from the backends.
      a9ec34f4
  4. 10 Sep, 2010 8 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
    • Lars Magne Ingebrigtsen's avatar
      8b620f11
    • Lars Magne Ingebrigtsen's avatar
      Add support for the libxml2 library. · 381408e2
      Lars Magne Ingebrigtsen authored
      This adds the html-parse-string and xml-parse-string functions in the
      new file src/xml.c, as well as autoconf detection of the library.
      381408e2
    • Agustín Martín's avatar
      ispell.el: Improve comments. XEmacs compatibility changes. · 36f7d366
      Agustín Martín authored
      * textmodes/ispell.el (ispell-init-process): Improve comments.
        XEmacs compatibility changes regarding (add-hook) 'local option
        and (set-process-query-on-exit-flag).
      36f7d366
    • Katsumi Yamaoka's avatar
    • Lars Magne Ingebrigtsen's avatar
    • Lars Magne Ingebrigtsen's avatar
      gnus-html.el (gnus-html-wash-tags): Refactor out the image bit, and don't... · 698ecd82
      Lars Magne Ingebrigtsen authored
      gnus-html.el (gnus-html-wash-tags): Refactor out the image bit, and don't restrict end-tag searches to the end of the line.
      698ecd82
  5. 09 Sep, 2010 12 commits
  6. 08 Sep, 2010 2 commits