我的Emacs之路

[Emacs list使用及配置] Emacs入门指南摘要 Emacs是一款高度可定制的文本编辑器,核心基于Lisp语言,具有强大的扩展性。其特点包括:极致组合键操作(如C-x C-f打开文件)、模块化设计(主/次模式)、丰富的插件生态(通过use-package管理)。典型配置包含Doom Emacs等发行版,支持vim键位(evil插件)。核心概念包括Buffer(文件内存表示)、Window(视图分割)和Frame(完整界面)。学习路径建议从基础命令(C-h获取帮助)开始,逐步掌握Lisp配置语法((+ 2 3)形式),最终实现个性化工 阅读详情

推荐站点:http://learn.tsinghua.edu.cn:8080/2001315450/index.html
         newsmth/emacs编辑器

推荐书籍: Sams Teach Yourself Emacs in 24 Hours


emacs之matlab配置   这两天要看matlab代码,开一个m编辑器太烦人了,还是emacs省事.1.配置matlab,如下:Installing EmacsLink Overview To install EmacsLink:Register EmacsLink with MATLAB.See Registering EmacsLink.Configure MATLAB to use EmacsLink.Se 阅读详情

相关推荐

Linux中EMACS的中文输入问题

Linux中EMACS的中文输入问题环境方法:1、安装相应的语言2、设置环境变量LC_CTYPE3、emacs设置技巧 每次重装系统都要折腾一番emacs的中文输入问题,还是记录一下。 环境 首先选择系统,还是debian10的稳定版好用,现在的稳定版中的软件不算太老。 然后是桌面,亲测gome和kde,安装方法一样。 题外话,装系统的时候安装的桌面比后面添加的桌面更稳定;kde在资源和显示效果上...

chyx555的专栏 864

vi与emacs

 **************************************************************************刚走没多久,又开始了。我们linux版的版主表示这周的使用指南将要取消,这个指南是关于使用vi能够完成的一些新的任务。Greg Menke发出了第一个置顶帖。使用vi?那该多么麻烦呀?他把自己的步骤贴了出来:1.获

jcwKyl的专栏 1663

从任何地方轻松启动Emacs:OSX用户指南

本文还有配套的精品资源,点击获取 简介:Emacs作为一款功能强大的文本编辑器,深受程序员和科技爱好者的青睐。本文将指导OSX用户如何通过快捷方式创建、使用Automator服务、启动Emacs daemon、应用Emacs client、集成系统服务和个性化Emacs配置等步骤,实现从任何地方快速启动和使用Emacs。这不仅提升了工作效率,也展示了Emacs作为全能工具的...

weixin_34392511的博客 1293

终极Emacs配置指南:M-EMACS完整教程与快速上手技巧

想要打造一个功能强大且易于使用的Emacs配置环境吗?M-EMACS正是你需要的解决方案!这是一个全功能的GNU Emacs配置发行版,专为提升你的编程和工作效率而设计。无论你是Emacs新手还是资深用户,M-EMACS都能为你提供开箱即用的优质体验。 ## 🚀 M-EMACS是什么? M-EMACS是一个高度定制化的GNU Emacs配置框架,它整合了88个精选包,覆盖了从代码编辑到日常办

gitblog_00770的博客 870

我的个性化Emacs配置:emacs.d个人识字指南

本文还有配套的精品资源,点击获取 简介:Emacs.d 是 Emacs 编辑器的个性化配置目录,包含多个 .lisp 文件,用于扩展和定制编辑器功能。用户可以通过修改这些文件实现快捷键自定义、插件管理、高级文本处理、代码编辑和工作区管理等。本文分享了一个个人的 Emacs 配置集,提供学习 Emacs Lisp 和优化工作流程的宝贵资源。 1. Emacs.d 目...

weixin_35045970的博客 1492

检索增强世界模型(R-WoM)原理与应用实践

