This is a discussion on how to restore emacs space-bar to do auto-complete - Mandriva ; Another of the emacs changes that need to be worked around with Mandriva 2008.0 is that SPC (space-bar) no longer performs is decades-old function of auto-completion in the mini-buffer. A bit of Googling has found two possible workarounds/solutions: (if (>= ...
Another of the emacs changes that need to be worked around
with Mandriva 2008.0 is that SPC (space-bar) no longer
performs is decades-old function of auto-completion in the
mini-buffer. A bit of Googling has found two possible
workarounds/solutions:
(if (>= emacs-major-version 22)
(if partial-completion-mode
(progn
(define-key minibuffer-local-must-match-filename-map
(kbd "SPC") 'PC-complete-word)
(define-key minibuffer-local-filename-completion-map
(kbd "SPC") 'PC-complete-word))
(define-key minibuffer-local-must-match-filename-map
(kbd "SPC") 'minibuffer-complete-word)
(define-key minibuffer-local-filename-completion-map
(kbd "SPC") 'minibuffer-complete-word)))
and
;;================================================ ============
;; minibuffer space completion
;;================================================ ============
(define-key minibuffer-local-filename-completion-map (kbd "SPC")
'minibuffer-complete-word)
(define-key minibuffer-local-must-match-filename-map (kbd "SPC")
'minibuffer-complete-word)
Any advice as to which (or something else) to use?
Thanks.
--
Robert Riches
spamtrap42@verizon.net
(Yes, that is one of my email addresses.)