Giter VIP home page Giter VIP logo

auto-complete's Introduction

Looking for new maintainer

auto-complete, popup-el and fuzzy-el are looking for new maintainers. If you are interested, then please comment on this issue.

License: GPL v3 MELPA MELPA Stable

Auto-Complete

CI

An Intelligent auto-completion extension for Emacs

What is Auto-Complete?

Auto-Complete is an intelligent auto-completion extension for Emacs. It extends the standard Emacs completion interface and provides an environment that allows users to concentrate more on their own work.

πŸ† Features

  • Visual interface
  • Reduce overhead of completion by using statistic method
  • Extensibility

Screenshots

Auto Completion Fuzzy Completion Increamental Search

Install

auto-complete is available on MELPA and MELPA-STABLE

You can install auto-complete with the following command.

M-x package-install [RET] auto-complete [RET]

User Manual

Auto-Complete User Manual

Basic Configuration

(ac-config-default)

Development

Reporting Bugs

Visit Auto-Complete Issue Tracker and create a new issue.

Todo

  • etags, ctags
  • emacswiki
  • test facility
  • support composed chars
  • minibuffer completion
  • performance issue (cache issue)
  • asynchronous processing
  • kanji henkan support
  • create menu if needed
  • quick help positioning on tabs (bug)
  • skip short completion

License

This software is distributed under the term of GPLv3.

auto-complete's People

Contributors

adisbladis avatar asmeurer avatar bambuchaadm avatar buzztaiki avatar cadina avatar dependabot[bot] avatar dgutov avatar dneelyep avatar gcd0318 avatar gooichi avatar guoci avatar iri-e avatar jacksonrayhamilton avatar jcs090218 avatar kenoss avatar knu avatar kumar8600 avatar m2ym avatar namikister avatar samaaron avatar syohex avatar tarsius avatar tkf avatar uk-ar avatar uwabami avatar victorteokw avatar vspinu avatar yasuyk avatar yesudeep avatar yorkz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

auto-complete's Issues

bug with tables

auto-complete shows ugly when the lines have 'tab's.
Below is an example (table size is set to 8)