世界模型是AI系统理解环境的核心技术,通过构建环境的内部表示实现状态预测和行动规划。传统方法基于RNN或VAE等神经网络,而检索增强世界模型(R-WoM)创新性地引入检索机制,结合外部记忆库提升系统性能。这种架构突破模型参数限制,使AI能像人类一样利用历史经验解决问题,在游戏AI、虚拟助手等场景表现优异。关键技术包括FAISS相似性搜索、分层记忆管理和动态检索策略,其中Transformer编码器和GRU动态模型的组合实现高效环境建模。实践表明,该方法可提升47%的战术多样性,加快32%的应急响应速度。

weixin_42676876的博客 341

Emacs美化指南:Oh My Emacs的主题、字体和界面优化技巧

Oh My Emacs 是一款为新手和高级用户打造的开箱即用 Emacs 配置方案,提供了丰富的美化选项,包括主题定制、字体设置和界面优化。本文将详细介绍如何通过 Oh My Emacs 让你的编辑器既美观又实用,提升编码体验。 ## 一、主题定制:打造个性化视觉风格 ### 1.1 默认主题:Solarized 配色方案 Oh My Emacs 默认采用 **Solarized** 主题,

gitblog_00010的博客 706

高精度有源积分器设计:基于罗氏线圈的电流测量方案解析

在电力系统保护、工业自动化及高精度计量领域,电流的非接触式精确测量是核心需求。传统电流互感器存在磁芯饱和、频带受限等局限,难以应对现代电力电子设备产生的复杂波形。罗氏线圈作为一种空心电流传感器,凭借其宽频带、高线性度及无饱和风险的优势,成为理想解决方案。其工作原理基于法拉第电磁感应定律,输出信号与被测电流的导数成正比,因此必须通过积分运算恢复原始电流波形。积分器的精度、稳定性及动态响应直接决定了整个测量系统的性能上限。一个设计精良的有源积分器能有效解决直流漂移、相位误差及噪声放大等挑战,在继电器保护、断路器

weixin_30036289的博客 316

Emacs详细教程

转自:http://www.cnblogs.com/holbrook/archive/2012/02/15/2357335.html 内容提要 1.Emacs是什么 2. Emacs能做什么 3. Emacs的界面 4.基本概念--命令 5. 基本概念--快捷键 6. 基本概念--模式 Emacs学习笔记2: 初识Emacs 1.Emacs是什么 其实很难给Emacs下一个定义。正统的说法也许是"Emacs即Editor MACroS(宏编辑器),是一种文本编辑器"。 最初人.

digitalkee的博客 1万+

Arcgis填补栅格空缺值Nodata

Arcgis填补栅格空缺值Nodata

pass17的博客 1万+

ABAP BOM展开避坑指南:CS_BOM_EXPL_MAT_V2函数参数配置详解

本文深入解析了SAP ABAP开发中用于物料清单展开的核心函数CS_BOM_EXPL_MAT_V2。针对其复杂的参数配置,如CAPID、STLAN、DATUV和MEHRS,提供了详细的避坑指南和最佳实践,帮助开发者避免数据错误与性能陷阱,实现高效、准确的BOM多层展开。

pea55的博客 855

在emacs里用template创建perl

