From df27f31fa66959eef1b69a0d02033eb41d8b78fb Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Sat, 22 Mar 2008 00:02:24 +0000 Subject: [PATCH] (debug-ignored-errors): Remove $ from the end of "^No dynamic expansion for .* found$" to allow error messages like "No dynamic expansion for \"%s\" found in this buffer". --- lisp/ChangeLog | 34 ++++++++++++++++++++++++++++++++++ lisp/dabbrev.el | 2 +- 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6af04a5152e..d009c258038 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,37 @@ +2008-03-21 Juri Linkov + + * comint.el (comint-dynamic-simple-complete): + Use variable `stub' for the second arg `common-substring' + of `comint-dynamic-list-completions'. + (comint-dynamic-list-filename-completions): + Use variable `filenondir' for the second arg `common-substring' + of `comint-dynamic-list-completions'. + (comint-dynamic-list-completions): Add new optional arg + `common-substring'. Add `common-substring' as the second arg of + the call to `display-completion-list'. Doc fix. + + * comint.el (comint-dynamic-complete-as-filename) + (comint-dynamic-list-filename-completions) + (comint-dynamic-simple-complete): Use `minibuffer-message' + to display message "No completions of %s" when a command + is called in the minibuffer. + (comint-dynamic-simple-complete): Don't display other + completion messages when a command is called in the minibuffer. + (comint-dynamic-list-completions): Use `minibuffer-message' + to display message " [Type space to flush ...]" when a command + is called in the minibuffer. + + * shell.el (shell-dynamic-complete-command) + (shell-dynamic-complete-environment-variable): Don't display + completion messages when command is called in the minibuffer. + + * bindings.el (standard-mode-line-modes): Put special help-echo + tooltip on recursive edit %[ %] mode-line constructs. + + * dabbrev.el (debug-ignored-errors): Remove $ from the end of + "^No dynamic expansion for .* found$" to allow error messages like + "No dynamic expansion for \"%s\" found in this-buffer". + 2008-03-21 Michael Albinus * net/tramp.el (tramp-methods): Fix tramp-copy-args of "pscp" and diff --git a/lisp/dabbrev.el b/lisp/dabbrev.el index b5ae7ac3b71..23d91d180af 100644 --- a/lisp/dabbrev.el +++ b/lisp/dabbrev.el @@ -1011,7 +1011,7 @@ Leaves point at the location of the start of the expansion." (cons found-string dabbrev--last-table)) result))))) -(dolist (mess '("^No dynamic expansion for .* found$" +(dolist (mess '("^No dynamic expansion for .* found" "^No further dynamic expansion for .* found$" "^No possible abbreviation preceding point$")) (add-to-list 'debug-ignored-errors mess)) -- 2.39.2