emacs auto-completion
-
- Tenth Dan Procrastinator
- Posts: 3055
- Joined: Fri Jul 18, 2003 3:02 am
- Location: Varies
- Contact:
Interesting, I might take a look at that sometime, but for the past few months (perhaps years now) I've been using a friend's xemacs configuration with uses hippie-expand.
http://www.xemacs.org/Documentation/pac ... ls_23.html
It works like a charm.
http://www.xemacs.org/Documentation/pac ... ls_23.html
It works like a charm.
-
- Tenth Dan Procrastinator
- Posts: 3055
- Joined: Fri Jul 18, 2003 3:02 am
- Location: Varies
- Contact:
It doesn't understand code, which is actually a benefit!
hippie-expand searches for "matches" based on proximity. For example, if I have long_annoying_variable_name in the file, and type long_ followed by ctrl+enter (current keybinding), it will look through the buffer for the first word that starts with long_. If I hit ctrl+enter again, it'll go to the next matching word, etc, until it loops. Of course if nothing matches it'll display "No expansion found" in the status bar.
All in all, this simple feature has been incredibly useful, and has kept me firmly planted in the xemacs faction.
hippie-expand searches for "matches" based on proximity. For example, if I have long_annoying_variable_name in the file, and type long_ followed by ctrl+enter (current keybinding), it will look through the buffer for the first word that starts with long_. If I hit ctrl+enter again, it'll go to the next matching word, etc, until it loops. Of course if nothing matches it'll display "No expansion found" in the status bar.
All in all, this simple feature has been incredibly useful, and has kept me firmly planted in the xemacs faction.
-
- Grand Pooh-Bah
- Posts: 6722
- Joined: Tue Sep 19, 2006 8:45 pm
- Location: Portland, OR
- Contact:
http://www.dr-qubit.org/predictive/user ... l#Overview
No, it's basically the same thing. You can do C-RET exactly like hippie-expand. You can also do auto dynamic with accept by default, in which case you strike L O N G _ SPC and you get long_annoying_variable_name. There's also hotkeys for picking from a list of possible completions without having to cycle through them, and autocomplete behavior like TAB in the shell, where it fills in the characters until it gets to the first bifurcation.
No, it's basically the same thing. You can do C-RET exactly like hippie-expand. You can also do auto dynamic with accept by default, in which case you strike L O N G _ SPC and you get long_annoying_variable_name. There's also hotkeys for picking from a list of possible completions without having to cycle through them, and autocomplete behavior like TAB in the shell, where it fills in the characters until it gets to the first bifurcation.