Folks,

        Some one was asking about being able to complete
paths in the customization buffer while setting global
classpath etc.

        I want to bering to your attention the following -

hippie-expand is an interactive compiled Lisp function in `hippie-exp'.
(hippie-expand ARG)

Try to expand text before point, using multiple methods.
The expansion functions in `hippie-expand-try-functions-list' are
tried in order, until a possible expansion is found.  Repeated
application of `hippie-expand' inserts successively possible
expansions.
With a positive numeric argument, jumps directly to the ARG next
function in this list.  With a negative argument or just C-u,
undoes the expansion.

where -
hippie-expand-try-functions-list's value is
(try-complete-file-name-partially try-complete-file-name
try-expand-all-abbrevs try-expand-list try-expand-line try-expand-dabbrev
try-expand-dabbrev-all-buffers try-expand-dabbrev-from-kill
try-complete-lisp-symbol-partially try-complete-lisp-symbol)


Documentation:
The list of expansion functions tried in order by `hippie-expand'.
To change the behavior of `hippie-expand', remove, change the order of,
or insert functions in this list.

I bind it to the CTRL-TAB and it works great in any buffer.

(global-set-key [C-tab] 'hippie-expand)

HTH,
sandip

Reply via email to