1. 04 Sep, 2010 1 commit
    • Chong Yidong's avatar
      Avoid corrupting archive-contents file. · ebf662f4
      Chong Yidong authored
      * emacs-lisp/package.el (package--download-one-archive): Ensure
      that archive-contents is valid before saving it.
      (package-activate-1, package-mark-obsolete, define-package)
      (package-compute-transaction, package-list-maybe-add): Use push.
      ebf662f4
  2. 03 Sep, 2010 5 commits
    • Stefan Monnier's avatar
      Use SMIE's blink-paren for octave-mode. · 89acf735
      Stefan Monnier authored
      * lisp/progmodes/octave-mod.el (octave-font-lock-close-quotes):
      Backslashes do not escape single-quotes, single-quotes do.
      (octave-block-else-regexp, octave-block-end-regexp)
      (octave-block-match-alist): Remove.
      (octave-smie-bnf-table): New var, with old content.
      (octave-smie-op-levels): Use it.
      (octave-smie-closer-alist): New var.
      (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
      (octave-blink-matching-block-open): Remove.
      (octave-reindent-then-newline-and-indent, octave-electric-semi)
      (octave-electric-space): Let self-insert-command run expand-abbrev and
      blink parens.
      89acf735
    • 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
    • Stefan Monnier's avatar
      * lisp/calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace · 0da20854
      Stefan Monnier authored
      calcAlg-blink-matching-open.
      (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
      (calc-do-alg-entry): Only touch the part of the keymap that varies.
      Use the new blink-matching-check-function.
      0da20854
    • Stefan Monnier's avatar
      Provide blink-matching support to SMIE. · a49e651e
      Stefan Monnier authored
      * lisp/emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
      (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
      (smie-blink-matching-check, smie-blink-matching-open): New functions.
      a49e651e
    • Stefan Monnier's avatar
  3. 02 Sep, 2010 7 commits
    • Stefan Monnier's avatar
      Add blink-matching-check-function and misc cleanups. · b13ebb5c
      Stefan Monnier authored
      * lisp/simple.el (newline): Eliminate optimization.
      Use post-self-insert-hook to set hard-newline and things before
      running post-self-insert-hook.
      (blink-matching-check-mismatch): New function.
      (blink-matching-check-function): New variable.
      (blink-matching-open): Use them.
      Skip back forward over prefix chars skipped by forward-sexp.
      Don't check if the parens are backslash escaped.
      (blink-paren-post-self-insert-function): Check backslash escaping here.
      b13ebb5c
    • Jan Djärv's avatar
      Fix lisp/ChangeLog entries. · 5986b97d
      Jan Djärv authored
      5986b97d
    • Chong Yidong's avatar
      Set revert-buffer-function in Package Menu. · e687c2cd
      Chong Yidong authored
      * emacs-lisp/package.el (package-menu-mode-map): Change
      package-menu-revert bindings to revert-buffer.
      (package-menu-mode): Set revert-buffer-function.
      (package-menu-revert): Doc fix.
      e687c2cd
    • Agustín Martín's avatar
      ispell.el: better `default-directory' and kill-ispell-on-exit handling · 567efba9
      Agustín Martín authored
      * textmodes/ispell.el (ispell-init-process): Use "~/" as
       `default-directory' unless using Ispell per-directory personal
       dictionaries and not in a mini-buffer under XEmacs.
       (kill-buffer-hook): Do not kill ispell process on exit when
       `ispell-process-directory' is "~/". (Bug#6143)
      567efba9
    • Jan D's avatar
    • Jan Djärv's avatar
      Remove cut buffer from documentation. · 45240125
      Jan Djärv authored
      * doc/emacs/frames.texi (Cut/Paste Other App): Remove vut-buffer text.
      
      * doc/lispref/text.texi (Low-Level Kill Ring):
      * doc/lispref/frames.texi (Window System Selections): Remove cut buffer
      documentation.
      
      * doc/misc/cl.texi (Basic Setf): Remove x-get-cut-buffer and x-get-cutbuffer.
      
      * lisp/term/x-win.el (x-select-text):
      * lisp/term/pc-win.el (x-selection-value):
      * lisp/term/ns-win.el (x-selection-value):
      * lisp/eshell/em-term.el:
      * lisp/w32-fns.el (x-get-selection-value):
      * lisp/mouse-sel.el (mouse-sel-set-selection-function):
      * lisp/frame.el (display-selections-p): Remove cut-buffer in documentation.
      
      * lisp/term.el (term-mouse-paste): Don't call x-get-cutbuffer.
      Remove cut buffer from error message.
      45240125
    • Jan Djärv's avatar
      Removed cut-buffer code. · 6d7cc563
      Jan Djärv authored
      * lisp/mouse-sel.el (mouse-sel-get-selection-function):
      x-cut-buffer-or-selection-value renamed to x-selection-value.
      (x-select-text): Optional push removed.
      
      * lisp/select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
      
      * lisp/simple.el (interprogram-cut-function): Remove mention of PUSH.
      
      * lisp/w32-fns.el (x-last-selected-text):
      x-cut-buffer-or-selection-value renamed to x-selection-value.
      (x-cut-buffer-max): Remove.
      (x-select-text): Remove argument PUSH, update documentation.
      
      * lisp/emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
      
      * lisp/term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
      x-cut-buffer-or-selection-value renamed to x-selection-value
      (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
      (x-select-text): Remove argument PUSH, update documentation.
      
      * lisp/term/pc-win.el (x-last-selected-text):
      x-cut-buffer-or-selection-value renamed to x-selection-value
      (x-select-text): Remove argument PUSH, update documentation.
      
      * lisp/term/x-win.el: Update documentation for x-last-selected-text-*.
      (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
      (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
      (x-select-text): Remove argument PUSH, update documentation.  Remove
      cut-buffer code.
      (x-selection-value-internal): Was previously x-selection-value.
      (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
      Update documentation, remove cut-buffer code.  Call
      x-selection-value-internal.
      (x-clipboard-yank): Call x-selection-value-internal.
      (x-initialize-window-system): Remove setting of x-cut-buffer-max.
      
      * src/xselect.c: Remove declaration of cut-buffer objects and functions.
      (symbol_to_x_atom): Remove mapping to XA_CUT_BUFFERn.
      (x_atom_to_symbol): Remove mapping to QCUT_BUFFERn.
      (Fx_get_cut_buffer_internal, Fx_store_cut_buffer_internal)
      (Fx_rotate_cut_buffers_internal): Remove.
      (syms_of_xselect): Remove defsubr of above.
      Remove intern of QCUT_BUFFERn.
      
      * src/xterm.c (x_term_init): Don't set dpyinfo->cut_buffers_initialized.
      
      * src/xterm.h (struct dpyinfo): Remove cut_buffers_initialized.
      6d7cc563
  4. 01 Sep, 2010 2 commits
  5. 31 Aug, 2010 5 commits
    • Chong Yidong's avatar
      * textmodes/nroff-mode.el (nroff-view): New command. · 61f7096c
      Chong Yidong authored
      (nroff-mode-map): Bind it to C-c C-c.
      61f7096c
    • Stefan Monnier's avatar
    • Stefan Monnier's avatar
      Remove old indentation and navigation code on octave-mode. · ec5d3ff7
      Stefan Monnier authored
      * lisp/progmodes/octave-mod.el (octave-mode-map): Remap down-list to
      smie-down-list rather than add a binding for octave-down-block.
      (octave-mark-block, octave-blink-matching-block-open):
      Rely on forward-sexp-function.
      (octave-fill-paragraph): Don't narrow, so you can use
      indent-according-to-mode.
      (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
      (octave-in-block-p, octave-re-search-forward-kw)
      (octave-re-search-backward-kw, octave-indent-calculate)
      (octave-end-as-array-index-p, octave-block-end-offset)
      (octave-scan-blocks, octave-forward-block, octave-backward-block)
      (octave-down-block, octave-backward-up-block, octave-up-block)
      (octave-before-magic-comment-p, octave-indent-line): Remove.
      ec5d3ff7
    • Kenichi Handa's avatar
      d419e1d9
    • Chong Yidong's avatar
      Fix several Package Menu and Finder bugs. · 187d3296
      Chong Yidong authored
      * finder.el: Load finder-inf using `require'.
      (finder-list-matches): Sorting by status is now the default.
      (finder-compile-keywords): Simpify printing.
      
      * emacs-lisp/package.el (package--read-archive-file): Just use
      `read', to avoid copying an additional string.
      (package-menu-mode): Set header-line-format here.
      (package-menu-refresh, package-menu-revert): Signal an error if
      not in the Package Menu.
      (package-menu-package-list): New var.
      (package--generate-package-list): Operate on the current buffer;
      don't assume that it is *Packages*, since the user may rename it.
      Allow persistent package listings and sort keys using
      package-menu-package-list and package-menu-package-sort-key.
      (package-menu--version-predicate): Fix version calculation.
      (package-menu-sort-by-column): Don't select the window.
      (package--list-packages): Create the *Packages* buffer.  Set
      package-menu-package-list-key.
      (list-packages): Sorting by status is now the default.
      (package-buffer-info): Use match-string-no-properties.
      (define-package): Add a &rest argument for future proofing, but
      don't use it yet.
      (package-install-from-buffer, package-install-buffer-internal):
      Merged into a single function, package-install-from-buffer.
      (package-install-file): Caller changed.
      
      Also, fix headers for hfy-cmap.el and ps-print.el.
      187d3296
  6. 30 Aug, 2010 5 commits
    • Stefan Monnier's avatar
      Use SMIE for octave-mode. · e17b68ed
      Stefan Monnier authored
      * test/indent/octave.m: New file.
      * lisp/progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
      (octave-mode-map): Remove special bindings for forward/backward-block
      and octave-backward-up-block.  Use smie-close-block.
      (octave-continuation-marker-regexp): New var.
      (octave-continuation-regexp): Use it.
      (octave-operator-table, octave-smie-op-levels)
      (octave-operator-regexp, octave-smie-indent-rules): New vars.
      (octave-smie-backward-token, octave-smie-forward-token): New funs.
      (octave-mode): Use SMIE.
      (octave-close-block): Delete.
      e17b68ed
    • Eli Zaretskii's avatar
      Fix bug #6944. · 42b6a73b
      Eli Zaretskii authored
       menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
       CLIPBOARD, not in PRIMARY.
      42b6a73b
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take · ee992a8c
      Stefan Monnier authored
      a list of parents.
      (smie-indent-column): Allow indirection through variables.
      ee992a8c
    • Stefan Monnier's avatar
      Use with-silent-modifications. · d36b74ca
      Stefan Monnier authored
      * lisp/composite.el (save-buffer-state): Delete, unused.
      * lisp/font-lock.el (save-buffer-state): Use with-silent-modifications.
      (font-lock-default-fontify-region): Use with-syntax-table.
      * lisp/jit-lock.el (with-buffer-unmodified): Remove.
      (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
      d36b74ca
    • Stefan Monnier's avatar
      Use `declare' in defmacros. · f291fe60
      Stefan Monnier authored
      * lisp/window.el (save-selected-window):
      * lisp/subr.el (with-temp-file, with-temp-message, with-syntax-table):
      * lisp/progmodes/python.el (def-python-skeleton):
      * lisp/net/dbus.el (dbus-ignore-errors):
      * lisp/jka-cmpr-hook.el (with-auto-compression-mode):
      * lisp/international/mule.el (with-category-table):
      * lisp/emacs-lisp/timer.el (with-timeout):
      * lisp/emacs-lisp/lisp-mnt.el (lm-with-file):
      * lisp/emacs-lisp/eieio.el (with-slots):
      * lisp/emacs-lisp/easymenu.el (easy-menu-define):
      * lisp/emacs-lisp/debug.el (debugger-env-macro):
      * lisp/emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
      (Multiple-value-call, Multiple-value-prog1):
      * lisp/emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
      (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
      edebug rule to definition.
      * lisp/emacs-lisp/lisp-mode.el (save-selected-window)
      (with-current-buffer, combine-after-change-calls)
      (with-output-to-string, with-temp-file, with-temp-buffer)
      (with-temp-message, with-syntax-table, read-if, eval-after-load)
      (dolist, dotimes, when, unless):
      * lisp/emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
      f291fe60
  7. 29 Aug, 2010 2 commits
    • Chong Yidong's avatar
      Merge Finder and package-menu functionality. · 96ae4c8f
      Chong Yidong authored
      * lisp/finder.el: Require `package'.
      (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
      (finder-package-info): Var deleted.
      (finder-keywords-hash, finder--builtins-alist): New vars.
      (finder-compile-keywords): Compute package--builtins and
      finder-keywords-hash instead of finder-keywords-hash, respecting
      the "Package" header.
      (finder-unknown-keywords, finder-list-matches): Use
      finder-keywords-hash and package--list-packages.
      (finder-mode): Don't set font-lock-defaults.
      (finder-exit): We don't use "*Finder-package*" and "*Finder
      Category*" buffers anymore.
      
      * lisp/info.el (Info-finder-find-node): Search package-alist instead of
      finder-package-info.
      
      * lisp/emacs-lisp/package.el (package--builtins-base): Var deleted.
      (package--builtins): Set default value to nil.
      (package-initialize): Load precomputed value of package--builtins
      from finder-inf.el.
      (package-alist, package-compute-transaction)
      (package-download-transaction): Improve docstring.
      (package-read-all-archive-contents): Do not change
      package--builtins here.
      (list-packages): Make package-list-packages an alias for this.
      Sort by status by default.
      (package--list-packages): Add optional PACKAGES arg.
      (describe-package-1): Use font-lock-face property.  For built-in
      packages, insert file commentary.
      (package--generate-package-list): Rename from
      package-list-packages-internal; all callers changed.  Add optional
      PACKAGES arg.  Add alphabetical sort fallbacks.
      (package-menu--version-predicate, package-menu--status-predicate)
      (package-menu--description-predicate)
      (package-menu--name-predicate): New functions.
      96ae4c8f
    • Chong Yidong's avatar
      Let version-to-list handle versions like "10.3d". · e2046ecf
      Chong Yidong authored
      * lisp/subr.el (version-regexp-alist): Don't use "a" and "b" for
      "alpha" and "beta".
      (version-to-list): Handle versions like "10.3d".
      e2046ecf
  8. 28 Aug, 2010 1 commit
  9. 27 Aug, 2010 1 commit
  10. 26 Aug, 2010 8 commits
    • Nathan Weizenbaum's avatar
      * progmodes/js.el: Make indentation more customizable (Bug#6914). · 4142607e
      Nathan Weizenbaum authored
      (js-paren-indent-offset, js-square-indent-offset)
      (js-curly-indent-offset): New options.
      (js--proper-indentation): Use them.
      4142607e
    • Michael Albinus's avatar
      Sync with Tramp 2.1.19. · 20b8ac83
      Michael Albinus authored
      * net/tramp-cmds.el (tramp-cleanup-all-connections)
      (tramp-reporter-dump-variable, tramp-load-report-modules)
      (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
      (tramp-bug): Recommend setting of `tramp-verbose' to 9.
      
      * net/tramp-compat.el (top): Do not autoload
      `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
      only when `start-file-process' is not bound.
      (byte-compile-not-obsolete-vars): Define if not bound.
      (tramp-compat-funcall): New defmacro.
      (tramp-compat-line-beginning-position)
      (tramp-compat-line-end-position)
      (tramp-compat-temporary-file-directory)
      (tramp-compat-make-temp-file, tramp-compat-file-attributes)
      (tramp-compat-copy-file, tramp-compat-copy-directory)
      (tramp-compat-delete-file, tramp-compat-delete-directory)
      (tramp-compat-number-sequence, tramp-compat-process-running-p):
      Use it.
      (tramp-advice-file-expand-wildcards): Do not use
      `tramp-handle-file-remote-p'.
      (tramp-compat-make-temp-file): Simplify fallback implementation.
      (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
      (tramp-compat-copy-tree): Remove function.
      (tramp-compat-delete-file): New defun.
      (tramp-compat-delete-directory): Provide implementation for older
      Emacsen.
      (tramp-compat-file-attributes): Handle only
      `wrong-number-of-arguments' error.
      
      * net/tramp-fish.el (tramp-fish-handle-copy-file): Add
      PRESERVE_SELINUX_CONTEXT.
      (tramp-fish-handle-delete-file): Add TRASH arg.
      (tramp-fish-handle-directory-files-and-attributes):
      Do not use `tramp-fish-handle-file-attributes.
      (tramp-fish-handle-file-local-copy)
      (tramp-fish-handle-insert-file-contents)
      (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
      
      * net/tramp-gvfs.el (top): Require url-util.
      (tramp-gvfs-mount-point): Remove.
      (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
      and `set-file-selinux-context'.
      (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
      (tramp-gvfs-handle-file-selinux-context)
      (tramp-gvfs-handle-set-file-selinux-context): New defuns.
      (with-tramp-dbus-call-method): Format trace message.
      (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
      (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
      Implement backup call, when operation on local files fails.  Use
      progress reporter.  Flush properties of changed files.
      (tramp-gvfs-handle-delete-file): Add TRASH arg.  Use
      `tramp-compat-delete-file'.
      (tramp-gvfs-handle-expand-file-name): Expand "~/".
      (tramp-gvfs-handle-make-directory): Make more traces.
      (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
      (tramp-gvfs-url-file-name): Hexify file name in url.
      (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
      into account for the resulting file name.
      (tramp-gvfs-handler-askquestion): Preserve current message, in
      order to let progress reporter continue afterwards.  (Bug#6257)
      Return dummy mountpoint, when the answer is "no".  See
      `tramp-gvfs-maybe-open-connection'.
      (tramp-gvfs-handler-mounted-unmounted)
      (tramp-gvfs-connection-mounted-p): Test also for new mountspec
      attribute "default_location".  Set "prefix" property.  Handle
      default-location.
      (tramp-gvfs-mount-spec): Return both prefix and mountspec.
      (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
      exists.  Raise an error, if not (due to a corresponding answer
      "no" in interactive questions, for example). Use
      `tramp-compat-funcall'.
      
      * net/tramp-imap.el (top): Autoload `epg-make-context'.
      (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
      (tramp-imap-do-copy-or-rename-file)
      (tramp-imap-handle-insert-file-contents)
      (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
      (tramp-imap-handle-delete-file): Add TRASH arg.
      
      * net/tramp-smb.el (tramp-smb-handle-copy-file): Add
      PRESERVE-SELINUX-CONTEXT.
      (tramp-smb-handle-copy-file)
      (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
      (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
      Use `with-progress-reporter'.
      (tramp-smb-handle-delete-file): Add TRASH arg.
      
      * net/tramp.el (tramp-methods): Move hostname to the end in all
      ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
      appropriate.
      (tramp-verbose): Describe verbose level 9.
      (tramp-completion-function-alist)
      (tramp-file-name-regexp, tramp-chunksize)
      (tramp-local-coding-commands, tramp-remote-coding-commands)
      (with-connection-property, tramp-completion-mode-p)
      (tramp-action-process-alive, tramp-action-out-of-band)
      (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
      (tramp-exists-file-name-handler): Fix docstring.
      (tramp-remote-process-environment): Use `format' instead of
      `concat'.  Protect version string by apostroph.
      (tramp-shell-prompt-pattern): Do not use a shy group in case of
      XEmacs.
      (tramp-file-name-regexp-unified)
      (tramp-completion-file-name-regexp-unified): On W32 systems, do
      not regard the volume letter as remote filename.  (Bug#5447)
      (tramp-perl-file-attributes)
      (tramp-perl-directory-files-and-attributes): Don't pass "$3".
      (tramp-vc-registered-read-file-names): Read input as
      here-document, otherwise the command could exceed maximum length
      of command line.
      (tramp-file-name-handler-alist): Add `file-selinux-context' and
      `set-file-selinux-context'.
      (tramp-debug-message): Add `tramp-compat-funcall' to ignored
      backtrace functions.
      (tramp-error-with-buffer): Don't show the connection buffer when
      we are in completion mode.
      (tramp-progress-reporter-update, tramp-remote-selinux-p)
      (tramp-handle-file-selinux-context)
      (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
      (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
      New defuns.
      (with-progress-reporter): New defmacro.
      (tramp-debug-outline-regexp): New defconst.
      (top, tramp-rfn-eshadow-setup-minibuffer)
      (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
      (tramp-handle-dired-compress-file, tramp-handle-shell-command)
      (tramp-completion-mode-p, tramp-check-for-regexp)
      (tramp-open-connection-setup-interactive-shell)
      (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
      (tramp-time-diff, tramp-coding-system-change-eol-conversion)
      (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
      Use `tramp-compat-funcall'.
      (tramp-handle-make-symbolic-link): Flush file properties.
      (tramp-handle-load, tramp-handle-file-local-copy)
      (tramp-handle-insert-file-contents, tramp-handle-write-region)
      (tramp-handle-vc-registered, tramp-maybe-send-script)
      (tramp-find-shell): Use `with-progress-reporter'.
      (tramp-do-file-attributes-with-stat): Add space in format string,
      in order to work around a bug in pdksh.  Reported by Gilles Pion
      <gpion@lfdj.com>.
      (tramp-handle-verify-visited-file-modtime): Do not send a command
      when the connection is not established.
      (tramp-handle-set-file-times): Simplify the check for utc.
      (tramp-handle-directory-files-and-attributes)
      (tramp-get-remote-path): Use `copy-tree'.
      (tramp-completion-handle-file-name-all-completions): Ensure, that
      non remote files are still checked.  Oops.
      (tramp-handle-copy-file, tramp-do-copy-or-rename-file): Handle
      PRESERVE-SELINUX-CONTEXT.
      (tramp-do-copy-or-rename-file): Add progress reporter.
      (tramp-do-copy-or-rename-file-directly): Do not use
      `tramp-handle-file-remote-p'.
      (tramp-do-copy-or-rename-file-out-of-band):
      Use `tramp-compat-delete-directory'.
      (tramp-do-copy-or-rename-file-out-of-band)
      (tramp-compute-multi-hops, tramp-maybe-open-connection):
      Use `format-spec-make'.
      (tramp-handle-delete-file): Add TRASH arg.
      (tramp-handle-dired-uncache): Flush directory cache, not only file
      cache.
      (tramp-handle-expand-file-name)
      (tramp-completion-handle-file-name-all-completions)
      (tramp-completion-handle-file-name-completion): Use
      `tramp-connectable-p'.
      (tramp-handle-start-file-process): Set connection property "vec".
      Use it, in order to invalidate file caches.  Check only for
      `remote-tty' process property.
      Implement tty setting.  (Bug#4604, Bug#6360)
      (tramp-file-name-for-operation): Add `call-process-region' and
      `set-file-selinux-context'.
      (tramp-find-foreign-file-name-handler)
      (tramp-advice-make-auto-save-file-name)
      (tramp-set-auto-save-file-modes): Remove superfluous check for
      `stringp'.  This is done inside `tramp-tramp-file-p'.
      (tramp-file-name-handler): Trace 'quit.  Catch the error for some
      operations when we are in completion mode.  This gives the user
      the chance to correct the file name in the minibuffer.
      (tramp-completion-mode-p): Use `non-essential'.
      (tramp-handle-file-name-all-completions): Backward/ XEmacs
      compatibility: Use `completion-ignore-case' if
      `read-file-name-completion-ignore-case' does not exist.
      (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
      (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
      `tramp-open-shell'.
      (tramp-action-password): Hide password prompt before next run.
      (tramp-process-actions): Widen connection buffer for the trace.
      (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
      process property.  Trace stty settings if `tramp-verbose' >= 9.
      Apply workaround for IRIX64 bug.  Move argument of last
      `tramp-send-command' where it belongs to.
      (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
      front of `login-args'.
      (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
      on "/dev/null" instead of "/".
      (tramp-get-ls-command-with-dired): Make test for "--dired"
      stronger.
      (tramp-set-auto-save-file-modes): Adapt version check.
      (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
      (tramp-handle-process-file): Call the program in a subshell, in
      order to preserve working directory.
      (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
      `tramp-remote-sh' from `tramp-methods'.
      (tramp-get-ls-command): Make test for "--color=never" stronger.
      (tramp-check-for-regexp): Use (forward-line 1).
      
      * net/trampver.el: Update release number.
      
      * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
      empty argument to gvfs-copy.
      
      * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
      handle new TRASH arg of `delete-file'.
      
      * net/tramp.el (tramp-handle-insert-directory): Don't use
      `forward-word', its default syntax could be changed.
      
      Implement compression for inline methods.
      
      * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
      (tramp-copy-size-limit): Allow also nil.
      (tramp-inline-compress-commands): New defconst.
      (tramp-find-inline-compress, tramp-get-inline-compress)
      (tramp-get-inline-coding): New defuns.
      (tramp-get-remote-coding, tramp-get-local-coding): Remove,
      replaced by `tramp-get-inline-coding'.
      (tramp-handle-file-local-copy, tramp-handle-write-region)
      (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
      
      Detect ssh 'ControlMaster' argument automatically in some cases.
      
      * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
      (tramp-default-method): Use it.
      
      * net/tramp.el (tramp-file-name-for-operation):
      Add file-selinux-context.
      20b8ac83
    • Łukasz Stelmach's avatar
    • Daniel Colascione's avatar
      Avoid using font-lock properties to indent in sh-get-indent-info. · 88a36e60
      Daniel Colascione authored
      * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
      instead of inspecting font-lock properties (Bug#6916).
      88a36e60
    • Chong Yidong's avatar
    • David Reitter's avatar
      server.el (server-visit-files): Run pre-command-hook and · 38dbc4d8
      David Reitter authored
      post-command-hook for each buffer while it is current
      (Bug#6910).
      (server-execute): Do not run hooks here.
      38dbc4d8
    • Michael Albinus's avatar
      Sync with Tramp 2.1.19. · 44ffae96
      Michael Albinus authored
      * net/trampver.el: Update release number.
      44ffae96
    • 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
  11. 25 Aug, 2010 3 commits