I used to run XTerm sessions for command-line work or house keeping. If you run Emacs, you can run 'Terminal Emulation' in a buffer.
Emacs has a number of different shells to choose from. There's 'Shell', 'Eshell' and 'Ansi-term'.
Emacs Ansi-Term behaves closely to a regular XTerm session.
To get started in Emacs do:
m-x ansi-term [enter]
Emacs will quiz ya if ya want to run /bin/bash. Hit enter to accept, and you have a fresh terminal up and running.
You can switch between buffers and terminal sessions without the mouse, along with all the other goodies Emacs has to offer.
Bye Bye Gregorian
Emacs has a nice add-on to show recently opened files. It's simple to set up and simple to use.
Add the following code to your Emacs init file (.emacs) which should reside in your home directory. ~/.emacs. Use ls -la to find it, or in Emacs use Ctrl-x Ctrl-f ~/.emacs.
; Recently Opened Files - use recentf
; Enable recentf mode
; Show last 10 files
(setq recentf-max-menu-items 10)
; Reset C-x C-r to display recently opened files
(global-set-key "\C-x\ \C-r" 'recentf-open-files)
As you probably know, in Emacs init file, any line starting with a semi-colon (;) is a comment and ignored by Emacs.
Save the init file and restart Emacs.
Hit Ctrl-x Ctrl-r to get a list of recently opened files.
Scroll to the file you want open and hit enter.
Many times, the new technology is adopted by a smaller competitor to its advantage, taking market share, and leaving the innovator in their wake, to pick up crumbs.
Kodak were too heavily reliant on their profitable old chemical film and photo business to take advantage of the emerging digital camera market.
Sometimes you want Emacs to start up in a directory, other than your home dir. You may have a project you're working on or you want to work a set of files in special dir.
You can easily achieve this by adding an entry to Emacs config file which resides in your home dir.
Open the dot.emacs file using any plain text file editor (emacs?) and add the following:
; Start emacs in project directory
(setq default-directory "/home/stray/projects/")
Save your .emacs file.
Close and restart Emacs for changes to take effect.
Here I used projects as the directory Emacs will open in. You give it any directory name you wish.