emacs

全球当下最厉害的14位程序员,说没听过简直离谱~

て烟熏妆下的殇ゞ 提交于 2021-01-31 09:15:22
全球最厉害的14位程序员都有哪些人?接下来让我们一起来看一下让业界膜拜的这十几位顶级编程大神。 注意,排名不分先后。 01 Jon Skeet 个人名望: 程序技术问答网站Stack Overflow总排名第一的大神,每月的问答量保持在425个左右。 个人简介/主要荣誉: 谷歌软件工程师,代表作有《深入理解C#(C# In Depth)》。 网络上对Jon Skeet的评价: “他根本不需要调试器,只要他盯一下代码,错误之处自会原形毕露。” “如果他的代码没有通过编译的时候,编译器就会道歉。” “他根本不需要什么编程规范,他的代码就是编程规范。” 02 Gennady Korotkevich 个人声望: 编程大赛神童 个人简介/主要荣誉: 年仅11岁时便参加国际信息学奥林比克竞赛,创造了最年轻选手的记录。在2007-2012年间,总共取得6枚奥赛金牌;2013年美国计算机协会编程比赛冠军队成员;2014年Facebook黑客杯冠军得主。 截止目前,稳居俄编程网站Codeforces声望第一的宝座,在TopCoder算法竞赛中暂列榜眼位置。 网络上对Gennady Korotkevich的评价: “一个编程神童。” “他太令人惊讶了,他相当于我在白俄罗斯建立了一支强大的编程队伍。” “彻底的编程天才。” 03 Linus Torvalds 个人名望: Linux之父 个人简介

Hide ALL heading stars in org mode in emacs?

不羁岁月 提交于 2021-01-29 18:56:11
问题 Is it possible to visually hide ALL stars in emacs org mode headers? T.g. the text * MY HEADER 1 my text 1 * MY HEADER 2 my text 1 to be displayed as MY HEADER 1 my text 1 MY HEADER2 my text 2 PS I prefer to highlight/fontify all header line and to use org-indent-mode so it's visually headers without start would loook different than common text 来源: https://stackoverflow.com/questions/51318618/hide-all-heading-stars-in-org-mode-in-emacs

Font-lock and disable js2-mode parsing node shebang line

旧巷老猫 提交于 2021-01-29 14:22:51
问题 How can I treat the a shebang line of the form #! /usr/bin/env node As a comment line, when using js2-mode ? I've tried a couple things, one as a modification of something Stefan proposed on another thread (can't find it now), eg. a modification to the syntax-propertize-rules , (defalias 'my-js2-syntax-propertize-shebang (syntax-propertize-rules ("\\`\\(#\\)!.*/[^ \t\n]+" (1 "!")))) (defun my-js2-hook () (add-function :before (local 'syntax-propertize-rules) #'my-js2-syntax-propertize-shebang

Clojure on emacs fails when running cider-jack-in command

回眸只為那壹抹淺笑 提交于 2021-01-28 05:33:26
问题 I had been using Clojure on emacs on my Bunsenlabs linux which was similar to Debian. Ones it stopped working. cider-jack-in command caused error. Could anybody help me to fix it? The versions and error message are these: GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.20) of 2017-09-12, modified by Debian cider 20180207.239 clojure-mode 20180202.922 Leiningen 2.8.1 on Java 1.8.0_161 Java HotSpot(TM) 64-Bit Server VM Clojure 1.8.0 Loading 00debian-vars...done Loading /etc/emacs/site

How can I get block quotes inside org-mode footnotes?

好久不见. 提交于 2021-01-28 02:41:51
问题 Footnotes in org-mode are annoyingly different from the normal non-footnote environment. One difference is that one has to use "\par" instead of blank lines to separate paragraphs. Annoying, but at least it works. Another difference is that they don't seem to work with block quotes ("#+BEGIN_QUOTE" and "#+END_QUOTE"). Since I am mostly interested in exporting to Latex, I tried just using Latex's "\footnote" command instead of the org-mode "[fn:: ... ]" syntax. But that did not help. I got a

Setting flycheck-clang-include-path in .dir-locals using projectile

孤者浪人 提交于 2021-01-27 19:47:38
问题 Trying to set flycheck-clang-include-path without the need to include the full path of the project include directories using projectile, but I get errors... So this works: ((nil . ( (company-clang-arguments . ( "/home/user/Downloads/project/headers" "/home/user/Downloads/project/source/mon" )) (flycheck-clang-include-path . ( "/home/user/Downloads/project/headers" "/home/user/Downloads/project/source/mon" )) ))) But this does not: ((nil . ( (company-clang-arguments . ( (concat "-I"

Customize color of internal links orgmode

扶醉桌前 提交于 2021-01-27 13:21:22
问题 It's probably possible, but couldn't find a reference. How can I define a different color to internal links than external ones through my .emacs file? 回答1: Ancient question, but since it pops up in searches... Org 9 has a revamped system for defining links, using the org-link-parameters variable. Typically, you modify this through the function ´org-set-link-parameters`, see the org documentation, or the examples here: https://kitchingroup.cheme.cmu.edu/blog/2016/11/04/New-link-features-in-org

Can't run emacs as daemon

南楼画角 提交于 2021-01-27 07:26:56
问题 Trying to run >emacs --daemon in a shell produces Warning: due to a long standing Gtk+ bug http://bugzilla.gnome.org/show_bug.cgi?id=85715 Emacs might crash when run in daemon mode and the X11 connection is unexpectedly lost. Using an Emacs configured with --with-x-toolkit=lucid does not have this problem. Loading /home/me/.emacs.d/customizations/navigation.el (source)... Loading /home/me/.emacs.d/.recentf... Loading /home/me/.emacs.d/.recentf...done Cleaning up the recentf list... Loading

Can't run emacs as daemon

血红的双手。 提交于 2021-01-27 07:26:22
问题 Trying to run >emacs --daemon in a shell produces Warning: due to a long standing Gtk+ bug http://bugzilla.gnome.org/show_bug.cgi?id=85715 Emacs might crash when run in daemon mode and the X11 connection is unexpectedly lost. Using an Emacs configured with --with-x-toolkit=lucid does not have this problem. Loading /home/me/.emacs.d/customizations/navigation.el (source)... Loading /home/me/.emacs.d/.recentf... Loading /home/me/.emacs.d/.recentf...done Cleaning up the recentf list... Loading

Build Emacs on Ubuntu - libraries not found

这一生的挚爱 提交于 2021-01-21 11:12:20
问题 I am trying to install Emacs v. 26.1. When I run ./configure , I see the following error: configure: error: The following required libraries were not found: libXpm libjpeg libgif/libungif libtiff gnutls Maybe some development libraries/packages are missing? However, they seem to be already there. I tried multiple things, such as: : ~$ apt-cache search gnutls gnutls-doc - GNU TLS library - documentation and examples libcurl3-gnutls - easy-to-use client-side URL transfer library (GnuTLS flavour