tuhdo / emacs-c-ide-demo Goto Github PK
View Code? Open in Web Editor NEWEmacs setup for C/C++ with Helm describe here: http://tuhdo.github.io/c-ide.html
Emacs setup for C/C++ with Helm describe here: http://tuhdo.github.io/c-ide.html
Copied from "emacs --debug-init":
Debugger entered--Lisp error: (error "Package `emacs-24.4' is unavailable")
signal(error ("Package `emacs-24.4' is unavailable"))
error("Package `%s-%s' is unavailable" "emacs" "24.4")
package-compute-transaction((helm) ((emacs (24 4)) (async (1 9)) (popup (0 5 3)) (helm-core (2 1 0))))
package-install(helm)
(if (package-installed-p package) nil (package-install package))
(while --dolist-tail-- (setq package (car --dolist-tail--)) (if (package-installed-p package) nil (package-install package)) (setq --dolist-tail-- (cdr --dolist-tail--)))
(let ((--dolist-tail-- demo-packages) package) (while --dolist-tail-- (setq package (car --dolist-tail--)) (if (package-installed-p package) nil (package-install package)) (setq --dolist-tail-- (cdr --dolist-tail--))))
install-packages()
eval-buffer(#<buffer *load*> nil "/home/yuri/.emacs.d/init.el" nil t) ; Reading at buffer position 849
load-with-code-conversion("/home/yuri/.emacs.d/init.el" "/home/yuri/.emacs.d/init.el" t t)
load("/home/yuri/.emacs.d/init" t t)
#[0 "�\205\262
I get this whenever i try to
The .el files in the package should have a line indicating its source / author.
Even if the material is public-domain, the colophon information is useful for users to know where to provide feedback / improvements / corrections, and where to check for updates. You can expect these files to 'travel' and be shared in unexpected ways, and a users may never otherwise know their source.
I suggest at least a single line in each .el file, to include at minimum the url of your repo.
very thankful !!!
I learn a lot from http://tuhdo.github.io/c-ide.html
the last section
how can i peek definition change to use gtags ?
HI :
I got the same error as the title show.My helm-gtags-find-tag does not work . The global is in the PATH . I don't know how to solve it. Wait for your answer .
I'm going through the c-ide.html page of your emacs tutorial repo, including using this demo repo to which is supposed to be keyed. The html page says that this repo (emacs-c-ide-demo) should perform everything that is manually listed later on that html page. However, that is quickly evidently not the case.
Already in the first section, Source Code Navigation, its apparent that at some point that the files setup-helm.el and setup-ggtags.el fell out of sync with the code snippet on the html page.
I could do the copy/paste and make a pull request if you haven't the time. An alternative would be to change the text on the c-ide.html page which currently says that by using this repository "you can ignore all the Elisp code for setting up throughout the guide", but I think the first option would be nicer.
emacs-c-ide-demo/custom/setup-general.el
Line 18 in 5e77bb7
There are several duplicate entries in the files setup-general and setup-editing. In my opinion, that should be cleaned up. Also, sometimes setq-default
and sometimes setq
is used for the same variable (e.g., tab-width
).
emacs-c-ide-demo/custom/setup-helm.el
Line 79 in 5e77bb7
In this and the following three lines, why not use the previously defined helm-map prefix? I think it makes sense to rebind these keys, as well, if the prefix is changed. Currently, they will always be bound to, e.g., "C-c h o" no matter how the prefix is bound.
emacs-c-ide-demo/custom/setup-helm.el
Line 38 in 5e77bb7
That appears to unconditionally set the same value which is only conditionally set two lines further up. Or is my rudimentary Lips reading wrong?
If I use your files as-is, then I get the "xcscope not installed" error.
After I install it manually via MELPA, everything works fine.
when start emacs with your .emacs.d repo, report counsel-projectile-on is void definition, have a look the counsel-projectile repo, it change to counsel-projectile-mode
`diff --git a/custom/setup-ivy-counsel.el b/custom/setup-ivy-counsel.el
index 8ebc22e..20c56aa 100644
--- a/custom/setup-ivy-counsel.el
+++ b/custom/setup-ivy-counsel.el
@@ -20,6 +20,6 @@
(use-package counsel-projectile
:init
(provide 'setup-ivy-counsel)
`
emacs-c-ide-demo/custom/setup-helm.el
Line 79 in 5e77bb7
Just a duplicate line.
I have been using this setup in other computers, but I'm getting these errors in a new installation:
Turn on helm-projectile key bindings
Error during redisplay: (eval (format " Projectile[%s(%s)]" (projectile-project-name) (projectile-project-type))) signaled (error "You’re not in a project")
Loading tramp...done
Error during redisplay: (eval (format " Projectile[%s(%s)]" (projectile-project-name) (projectile-project-type))) signaled (error "You’re not in a project")
For information about GNU Emacs and the GNU system, type C-h C-a.
Error during redisplay: (eval (format " Projectile[%s(%s)]" (projectile-project-name) (projectile-project-type))) signaled (error "You’re not in a project") [2 times]
I run it in emacs 27.0.50, but the same issue happened in emacs 25.1. The OS:
Distributor ID: Ubuntu
Description: Ubuntu 17.04
Release: 17.04
Codename: zesty
Have you seen this issue? Do you know how can I solve it?
Thank you!
emacs-c-ide-demo/custom/setup-general.el
Line 52 in 5e77bb7
Why is the newline-and-indent
made part of zygospore setup? The setting is also made in setup-editing.el. Therefore, in my opinion, the setting should be removed here.
Hi, I have used this emacs setup for several weeks, but do not know how to setup ggtags, every time I run helm-gtags-find-tag, "Seach for program: no such file or directory, global" pop up in minibuffer.
I do installed GNU global using brew (on MacOS), and ggtags package via MELPA.
Could you tell me how to set it up? Thanks very much.
Hi, i installed your emacs C++ environment setup and when i for example, find a file (C-x C-f) and change the buffer with the mouse 1, i end up in a buffer called *helm find files* and i cannot switch to other buffers this way, after encountering this buffer. This also happens every time i encounter a *helm buffer* this way, preventing me from switching buffer using mouse 1. On the buffer *Messages* these kind of error messages occur. How can i fix them?
Error during redisplay: (eval (with-helm-buffer (helm-show-candidate-number (car-safe helm-mode-line-string)))) signaled (error "No buffer named *helm*") [11 times]
helm-display-mode-line: Wrong type argument: stringp, ("File(s)" "\\<helm-map>\\[helm-help]:Help \\[helm-select-action]:Act \\[helm-maybe-exit-minibuffer]/f1/f2/f-n:NthAct \\[helm-toggle-suspend-update]:Tog.suspend \\[helm-customize-group]:Conf")Error during redisplay: (eval (with-helm-buffer (helm-show-candidate-number (car-safe helm-mode-line-string)))) signaled (error "No buffer named *helm*")
Error during redisplay: (eval (with-helm-buffer (helm-show-candidate-number (car-safe helm-mode-line-string)))) signaled (error "No buffer named *helm*") [9 times]
auto trimmed 0 chars
helm-display-mode-line: Wrong type argument: stringp, ("File(s)" "\\<helm-map>\\[helm-help]:Help \\[helm-select-action]:Act \\[helm-maybe-exit-minibuffer]/f1/f2/f-n:NthAct \\[helm-toggle-suspend-update]:Tog.suspend \\[helm-customize-group]:Conf") [2 times]
next-line: End of buffer
Quit
QuitError during redisplay: (eval (with-helm-buffer (helm-show-candidate-number (car-safe helm-mode-line-string)))) signaled (error "No buffer named *helm*")
Error during redisplay: (eval (with-helm-buffer (helm-show-candidate-number (car-safe helm-mode-line-string)))) signaled (error "No buffer named *helm*")
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.