comparison lisp/shadowfile.el @ 65680:ed770a0a7846

2005-09-24 Emilio C. Lopes <eclig@gmx.net> * woman.el (woman-file-name): * wid-edit.el (widget-file-prompt-value) (widget-coding-system-prompt-value): * w32-fns.el (set-w32-system-coding-system): * vc.el (vc-version-diff, vc-annotate): * textmodes/reftex-auc.el (reftex-arg-cite) (reftex-arg-index-tag): * textmodes/refer.el (refer-get-bib-files): * textmodes/artist.el (artist-figlet-choose-font): * terminal.el (terminal-emulator): * replace.el (occur-read-primary-args): * rect.el (string-rectangle, string-insert-rectangle): * ps-print.el (ps-print-preprint): * progmodes/pascal.el (pascal-goto-defun): * progmodes/etags.el (visit-tags-table, visit-tags-table-buffer): * progmodes/compile.el (compilation-find-file): * printing.el (pr-interactive-n-up): * play/animate.el (animate-birthday-present): * net/rcompile.el (remote-compile): * man.el (man, Man-goto-section, Man-follow-manual-reference): * mail/rmailsum.el (rmail-summary-search-backward) (rmail-summary-search): * mail/rmailout.el (rmail-output-read-rmail-file-name) (rmail-output-read-file-name): * mail/rmail.el (rmail-search, rmail-search-backwards): * mail/mailabbrev.el (merge-mail-abbrevs, rebuild-mail-abbrevs): * locate.el (locate): * international/quail.el (quail-show-keyboard-layout): * international/mule.el (set-buffer-file-coding-system) (revert-buffer-with-coding-system, set-file-name-coding-system) (set-terminal-coding-system, set-keyboard-coding-system) (set-next-selection-coding-system): * international/mule-diag.el (describe-coding-system) (describe-font, describe-fontset): * international/mule-cmds.el (universal-coding-system-argument) (search-unencodable-char, describe-input-method) (set-language-environment, describe-language-environment): * international/codepage.el (codepage-setup): * international/code-pages.el (codepage-setup): * info.el (Info-search, Info-follow-reference) (Info-search-backward): * emacs-lisp/advice.el (ad-read-advised-function) (ad-read-advice-class, ad-clear-cache, ad-activate) (ad-deactivate, ad-update, ad-unadvise, ad-read-advice-name) (ad-enable-advice, ad-disable-advice, ad-remove-advice) (ad-read-regexp): * ediff-util.el (ediff-toggle-regexp-match): * ediff-ptch.el (ediff-prompt-for-patch-file): * dired-aux.el (dired-diff): * diff.el (diff): * cus-edit.el (custom-variable-prompt): * calendar/timeclock.el (timeclock-ask-for-project): * calc/calcalg3.el (calc-get-fit-variables): * calc/calc-store.el (calc-edit-variable) (calc-permanent-variable): * vc-mcvs.el (vc-mcvs-register): * shadowfile.el (shadow-define-literal-group): * woman.el (woman-file-name): * vc.el (vc-version-diff, vc-merge): * textmodes/reftex-index.el (reftex-index-complete-tag): * format.el (format-decode-buffer, format-decode-region): * emulation/viper-cmd.el (viper-read-string-with-history): * emacs-lisp/debug.el (cancel-debug-on-entry): * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): * ediff.el (ediff-merge-revisions) (ediff-merge-revisions-with-ancestor, ediff-revision): * completion.el (interactive-completion-string-reader): * calc/calc-prog.el (calc-user-define-formula): Follow convention for reading with the minibuffer.
author Romain Francoise <romain@orebokech.com>
date Sat, 24 Sep 2005 13:44:02 +0000
parents 41bb365f41c4
children 3bd95f4f2941 ee12d75eb214
comparison
equal deleted inserted replaced
65679:56406afc87de 65680:ed770a0a7846
436 primary)) 436 primary))
437 (message "Regexp doesn't include the primary host!") 437 (message "Regexp doesn't include the primary host!")
438 (sit-for 2)) 438 (sit-for 2))
439 try-regexp)) 439 try-regexp))
440 ; (username (read-no-blanks-input 440 ; (username (read-no-blanks-input
441 ; (format "Username [default: %s]: " 441 ; (format "Username (default %s): "
442 ; (shadow-get-user primary)) 442 ; (shadow-get-user primary))
443 ; (if old (or (shadow-cluster-username old) "") 443 ; (if old (or (shadow-cluster-username old) "")
444 ; (user-login-name)))) 444 ; (user-login-name))))
445 ) 445 )
446 ; (if (string-equal "" username) (setq username nil)) 446 ; (if (string-equal "" username) (setq username nil))
456 (let* ((hup (shadow-parse-fullname 456 (let* ((hup (shadow-parse-fullname
457 (shadow-contract-file-name (buffer-file-name)))) 457 (shadow-contract-file-name (buffer-file-name))))
458 (name (nth 2 hup)) 458 (name (nth 2 hup))
459 user site group) 459 user site group)
460 (while (setq site (shadow-read-site)) 460 (while (setq site (shadow-read-site))
461 (setq user (read-string (format "Username [default %s]: " 461 (setq user (read-string (format "Username (default %s): "
462 (shadow-get-user site))) 462 (shadow-get-user site)))
463 name (read-string "Filename: " name)) 463 name (read-string "Filename: " name))
464 (setq group (cons (shadow-make-fullname site 464 (setq group (cons (shadow-make-fullname site
465 (if (string-equal "" user) 465 (if (string-equal "" user)
466 (shadow-get-user site) 466 (shadow-get-user site)