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: Christian Seberino
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 17:18:05 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

OK. Thanks everyone for your help. I think I'll just get used to "Find file" for now. :)

cs
On 02/01/2015 07:55 AM, Michael Heerdegen wrote:
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.




reply via email to

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