AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

dynamic abbreviations

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List
View previous topic :: View next topic  
Author Message
jack



Joined: 04 Sep 2004
Posts: 74
Location: UK

PostPosted: Tue Sep 07, 2004 10:44 am    Post subject: dynamic abbreviations Reply with quote

one of my all time favourite emacs function is dynamic abbreviations...

i type a few letters of a word and press the key. emacs searches back through the buffer, looking for a word that begins with what i entered. when it finds one, it replaces my few letters with that word. if i don't like that one, i press the key again and emacs looks back further...

it would not be possible for autohotkey to do this, but if it did have some memory of the last few hundred words entered, it might be able to mimic some of this?

jack
you know where you are with a one-button mouse
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Tue Sep 07, 2004 11:03 am    Post subject: Reply with quote

That does sound like a cool feature. I imagine it would be better to favor the suggestion of long words over short ones. When showing the suggested replacements, I guess it could either offer a tooltip menu of choices, or dynamically backspace and replace the name repeatedly until you settle on one or it runs out of choices.

I'll add it to the to-do list.
Back to top
View user's profile Send private message Send e-mail
jack



Joined: 04 Sep 2004
Posts: 74
Location: UK

PostPosted: Tue Sep 07, 2004 2:31 pm    Post subject: Reply with quote

excellent!

yes, as to the exact mechanism, i assume it's a case of deciding which is the most usable.

thanks

jack
dangerously dependent on his charisma
Back to top
View user's profile Send private message
jack



Joined: 04 Sep 2004
Posts: 74
Location: UK

PostPosted: Tue Sep 07, 2004 2:35 pm    Post subject: Reply with quote

maybe it would be possible to copy a load of text into a variable that autohotkey could also search when looking for a match?

many documents use the same words again and again (and code to, for that matter), so you could copy a load of text into a variable to initialise the dynamic abbreviations.

jack
who put the tribbles in the quadrotriticale?
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Tue Sep 07, 2004 2:59 pm    Post subject: Reply with quote

Good point, thanks. By the way, I think beardboy or someone asked for feature similar to this, perhaps referring to it as "auto-complete". It seemed too ambitious at the time, but now it seems like something simpler than a full blow auto-complete might be feasible.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group