;;;;;;;;;;;

  1.   (def
    

2.'tab'
;;;;;;;;;

in line 1, there are 7 'space' before '(def'
in line 2, there only 1 'tab' with table size set to 8,
and then we run 'ac-start' after '(def' in line 1
After completion, in line 2, the popup is break into to parts, just as
following:

x xxxxxxxxxxx

x is stand for character with grey background.

Hangs up when foomatic is installed

Hi there, and thanks for ac! Having some problems running with foomatic (need by cups/hplip to print) is on a machine:

Can't type '/' slash, otherwise freezes:

Tramp: Opening connection for foomatic-db-1 using scpc...
Tramp: Sending command `exec ssh   -o ControlPath=/tmp/tramp.26554bV1.%r@%h:%p -o ControlMaster=yes -e none foomatic-db-1'

Tramp: Waiting for prompts from remote shell [2 times]
Tramp: Sending command `exec ssh   -o ControlPath=/tmp/tramp.26554bV1.%r@%h:%p -o ControlMaster=yes -e none foomatic-db-1'
Tramp: Opening connection for foomatic-db-1 using scpc...done

It hangs for > minute, really boring as slashes are pretty common in line beginnings...

Feature Request: calltip

A calltip that shows the documentation (maybe starting with a condensed summary?) and the parameters, maybe with the current one in bold would be nice.

window-full-width-p is not defined in Meadow 3.00 (based Emacs 22.1)

Recently released 1.2 is not working on Meadow that is probably the most popular release.
`window-full-width-p' was defined when Emacs 22.2.

Following patch works well in my environment.

diff --git a/popup.el b/popup.el
index dd2af21..654a3bb 100644
--- a/popup.el
+++ b/popup.el
@@ -108,13 +108,19 @@ This is faster than prin1-to-string in many cases."
 (defun popup-truncated-partial-width-window-p (&optional window)
   (unless window
     (setq window (selected-window)))
-  (unless (window-full-width-p window)
+  (unless (popup-window-full-width-p window)
     (let ((t-p-w-w (buffer-local-value 'truncate-partial-width-windows
                       (window-buffer window))))
       (if (integerp t-p-w-w)
      (< (window-width window) t-p-w-w)
    t-p-w-w))))
 
+;; window-full-width-p is not defined in Emacs 22.1
+(defun popup-window-full-width-p (&optional window)
+  (if (fboundp 'window-full-width-p)
+      (window-full-width-p window)
+    (= (window-width window) (frame-width (window-frame (or window (selected-window)))))))
+
 (defun popup-current-physical-column ()
   (or (when (and popup-use-optimized-column-computation
                  (eq (window-hscroll) 0))

Emacs is blocked for a long time when input "//"

I use auto-complete and cygwin-mount in js2-mode. Then when I input "//" in a .js file as the single-line comment. Auto-complete search the shell commands by "//". That always lasts for a long time. Meanwhile the emacs war blocked. Although "//bin", "//cygwin" and others may be prompted finally.

AC Timers and Flyspell mode do not work well together

Moving from version v1.0 to v1.2 of auto-complete I found an incompatibility with FlySpell. Auto-complete menu and completion are very slow to appear (much slower that the time set in the timers, something like a couple of seconds, or more)

Playing with 'git bisect' I found that the commit where the problem appeared is the one obtainable with the command

git checkout ef46dc4cdccdfb4a5bc5675893300fc9ddf11a07

in particular this is the commit that introduces the timers instead of post-command-hook.

For my tests I used the following dotemacs as initfile. When I disable flyspell-mode the auto-complete works fine and fast.

I lauched the tests with the following command line:

emacs -Q -l dotemacs file.txt

where I tried both emacs versions 22.2.1 and 23.1.50.1.

Here it is the dotemacs

;;; Simple .emacs for testing the functioning of
;;; auto-complete and fly-spell mode.
(setq load-path (cons "./auto-complete/" load-path))
(require 'auto-complete)
(setq default-major-mode 'text-mode)
(setq ispell-dictionary "english")
(setq text-mode-hook
      '(lambda nil
         (flyspell-mode 1)
         (auto-complete-mode 1)))

Here I attached the "git bisect log" output, if you need it

git bisect start
# bad: [4b36c1ca3c330b78cd34f13823e68361a9e768e2] Merge branch 'master' of ssh://cx4a/~tomo/repo/auto-complete
git bisect bad 4b36c1ca3c330b78cd34f13823e68361a9e768e2
# good: [2e2cfd20862259ae39ff0ff88fb2ee63ac1e0ffd] Release 1.0
git bisect good 2e2cfd20862259ae39ff0ff88fb2ee63ac1e0ffd
# bad: [b05131cd9fb57070a25d4eb9ef0e92e7e2d753c5] Update documents.
git bisect bad b05131cd9fb57070a25d4eb9ef0e92e7e2d753c5
# bad: [76c99f6de2f9f829d0349650da88a048e7de983f] New option ac-use-quick-help.
git bisect bad 76c99f6de2f9f829d0349650da88a048e7de983f
# bad: [6a5cb467aa10bc715e9e6809792763bcec627d22] Quick help (currently only for ac-source-symbols)
git bisect bad 6a5cb467aa10bc715e9e6809792763bcec627d22
# bad: [ca976bfd7571b011cc5c82c698e87679ce98375e] Change default value of ac-delay and bugfix
git bisect bad ca976bfd7571b011cc5c82c698e87679ce98375e
# bad: [ef46dc4cdccdfb4a5bc5675893300fc9ddf11a07] Obsolete using post-command-hook. Now auto-complete uses timer to show menu.
git bisect bad ef46dc4cdccdfb4a5bc5675893300fc9ddf11a07
# good: [0c8112a758241dcb0e034025afe91ab2a1ef129d] New option ac-ignore-case
git bisect good 0c8112a758241dcb0e034025afe91ab2a1ef129d
# good: [5a23856dd7c7bff8b627ba3aa86d9b2cc7e45a74] New option ac-compatible-packages-regexp
git bisect good 5a23856dd7c7bff8b627ba3aa86d9b2cc7e45a74

Bye,

Renders incorrectly

emacs 23.1.1

auto-complete renders incorrectly. Screenshot here: incorrect

(load-library "auto-complete")
(load-library "auto-complete-config")

(global-auto-complete-mode t)

(setq ac-dwim t)
(setq ac-auto-start 2)l
(setq ac-auto-show-menu t)
(setq ac-quick-help-delay 0)
(setq popup-use-optimized-column-computation nil)
(ac-config-default)

It may look like newlines are never getting inserted, but sometimes it inserts newlines on some, and omits them on others.

cc-mode gtags broken.

Kept getting error about void function ac-gtags-candidate. Found the problem:

diff --git a/auto-complete-config.el b/auto-complete-config.el
index 57f35c6..c6d9ebc 100644
--- a/auto-complete-config.el
+++ b/auto-complete-config.el
@@ -493,7 +493,7 @@
(setq ac-sources (append '(ac-source-features ac-source-functions ac-source-v

(defun ac-cc-mode-setup ()

  • (add-to-list 'ac-sources 'ac-gtags-candidate))
  • (add-to-list 'ac-sources 'ac-source-gtags))

(defun ac-ruby-mode-setup ())

ac-trigger-key defcustom mismatch

ac-trigger-key is defined as a string in defcustom but the default is nil, which is a symbol, so there's a type mismatch in customize. this shouldn't happen.

ac-dwim broken

  1. turn on ac-dwim and do NOT remap keys for and ac-* commands.
  2. trigger completion candidate menu
  3. press down to highlight a menu item 2
  4. menu item 1 is always selected for completion.

menu item 2 should be selected for completion

ac-quick-help is not working on manual invocation

Hi again,

I have

 (define-key ac-completing-map (kbd "M-h") 'ac-quick-help t)

but each invocation of M-h doesn't do anything, no quick-help whatsoever.

If I set ac-use-quick-help to t, quick-help shows properly.

Any ideas?

here is my setup:

(setq ac-auto-show-menu 0.5
      ac-candidate-limit 100
      ac-delay 0.2
      ac-disable-faces (quote (font-lock-comment-face font-lock-doc-face))
      ;; ac-ignore-case 'smart
      ac-menu-height 12
      ac-quick-help-delay 1.0
      ac-quick-help-prefer-pos-tip t
      ;; ac-use-menu-map nil
      ;; ac-use-overriding-local-map nil
      ac-use-quick-help nil)

Thanks.

Feature Request: Auto expand when there is only a single candidate

Here is a patch that adds the option of automatically expanding the completion when there is only a single candidate. This is particularly nice of ac-auto-start is nil and completion is started from a key binding.

There is a new defun: ac-start-and-expand-single. It functions exactly like ac-start, but if the initial completion list contains only a single candidate, it is automatically expanded and completion ends.

There is also a var: ac-always-expand-single-p. If non-nil, a candidate is automatically selected whenever the candidate list is reduced down to a single item.

diff -u d\:/emacs/emacs/site-lisp/auto-complete.el.orig d\:/emacs/emacs/site-lisp/auto-complete.el
--- d:/emacs/emacs/site-lisp/auto-complete.el.orig  2009-10-10 07:37:11.943250000 -0700
+++ d:/emacs/emacs/site-lisp/auto-complete.el   2009-10-20 22:33:37.308970300 -0700
@@ -283,6 +283,10 @@
   :group 'auto-complete)
 (defvaralias 'ac-candidate-max 'ac-candidate-limit)

+(defcustom ac-always-expand-single-p nil
+  "Non-nil to automatically complete whenever a single candidate remains."
+  :group 'auto-complete)
+
 (defcustom ac-modes
   '(emacs-lisp-mode lisp-interaction-mode
                     c-mode cc-mode c++-mode java-mode
@@ -732,7 +736,12 @@
                                    'ac-selection-face))
       (setq ac-selection selection))))

-(defun ac-start ()
+(defun ac-start-and-expand-single ()
+  "Start completion, automatically expanding if there is only a single candiate."
+  (interactive)
+  (ac-start t))
+
+(defun ac-start (&optional expand-single)
   "Start completion."
   (interactive)
   (let* ((point (save-excursion (funcall ac-prefix-function)))
@@ -762,17 +771,25 @@
                                (funcall ac-candidate-function))))
         (if ac-candidate-filter-function
             (setq candidates (funcall ac-candidate-filter-function candidates)))
-        (setq width (let ((w '(0)) s)
-                      (dotimes (i ac-candidate-menu-height)
-                        (setq s (nth i candidates))
-                        (if (stringp s) (push (string-width s) w)))
-                      (apply 'max w)))
-        (if (or reposition
-                (null ac-menu)
-                (> width current-width)
-                (< width (- current-width 10)))
-            (ac-setup (* (ceiling (/ width 10.0)) 10)))
-        (ac-update-candidates candidates)))))
+        (if (and (or expand-single ac-always-expand-single-p)
+                 (= 1 (length candidates)))
+            (let* ((candidate (car candidates))
+                   (action (ac-get-candidate-action candidate)))
+              (ac-expand-string candidate)
+              (if action
+                  (funcall action))
+              (ac-abort))
+          (setq width (let ((w '(0)) s)
+                        (dotimes (i ac-candidate-menu-height)
+                          (setq s (nth i candidates))
+                          (if (stringp s) (push (string-width s) w)))
+                        (apply 'max w)))
+          (if (or reposition
+                  (null ac-menu)
+                  (> width current-width)
+                  (< width (- current-width 10)))
+              (ac-setup (* (ceiling (/ width 10.0)) 10)))
+          (ac-update-candidates candidates))))))

 (defun ac-adaptive-candidate-filter (candidates)
   "Filter candidates according to length and history (not yet)."

Diff finished.  Sat Oct 24 19:20:04 2009

ac-trigger-key-command doesn't acutally trigger the completion

Hi Tomohiro,

Thanks for the great package.

One issue with the latest git head.

I have

(ac-set-trigger-key "TAB")

and this assignes 'ac-trigger-key-command to TAB but it doesn't trigger the completion.

I also have ac-auto-start 2.

From the source I see

(defun ac-trigger-key-command (&optional force)
  (interactive "P")
  (message "%s" last-command) ;; <- my addition
  (if (or force (ac-trigger-command-p last-command))
      (auto-complete)
    (ac-fallback-command 'ac-trigger-key-command)))

last-command here is the one previous to ac-trigger-key-command and I am always
getting into ac-fallback-command no matter what; ac-trigger-commands is '(self-insert-command).

This version works ok:

(defun ac-trigger-key-command (&optional force)
  (interactive "P")
  (if (or force
      (eq this-command 'ac-trigger-key-command)
      (ac-trigger-command-p last-command))
      (auto-complete)
    (ac-fallback-command 'ac-trigger-key-command)))

Thanks,
Vitalie.

Error on emacs 23

On Emacs 23, on osx, after installing I get an error when loading my init file:
**
Symbol's function definition is void: ac-clear-variable-every-10-minutes
**

I've installed through the /etc/install.el script, and followed the instructions. Everything else looks fine.

ac-clear-variable-every-10-minutes ERROR

I met the exactly same problem of issue 16 but the solution seems not work for me

"
On Emacs 23, on osx, after installing I get an error when loading my init file:
**
Symbol's function definition is void: ac-clear-variable-every-10-minutes
**

I've installed through the /etc/install.el script, and followed the instructions. Everything else looks fine.
"

Plus on Mac OS X 10.7.3

void-variable ac-dictionary-directories

Debugger entered--Lisp error: (void-variable ac-dictionary-directories)
add-to-list(ac-dictionary-directories "~/.emacs.d/plugins/auto-complete/dict")
eval-buffer(#<buffer load> nil "/home/slmn/.emacs.d/init.el" nil t) ; Reading at buffer position 13096
load-with-code-conversion("/home/slmn/.emacs.d/init.el" "/home/slmn/.emacs.d/init.el" t t)
load("/home/slmn/.emacs.d/init" t t)
#[nil "οΏ½\205\264

manuel installed under;
~/.emacs.d/plugins/auto-complete
~/.emacs.d/plugins/auto-complete/dict
GNU Emacs 23.2.1

but working when removed ac-dictionary-directories

(add-to-list 'load-path "/.emacs.d/plugins/auto-complete")
;(add-to-list 'ac-dictionary-directories "
/.emacs.d/plugins/auto-complete/dict")
(require 'auto-complete-config)
(ac-config-default)

Allow to select completions using the mouse

It would be cool if you could select completions using the mouse, and scroll through them with the mouse (assuming you have the scrolling follows mouse behavior enabled).

Auto-complete failed with ac-auto-start nil

Steps to reproduce:

  1. Open emacs -Q (GNU Emacs 23.1) and auto-complete to load-path.
  2. M-x auto-complete-mode
  3. Customize to turn of ac auto start
  4. Add "defun123" and "defun456" strings to scratch buffer
  5. Type "def" and M-x auto-complete
  6. No pulldown appears unless you type or delete another character. After that pulldown menu works correctly (i.e. updates corresponding to what you type).

XEmacs support

Some people still use XEmacs. So auto-complete should support XEmacs.
However, I'm not sure that we have to support XEmacs.
Anyway, I'll spend little time to look into XEmacs and such supports.

Fix unwanted autocompletion of filenames for // comment in C-like languages

The following change to ac-complete.el should fix this - as reported at http://cx4a.org/redmine/issues/59

@@ -1908,7 +1908,8 @@ completion menu. This workaround stops that annoying behavior."
(defvar ac-filename-cache nil)

(defun ac-filename-candidate ()

  • (unless (file-regular-p ac-prefix)
  • (unless (or (string-match comment-start-skip ac-prefix)
  •          (file-regular-p ac-prefix))
    
    (ignore-errors
    (loop with dir = (file-name-directory ac-prefix)
    with files = (or (assoc-default dir ac-filename-cache)

How can I use ac-source-ropemacs.

I have these lines in init.el but I still cannot see the auto-complete popup like M-/ (code assit).

(add-to-list 'load-path "/usr/share/emacs/site-lisp/auto-complete")
(require 'auto-complete-config)
(ac-config-default)
(add-to-list 'ac-dictionary-directories "/usr/share/emacs/site-lisp/auto-complete/ac-dict")
(define-key ac-mode-map (kbd "M-TAB") 'auto-complete)

(ac-ropemacs-initialize)
(add-hook 'python-mode-hook
          (lambda ()
        (add-to-list 'ac-sources '(ac-source-ropemacs ac-source-yasnippet))))

What I need to do now?

Autopairs and auto-complete, again

Helllo!

I've got a strange issue with autopairs and auto-complete, similar to this: http://code.google.com/p/autopair/issues/detail?id=8
I use emacs 23.2 from debian squeeze repo, autopairs from svn, auto-complete from github (with el-get).
The RET key does not complete the candidate what is choose from the list. If i deactivate autopairs it works as expected.

Strange issues: if i start a tty emacs, it works, with an X emacs it does not work. After reading the manual, i tried C-m and it works both tty and X! I use Hungarian keyboard layout.
Relevant config pieces:

autopairs:
(autopair-global-mode 1)

auto-complete:
(require 'auto-complete-config)
(ac-config-default)
(setq ac-comphist-file "~/.emacs.d/cache/ac.cache"
ac-dwim t)
(setq-default ac-sources '(ac-source-words-in-same-mode-buffers ac-source-words-in-buffer ac-source-yasnippet))
(ac-linum-workaround)

overlay menu jumps in HEAD

When you trigger a complete overlay menu, the text on the right edge of the menu is shifted to the right a bit. When the menu is gone, the text is back to the original location creating a jumpy effect. This shouldn't happen.

Need face changes for theme with italics/bold etc.

My custom face use italics for comments, and when auto-complete's popup is over those comment lines, some candidates are shown with italics - which is undesirable since those candidates stands out for nothing...

So I have to change the following few lines

(defface ac-candidate-face
  '((t (:background "lightgray" :foreground "black" :slant normal :weight normal)))
  "Face for candidate."
  :group 'auto-complete)

(defface ac-selection-face
  '((t (:background "steelblue" :foreground "white" :slant normal :weight normal)))
  "Face for selected candidate."
  :group 'auto-complete)

Make trigger to be time-based instead of key based

Copied from http://code.google.com/p/auto-complete/issues/detail?id=5.

This is enhancement targeted for SVN HEAD.

As it stands now auto-completes shows a candidate menu after either a key combo is triggered
or after ac-auto-start. This creates a couple of problems:

  1. For large documents, it can be very slow because after every ac-auto-start characters, which
    is often short, auto-complete will try to pull candidates from all the sources for every character
    entered, which results in very visible lagging. On my machine, for a python file with words-in-
    buffer and ropemacs as sources, after typing a series of characters quickly, displaying the
    candidate menu can take about 5 secs.
  2. For small documents, having the candidate menu pop out for every key entered is also very
    annoying.

I think 1) is caused by auto-complete tries to pull candidates for every keystroke immediately, so
it gets slower and slower as the buffer grow and more characters are typed in.

I think the best solution is to mirror what Eclipse and other IDEs do, which is simply have the
menu display immediate after certain special keys like . and ->, which is the current behavior. In
addition, for every self-insert-command after ac-auto-start, auto-complete should instead
reset a menu display timer, which should set to 200ms by default. When the time is up, the
menu is displayed. This should speed up auto-complete considerably.

freeze emacs when in css mode at # text

2010-09-17

just installed autocomplet. Very nice.

here's a case that freeze my emacs, had to force restart emacs. Happened twice consecutively, so probably reproducable.

in a css file, with this line:

blockquote{border-left:solid black;padding-left:1ex;color:#1f3f2f}

move your cursor after the #. Do a subword-kill, then undo, to grab it.
Then, move cursor to the b in β€œblack”. Type a β€œ#”, then do a yank.

After typing the β€œ#”, my emacs freezes.
This happened to me twice.

GNU Emacs 23.2.1 (i386-mingw-nt6.0.6002) of 2010-05-08 on G41R2F1
ErgoEmacs distribution 1.8.1

auto-complete and marmalade-repo.org

Hey there,

Could you please make auto-complete available on marmalade-repo.org?
It makes installing and using packages a whole lot easier for users.
I'd be grateful to be able to have auto-complete installed consistently
without human intervention across all my machines.

Thank you. =)

Cheers.

Quick help and popup help for elisp are not functional in Emacs 24

  1. Start Emacs:

    emacs-snapshot -q --eval "(progn (add-to-list 'load-path \"/path/to/auto-complete/\") (require 'auto-complete-config) (ac-config-default) (global-auto-complete-mode t))"
    
  2. Open hoge.el

  3. Type "set"

In Emacs 24, completion works but quick help is not shown. Furthermore, pressing F1 (or C-?) does not show popup help. Note that normal help (e.g., F1 f setq RET) works.

This is the version I am using:

% emacs-snapshot --version
GNU Emacs 24.0.92.1

I installed Emacs 24 using this PPA for Ubuntu:
https://launchpad.net/~cassou/+archive/emacs

EDIT: I noticed that quick help and popup help for nil work.

broken on emacs 22

requiring auto-complete on emacs 22 automatically starts the auto complete mode for some reason, and setting (global-auto-complete-mode t) gives an error:

Wrong number of arguments: called-interactively-p, 1

Cannot popup autocomplete prompts in python-mode

I use these configurations for python-mode:
(ac-ropemacs-initialize)
(add-hook 'python-mode-hook
(lambda ()
(add-to-list 'ac-sources 'ac-source-ropemacs)))
It works well. But emacs uses ropemacs and all completion words are in minibuffer, not popup. I use the lastest AC from http://github.com/m2ym/auto-complete.
No this issue in other modes, including c++-mode, java-mode.

popup.el contains NULL char

popup.el contains unintentional NULL char. Could you remove it?

(setq menu (popup-create point width height
:around around
:face 'popup-menu-face
:selection-face 'popup-menu-selection-face
:margin-left margin-left
:margin-right margin-right <----- Here. There is a NULL char at the end of this line.

ac-symbol-documentation fails silently in Emacs HEAD => no help popup

Looks like describe-function-1 now raises an error if current-buffer is not in help-mode, so ac-symbol-documentation fails to gather the info needed for the help popup.

I've looked at the help.el and help-mode.el code, but haven't figured out how to work around this problem.

request Lua mode

Hi Tomohiro, sorry but is there any way to add lua support for autocomplete...I was reading the manual and no found how do it...is it simple or a bit complicate?...are there resources where I can found a explanation...many thanks, congratulation for your amazing mode and good luck

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.