English 中文(简体)
我怎样才能认识到,单项引述并不是在老板锁定的开始/装饰。
原标题:how can I get emacs to recognize single quotes as not being string begin/end tokens in font-lock mode
  • 时间:2012-05-05 20:25:46
  •  标签:
  • emacs
  • elisp

我召集了一名前处理员(xhp),使我得以在《加拿大刑法》中撰写未经引述的文本,例如:

<foo>
    my enemies  base
</foo>

可能出现在A.php的档案中,但是,一旦发现单一方认为档案的其余部分处于扼杀之中。

  • I can t figure out where font-lock-syntactic-keywords is getting set in (c-mode), but it has a syntax table associated with it that seems to cause this
  • (c-in-literal) returns string as well, so maybe I need to solve this deeper in the code than at the font-lock level, if anyone has any tips on this it would be appreciated

我所高兴的最简单解决办法只是假定扼杀。

问题回答

我不知道你再次使用哪一种主要做法,但总体来说,骗局是用诸如<条码>(改写——幻觉-快乐-入门?” 当然,如果这种特性有时可能划定地体,有时甚至不会限制,那么它就会产生更多的trick,而你则需要提出<条码>——日夜校——关键词(或<条码>——意指轴心——专家功能规则,该规则可在任何特定时间使用。

例如,假定购买力平价永远不会被视为一种扼杀性物,像以下这样的东西可能解决你的问题:

(add-hook  php-mode-hook
          (lambda () (modify-syntax-table ?  ".")))




相关问题
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 ...

热门标签