I started using defaultcontent.el to fill newly-created buffers with content.
Apparently this module is not widely used. I think there are 3 people including me and the author who use it, because when I do a search on it, my published emacs.el comes up as the first hit.
Despite that, I find it useful. I specify a template for each f...
I'm wondering what the difference is between
(add-to-list 'flymake-allowed-file-name-masks
'("\\.py\\'" flymake-pylint-init))
and
(add-to-list flymake-allowed-file-name-masks
'("\\.py\\'" flymake-pylint-init))
What is the clear meaning of the apostrophe here?
...
I recently had to reimage my windows laptop, and emacs is now giving me a strange error:
"Starting new Ispell process [default]
Enabling flyspell mode gave an error"
I have aspell installed, and it is accessible via emacs. I have attached a picture to show this. I also have (setq-default ispell-program-name "aspell") in my emacs configu...
Hi
I have a project that uses autotools. A nice feature of autotools is 'out-of-source' builds, wheras instead of doing :
cd foobar
./configure
make
I actually create a folder for builds, in which I do the configuration :
cd foobar/builds/linux
../../configure
make
(The nicety is that my source folder is not crippled with the ge...
My problem stems from Emacs inserting the coding system headers into source files containing non-ascii characters:
# -*- coding: utf-8 -*-
My coworkers do not like these headers being checked into our repositories. I don't want them inserted into my files because Emacs automatically detects that the file should be UTF-8 regardless so ...
I'm starting a new job next month. I've practically lived inside Visual Studio professionally for 10 years give or take, but for this job I'll be working full time on the linux platform for the first time in my life.
During one of the interview meatings I was seated in the middle of the developer room to socialize with the crowd. We had...
I want to copy a text from one buffer to another with text properties. So I have
(with-current-buffer from-buffer
(setq text-to-copy (buffer-substring beg end)))
How can I insert the text-to-copy to another buffer with all text properties? I'm interested especially in 'face' properties.
The function buffer-substring returns a list...
Hi so,
I've been having a lot of problems with emacs and trying to get the terminal to work with:
M-x term
I installed cygwin and I fixed up my .emacs to include the paths:
(setenv "PATH" (concat "c:/cygwin/bin;" (getenv "PATH")))
(setq exec-path (cons "c:/cygwin/bin" exec-path))
(require 'cygwin-mount)
(cygwin-mo...
Lets say I'm reading file a.txt with Emacs. At a specific point in this file, I would like to insert the entire contents of file b.txt. What's the easiest way to achieve this in Emacs? Thanks.
...
In emacs, I want to bind a command to C-i. So I put (global-set-key "\C-i" 'forward-word)
in my .emacs file. This works, except now the TAB key is bound to 'forward-word as well.
How do I bind a command to C-i without changing TAB?
...
How can I make an emacs command to copy text (to the kill ring) by appending? (Why is there no such built-in command?)
Appending Kills mentions C-M-w (`append-next-kill') which allows me to append with kill commands such as C-d or C-k. But it's for killing texts instead of copying them.
...
I'm trying to run Octave from within emacs (I'm mostly a beginner at both but have the hang of emacs shortcuts now). When I try run-octave as suggested here, I get the message.
Searching for file, no such file or directory, octave
Disclaimer: I'm using Windows Vista.
Octave is in c:\Octave...
the emacs default directory is
c:\use...
I fixed all the problems described here (and one additional), and posted the modified
csharp-mode.el (v0.7.1) at emacswiki
The csharp-mode I use is almost really good.
It works for most things, but has a few problems:
#if / #endif tags break indentation, but only within the scope of a method.
attributes applied to fields within ...
I have to edit lots of grammar files in .bnf format. Is there a mode for this in Emacs?
I've looked at CEDET's semantic package, and it seems that it USED to have a bnf-mode, but not any more. This snippet is googlable, but semantic-bnf-mode doesn't seem to exist:
(autoload 'semantic-bnf-mode "semantic-bnf" "Mode for Bovine Normal Form...
I currently use Kile to edit LaTeX documents. I don't like kile for a couple of reasons so I was thinking of trying to learn how to use texmacs. I have been through a tutorial for emacs which I am now getting to grips with. The documentation for texmacs and auctex are pretty weak in terms of explaining how to install and how to use those...
I use emacs via Putty and since Putty doesn't send certain key combinations to the remote console I generally need to re-bind them to other key combinations.
After installing the amazing Zen-Coding mode I had some trouble with the preview it generated; I couldn't get it to insert the output it was previewing. I got around this with the ...
I am trying to get http://www.emacswiki.org/emacs/PrettyGreek working for emacs 21.3.1 on Windows. I have put the following in my .emacs after downloading the European intlfonts from http://ftp.gnu.org/gnu/intlfonts/:
; ======= Pretty Greek Characters =======
(setq bdf-directory-list '("D:/emacs/intlfonts/European"))
(setq w32-bdf-fil...
C-h is correctly interpreted has 'help' in Carbon Emacs.app and using /usr/bin/emacs in Terminal.app. I'm sure I'm missing something simple here. Emacs describe-bindings shows c-h is rightly mapped to help. So it seems like xterm or X11 sees a c-h keypress and then sends a backspace to emacs. Can this behavior be changed?
...
I am a quite happy user of Eclipse (I mostly develop in PHP and Python), however I found the answers to "What specific productivity gains does Vim/Emacs provide over GUI text editors?" interesting enough to make me wish to try out Vim or Emacs as well and see if they would turn out to be a better solution for me.
I have the general feel...
I've been experimenting with emacs tempo mode and it seems likely to save me lots of typing (always a good thing), but I haven't gotten it to work exactly the way I want it. On the wiki, there is an example for elisp similar to what I want to do which works as expected. Here is the complete .emacs that I tested it on:
(require 'tempo)...