emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs-26 0643952: Add documentation to ecomplete.el


From: Michael Albinus
Subject: Re: emacs-26 0643952: Add documentation to ecomplete.el
Date: Thu, 18 Jan 2018 11:49:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

address@hidden (Lars Ingebrigtsen) writes:

> +;; (ecomplete-add-item "address@hidden" 'mail "Lars Magne Ingebrigtsen 
> <address@hidden>")
> +;;
> +;; the "address@hidden" entry will then be updated with that new STRING.
> +
> +;; The interface functions are `ecomplete-add-item' and
> +;; `ecomplete-display-matches', while `ecomplete-setup' should be
> +;; called to read the .ecompleterc file, and `ecomplete-save' are
> +;; called to save the file.

Nice. I will check, whether I could add this to Tramp. Something like

(ecomplete-add-item "remote-host" 'tramp "/ssh:address@hidden:")

One inconvenience for me is the hard coding of keys in
`overriding-local-map' with lambda functions. I would prefer to have it
customizable, for instance in order to use <up> and <down> instead of
M-n and M-p.

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]