linux 上的 emacs 版本“emacs-24.3”
如果我在这条线的开头...
a b
Run Code Online (Sandbox Code Playgroud)
(where single spaces are the spaces between the letters) When I use ctrl-s and then hit the space bar to get the next space, it jumps to the space just before the 'b' instead of the space right after the a. It doesn't behave like this for other characters. It looks like someone went to great lengths to enable this behavior as some sort of feature. But I find it very annoying. How can I shut this off? How can I make it treat spaces like any other character when searching for characters/strings ?
my ~/.emacs does nothing except define keys. inhibit splash and startup screens and change fg/bg colors.
如果按C-h k C-s,您将看到 的帮助文本isearch-forward。它包含此部分:
键入
M-s SPC以切换空白匹配。在增量搜索中,一个或多个空格通常与变量定义的任何空格匹配search-whitespace-regexp;另见变量isearch-lax-whitespace和isearch-regexp-lax-whitespace。