简体   繁体   English

在哪里可以找到Emacs Helm文档

[英]Where to find Emacs Helm documentation

Helm is a great framework for selection and autocompletion. Helm是一个很好的选择和自动完成框架。 Reading Anything page on Emacs Wiki , I know Helm evolved from Anything. 阅读Emacs Wiki上的任何页面 ,我知道Helm是从Anything演变而来的。 The page advises user to update extensions written for Anything to be used with Helm but provided no instruction on how to do. 该页面建议用户更新为Helm使用的任何内容编写的扩展名,但未提供有关如何操作的说明。 Helm wiki doesn't provide any helpful information on writing extensions using Helm framework (it's not even user-editable, contains grammatical errors that no one fixes or pull requests are not accepted, which I find really unwelcome). Helm wiki没有提供任何有关使用Helm框架编写扩展的有用信息(它甚至不是用户可编辑的,包含没有人修复或拉取请求的语法错误,我觉得这些错误是不受欢迎的)。 I've been extensively using Helm recently and like it a lot, and I want to write a cheatsheet (similar to the excellent Clojure cheatsheet ) to serve my workflow better. 我最近一直在广泛使用Helm并喜欢它,我想写一个cheatsheet(类似于优秀的Clojure cheatsheet )来更好地服务我的工作流程。 So my questions are: 所以我的问题是:

  • Is the (outdated) Anything documentation applicable to current Helm? (过时的)Anything文档是否适用于当前的Helm? And how compatible is it? 它的兼容性如何?

  • Is there any useful documentation about Helm which explains how it works and how to write extensions using it? 有没有关于Helm的有用文档解释它是如何工作的以及如何使用它编写扩展? I've been Googling for a while but I couldn't find anything helpful enough. 我一直在谷歌搜索一段时间,但我找不到任何有用的东西。

I'm a Lisper and I don't mind reading source code at all. 我是一个Lisper,我根本不介意阅读源代码。 However, it's a time-consuming process so I just want to look for all the available information first before deciding to dig into the source code. 但是,这是一个耗时的过程,所以我只想在决定深入研究源代码之前先查找所有可用的信息。

至于为掌舵编写新的扩展,我会推荐伴随此的16分钟视频: https//github.com/krisajenkins/helm-spotify

关于Helm日常使用,请查看自己联盟中的A Package

A very good tutorial was written by John Kitchin: http://wikemacs.org/wiki/How_to_write_helm_extensions John Kitchin撰写了一篇非常好的教程: http ://wikemacs.org/wiki/How_to_write_helm_extensions

(first of the three original post blogs: http://kitchingroup.cheme.cmu.edu/blog/2015/01/24/Anatomy-of-a-helm-source/ ) (三个原始帖子博客中的第一个: http//kitchingroup.cheme.cmu.edu/blog/2015/01/24/Anatomy-of-a-helm-source/

He introduces: 他介绍说:

  • the simplest kind of helm interface with a fixed set of candidates 具有固定候选集的最简单的helm接口
  • A simple dynamic set of candidates 一组简单的动态候选人
  • A simple fixed set of candidates from a list of cons cells. 来自cons单元列表的简单固定候选集。
  • Candidates and one action 候选人和一个行动
  • More than one action 不止一个动作
  • Handling multiple selections 处理多个选择
  • Actions when there is no match 没有匹配时的操作

This is much appreciated, thanks John ! 非常感谢,谢谢约翰!

The latest helm wiki is https://github.com/emacs-helm/helm/wiki . 最新的头盔wiki是https://github.com/emacs-helm/helm/wiki That could be usefull for emacs helm users. 这对于emacs helm用户来说非常有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM