Comments (17)
Guys sorry for the late answer try to put (package-refresh-contents) before (package-initialize)
from auto-complete.
I am also having the same issue. This is my init.el
:
I ran package-refresh-contents
. However the auto-complete
package does not show.
But I see the package on the MELPA website...
from auto-complete.
+1
from auto-complete.
If you run package-list-packages.Do you see auto-complete?
from auto-complete.
auto-complete is not seen in package-list-packages.
from auto-complete.
can you post your config?
from auto-complete.
from auto-complete.
Did you forget perhaps to attach the config? I cannot see any attachment in the mail.
from auto-complete.
Hi,
I send it per mail. Anyway, I don't see where to upload an attachment here, so I'll just copy and paste it here:
`;; init.el --- Emacs configuration
(require 'package)
(let* ((no-ssl (and (memq system-type '(windows-nt ms-dos))
(not (gnutls-available-p))))
(proto (if no-ssl "http" "https")))
;; Comment/uncomment these two lines to enable/disable MELPA and MELPA Stable as desired
;;(add-to-list 'package-archives (cons "melpa" (concat proto "://melpa.org/packages/")) t)
(add-to-list 'package-archives (cons "melpa-stable" (concat proto "://stable.melpa.org/packages/")) t))
(package-initialize)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
(add-hook 'after-init-hook 'global-company-mode) ;; company mode for auto completion
(setq company-dabbrev-downcase nil) ;; company mode to suggest case sensitively (upper/lower case )
;; BASIC CUSTOMIZATION
;; --------------------------------------
(setq inhibit-startup-message t) ;; hide the startup message
(global-linum-mode t) ;; enable line numbers globally
(custom-set-variables
'(ansi-color-names-vector ["#242424" "#e5786d" "#95e454" "#cae682" "#8ac6f2" "#333366" "#ccaa8f" "#f6f3e8"])
'(custom-enabled-themes (quote (wheatgrass)))
'(tool-bar-mode nil))
(custom-set-faces )
;; store backup files in temp directory
(setq backup-directory-alist
((".*" . ,temporary-file-directory))) (setq auto-save-file-name-transforms
((".*" ,temporary-file-directory t)))
;; neotree package for file tree, see https://www.emacswiki.org/emacs/NeoTree
(add-to-list 'load-path "/usr/share/emacs/neotree")
(require 'neotree)
(global-set-key [f8] 'neotree-toggle)
;; CC mode config:
(setq-default c-basic-offset 4)
;; init.el ends here`
from auto-complete.
I got the same issue. It's not shown in package-list-packages
.
from auto-complete.
Could you change (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) to be before the package-initialize?
from auto-complete.
It is before the package-initialize
.
I'm not sure what's going on.
(load "~/.emacs.d/lisp/PG/generic/proof-site")
(require 'package)
;; Add melpa package source when using package list
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t)
(setq make-backup-files nil)
(setq auto-save-default nil) ; stop creating #autosave# files
(define-key global-map [(meta up)] '(lambda() (interactive) (scroll-other-window -1)))
(define-key global-map [(meta down)] '(lambda() (interactive) (scroll-other-window 1)))
(package-initialize)
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(custom-safe-themes
(quote
("8aebf25556399b58091e533e455dd50a6a9cba958cc4ebb0aab175863c25b9a4" default)))
'(package-selected-packages
(quote
(markdown-mode rjsx-mode neotree auto-complete solarized-theme))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
(load-theme 'tango-dark t)
;; this is for customizing proof general key bindings
(eval-after-load "proof-script"
'(progn
(define-key proof-mode-map (kbd "C-c RET")
'proof-goto-point)
))
;; default splitting vertically
(setq split-height-threshold nil)
(setq split-width-threshold 0)
;; disable auto indentation
(when (fboundp 'electric-indent-mode) (electric-indent-mode -1))
;; enable auto bracket
(electric-pair-mode 1)
;;(auto-complete-mode 1)
;; always use space indentation
(setq-default indent-tabs-mode nil)
(setq-default tab-width 4)
(setq-default js-indent-level 2)
(setq neo-window-width 30)
(setq neo-persist-show nil)
;; (add-hook 'after-init-hook #'neotree-toggle)
;; (autoload 'neotree "neotree" "" t)
(neotree-toggle)
(switch-to-buffer-other-window "*scratch*")
;; (xterm-mouse-mode 1)
;; (windmove-default-keybindings)
(global-unset-key (kbd "M-j"))
(global-unset-key (kbd "M-k"))
(global-set-key (kbd "M-j") (lambda () (interactive) (other-window -1)))
(global-set-key (kbd "M-k") (lambda () (interactive) (other-window 1)))
(add-to-list 'auto-mode-alist '("\\.js\\'" . rjsx-mode))
from auto-complete.
what version of emacs do you have ?
from auto-complete.
24.3
from auto-complete.
@immiao @codonomado @artforlife Does @innerout answered your question? Thanks! 😄
from auto-complete.
from auto-complete.
Same is happening here, tried both on macOS and on Linux.
On Linux the emacs version is:
GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2023-08-16, modified by Debian
Note that I can see the package listed as a dependency if I install another package (e.g. auto-complete-c-headers
, then I see this information in the package buffer:
Package auto-complete is dependency.
Status: Installed in ‘auto-complete-20221231.1633/’ (unsigned).
Version: 20221231.1633
Commit: 59c11c453bfa0794302848a004d1be3b1684f17b
Summary: Auto Completion for GNU Emacs
Requires: popup-0.5.0, cl-lib-0.5
Required by: jedi-20191011.1750, auto-complete-c-headers-20150912.323
Homepage: https://github.com/auto-complete/auto-complete
Keywords: completion convenience
Maintainer: Jen-Chieh Shen <[email protected]>
Author: Tomohiro Matsuyama <[email protected]>
Other versions: 20221231.1633 (melpa).
So it looks like the package is not considered a "primary package" for some reason, and therefore is not shown in the packages list, but can be installed as a dependency (I cannot say why).
from auto-complete.
Related Issues (20)
- Most recent auto-complete semantic source doesn't work HOT 2
- Weird completion behaviour when editing a line with existing characters to the right of the cursor
- Display problem with autocomplete in emacs (python) HOT 4
- how can i use tab instead of tab+<CR>
- Add page up/down commands HOT 3
- Is there any way to add word databases which should also be looked for a match ? HOT 1
- Why people are turning away from this package? HOT 16
- (Solved)No such file or directory, auto-complete
- Memberships after transferring ownership HOT 2
- Error running timer ‘ac-update-greedy’ / Error running timer ‘ac-show-menu’ HOT 2
- Looking for a new maintainer HOT 42
- Error running timer, ‘ac-show-menu’ & ‘ac-update-greedy’: (beginning-of-buffer) HOT 2
- Disable reviewer requirement? HOT 2
- Mind changing the organization's logo? HOT 7
- auto-complete does not respect "completion-styles" HOT 2
- Move CI to GitHub Actions HOT 1
- Warnings with Emacs 28.2 HOT 3
- Crash with emacs 29.1: "Error: Symbol’s value as variable is void: macro-declaration-function" HOT 4
- Doesn't work with latest Emacs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auto-complete.