1. 23 Sep, 2010 1 commit
  2. 13 Sep, 2010 2 commits
  3. 05 Sep, 2010 2 commits
  4. 29 Aug, 2010 1 commit
  5. 19 Aug, 2010 1 commit
  6. 18 Aug, 2010 1 commit
  7. 31 Jul, 2010 1 commit
    • Eli Zaretskii's avatar
      Add a Hebrew translation of the tutorial. · cd83d522
      Eli Zaretskii authored
       etc/tutorials/TUTORIAL.he: New file.
       etc/tutorials/TUTORIAL.translators: Add TUTORIAL.he.
       lisp/files.el (bidi-paragraph-direction): Define safe local values.
       lisp/language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
       language-info-alist.  Remove outdated FIXME in a comment.
      cd83d522
  8. 12 Jun, 2010 1 commit
  9. 31 May, 2010 2 commits
  10. 27 May, 2010 1 commit
    • 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
  11. 15 May, 2010 1 commit
    • Eli Zaretskii's avatar
      Don't override standard definition of convert-standard-filename. · 98d8b17e
      Eli Zaretskii authored
      Add obsolete aliases for dos-fns.el functions.
      
       files.el (convert-standard-filename): Call
       w32-convert-standard-filename and dos-convert-standard-filename on
       the corresponding systems.
       w32-fns.el (w32-convert-standard-filename): Rename from
       convert-standard-filename.  Doc fix.
       dos-fns.el (dos-convert-standard-filename): Doc fix.
       (convert-standard-filename): Don't defalias.
       (register-name-alist, make-register, register-value)
       (set-register-value, intdos): Obsolete aliases for the
       corresponding dos-* functions and variables.
       (dos-intdos): Add a doc string.
      98d8b17e
  12. 07 May, 2010 2 commits
  13. 06 May, 2010 1 commit
  14. 20 Apr, 2010 1 commit
  15. 21 Apr, 2010 1 commit
    • Karel Klíc's avatar
      Add SELinux support. · 574c05e2
      Karel Klíc authored
      * configure.in: New option: --with(out)-selinux, on by default.
      Set HAVE_LIBSELINUX if we find libselinux, and substitute
      LIBSELINUX_LIBS in Makefiles.
      
      * src/Makefile.in (LIBSELINUX_LIBS): New.
      (LIBES): Add $LIBSELINUX_LIBS.
      * src/eval.c, lisp.h (call7): New function.
      * src/fileio.c [HAVE_LIBSELINUX]: Include selinux headers.
      (Ffile_selinux_context, Fset_file_selinux_context):
      New functions.
      (Fcopy_file): New parameter preserve-selinux-context.
      (Frename_file): Preserve selinux context when renaming by copy-file.
      
      * lisp/files.el (backup-buffer): Handle SELinux context, and return it
      if a backup was made by renaming.
      (backup-buffer-copy): Set SELinux context to the target file.
      (basic-save-buffer): Set SELinux context of the newly written file.
      (basic-save-buffer-1): Now it also returns any SELinux context.
      (basic-save-buffer-2): Set SELinux context of the newly created file,
      and return it.
      * lisp/net/tramp.el (tramp-file-name-for-operation):
      Add file-selinux-context.
      574c05e2
  16. 18 Apr, 2010 1 commit
    • Juri Linkov's avatar
      Add 7z archive format support (bug#5475). · b3671a51
      Juri Linkov authored
      * arc-mode.el (archive-zip-extract): Try to find 7z executable.
      (archive-7z-extract): New defcustom.
      (archive-find-type): Add magic string for 7z.
      (archive-extract-by-stdout): Add new optional arg `stderr-file'.
      If `stderr-file' is non-nil, use `(t stderr-file)' for the
      `buffer' arg of `call-process'.
      (archive-zip-extract): Check `archive-zip-extract' for "7z" and
      call the function `archive-7z-extract' with the variable
      `archive-7z-extract' let-bound to `archive-zip-extract'.
      (archive-7z-summarize, archive-7z-extract): New functions.
      
      * international/mule.el (auto-coding-alist):
      * files.el (auto-mode-alist): Add 7z file extension.
      b3671a51
  17. 31 Mar, 2010 1 commit
  18. 29 Mar, 2010 1 commit
    • Eli Zaretskii's avatar
      Support MS-Windows build and reversed rows in GUI frames; add initial docs. · f4b6ba46
      Eli Zaretskii authored
       doc/emacs/mule.texi (International): Mention support of
       bidirectional editing.
       (Bidirectional Editing): New section.
       etc/HELLO: Reorder Arabic and Hebrew into logical order, and
       insert RLM before the opening paren, to make the display more
       reasonable.  Add setting for bidi-display-reordering in the local
       variables section.
       lisp/files.el: Make bidi-display-reordering safe variable for
       boolean values.
       src/xdisp (append_glyph): If the glyph row is reversed, prepend the
       glyph rather than appending it.
       src/makefile.w32-in (OBJ1): Add $(BLD)/bidi.$(O).
       ($(BLD)/bidi.$(O)): New target.
      f4b6ba46
  19. 18 Mar, 2010 1 commit
  20. 12 Mar, 2010 2 commits
    • Dan Nicolaescu's avatar
      Add .dir-locals.el support for file-less buffers. · 8117868f
      Dan Nicolaescu authored
      * files.el (hack-local-variables): Split out code to apply local
      variable settings ...
      (hack-local-variables-apply): ... here.  New function.
      (hack-dir-local-variables): Use the default directory for when the
      buffer does not have an associated file.
      (hack-dir-local-variables-non-file-buffer): New function.
      * diff-mode.el (diff-mode):
      * vc-annotate.el (vc-annotate-mode):
      * vc-dir.el (vc-dir-mode):
      * log-edit.el (log-edit-mode):
      * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
      8117868f
    • Dan Nicolaescu's avatar
      Add support for shelving snapshots and for showing shelves. · 855a2294
      Dan Nicolaescu authored
      * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
      (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
      New functions.
      (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
      (vc-bzr-extra-menu-map): Map them.
      855a2294
  21. 11 Mar, 2010 1 commit
  22. 28 Feb, 2010 1 commit
  23. 24 Feb, 2010 1 commit
  24. 21 Feb, 2010 1 commit
  25. 14 Feb, 2010 1 commit
  26. 27 Jan, 2010 2 commits
  27. 17 Jan, 2010 1 commit
  28. 13 Jan, 2010 1 commit
  29. 12 Jan, 2010 1 commit
  30. 01 Jan, 2010 1 commit
  31. 17 Dec, 2009 2 commits
    • Michael Albinus's avatar
      * files.el (file-expand-wildcards): In case of remote files, check · 1f3611c6
      Michael Albinus authored
      only local file name part for wildcards.  Provide feature 'files
      and subfeature 'remote-wildcards.  (Bug#5198)
      
      * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
      if there is already an established connection.
      (tramp-advice-file-expand-wildcards): Remove it.
      
      * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
      (tramp-advice-file-expand-wildcards): Moved from tramp.el.
      Activate advice for older GNU Emacs versions.  (Bug#5237)
      1f3611c6
    • Juri Linkov's avatar
      Fix regression from 23.1 to allow multiple modes in Local Variables. · cfb54897
      Juri Linkov authored
      * files.el (hack-local-variables-filter): While ignoring duplicates,
      don't take `mode' into account.
      (hack-local-variables-filter, hack-dir-local-variables): Don't
      remove duplicate `mode' from local-variables-alist (like `eval').
      cfb54897
  32. 25 Nov, 2009 1 commit
    • Juri Linkov's avatar
      Provide additional default values (file name at point or at the · 7d371eac
      Juri Linkov authored
      current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
      
      * minibuffer.el (read-file-name-defaults): New function.
      (read-file-name): Reset `minibuffer-default' to nil when
      it duplicates initial input `insdef'.
      Bind `minibuffer-default-add-function' to lambda that
      calls `read-file-name-defaults' in `minibuffer-selected-window'.
      (minibuffer-insert-file-name-at-point): New command.
      
      * files.el (file-name-at-point-functions): New defcustom.
      (find-file-default): Remove defvar.
      (find-file-read-args): Don't use `find-file-default'.
      Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
      to `read-file-name'.
      (find-file-literally): Use `read-file-name' with
      `confirm-nonexistent-file-or-buffer'.
      
      * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
      
      * dired.el (dired-read-dir-and-switches):
      Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
      to `read-file-name'.
      (dired-file-name-at-point): New function.
      (dired-mode): Add hook `dired-file-name-at-point' to
      `file-name-at-point-functions'.
      7d371eac
  33. 13 Nov, 2009 1 commit
    • Stefan Monnier's avatar
      * x-dnd.el (x-dnd-maybe-call-test-function): · 7fdbcd83
      Stefan Monnier authored
      * window.el (split-window-vertically):
      * whitespace.el (whitespace-help-on):
      * vc-rcs.el (vc-rcs-consult-headers):
      * userlock.el (ask-user-about-lock-help)
      (ask-user-about-supersession-help):
      * type-break.el (type-break-force-mode-line-update):
      * time-stamp.el (time-stamp-conv-warn):
      * terminal.el (te-set-output-log, te-more-break, te-filter)
      (te-sentinel,terminal-emulator):
      * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
      (term-write-input-ring, term-check-source, term-start-output-log):
      (term-display-buffer-line, term-dynamic-list-completions):
      (term-ansi-make-term, serial-term):
      * subr.el (selective-display):
      * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
      (strokes-encode-buffer, strokes-xpm-for-compressed-string):
      * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
      (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
      (speedbar-remove-localized-speedbar-support)
      (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
      (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
      (speedbar-buffers-line-directory):
      * simple.el (shell-command-on-region, append-to-buffer)
      (prepend-to-buffer):
      * shadowfile.el (shadow-save-todo-file):
      * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
      (scroll-bar-maybe-set-window-start):
      * sb-image.el (speedbar-image-dump):
      * saveplace.el (save-place-alist-to-file, save-places-to-alist)
      (load-save-place-alist-from-file):
      * ps-samp.el (ps-print-message-from-summary):
      * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
      (ps-background-image, ps-begin-job, ps-do-despool):
      * ps-bdf.el (bdf-find-file, bdf-read-font-info):
      * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
      (pr-ps-message-from-summary, pr-lpr-message-from-summary):
      (pr-call-process, pr-file-list, pr-interface-save):
      * novice.el (disabled-command-function)
      (enable-command, disable-command):
      * mouse.el (mouse-buffer-menu-alist):
      * mouse-copy.el (mouse-kill-preserving-secondary):
      * macros.el (kbd-macro-query):
      * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
      * informat.el (batch-info-validate):
      * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
      * hippie-exp.el (try-expand-dabbrev-visible):
      * help-mode.el (help-make-xrefs):
      * help-fns.el (describe-variable):
      * generic-x.el (bat-generic-mode-run-as-comint):
      * finder.el (finder-mouse-select):
      * find-dired.el (find-dired-sentinel):
      * filesets.el (filesets-file-close):
      * files.el (list-directory):
      * faces.el (list-faces-display, describe-face):
      * facemenu.el (list-colors-display):
      * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
      * epg.el (epg--process-filter, epg-cancel):
      * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
      (epa--read-signature-type):
      * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
      (emerge-file-names):
      * ehelp.el (electric-helpify):
      * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
      * ediff-vers.el (rcs-ediff-view-revision):
      * ediff-util.el (ediff-setup):
      * ediff-mult.el (ediff-append-custom-diff):
      * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
      (ediff-wordify):
      * echistory.el (Electric-command-history-redo-expression):
      * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
      * disp-table.el (describe-display-table):
      * dired.el (dired-find-buffer-nocreate):
      * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
      * dabbrev.el (dabbrev--same-major-mode-p):
      * chistory.el (list-command-history):
      * apropos.el (apropos-documentation):
      * allout.el (allout-obtain-passphrase):
      (allout-copy-exposed-to-buffer):
      (allout-verify-passphrase): Use with-current-buffer.
      7fdbcd83