Giter VIP home page Giter VIP logo

.emacs.d's People

Contributors

acdoussan avatar amaikinono avatar b40yd avatar bbenchen avatar beast-pro avatar blithefeng avatar brsvh avatar cireu avatar condy0919 avatar cpjolicoeur avatar csbigdatahub avatar ecno92 avatar fanweixiao avatar flyfisho25 avatar genekao avatar giuliocentorame avatar karthiknayak avatar kosantosbik avatar lanyusan avatar lemon0910 avatar on99 avatar patrolli avatar phineas0fog avatar randomphrase avatar ricardoamaro avatar seagle0128 avatar vstevehl avatar wow-yorick avatar x4lldux avatar xhh 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

.emacs.d's Issues

关于多窗口C-x o不能跳转的问题

最近在用Centaur Emacs的配置,发现一个问题,当我开三个1,2,3窗口,2和3开的是同一文件,这时候执行C-x o跳转其他窗口,这时候会停留在原来的窗口,跳转的失败!请抽个时间解决下吧。

M-3 不能解绑定问题

想把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
这是为什么吗?

MacOS 下全屏使用 lsp 时会弹出多个空白窗口

image

全新 clone 的你的配置,在 MacOS 下使用全屏模式会在弹出候选框时自动新建出几个窗口,而且都是全屏的,于是屏幕界面就会在几个窗口跳转……

上图是在编辑 .py 和 .el 时自动弹出来的多个窗口,每次编辑一个新的语言就会弹出一个或两个全屏窗口。

image

看窗口的名称应该和 lsp-ui 有关


(setq centaur-lsp 'eglot) 之后 python company 能正常点出来,但问题依旧,全屏模式下会弹出多个窗口。

启动报错

环境 : ubuntu 18.04 , emacs 25.2
错误 信息 :
Eager macro-expansion failure: (void-variable aw-dispatch-alist) [2 times]

Screenshots for README

Update the screenshots for README.md.

  • Main (default)

main

  • Programming (dark)

programming

prog

  • Org (dark)

org

  • Search (light)

search

  • Magit (daylight)

magit

  • Dired and replace (doom theme and modeline)

screen shot 2018-06-13 at 12 08 04 am

  • Dashboard (doom theme and modeline)

image

image

image

Screen Shot 2020-10-25 at 4 49 02 AM

  • Markdown and Magit
    image

  • Org (classic theme)
    image

  • Main (light theme)
    image

  • Color icons
    image

Screen Shot 2020-10-25 at 4 47 59 AM

Emacs启动好像并没有运行 .emacs.d/site-lisp/subdirs.el ,site-lisp下的文件夹没有添加到load-path

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

c++ quick run error when having anaconda

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!

screenshot 2018-11-29 at 23 39 16

I am using mac os 10.14.1, .emacs.d release version tag:v4.0.0 and also did the brew install cquery.

python mode auto-complete error in current version

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.

issue

spacemacs

Why don't you change your configuration to spacemacs?

Some problems:

Using chemacs (https://github.com/plexus/chemacs) to test out different configurations and I am getting some weird problems.

  • I added some code to custom.el:
(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.

Other than that, love what you have done it is so organized :D

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.

electric-spacing-mode conficts with ruby

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

Slow Mouse Scrolling

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.

Misjudge window width on Windows

Hello again,

I have another issue on Windows 7 enterprise, that it seems misjudge the window size. Please see screenshot.

image

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.

Error in post-command-hook in .emacs.d

When modify any .el files in .emacs.d will prompt this error:

image

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'!")

`init-window.el' has problem when byte-compiling

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?

M-. doesn't work

"xref-find-definitions" short-cut "M-." doesn't work anymore. Any idea? Thanks.

(M-. pushes, M-, pops) "M-," go back works though.

仿照Doom-emacs的方式优化配置?

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那种极端且复杂的优化,
不会破坏配置文件结构的完整性. 我觉得可以考虑一下

关于python环境检测的问题

Ubuntu 18.04

在原机的基础上安装了anaconda3,主环境为3.6.5版本。


image

问题1:这里python版本的含义是指处理当前文件时,插件所使用的python环境么?
问题2:这里的python版本是如何检测的呢?

我从图标打开emacs和从终端打开emacs,进入同一个python文件,但是检测的环境不同。图表对应2.7.15rc1,但是终端对应的就是3.6.5

image

问题3:请问如何手动切换环境呢?请问您是怎么应对的呢?


我查看了 issue #24 但是对应的代码没有在我安装的配置代码中。(这。。)

Misaligned icons

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 :

2019-04-14-082724_1912x1054_scrot

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 !

go 的 lsp 补全会多出字符,后端是 bingo,你有没有这种情况?

default

我不是用你的配置,只是讨论一个 lsp 的问题。
在用 lsp 补全的 go 的时候,使用 bingo 后端会出现多出自已输入的字符,就像图片里一样,不知道你有这种情况吗?而用 go 官方的后端 golsp 的时候又会出现吃掉自己输入的字符的情况,目前只有 go-langserver 是正确的,但又不支持 module。。。

关于emacs27上的使用问题

您好,由于最开始使用的自己编译的emacs26,有些小问题。所以我改用了emacs27。

这里就有个建议和一个疑惑

建议

(package-initialize)

这里可以改成:

(when (version< emacs-version "27.0")
  (package-initialize))

疑惑

关于treemacs的图标,我现在成了这个样子:

image

请问这是正常的么? 我之前使用这个light主题的时候,目录树并无图标。

请问如果这是正常的, 那么目录树的图标可以调整背景色么?在主题上显得有些突兀。

python mode has wrong syntax missure

: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)))))

Please consider the computer with small-capacity RAM

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.

Consider drop browse-kill-ring?

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.

Multiple python tooltips

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.

  • The yellow one: This is company completion.
  • The grey one right next to company completion.
  • The very last one, i.e. the slightly blueish one.

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.

image

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.

image

Thanks,
Vishesh

init-dired.el cause the dired-mode not working properly

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

(require 'init-dired)
everything back to normal. I guess something must wrong with /lisp/init-dired.el

Any clue how to fix this? thanks a lot!
p.s. This problem only happens on Mac, not on Linux.

一启动就卡死

环境:Manjaro Linux 17.1.0,8G内存,开虚拟机不卡。
clone 下来后,创建了 custom.el 到 .emacs.d 目录下,注释了my-proxy 那一行。
启动 emacs,下载包的过程中,卡死了,鼠标都动不了,只能强制按电源键关机。
重启后再试还是卡死,再重启在终端下 emacs -nw --debug-init,还是卡死。
实在想不通,怎么会卡死呢???

spaceline符号怪异

你好,我在安装后发现modeline的符号和readme里的截图不一致,似乎是有什么依赖没有装?
OS:MacOS12.13.1
Emacs:emacs-mac25.3.3
image

python模式下格式化太怪异了

比如下面这个
`class cla():

def fun():
    pass
def fun2():

    def fun1():
    pass

`
先写了class,然后写fun 和fun1,在fun1上插入fun2, fun1函数居然自动TAB过去了。

Colorize compilation buffer

(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.

Org-mode char `...` can't be displayed

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:
image

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

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.