1. 05 May, 2011 1 commit
  2. 05 Mar, 2011 1 commit
    • Antoine Levitt's avatar
      Replace many instances of read-file-name with read-directory-name. · 7e27ce9c
      Antoine Levitt authored
      * lisp/files.el (delete-directory, copy-directory, list-directory): Use
      read-directory-name.
      
      * lisp/find-file.el (ff-find-the-other-file):
      * lisp/net/ange-ftp.el (ange-ftp-make-directory):
      * lisp/printing.el (pr-interactive-dir):
      * lisp/progmodes/ada-prj.el (ada-prj-load-directory):
      * lisp/progmodes/ebnf2ps.el (ebnf-print-directory)
      (ebnf-spool-directory, ebnf-eps-directory)
      (ebnf-syntax-directory):
      * lisp/shell.el (shell):
      * lisp/speedbar.el (speedbar-create-directory):
      * lisp/vc/emerge.el (emerge-merge-directories):
      * lisp/vc/vc-dir.el (vc-dir):
      * lisp/vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
      
      * lisp/gnus.el (gnus-interactive): Use read-directory-name.
      
      * lisp/gnus-uu.el (gnus-uu-decode-uu-and-save)
      (gnus-uu-decode-unshar-and-save, gnus-uu-decode-save)
      (gnus-uu-decode-binhex, gnus-uu-decode-yenc)
      (gnus-uu-decode-save-view, gnus-uu-decode-postscript-and-save):
      Likewise.
      
      * lisp/mh-funcs.el (mh-store-msg, mh-store-buffer):
      * lisp/mh-mime.el (mh-mime-save-parts): Use read-directory-name.
      
      * lisp/dired.el: Clarify comment.
      7e27ce9c
  3. 26 Jan, 2011 1 commit
  4. 25 Jan, 2011 1 commit
  5. 02 Jan, 2011 1 commit
  6. 06 Nov, 2010 1 commit
    • Glenn Morris's avatar
      Use line-end-position rather than end-of-line, etc. · 5ed619e0
      Glenn Morris authored
      * textmodes/texnfo-upd.el (texinfo-start-menu-description)
      (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
      (texinfo-delete-existing-pointers, texinfo-find-pointer)
      (texinfo-clean-up-node-line, texinfo-insert-node-lines)
      (texinfo-multiple-files-update):
      * textmodes/table.el (table--probe-cell-left-up)
      (table--probe-cell-right-bottom):
      * textmodes/picture.el (picture-tab-search):
      * textmodes/page-ext.el (pages-copy-header-and-position)
      (pages-directory-for-addresses):
      * progmodes/vera-mode.el (vera-get-offset):
      * progmodes/simula.el (simula-calculate-indent):
      * progmodes/python.el (python-pdbtrack-overlay-arrow):
      * progmodes/prolog.el (end-of-prolog-clause):
      * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
      * progmodes/icon.el (indent-icon-exp):
      * progmodes/etags.el (tag-re-match-p):
      * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
      * progmodes/ebnf2ps.el (ebnf-begin-file):
      * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
      (dcl-save-local-variable):
      * play/life.el (life-setup):
      * play/gametree.el (gametree-looking-at-ply):
      * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
      * mail/sendmail.el (mail-mode-auto-fill):
      * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
      * emacs-lisp/edebug.el (edebug-overlay-arrow):
      * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
      * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
      (woman-tab-to-tab-stop, WoMan-warn-ignored):
      * type-break.el (type-break-file-keystroke-count):
      * term.el (term-replace-by-expanded-history-before-point)
      (term-skip-prompt, term-extract-string):
      * speedbar.el (speedbar-edit-line, speedbar-expand-line)
      (speedbar-contract-line, speedbar-toggle-line-expansion)
      (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
      (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
      * sort.el (sort-skip-fields):
      * skeleton.el (skeleton-internal-list):
      * simple.el (line-move-finish, line-move-to-column):
      * shell.el (shell-forward-command):
      * misc.el (copy-from-above-command):
      * makesum.el (double-column):
      * ebuff-menu.el (electric-buffer-update-highlight):
      * dired.el (dired-move-to-end-of-filename):
      * dframe.el (dframe-popup-kludge):
      * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
      * arc-mode.el (archive-get-lineno):
      Use line-end-position and line-beginning-position.
      
      * net/ange-ftp.el, progmodes/hideif.el, reposition.el:
      Same, but only in comments.
      5ed619e0
  7. 21 Sep, 2010 1 commit
  8. 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
  9. 05 May, 2010 1 commit
    • Michael Albinus's avatar
      Add FORCE argument to `delete-file'. · 66bdc868
      Michael Albinus authored
      * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
      forcing to delete the temporary file.
      (ange-ftp-delete-file): Add FORCE arg.
      (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): Force
      file deletion.
      
      * net/tramp-compat.el (tramp-compat-delete-file): New defun.
      
      * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
      (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 `tramp-compat-delete-file'.
      
      * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
      (tramp-fish-handle-make-symbolic-link)
      (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
      
      * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
      `tramp-compat-delete-file'.
      
      * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
      (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
      
      * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
      (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
      
      * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
      (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
      (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
      `tramp-compat-delete-file'.
      66bdc868
  10. 23 Apr, 2010 1 commit
    • Michael Albinus's avatar
      Implement SELINUX backends. · 632c5478
      Michael Albinus authored
      * net/tramp.el (tramp-file-name-handler-alist): Add
      `file-selinux-context' and `set-file-selinux-context'.
      (tramp-handle-file-selinux-context)
      (tramp-handle-set-file-selinux-context): New defuns.
      (tramp-handle-copy-file, tramp-do-copy-or-rename-file): Handle
      PRESERVE-SELINUX-CONTEXT.
      
      * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add
      `file-selinux-context' and `set-file-selinux-context'.
      (tramp-gvfs-handle-file-selinux-context)
      (tramp-gvfs-handle-set-file-selinux-context): New defuns.
      (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
      
      * net/ange-ftp.el (ange-ftp-copy-file):
      * net/tramp-fish.el (tramp-fish-handle-copy-file):
      * net/tramp-imap.el (tramp-imap-handle-copy-file):
      * net/tramp-smb.el (tramp-smb-handle-copy-file): Add
      PRESERVE-SELINUX-CONTEXT.
      632c5478
  11. 12 Mar, 2010 2 commits
    • Chong Yidong's avatar
      Fix last change to use existing comm Custom group instead of `net'. · 26f4b8ab
      Chong Yidong authored
      * cus-edit.el (net): Remove group.
      (comm): Promote to top-level group.
      
      * url/url-vars.el (url):
      * net/browse-url.el (browse-url):
      * net/xesam.el (xesam):
      * net/tramp.el (tramp):
      * net/goto-addr.el (goto-address):
      * net/ange-ftp.el (ange-ftp): Put in comm group.
      26f4b8ab
    • Chong Yidong's avatar
      Reorganize Custom groups. · eba5b4dd
      Chong Yidong authored
      * cus-edit.el (processes): Remove from development group.
      (oop, hypermedia): Delete group.
      (net): New group.
      
      * url/url-vars.el (url):
      * net/browse-url.el (browse-url):
      * net/xesam.el (xesam):
      * net/tramp.el (tramp):
      * net/goto-addr.el (goto-address):
      * net/ange-ftp.el (ange-ftp): Put in net group.
      
      * view.el (view): Remove from editing group.
      
      * uniquify.el (uniquify): Put in files group.
      
      * net/browse-url.el (browse-url):
      * ps-print.el (postscript): Put in external group.
      
      * cus-edit.el (outlines):
      * textmodes/text-mode.el (text-mode-hook):
      * textmodes/table.el (table):
      * textmodes/picture.el (picture):
      * outline.el (outlines): Put in wp group.
      
      * nxml/nxml-mode.el (nxml): Remove from wp group.
      
      * net/tramp-imap.el (tramp-imap): Put in tramp group.
      
      * mail/metamail.el (metamail): Remove from hypermedia group.
      
      * cus-edit.el (abbrev):
      * whitespace.el (whitespace):
      * vcursor.el (vcursor):
      * reveal.el (reveal):
      * hl-line.el (hl-line): Put in convenience group.
      
      * epg-config.el (epg): Put in data group.
      
      * emulation/pc-select.el (pc-select): Put in emulations group.
      
      * calculator.el (calculator): Put in applications group.
      
      * org/org.el (org): Remove from hypermedia group.
      eba5b4dd
  12. 14 Feb, 2010 1 commit
  13. 05 Feb, 2010 1 commit
  14. 03 Feb, 2010 1 commit
  15. 02 Feb, 2010 1 commit
  16. 28 Jan, 2010 1 commit
  17. 13 Jan, 2010 1 commit
  18. 29 Nov, 2009 1 commit
  19. 31 Oct, 2009 1 commit
  20. 18 Oct, 2009 1 commit
  21. 16 Oct, 2009 1 commit
  22. 02 Oct, 2009 2 commits
  23. 01 Oct, 2009 1 commit
  24. 11 Sep, 2009 1 commit
  25. 30 Aug, 2009 1 commit
  26. 22 Aug, 2009 1 commit
  27. 05 Apr, 2009 1 commit
  28. 24 Mar, 2009 1 commit
  29. 08 Mar, 2009 1 commit
  30. 23 Feb, 2009 1 commit
  31. 05 Jan, 2009 1 commit
  32. 16 Nov, 2008 1 commit
    • Juanma Barranquero's avatar
      * net/ange-ftp.el (ange-ftp-multi-msgs, ange-ftp-good-msgs) · 4671dba5
      Juanma Barranquero authored
        (ange-ftp-try-passive-mode, ange-ftp-data-buffer-name)
        (ange-ftp-account-hashtable, ange-ftp-ls-cache-lsargs)
        (ange-ftp-ls-cache-file, ange-ftp-ls-cache-res, ange-ftp-get-user)
        (ange-ftp-ftp-name-component, ange-ftp-kill-ftp-process)
        (ange-ftp-quote-string, ange-ftp-process-handle-line)
        (ange-ftp-start-process, ange-ftp-send-cmd, ange-ftp-add-dumb-unix-host)
        (ange-ftp-before-parse-ls-hook, ange-ftp-after-parse-ls-hook)
        (ange-ftp-ls, ange-ftp-add-dl-dir, ange-ftp-get-file-entry)
        (ange-ftp-set-binary-mode, ange-ftp-set-ascii-mode, ange-ftp-get-pwd)
        (ange-ftp-file-name-as-directory-alist, ange-ftp-reread-dir)
        (ange-ftp-vms-filename-regexp, ange-ftp-bs2000-fix-name-regexp-reverse)
        (ange-ftp-bs2000-fix-name-regexp): Fix typos in docstrings.
        (ange-ftp-name-format, ange-ftp-gateway-fatal-msgs)
        (ange-ftp-xfer-size-msgs, ange-ftp-tmp-name-template)
        (ange-ftp-netrc-filename, ange-ftp-disable-netrc-security-check)
        (ange-ftp-default-user, ange-ftp-default-password)
        (ange-ftp-default-account, ange-ftp-netrc-default-password)
        (ange-ftp-netrc-default-account, ange-ftp-dumb-unix-host-regexp)
        (ange-ftp-binary-file-name-regexp, ange-ftp-gateway-host)
        (ange-ftp-gateway-prompt-pattern, ange-ftp-smart-gateway-port)
        (ange-ftp-send-hash, ange-ftp-binary-hash-mark-size)
        (ange-ftp-ascii-hash-mark-size, ange-ftp-process-verbose)
        (ange-ftp-ftp-program-name, ange-ftp-gateway-ftp-program-name)
        (ange-ftp-ftp-program-args, ange-ftp-nslookup-program)
        (ange-ftp-make-backup-files, ange-ftp-retry-time)
        (ange-ftp-bs2000-special-prefix): Remove * from defcustom docstrings.
        (ange-ftp-skip-msgs, ange-ftp-potential-error-msgs)
        (ange-ftp-gateway-tmp-name-template)
        (ange-ftp-generate-anonymous-password, ange-ftp-local-host-regexp)
        (ange-ftp-gateway-program-interactive, ange-ftp-smart-gateway)
        (ange-ftp-raw-login): Remove * from defcustom docstrings; fix typos.
        (ange-ftp-fatal-msgs): Remove * from defcustom docstring; doc fix.
        (ange-ftp-gateway-program): Remove * from docstring and reflow.
        (ange-ftp-hash-entry-exists-p, ange-ftp-hash-table-keys)
        (ange-ftp-raw-send-cmd, ange-ftp-get-files, ange-ftp-canonize-filename)
        (ange-ftp-file-name-as-directory, ange-ftp-directory-file-name):
        (ange-ftp-copy-files-async, ange-ftp-rename-remote-to-remote):
        (ange-ftp-rename-local-to-remote): Doc fixes.
        (ange-ftp-set-xfer-size, ange-ftp-call-cont, ange-ftp-process-filter):
        Use `when', `unless'.
        (ange-ftp-set-passwd): Rename arg PASSWD to PASSWORD.
        (ange-ftp-process-handle-hash): Rename arg STR to STRING.
        (ange-ftp-nslookup-host): Rename arg HOST to HOSTNAME.
        (ange-ftp-smart-login): Rename arg PASS to PASSWORD.
        (ange-ftp-normal-login): Rename arg PASS to PASSWORD.  Fix typo.
        (ange-ftp-process-sentinel): Use `when'.  Fix typo.
        (ange-ftp-gwp-start): Use `let', not `let*'; use `when'.  Fix typo.
        (ange-ftp-fix-name-func-alist, ange-ftp-fix-dir-name-func-alist)
        (ange-ftp-parse-list-func-alist, ange-ftp-add-file-entry-alist)
        (ange-ftp-delete-file-entry-alist): Fix typos and reflow docstring.
        (ange-ftp-dumb-unix-host, ange-ftp-binary-file)
        (ange-ftp-directory-files, ange-ftp-file-modtime, ange-ftp-vms-host)
        (ange-ftp-mts-host, ange-ftp-cms-host, ange-ftp-bs2000-host)
        (ange-ftp-bs2000-posix-host): Use `string-match-p' instead of
        `(save-match-data (string-match ...))'.
        (ange-ftp-use-gateway-p, ange-ftp-use-smart-gateway-p)
        (ange-ftp-file-name-directory, ange-ftp-file-name-nondirectory):
        Use `string-match-p' instead of `(save-match-data (string-match ...))'.
        Doc fixes.
      4671dba5
  33. 29 Sep, 2008 1 commit
  34. 06 May, 2008 1 commit
  35. 19 Feb, 2008 1 commit
  36. 13 Feb, 2008 2 commits
  37. 06 Feb, 2008 1 commit