1. 29 May, 2010 2 commits
    • Eli Zaretskii's avatar
      Implement bidi-sensitive word movement with arrow keys. · db5dce9d
      Eli Zaretskii authored
       lisp/subr.el (right-arrow-command, left-arrow-command): Move to bindings.el.
       lisp/bindings.el (right-char, left-char): Move from subr.el and
       rename from right-arrow-command and left-arrow-command.
       (right-word, left-word): New functions.
       (global-map) <right>: Bind to right-char.
       (global-map) <left>: Bind to left-char.
       (global-map) <C-right>: Bind to right-word.
       (global-map) <C-left>: Bind to left-word.
      
       doc/emacs/basic.texi (Moving Point): Update due to renaming of commands bound
       to arrows.  Document bidi-aware behavior of C-<right> and C-<left>.
      db5dce9d
    • Eli Zaretskii's avatar
      Fix bug #6294. · 9b655a0a
      Eli Zaretskii authored
       lisp/ls-lisp.el (ls-lisp-classify-file): New function.
       (ls-lisp-insert-directory): Call it if switches include -F.
       (ls-lisp-classify): Call ls-lisp-classify-file.
       (insert-directory): Remove blanks from switches.
      9b655a0a
  2. 28 May, 2010 3 commits
    • Juri Linkov's avatar
      * image-dired.el (image-dired-dired-toggle-marked-thumbs): · 0040735a
      Juri Linkov authored
      Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
      (Bug#5270)
      0040735a
    • Michael Albinus's avatar
      * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall' · b6827fff
      Michael Albinus authored
      to ignored backtrace functions.
      (with-progress-reporter): Expand docstring.
      (tramp-handle-delete-file): Implement TRASH argument.
      (tramp-get-remote-trash): New defun.
      b6827fff
    • Michael Albinus's avatar
      * net/tramp-compat.el (tramp-compat-delete-file): Use · eba082a2
      Michael Albinus authored
      `symbol-value' for backward compatibility.
      
      * net/tramp.el (tramp-handle-make-symbolic-link)
      (tramp-handle-load)
      (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-process-file, tramp-handle-call-process-region)
      (tramp-handle-shell-command, tramp-handle-file-local-copy)
      (tramp-handle-insert-file-contents, tramp-handle-write-region)
      (tramp-delete-temp-file-function): Use `delete-file' instead
      of `tramp-compat-delete-file'.
      
      * net/tramp-fish.el (tramp-fish-handle-delete-directory)
      (tramp-fish-handle-make-symbolic-link)
      (tramp-fish-handle-process-file): Use `delete-file' instead
      of `tramp-compat-delete-file'.
      
      * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
      `delete-file' instead of `tramp-compat-delete-file'.
      
      * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
      (tramp-gvfs-handle-write-region): Use `delete-file' instead of
      `tramp-compat-delete-file'.
      
      * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
      `delete-file' instead of `tramp-compat-delete-file'.
      
      * net/tramp-smb.el (tramp-smb-handle-copy-file)
      (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
      (tramp-smb-handle-write-region): Use `delete-file' instead of
      `tramp-compat-delete-file'.
      (tramp-smb-handle-delete-directory): Use 'trash as arg.
      eba082a2
  3. 27 May, 2010 4 commits
    • Chong Yidong's avatar
      Change delete-by-moving-to-trash so Lisp calls explicitly request trashing. · f1a5d776
      Chong Yidong authored
      * src/fileio.c (Fdelete_file): Change meaning of optional arg to mean
      whether to trash.
      (internal_delete_file, Frename_file): Callers changed.
      (delete_by_moving_to_trash): Doc fix.
      (Fdelete_directory_internal): Don't move to trash.
      
      * src/callproc.c (delete_temp_file):
      * src/buffer.c (Fkill_buffer): Callers changed.
      
      * src/lisp.h: Update prototype.
      
      * lisp/diff.el (diff-sentinel):
      * lisp/epg.el (epg--make-temp-file, epg-decrypt-string)
      (epg-verify-string, epg-sign-string, epg-encrypt-string):
      * lisp/jka-compr.el (jka-compr-partial-uncompress)
      (jka-compr-call-process, jka-compr-write-region):
      * lisp/server.el (server-sentinel): Remove optional arg from
      delete-file, reverting 2010-05-03 change.
      
      * lisp/dired.el (dired-delete-file): New arg TRASH.
      (dired-internal-do-deletions): New arg TRASH.  Use progress
      reporter.
      (dired-do-flagged-delete, dired-do-delete): Use trash.
      
      * lisp/files.el (delete-directory): New arg TRASH.
      
      * lisp/speedbar.el (speedbar-item-delete): Allow trashing.
      
      * lisp/net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
      (ange-ftp-rename-remote-to-remote)
      (ange-ftp-rename-local-to-remote)
      (ange-ftp-rename-remote-to-local, ange-ftp-load)
      (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
      `delete-file'.
      (ange-ftp-delete-directory): Add optional arg to `delete-file', to
      allow trashing.
      
      * lisp/net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
      handle new TRASH arg of `delete-file'.
      
      * lisp/net/tramp-fish.el (tramp-fish-handle-delete-directory)
      (tramp-fish-handle-delete-file)
      (tramp-fish-handle-make-symbolic-link)
      (tramp-fish-handle-process-file): Use null TRASH arg in
      `tramp-compat-delete-file' call.
      
      * lisp/net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
      arg in `tramp-compat-delete-file' call.
      
      * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
      (tramp-gvfs-handle-write-region): Use null TRASH arg in
      `tramp-compat-delete-file' call.
      
      * lisp/net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
      (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
      `tramp-compat-delete-file' call.
      
      * lisp/net/tramp-smb.el (tramp-smb-handle-copy-file)
      (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
      (tramp-smb-handle-write-region): Use null TRASH arg in
      tramp-compat-delete-file call.
      (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
      (tramp-smb-handle-delete-file): Rename arg.
      
      * lisp/net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
      (tramp-handle-make-symbolic-link, tramp-handle-load)
      (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-process-file, tramp-handle-call-process-region)
      (tramp-handle-shell-command, tramp-handle-file-local-copy)
      (tramp-handle-insert-file-contents, tramp-handle-write-region)
      (tramp-delete-temp-file-function): Use null TRASH arg in
      tramp-compat-delete-file call.
      f1a5d776
    • Chong Yidong's avatar
      Let htmlfontify recognize face aliases (Bug#6279). · ecb0ab90
      Chong Yidong authored
      * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
      font-lock-constant-face, not obsolete font-lock-reference-face.
      
      * htmlfontify.el (hfy-face-resolve-face): New function.
      (hfy-face-to-style): Use it (Bug#6279).
      ecb0ab90
    • Stefan Monnier's avatar
      Provide hooks to use a different tokenizer in SMIE. · 11e4d8c0
      Stefan Monnier authored
      * lisp/emacs-lisp/smie.el (smie-forward-token-function)
      (smie-backward-token-function): New vars.
      (smie-backward-sexp, smie-forward-sexp)
      (smie-indent-hanging-p, smie-indent-calculate): Use them.
      (smie-default-backward-token): Rename from smie-backward-token and
      skip comments.
      (smie-default-forward-token): Rename from smie-forward-token and
      skip comments.
      (smie-next-sexp): Handle nil results from next-token.
      (smie-indent-calculate): Add a new case for special `fixindent' comments.
      11e4d8c0
    • Kenichi Handa's avatar
  4. 26 May, 2010 2 commits
  5. 25 May, 2010 12 commits
  6. 22 May, 2010 1 commit
    • Chong Yidong's avatar
      Rename image-refresh to image-flush. · 110683ad
      Chong Yidong authored
      * image.c (Fimage_flush): Rename from image-refresh.
      
      * image.el (image-refresh): Define as an alias for image-flush.
      
      * image-mode.el (image-toggle-display-image): Caller changed.
      
      * display.texi (Image Cache): Update documentation about image
      caching.
      110683ad
  7. 21 May, 2010 7 commits
  8. 20 May, 2010 9 commits