mooz / emacs-zlc Goto Github PK
View Code? Open in Web Editor NEWProvides zsh like completion for minibuffer in Emacs
Provides zsh like completion for minibuffer in Emacs
いつも各種プロダクトでお世話になってます。
初のissues登録で粗相が有りましたらすみません。
最新コミットの
+ nil
+ group 'zlc-face
この二行があるとinit.el内で
(require 'zlc)
したときに「Junk in args nil」とバイトコンパイルエラーが出ます。
Mac OS Xのhomebrewで入れたemacs24.3で、zlcはpackage.elで入れました。
最新コミットの二行をコメントアウトしてみたところエラーは消えました。
When you want to complete in M-x, and use more than two dash, zlc.el will have some problems.
Reproduce steps:
M-x
org-
TAB
bu
TAB
TAB
(now you've entered zlc completion candidates selecting buffer) RET
=> Oops!
M-x
def--
TAB
TAB
RET
=>Oops!
When opening a minibuffer (ex:M-x), you can use [up/down] to get previous commands, directories, files....etc.
However zlc will make this function unable to work. When press M-x and [up/down], it appears "No buffer named Completions" or "Args out of range: 5, 20"...etc.
(I installed zlc by add these to my .emacs)
;;Zsh style completetion!
(add-to-list 'load-path "~/.emacs.d/lisps/emacs-zlc-master/")
(require 'zlc)
(let ((map minibuffer-local-map))
;;; like menu select
(define-key map (kbd "<down>") 'zlc-select-next-vertical)
(define-key map (kbd "<up>") 'zlc-select-previous-vertical)
(define-key map (kbd "<right>") 'zlc-select-next)
(define-key map (kbd "<left>") 'zlc-select-previous)
;;; reset selection
(define-key map (kbd "C-c") 'zlc-reset)
)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.