Is there a way implemented in Emacs to apply a function on a set of files? (Or, if not, do you know of such an extension?)
For example, if you have a project in a directory (say, scripts to compile and run, the source, and an XML database).
To prevent confusion, I only run one "window" of emacs and so I use window in the emacs sense. I'm looking to get a window split which, let's say 70 in width, contains the completions buffer on the new split when I start emacs. I think I need to have a dedicated window.
One of the main features I miss about Vim, is that it always saves the filename of the current file in the % buffer (more info). That allows launching commands easily like:
;; compile current file
:! gcc %
;; source current file (useful when I'm editing .vimrc
:source %
;; get the size of current file
:!
Is it possible to change the write permissions on a file from inside emacs, without killing/re-opening the buffer?
Sometimes I forget to modify the permissions on a file before opening it. I can modify the permissions from inside emacs (M-!
I've tried apt-get purging and reinstalling emacs, but if I run:
Code:
emacs ~/.bashrc
I get a blank file (emacs.d) that looks like this:
If I run the same command as root:
Code:
sudo emacs ~/.bashrc
I get the correct file that looks like this:
I've never understood the buffer thing, but emacs has worked great for me in the past.
I upgraded recently to OpenSuSE 12.1 from 11.3 and now when I open any files in emacs from inside a screen session, I get a blank buffer. Let's say I open it as:
emacs myFile.txt
it will open to an empty buffer, not the file, and when I attempt to save something, it will ask for a file name to write to.
I've a question about using Emacs as editor and terminal.
I split my window into different windows with C-x 3for example. One of the generated Window is used as terminal with M-x term. Usually I switch with C-x ointo another window.
When typing Esc within an Emacs window under Unity (Emacs 23 standard package), the sound is turned on/off, but Emacs does not receive the key.
How can I change (probably) unity such that the Esc and also the other function keys are interpreted by Emacs?
A very crude workaround that always works in (GNU) Emacs is to use C-[ in place of Esc.
The question Why is the meta key is not working wh
Is there a fast way (keyboard shortcut) to open a terminal emulator (in my case urxvt) in the same directory as the file in the current emacs buffer?