[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: |
Fri, 30 Jan 2015 17:30:24 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
On 01/30/2015 08:41 AM, Drew Adams wrote:
But yes, you certainly can call `find-file-read-args' (or
`read-file-name') yourself, passing it any prompt you like. You will
get all of the usual TAB completion etc. - no problem.
Can I ask if the 2 functions you mentioned above would fix a minor
problem with this simple wrapper below?...
(defun my-find-file (name)
(interactive "sopen file: ")
(find-file name))
The TAB completion for abbreviations works great with one problem....the
TAB is not removed but APPENDED
to end of replacement.
So after pressing day "d" + "TAB" instead of getting this...
"/ssh:me@example.com:/home/me/some/path"
I see this
"/ssh:me@example.com:/home/me/some/path "
(Notice the TAB at end!)
How remove the TAB? Somehow the insert works differently when a custom
interactive file is called versus when find-file does it?
cs
- Easy/Possible to globally change prompt strings of messages? e.g. changing find-file's prompt string from "Find file:" to "open file:" ?, Chris Seberino, 2015/01/29
- RE: Easy/Possible to globally change prompt strings of messages? e.g. changing find-file's prompt string from "Find file:" to "open file:" ?, Drew Adams, 2015/01/29
- RE: Easy/Possible to globally change prompt strings of messages? e.g. changing find-file's prompt string from "Find file:" to "open file:" ?, Drew Adams, 2015/01/30
- Re: Easy/Possible to globally change prompt strings of messages? e.g. changing find-file's prompt string from "Find file:" to "open file:" ?,
Christian Seberino <=
- RE: Easy/Possible to globally change prompt strings of messages? e.g. changing find-file's prompt string from "Find file:" to "open file:" ?, Drew Adams, 2015/01/30
- Re: Easy/Possible to globally change prompt strings of messages? e.g. changing find-file's prompt string from "Find file:" to "open file:" ?, Christian Seberino, 2015/01/30
- Re: Easy/Possible to globally change prompt strings of messages? e.g. changing find-file's prompt string from "Find file:" to "open file:" ?, Christian Seberino, 2015/01/30
- Message not available
- Re: Easy/Possible to globally change prompt strings of messages? e.g. changing find-file's prompt string from "Find file:" to "open file:" ?, Chris Seberino, 2015/01/30