In the linux terminal, i often use wildcards (*
) as a shorter alternative to type in the whole file name: if the file is named foo-and-cats
I just type in something like fo*
in order to pull up the file. This trick also works when i use emacs to pull up a file with C-x C-f
, if i use the same trick it finds the file i'm looking for as long as it's in the home folder (i haven't tried files outside the home folder yet...)
However, this trick does not work with pulling up files in the same page buffer: If i type C-x b TUT*
it just brings up a new file named TUT* instead of pulling up the tutorial. I have to type the entire file name verbatim in order to get the file i want.
Is there a logical reason why this is so? Is there a way to change this to suite me?
C-f b
?C-x b
allows you to type in a file name and pull it up within your buffer, so that you don't need anymore emacs windows. For example, if you open a file, you can go back to your last file with by holding control, hitting x, then hitting b seperately. It asks you which file you want to bring up.