is it possible in emacs to search for a file name so that I enter the extension first, then the space, and then the file name itself? For instance. org notes org or not will switch to notes.org.
Or is there a way to write such a function to do just that?
If you use ido, you can enter notes of org c-space.
Ido takes a little time to get used to, but personally I cannot live without it.
Anything can do it easily, run anything, type any words in the buffer name, the results show:
, : http://emacs-fu.blogspot.com/2011/09/finding-just-about-anything.html
, :
(require 'anything-config) (global-set-key (kbd "C-x b") (lambda() (interactive) (anything :prompt "Switch to: " :sources '(anything-c-source-buffers))))
, IDO . , "some-video-page.js" "video.py", "C-x b vidjs" "C-x b vidpy", .
(ido-mode) (setq ido-enable-flex-matching t)
ibuffer . .
(global-set-key (kbd "C-x C-b") 'ibuffer)
. uniquify, Emacs, . emacs, , , . -, python- python. IDO - , - ?
Icicles - S-TAB TAB - .. .
(, ) , . S-SPC .
C-x C-f notes S-SPC org
C-x C-f org S-SPC notes
, , org , \.org. ( C-` / , .. .)
org
\.org
, ( ), .
Ido "flex", Icicles ( "" ), . ( , , .)
() , globbing.
C-x b *.org TAB
*.org
Emacs , , .
*org , *.org, , , .
*org
Iswitchb, Emacs, , . . , , ( , ). , .org, , .org. , , , C-r C-s .
.org
C-r
C-s
Emacs Iswitchb , Ido Iswitchb.