1
vote
1answer
32 views

Hide “Mail” in emacs mode line

This is small stuff but I haven't been able to figure it out: How do I hide "Mail" from the mode line in emacs?
0
votes
1answer
33 views

Run emacs elisp command with next word as argument

How can I tell emacs to run my own script (which can be elisp too or something in Perl, BASH or whatever), and use the next word after the mouse cursor as argument, or maybe using a group of marked ...
3
votes
2answers
96 views

Emacs - Changing show-paren-mode Areas

I like show-paren-mode in Emacs, but I would really like to change the highlighting behavior for closing brackets. That is, I want the opening bracket to be highlighted when the point is on the ...
0
votes
1answer
47 views

How do I set key binding for set mark in emacs?

I'm new to emacs and newer to lisp I'm trying to set Meta + spacebar to set the mark for highlighting text (at current cursor position). searching around online and experimenting I've ended up with ...
2
votes
1answer
51 views

How do I skip special buffers when killing the current buffer?

I have some code in my .emacs that prevents it from showing some pre-defined special buffers when I'm using previous-buffer and next-buffer: (defadvice next-buffer (after ...
1
vote
1answer
56 views

How to attach elisp function source code in Emacs?

I could use M-x find-function to find the source code of some elisp functions if the function is not written in C code. But since I am using a Debian binary package of Emacs , some of the source ...
2
votes
0answers
60 views

Why isn't Gnus scoring emails based on the To: or Cc: headers?

I use Gnus v5.13 in GNU Emacs 24.1.1 to read my email, and I'm having a trouble getting a simple score file to work. Essentially, I want any mail that's sent to (or copies) a particular email address ...
1
vote
1answer
43 views

Emacs: mode-local macro with dashes and dots

In Emacs, how can I make a macro, that is local to the HTML mode, and uses dashes and dots? Take a look at the Elisp below: (define-abbrev-table 'html-mode-abbrev-table '(("..." "…") ...
1
vote
1answer
72 views

emacs change point color to current foreground

I'm trying to customize my emacs so that the point color is the same as the foreground on of the character I'm standing on. I have this now: (defun fixpoint () "awesome stuff happening to point" ...
1
vote
2answers
163 views

Emacs: mute messages (“echo area”)

I do lots of automatizing in Emacs, by stacking commands that I know from using manually. That is a method I recommend, because it doesn't take much effort: you use Emacs as you ordinarily would, and ...
1
vote
0answers
43 views

Configure the fields of the Rmail summary

How do I configure the fields of the Rmail summary? The code is in rmailsum.el, but I just can't find the place! For example, the first column in the Rmail summary seems to indicate... mail number? ...
1
vote
1answer
71 views

Emacs function on set of files

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 ...
2
votes
1answer
52 views

Emacs: error when the function is called in a hook

I defined a function in my .emacs file, and I want to call it when a major mode is loaded. My function is interactive. If I invoke my function by M-x, everything seems alright. But if I invoke my ...
2
votes
1answer
582 views

Defining key sequences in Evil-mode Emacs

I couldn't find any instructions on defining key sequences in the Evil doc. The example given by the developers only covers a single key. (define-key evil-normal-state "w" 'foo) What do I need to ...
2
votes
1answer
536 views

Emacs: query-replace, regular expression, reuse of search result

How do I combine something like query-replace with a regular expression search-and-replace that in part reuses the search result? In my case, how to transform The programmers are "sort of" ...