English 中文(简体)
是否有办法改变我的ema子档案中的 to子,而不必重新启动。
原标题:Is there a way to make changes to toggles in my .emacs file apply without re-starting Emacs?

我想能够在不必重载Emmacs案的情况下对我的档案进行修改。

http://stackw.com

我认为,有办法再次将变数与指挥混为一谈,但如果有办法重新装载整批马桶,并重新评价所有行李而无需具体说明,我更愿意这样做。

无论如何,如果有人告诉我如何分析变数的价值,以便如果我只改变一角,我就能够以指挥而不是仅仅为了这一目的重新启动信标(我是新到的)。 我不知道这一信息是多么有用,但我采用的改动是:。 回答另一个问题:

(setq skeleton-pair t)  
(setq skeleton-pair-on-word t)  
(global-set-key (kbd "[")  skeleton-pair-insert-maybe)  
(global-set-key (kbd "(")  skeleton-pair-insert-maybe)  
(global-set-key (kbd "{")  skeleton-pair-insert-maybe)   
(global-set-key (kbd "<")  skeleton-pair-insert-maybe)  

<>Edit:我把上述内容列入ema和重载Eacs,以便这些改动生效。 然后,我评论了所有这些内容,并尝试了M-x装载单。 这并不奏效。 The recommendation below (C-x C-e by PP 如果我第一次利用这个论坛来评估这一视角,而不是在我想要揭开的时候。 如果存在这样的东西,我想对评论进行评价。

感谢:

最佳回答

我将上述内容列入“马ema”,并重载“Emacs”,以便修改生效。 然后,我评论了所有这些内容,并尝试了M-x装载单。 这并不奏效。

之所以没有工作,是因为当你开始保姆时,你确定了几个变量和钥匙。 经过评论后,重新上载<条码>。 你们不得不用人工方式超越环境,以使他们与他人一起 un。

(setq variable-name nil)

以及

M-xglobal-unset-key 进入后,你想要打碎钥匙。

问题回答

你们可能想做的一些事情:

M-x load-file (第enter/i>。 M-x 是指在光栅和视窗 desktop上发布元钥匙(通常 Esc,然后发布普通x 特性钥匙。

或者,尽管您的<代码>.emacs文档开放,但在紧紧紧紧紧紧紧紧紧紧紧紧紧紧紧紧紧凑的职能之后,就立即放下了你想要执行的职能,并打上了<编码>Ctrl-E。 这套手术在距离治疗师左侧最接近的一组母体内封闭。

This last technique I use frequently for complicated search-and-replaces. Say I m editing an XML file and I want to move close tags onto the line before: I would type into my current XML buffer (query-replace-regexp "[ ]*</" "</"), then place my cursor immediately after the closing parenthesis, and type Ctrl-X, Ctrl-E.

我认为,你想要尝试转而/倒掉谢克尔顿-巴勒斯坦?

我很想这样做:

(setq skeleton-pair t)    ; turns skeleton-pair on
(setq skeleton-pair nil)  ; turns skeleton-pair off

在马桶里,在封闭的母体之后,将C-x C-e推到我想要尝试的具体版本。 当然,我必须记住,确保只有马塞人才有我想到的最终环境,这样,我才在开始的时候做正确的事。

你们总是能够利用*scratch*缓冲来评估表达。

如果你想确定你们的变量:

(cq skeleton-pair t)^ J. J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.

Unset:

(cq skeleton-pair nil)^ J. J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.J.

你们必须利用Ctrl-J援引评价;回报(或ctrl-M)赢得t工作。

这有利于所有雕刻表达,即BTW。 如果你迅速计算:

(+ 51 33)^J 84

Or if you want to find the width of your frame: (frame-width)^J 80

如果你重新缩编或具有非互动性指挥或变数进行评价,那将是有益的。

我不肯定会实际理解你的问题(略微tir升),但如何打上你改变的标记(C-spc)和随后的M-x电子等等区域? 除非我做一些重大的工作,否则我通常需要做些什么。

每当你们评估代谢法时,它就是指本次代谢会议的全球环境;因此,如果你设定了可变值,即使你重载了你的ema。

It would be nice if we could pre-load a .emacs (or any lisp) in a "sandbox" to test it. When I am doing heavy .emacs customization I usually open one emacs for editing the .emacs and another one to evaluate (which I can relaunch to avoid corrupting the environment).





相关问题
suppress additional braces in emacs electric mode

I started using ruby-electric-mode. I like it except that I am used to closing open brackets myself (the other pairing are still useful to me). How can I make emacs suppress additional brackets when ...

Setting up an emacs environment in windows?

I am currently constrained to a windows dev box and I want to migrate my projects from eclipse to emacs. What are some good references on setting up an emacs dev environment for windows? Anything ...

Emacs Setting which-function-mode

I would like to have which-function-mode on by default when I open up Emacs. I ve added the following lines to my .emacs file. (setq which-func-mode t) (setq which-function-mode t) When I open ...

Enabling go mode for emacs

I don t seem to be able to enable a go mode for emacs. C mode doesn t work without semicolons. The best I have found is the JavaScript mode by Karl Landstrom, since JavaScript also doesn t require ...

Custom Emacs key bindings are not working

The key bindings I ve defined in my .emacs file aren t working. Here s the file: ;init modes (menu-bar-mode 0) (tool-bar-mode 0) (cua-mode) (column-number-mode) (fset perl-mode cperl-mode) (cperl-...

eval during emacs lisp macro expansion

How can I fix the simple macro foo in (elisp)Eval During Expansion? None of the followings work: (defmacro foo1 (a) `(setq (eval ,a) t)) (defmacro foo2 (a) `(setq ,(eval a) t)) (defmacro foo3 (...

Get local cvs comment history when committing file/s in emacs

I often commit files with similar cvs comment but not in a single operation. I would like to able to bring up previous comments I ve used in a previous commit when I am in the process of writing a ...