For Emacs 23.1, this solution works (with default Emacs settings): (defadvice minibuffer- complete and exit (complete and exit before minibuffer) "Translate all multiple times / in singles" ((unread-command-event T)) (
I have an Ax 22 "(+ -" "/" zero (point-min)) (point-max)) (message zero))
Do not have access, so you Must try to s, but I suspect the solution work.
For MX 21.3, the first answer works:
It looks like this trick (hit TAB
to see it in action):
(In addition to activating read-file-name-internal-redu-slash) "All in multiple events / singles / translate" -set-arg 0 (replace-regexp-in-string "/ +" "/" (Ad-get-arg 0)))
> TAB need to be typed.
Edit to add:
To TAB
Without effect Use this code:
(defined- key minibfire-local-map (kbd "RET") 'exit - minibuffer-cum-slash-if-in-fi-file) (Whenever a file is looking for all the events in a single / single single "(interactive) (when ((zero-minibuster-full-file- (Call-interactive 'exit-minibut)) (Goto-four) (Goto-Four) (while re-search-forward "// +" zero t) (replacement-match "/")) Code>