help-gnu-emacs
[Top][All Lists]
Advanced

[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 <address@hidden> writes:

> (define-abbrev-table
>  'tramp-abbrev-table
>  '(("d"  "/ssh:address@hidden:/home/cs/Ws")
>    ("dr" "/ssh:address@hidden|su:philfour.com:/home")
>    ("w"  "/ssh:address@hidden:/home/webwork_custom")
>    ("wr" "/ssh:address@hidden|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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]