comparison lisp/mail/rmailsum.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 f2358a6ec49b
children 9b341a563aea ee12d75eb214
comparison
equal deleted inserted replaced
65679:56406afc87de 65680:ed770a0a7846
1344 backwards (through earlier messages). 1344 backwards (through earlier messages).
1345 Interactively, empty argument means use same regexp used last time." 1345 Interactively, empty argument means use same regexp used last time."
1346 (interactive 1346 (interactive
1347 (let* ((reversep (>= (prefix-numeric-value current-prefix-arg) 0)) 1347 (let* ((reversep (>= (prefix-numeric-value current-prefix-arg) 0))
1348 (prompt 1348 (prompt
1349 (concat (if reversep "Reverse " "") "Rmail search (regexp): ")) 1349 (concat (if reversep "Reverse " "") "Rmail search (regexp"))
1350 regexp) 1350 regexp)
1351 (if rmail-search-last-regexp 1351 (setq prompt
1352 (setq prompt (concat prompt 1352 (concat prompt
1353 "(default " 1353 (if rmail-search-last-regexp
1354 rmail-search-last-regexp 1354 (concat ", default "
1355 ") "))) 1355 rmail-search-last-regexp "): ")
1356 "): ")))
1356 (setq regexp (read-string prompt)) 1357 (setq regexp (read-string prompt))
1357 (cond ((not (equal regexp "")) 1358 (cond ((not (equal regexp ""))
1358 (setq rmail-search-last-regexp regexp)) 1359 (setq rmail-search-last-regexp regexp))
1359 ((not rmail-search-last-regexp) 1360 ((not rmail-search-last-regexp)
1360 (error "No previous Rmail search string"))) 1361 (error "No previous Rmail search string")))
1375 backwards (through earlier messages). 1376 backwards (through earlier messages).
1376 Interactively, empty argument means use same regexp used last time." 1377 Interactively, empty argument means use same regexp used last time."
1377 (interactive 1378 (interactive
1378 (let* ((reversep (< (prefix-numeric-value current-prefix-arg) 0)) 1379 (let* ((reversep (< (prefix-numeric-value current-prefix-arg) 0))
1379 (prompt 1380 (prompt
1380 (concat (if reversep "Reverse " "") "Rmail search (regexp): ")) 1381 (concat (if reversep "Reverse " "") "Rmail search (regexp"))
1381 regexp) 1382 regexp)
1382 (if rmail-search-last-regexp 1383 (setq prompt
1383 (setq prompt (concat prompt 1384 (concat prompt
1384 "(default " 1385 (if rmail-search-last-regexp
1385 rmail-search-last-regexp 1386 (concat ", default "
1386 ") "))) 1387 rmail-search-last-regexp "): ")
1388 "): ")))
1387 (setq regexp (read-string prompt)) 1389 (setq regexp (read-string prompt))
1388 (cond ((not (equal regexp "")) 1390 (cond ((not (equal regexp ""))
1389 (setq rmail-search-last-regexp regexp)) 1391 (setq rmail-search-last-regexp regexp))
1390 ((not rmail-search-last-regexp) 1392 ((not rmail-search-last-regexp)
1391 (error "No previous Rmail search string"))) 1393 (error "No previous Rmail search string")))