seagle0128 / .emacs.d Goto Github PK
View Code? Open in Web Editor NEWCentaur Emacs - A Fancy and Fast Emacs Configuration
Home Page: https://seagle0128.github.io/.emacs.d/
License: GNU General Public License v3.0
Centaur Emacs - A Fancy and Fast Emacs Configuration
Home Page: https://seagle0128.github.io/.emacs.d/
License: GNU General Public License v3.0
Why don't you change your configuration to spacemacs?
Hello again,
I have another issue on Windows 7 enterprise
, that it seems misjudge the window size. Please see screenshot.
As you can see that the logo is not in the middle of the screen, and the tail of modeline is covered by the edge of the window.
I customized modeline a bit in the custom-post.el file, copied some configurations in your mode-line repo, then I can drag a bit modeline back but not all of them.
Could you please help have a look? Appreciate it.
Hello, and sorry for my poor English.
I am a new in Emacs, So I don't understand the principle.
But what I see is:
Your configuration runs on the computer with 2G RAM will be error.
Emacs version: 25.2
OS: Arch Linux x86_64
Hardware: VirtualBox 5.1.26 VM
Thanks.
例如拼写检查,这些我不需要,能在 custom 里面设置吗
Using chemacs (https://github.com/plexus/chemacs) to test out different configurations and I am getting some weird problems.
(set-face-foreground 'font-lock-comment-face "Purple")
(set-face-attribute 'font-lock-comment-face nil :bold t)
(set-face-background 'region "Dark blue")
(set-face-background 'mode-line "red") ;; << This line is just to test I wasn't going mad :D
It doesn't load, but it works if I evaluate the code in the scratch buffer.
Tried to turn on the dashboard per instructions - it never turns on.
I get a weird message on shut down
Current desktop was not loaded from a file. Overwrite this desktop file? (y or n)
Have to enter "y" to quit.
I launch Emacs with:
emacs --with-profile centaur &> /dev/null &
I cloned centaur to ~/.centaur.d
I have checked and the emacs user directory is set correctly and anyway everything else seems to run OK so far.
When electric-spacing-mode is enabled, cannot typing ruby symbols. Colons automatically moved to the end of previous word.
e.g.
expected: attr_reader :aaa, :bbb
but got this: attr_reader: aaa,: bbb
Hello,
First of all, it is really a great bootstrap for emacs. Thank you very much!
I met an issue that, one char can't be displayed on org-mode, I think it is '...' (ellipses) when truncate the headings or drawers, see below:
Code number seems 'F107', googled it and returned awesome font results. So I installed awesome fonts but no lucky to fix it.
I have powerline fonts and all-the-icons fonts installed, can be sure about that. Don't know if you have met the same issue.
My system and Emacs versions:
OS: Microsoft Windows 7 enterprise
Emacs: GNU Emacs 26.1
error:Required feature 'linum-off' was not provided i have this error , can you help me
LSP is installed, but still having this message:
Symbol's function definition is void: inferior-moz-process
Thanks for any help!
环境:Manjaro Linux 17.1.0,8G内存,开虚拟机不卡。
clone 下来后,创建了 custom.el 到 .emacs.d 目录下,注释了my-proxy 那一行。
启动 emacs,下载包的过程中,卡死了,鼠标都动不了,只能强制按电源键关机。
重启后再试还是卡死,再重启在终端下 emacs -nw --debug-init,还是卡死。
实在想不通,怎么会卡死呢???
Ubuntu 18.04
在原机的基础上安装了anaconda3,主环境为3.6.5版本。
问题1:这里python版本的含义是指处理当前文件时,插件所使用的python环境么?
问题2:这里的python版本是如何检测的呢?
我从图标打开emacs和从终端打开emacs,进入同一个python文件,但是检测的环境不同。图表对应2.7.15rc1,但是终端对应的就是3.6.5
问题3:请问如何手动切换环境呢?请问您是怎么应对的呢?
我查看了 issue #24 但是对应的代码没有在我安装的配置代码中。(这。。)
When modify any .el files in .emacs.d will prompt this error:
Error in post-command-hook (#[0 "\303\304\301\242\305#\210\300\306�!\205��r\211q\210
?\205��\307\310\311 \")\207" [#<buffer init-company.el> (#0) eglot--managed-mode remove-hook post-command-hook nil buffer-live-p apply eglot--connect eglot--guess-contact] 4]): (error "[eglot] Couldn't guess for `emacs-lisp-mode'!")
CSS style for Markdown preview
:init (cl-pushnew '(company-backend-with-yas 'company-anaconda) company-backends)))))
This line has the excessive quote symbol,and must be:
:init (cl-pushnew (company-backend-with-yas 'company-anaconda) company-backends)))))
想把M-3解绑用作别的键
(global-set-key (kbd "\M-3") nil)
(global-unset-key (kbd "\M-3"))
(global-set-key (kbd "M-3") 'grep-find)
这样操作后无效,报错:No window numbered 3
这是为什么吗?
Hi, I encountered a problem whenever I use C-x C-f or C-x d to list a directory; I got an empty page.
I got a message like insert-directory: Listing directory failed but 'access-file' worked
After I disable
Line 89 in 55b07da
Any clue how to fix this? thanks a lot!
p.s. This problem only happens on Mac, not on Linux.
环境 : ubuntu 18.04 , emacs 25.2
错误 信息 :
Eager macro-expansion failure: (void-variable aw-dispatch-alist) [2 times]
Byte-compiler throws error, but it can run well when it was called by intepreter.
Compiling file c:/Users/asd/Desktop/ed/lisp/init-window.el at Sat Nov 24 17:51:14 2018
Entering directory ‘c:/Users/asd/Desktop/ed/lisp/’
init-window.el:155:64:Error: Wrong type argument: listp, buffer
Compiling no file at Sat Nov 24 17:52:39 2018
Is it problem of the hacks?
最近在用Centaur Emacs的配置,发现一个问题,当我开三个1,2,3窗口,2和3开的是同一文件,这时候执行C-x o跳转其他窗口,这时候会停留在原来的窗口,跳转的失败!请抽个时间解决下吧。
Hello:
I found that the demand for "browsing the kill-ring
" is not large.
In most cases, we only need to select an item from the kill-ring to paste into the text, so counsel-yank-pop
is enough.
Please forgive my obsessive-compulsive disorder...
Thank you.
I'm sorry for my poor English.
I think, Centaur Emacs uses ccls
for C/C++ language server.
However, README (and also the web page) makes me install cquery
.
Thank you,
Hi, thanks for sharing such a nice setting for emacs. I found out that python autocomplete is no longer working in the current version recently. Any idea how can I fix this? Please see my screenshot below.
If I use 3.0 release version, autocomplete works just fine, without those messages.
By the way, I have tried it and got this error on Mac, Ubuntu and Cygwin.
because i have a mirror in my localhost😄️...
Cannot bind server socket: Address already in use
为了以后程序更新不好修改本身的配置. 放在custom.el被覆盖了.不起作用.
可以参考prelude 的配置中,专门放一个personal 文件夹和preload文件夹.
Hello, Mr. Zhang, and thank you for your config that was (and still is) a huge help in the setting up of my own.
Your recent reddit post (https://www.reddit.com/r/emacs/comments/bc2z7n/centaur_emacs_integrates_colorful_icons/) prompted me to implement your various aesthetic improvements around icons, particularly in the treemacs, ibuffer, and ivy-rich buffers.
You might have noticed the slight misalignment stemming from the fact that the icons in the all-the-icons fonts are not of the same width, it is actually quite visible in the screenshot you posted on reddit.
You seem to have gone to great lengths to get rid of that problem, by methodically tweaking the heights and v-adjust, and trying to avoid particularly slim icons (the "i" of the help buffer, particularly visible in your example, that you chose to replace with the info-circle icon). But then I might be wrong to interpret your efforts that way.
If this misalignment bothers you, I might have found a solution that, I must admit, feels a bit like a hack.
I have systematically included a literal tab character ("\t") between the icon column and the next one in the ibuffer-format and ivy-rich-display-transformers-list variables, and set up tab-width to be 1 only in those buffers (the ibuffer buffer and minibuffer respectively).
I must say I'm quite happy with the result. See for yourself :
I thought that it might interest you, despite it being a dirty way of avoiding the problem. I can open a PR to push my changes upstream if you're interested. Tell me !
A query, when scrolling with the mouse, emacs freezes for 1 sec. or 2. It happens to me in almost all modes except the fundamental mode.
Emacs启动好像并没有运行 .emacs.d/site-lisp/subdirs.el ,site-lisp下的文件夹没有添加到load-path。
下面链接提到启动执行的操作中第一条,安装Emacs时生成的subdirs.el 确实运行了,但是自定义目录中的subdirs.el 应该没有运行。配置中这个 subdirs.el 文件是不是多余的啊
https://www.gnu.org/software/emacs/manual/html_node/elisp/Startup-Summary.html
您好,由于最开始使用的自己编译的emacs26,有些小问题。所以我改用了emacs27。
这里就有个建议和一个疑惑。
建议
Line 85 in 7bd8baf
这里可以改成:
(when (version< emacs-version "27.0")
(package-initialize))
疑惑
关于treemacs的图标,我现在成了这个样子:
请问这是正常的么? 我之前使用这个light主题的时候,目录树并无图标。
请问如果这是正常的, 那么目录树的图标可以调整背景色么?在主题上显得有些突兀。
比如下面这个
`class cla():
def fun():
pass
def fun2():
def fun1():
pass
`
先写了class,然后写fun 和fun1,在fun1上插入fun2, fun1函数居然自动TAB过去了。
Test from magit-github
.
请问如何设置缩进宽度,在custom.el中设置(setq default-tab-width 2)并不生效.
HOW MAKE CLOTHES
(require 'ansi-color)
(defun colorize-compilation-buffer ()
"Colorize the compilation buffer with ANSI escape sequences."
(toggle-read-only)
(ansi-color-apply-on-region (point-min) (point-max))
(toggle-read-only))
(add-hook 'compilation-filter-hook 'colorize-compilation-buffer)
The above code will colorize ANSI escape sequences in *compilation*
buffer.
Hi, I ran into this problem: when I have export PATH="/anaconda3/bin:$PATH"
in my .bash_profile
, I got this error when I pressed f7 to quick run c++ code, but compiling from the terminal is totally fine. It's also totally fine without anaconda, any help would be appreciated. Thanks!
I am using mac os 10.14.1, .emacs.d release version tag:v4.0.0 and also did the brew install cquery
.
Doom-emacs的作者提到启动Emacs时应当最小化load-path
, 避免Emacs到每个load-path
下面寻找文件造成性能损失. 我觉得可以用类似陈斌的方法进行优化
;; No need now
;; (add-to-list 'load-path (expand-file-name "lisp" user-emacs-directory))
(defmacro require-init (config)
"Load your init files"
`(load ,(file-truename (format "~/.emacs.d/lisp/%s) config)))
(require-init init-const)
(require-init init-custom)
;; Blabla...
我个人在windows上体验了一下, emacs启动时间由16.5s直接变为11.8s, 瞬间泪流满面....
而且这种改动对配置文件的影响也会比较小, 没有doom-emacs那种极端且复杂的优化,
不会破坏配置文件结构的完整性. 我觉得可以考虑一下
Hi,
This is question rather than an issue. I'm using your emacs.d as base for my emacs configuration. However, I noticed that in case of Python as shown in the screenshot there are multiple tooltips.
I can't figure out what is creating the last one. I originally thought it is anaconda-eldoc, but disabling that didn't work out for me. Can you point on where I can configure this, e.g. the font size, popup delay etc. Most times, it is more distracting than useful to me.
Similarly, in this second screenshot when my cursor is over map, I see two documentations showing up. Ideally, one would want just one to show up. Again, I'm not sure which one belongs to which mode.
Thanks,
Vishesh
"xref-find-definitions" short-cut "M-." doesn't work anymore. Any idea? Thanks.
(M-. pushes, M-, pops) "M-," go back works though.
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.