<!-- body { color: #000000; background-color: #f0f0f0; } .comment { /* font-lock-comment-face */ color: #b22222; } .c

wti的专栏 3340

创新实训项目博客:基于LoRA的医疗大模型高效微调实战

预训练大语言模型(LLMs)虽然具备了广泛的知识和一定的通用能力,但在特定领域(如医疗)或特定任务(如遵循特定指令格式进行思考链推理)上,其表现往往不尽如人意。微调(Fine-tuning)能够使模型学习到特定领域的数据分布和任务模式,从而在目标任务上获得更好的性能,使其更贴合实际应用需求。使用Unsloth框架加载并以4-bit量化模型。基于数据集,构建了包含明确思考链引导的训练Prompt。配置了LoRA参数,并使用SFTTrainer在单张T4 GPU上对模型进行了高效微调。

m0_73556916的博客 1290

Oh My Emacs包管理终极指南:使用el-get轻松管理Emacs插件

Oh My Emacs是一个为新手和高级用户提供的开箱即用的Emacs配置方案,它采用el-get作为默认的包管理器,替代了内置的package.el,让插件管理变得更加简单高效。通过el-get,用户可以轻松安装、更新和删除Emacs插件,实现一站式的Emacs插件管理体验。 ## 为什么选择el-get作为Emacs包管理器? el-get是一个功能强大的Emacs包管理器,它支持多种安装

gitblog_00218的博客 1056

pytorch多层感知机实现假钞识别(完整项目构建)

目录1 项目构建2 超参数设置 config.py3 数据集预处理 preprocess.py4 数据集类构建 dataset_banknote.py5 模型构建 model.py6 训练trainer.py6.1 查看损失曲线7 在测试集上运行 inference.py 1 项目构建 构建项目文件夹Banknote,以及子文件夹与py文件。 名称 作用 data目录 存放原始数据与预处理后切分为训练集、验证机、测试集的数据 log目录 存放训练过程中保存的指标,如损失、精确度等

Demon_LMMan的博客 2027

Sylvester结式法求解多项式方程

Sylvester结式法,结式,消元法,ctfshow 七夕杯 LUCK7,crypto,WriteUp

u010883831的博客 4533

CMake-IDE 与 Emacs 配置集成:从 .emacs 到 use-package 的完整示例

CMake-IDE 是一款专为 Emacs 用户设计的开发工具,能够无缝集成 CMake 项目管理功能,帮助开发者在 Emacs 环境中高效进行 C/C++ 项目开发。本文将详细介绍如何从基础的 .emacs 配置到使用 use-package 框架,实现 CMake-IDE 的完整集成,让你的 Emacs 变身强大的 CMake 开发环境。 ## 快速了解 CMake-IDE CMake-I

gitblog_00538的博客 784

CAPL通过lookupSignal和DBLookup获取DBC信号的属性信息

CAPL通过lookupSignal和DBLookup获取DBC信号的属性信息以及一些相关问题

天赐好车的博客 2889

Emacs24-starter-kit:终极Emacs启动配置指南,告别繁琐设置

你是否曾经因为Emacs的复杂配置而望而却步?😅 Emacs24-starter-kit正是为解决这个问题而生!这个基于Emacs 24的启动配置工具为新手和普通用户提供了一个干净、简洁的配置起点,让你快速上手Emacs的强大功能,告别繁琐的配置过程。无论你是Emacs初学者还是想要优化现有工作流程的用户,这个starter kit都能为你节省大量时间和精力。✨ ## 📦 什么是Emacs2

gitblog_00893的博客 997

计算机控制技术及应用

《计算机控制技术及应用》通过总结作者的科研成果和吸收国内外的先进理论、方法和技术,以计算机控制系统的网络化、开放化、智能化和集成化发展趋势为主线索,主要介绍计算机控制系统的基本概念和计算机控制系统的典型形式,计算机控制系统的数学描述与基本分析方法,以及数字PID控制器、最少拍控制系统、达林算法、状态变量设计法等设计方法及其各种改进算法。重点突出计算机控制系统输入输出通道接口的设计方法和典型控制系统的设计案例与实现方法等。

SAP B1中文培訓教材_SDK

公司内部培训资料,对开发工具 ,DIAPI, UIAPI,Add-ON有详细解说

如何在Emacs中部署本地LLM代码补全:Emacs Copilot零基础安装指南

Emacs Copilot是一款为Emacs编辑器打造的本地LLM代码补全工具,让你无需依赖云端服务,即可在Emacs缓冲区中获得AI驱动的代码生成支持。通过本地运行大语言模型,它能够记住你的编辑历史,实时生成代码建议,并支持多种编程语言,为开发者提供高效、私密的编程辅助体验。 ## 🚀 核心功能与优势 Emacs Copilot的设计理念是用简洁的代码实现强大的功能,主要特点包括: -

gitblog_00364的博客 968

Camera2Demo

在Camera2 的基础上进行封装,使得Camera2一堆初始化逻辑与Activity分离,降低耦合度,完成预览拍照并保存的操作

如何快速接纳 Emacs

之前一直使用 vscode 做为编辑器,但是后来我发现这家伙实在太费电了,即便我的笔记本有80瓦时的容量,也能明显感觉电量飞快流失。这让我非常不爽,于是我决定转向 Emacs,其实我接触 Emacs 也有较长一段时间了,但是一直没有完全投入它的怀抱,因为实在是不怎么习惯,用上 Emacs 就像突然瞎了一样,工作效率太低。所以我决定重新思考这个问题,为什么觉得不习惯,怎样才能快速习惯?

陈戏猿 1403

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

Oh My Emacs:打造终极Emacs配置体验,新手也能轻松上手

Oh My Emacs 是一个为新手和资深用户打造的开箱即用的 Emacs 配置项目,它通过模块化设计和文字编程(Literate Programming)方式,让复杂的 Emacs 配置变得简单易懂。无论你是刚接触 Emacs 的新手,还是希望优化现有配置的资深用户,都能通过 Oh My Emacs 快速搭建一个功能全面、个性化的编辑器环境。 ## ✨ 为什么选择 Oh My Emacs?

gitblog_00753的博客 202

Oh My Emacs模块详解:如何定制属于你的Emacs开发环境

Oh My Emacs是一个为新手和高级用户提供的开箱即用的Emacs配置框架,通过模块化设计让你轻松打造个性化的Emacs开发环境。本文将详细介绍其核心模块与语言模块的功能,以及如何通过简单配置实现环境定制。 ## 一、核心模块:构建Emacs基础体验 核心模块位于项目的`core/`目录下,提供Emacs的基础功能配置,是整个环境的基石。这些模块涵盖了从基础设置到高级功能的全面支持,让你无

gitblog_00857的博客 310

微软 Fluent Emoji 1500+ 表情资产免费拿:一条命令克隆到上手的完整路径

fluentui-emoji 是微软开源的 Fluent 风格表情符号库,仓库里按名称分好类,每个表情都带 3D、扁平、高对比等多种风格与 SVG/PNG 两种格式。克隆下来就是一个可检索的矢量表情资源库。 [![微软 Fluent Emoji 表情符号集合](https://raw.gitcode.com/gh_mirrors/fl/fluentui-emoji/raw/62ecdc0d7ca

gitblog_00897的博客 334

在Ubuntu 18.04安装GNU Emacs 26

Emacs是一个文本编辑器,据说高手们都用它。在Linux上有两个“历史悠久”的文本编辑:EMACS 和 vim/vi。今天我们来看看如何安装EMACS: 1.添加ppa仓库: ~$ sudo add-apt-repository ppa:kelleyk/emacs 2.更新apt ~$ sudo apt update 3.通过Synaptic软件包管理器安装Emacs26,或者在终端中运行以...

weixin_40763897的博客 4232

emacs

https://www.oschina.net/question/54100_56621 1.写在前面 Linux下的编程,业界多数人士并不喜欢,尤其是习惯了在windows下编程的程序员,认为windows的IDE各种好,而linux下没有一个好 的IDE ,估计很多人就是卡在这个门槛上了(PS:听说Microsoft和google这种级别的公司的顶级程序员也都不用IDE的...

liufengl138的专栏 2314
上一篇: 安装gaim+openq的方法
下一篇: 使用wget下载电影
lphpc
博客等级 码龄22年 32粉丝 86原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值