emacs

Using git with emacs

≯℡__Kan透↙ 提交于 2021-02-06 09:12:35
问题 I am trying to configure git.el. When i do git-status i can see the status buffer with changed i can also add files using 'a' but when i try to commit a file using c writing the commit log and finishing it with C-c C-c gives me env: git: No such file or directory error and file is not committed. I am using emacs 23 on OS X. The only customization i added to my .emacs is (setq exec-path (append exec-path '("/opt/local/bin")) ) because emacs failed to find git executable. 回答1: In my .emacs for

Using git with emacs

微笑、不失礼 提交于 2021-02-06 09:10:44
问题 I am trying to configure git.el. When i do git-status i can see the status buffer with changed i can also add files using 'a' but when i try to commit a file using c writing the commit log and finishing it with C-c C-c gives me env: git: No such file or directory error and file is not committed. I am using emacs 23 on OS X. The only customization i added to my .emacs is (setq exec-path (append exec-path '("/opt/local/bin")) ) because emacs failed to find git executable. 回答1: In my .emacs for

Using git with emacs

[亡魂溺海] 提交于 2021-02-06 09:10:22
问题 I am trying to configure git.el. When i do git-status i can see the status buffer with changed i can also add files using 'a' but when i try to commit a file using c writing the commit log and finishing it with C-c C-c gives me env: git: No such file or directory error and file is not committed. I am using emacs 23 on OS X. The only customization i added to my .emacs is (setq exec-path (append exec-path '("/opt/local/bin")) ) because emacs failed to find git executable. 回答1: In my .emacs for

Using git with emacs

杀马特。学长 韩版系。学妹 提交于 2021-02-06 09:06:52
问题 I am trying to configure git.el. When i do git-status i can see the status buffer with changed i can also add files using 'a' but when i try to commit a file using c writing the commit log and finishing it with C-c C-c gives me env: git: No such file or directory error and file is not committed. I am using emacs 23 on OS X. The only customization i added to my .emacs is (setq exec-path (append exec-path '("/opt/local/bin")) ) because emacs failed to find git executable. 回答1: In my .emacs for

Can't turn on plantuml-mode in Emacs

旧巷老猫 提交于 2021-02-05 20:34:17
问题 I am on Emacs 24.3.1. I installed the MELPA version of plantuml-mode via M-x package-install RET plantuml-mode RET . When I try to turn on plantuml-mode for a buffer, I get the following error: Wrong type argument: stringp, nil Trying to find additional installation instructions I looked at the "Commentary" section in the plantuml-mode.el source, but there it only says to require the package, and I am doing that. How can I fix this problem? 回答1: After a bit more digging I found the solution

I want to try org-mode. What's the shortest path from zero to typing?

主宰稳场 提交于 2021-02-05 13:47:26
问题 I want to give emacs' org-mode a try. What is the shortest path for me to accomplish that? Assume NO previous experience with emacs. (I'm aware that other editors, like vim and textmate, have similar task lists. I'm specifically interested in learning about the emacs org-mode) My laptop runs Win7 Home Premium x64 回答1: I use Emacs (when I'm on Windows) with the official binaries at http://ftp.gnu.org/gnu/emacs/windows/emacs-22.3-barebin-i386.zip Just unzip to a directory and double click

I want to try org-mode. What's the shortest path from zero to typing?

大兔子大兔子 提交于 2021-02-05 13:42:53
问题 I want to give emacs' org-mode a try. What is the shortest path for me to accomplish that? Assume NO previous experience with emacs. (I'm aware that other editors, like vim and textmate, have similar task lists. I'm specifically interested in learning about the emacs org-mode) My laptop runs Win7 Home Premium x64 回答1: I use Emacs (when I'm on Windows) with the official binaries at http://ftp.gnu.org/gnu/emacs/windows/emacs-22.3-barebin-i386.zip Just unzip to a directory and double click

How to paste to Emacs from clipboard on OSX?

帅比萌擦擦* 提交于 2021-02-05 13:10:37
问题 This might be extraordinarily simple, but I am playing with Emacs (22.1.1) and I can't get it to paste text in the clipboard using Control - Y . 回答1: If you're using the in-built Emacs, then you're running Emacs in the terminal. The "clipboard" is a function of your windowing system. Emacs in terminal mode ( -nw ) does not access any windowing system specific APIs. This is true of most command line tools designed to work in the terminal. You need to upgrade your Emacs as others have suggested

怎样在 Linux 中配置静态网络连接[每日前端夜话0x74]

為{幸葍}努か 提交于 2021-02-03 13:14:10
怎样在 Linux 中配置静态网络连接[每日前端夜话0x74] 疯狂的技术宅 前端先锋 每日前端夜话0x74 每日前端夜话,陪你聊前端。 每天晚上18:00准时推送。 正文共:1499 字 预计阅读时间: 6 分钟 翻译:疯狂的技术宅 来源:opensource Image credits : iradaturrahmat via Pixabay, CC0 为 Linux 系统配置网络连接可能是具有挑战性的。幸运的是,许多新的 Linux 发行版都带有网络管理工具,可以帮你自动连接到无线网络。但是能够为 Linux 机器建立静态网络连接不是更好吗?本指南将向你展示如何使用不同的 Linux 工具检查来自 CentOS/RHEL 机器的网络连接,并讲解如何使用 nmcli 工具添加静态网络配置。 步骤1:检查网络连接 ping 命令是一个众所周知的程序,可以快速检查网络的连通性。在命令行中输入以下内容: 1ping -c3 opensource.com 其中 -c3 选项表示你只 ping 三次。 Using the ping tool to call Opensource.com 如果你连接到了互联网,将会收到类似的数据包响应。 步骤2:检查连接信息 你可以用 ip add 命令检查网络信息。 用ip add检查连接信息 运行此命令可显示设备信息和 IP 地址等

为什么写日记能提高效率 | Linux 中国

给你一囗甜甜゛ 提交于 2021-02-01 10:51:19
写日记有着悠久的历史。这里有三个开源工具,可以帮助你写日记变得更轻松。 来源: https:// linux.cn/article-13070- 1.html 作者:Kevin Sonney 译者:geekpi (本文字数:1136,阅读时长大约:1 分钟) 在前几年,这个年度系列涵盖了单个的应用。今年,我们除了关注 2021 年的策略外,还将关注一体化解决方案。欢迎来到 2021 年 21 天生产力的第十天。 在我的小学时代,商业互联网还没有出现,老师经常会给我们班级布置一个让我们写日记的作业。有时会针对一些特定的内容,例如特定格式的虫子列表和说明,或者是公民课的每周新闻摘要。 几个世纪以来,人们一直在写日记。它们是一种方便的信息保存方式。它们有很多形式,比如意大利的 Zibaldone 、 备忘录 ,或者记录今天做了什么的事件日记。 (Kevin Sonney, CC BY-SA 4.0) 为什么我们要写某种日记呢?第一个原因是为了让我们不至于把所有的事情都记在脑子里。我们中没有多少人有 遗觉记忆 (Eidetic memory) ,维护运行日记或一组笔记可以让我们更容易地参考我们之前做的一些事情。日记也更容易分享,因为它们可以在聊天、邮件中复制/粘贴。正如 Robert Boyce 的名言:“知识就是力量。知识共享使力量倍增。”知识的共享是开源的一个内在组成部分。 今天的日记