[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Easy/Possible to globally change prompt strings of messages? e.g. ch
From: |
Michael Heerdegen |
Subject: |
Re: Easy/Possible to globally change prompt strings of messages? e.g. changing find-file's prompt string from "Find file:" to "open file:" ? |
Date: |
Sun, 01 Feb 2015 14:55:53 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Christian Seberino <cseberino@gmail.com> writes:
> (define-abbrev-table
> 'tramp-abbrev-table
> '(("d" "/ssh:cs@philfour.com:/home/cs/Ws")
> ("dr" "/ssh:cs@philfour.com|su:philfour.com:/home")
> ("w" "/ssh:cs@services.philfour.com:/home/webwork_custom")
> ("wr" "/ssh:cs@services.philfour.com|su:services.philfour.com:/home")))
>
> (add-hook 'minibuffer-setup-hook (lambda ()
> (abbrev-mode t)
> (setq local-abbrev-table
> tramp-abbrev-table)))
>
> (defadvice minibuffer-complete
> (before my-minibuffer-complete activate)
> (expand-abbrev))
I tried this and invoked `find-file-read-args'. I don't see any tab
character inserted or being left, I get the expected behavior, with all
Emacs versions I tried. Of course I can't connect to your hosts.
But really, all the trouble you may provoke with your hack is IMHO much
worse than getting used to the "Find file" wording.
Michael.