0
votes
1answer
56 views

Reload minor mode in .dir-locals.el

In .dir-locals.el, I can only set variables to values, I can't call functions. However, after the following code is executed, I need to disable and then re-enable whitespace-mode: ((nil . ...
0
votes
1answer
50 views

Don't show tabs in Emacs whitespace mode

Normally, I use spaces for indentation, but for a specific project I'm working on the convention is tabs for indentation. So I've made a .dir-locals.el file that looks like this: ((nil . ...
2
votes
0answers
18 views

wrap for unspaced languages in emacs

Emacs has a nice wrapping mode called visual-line-mode that is pretty good at sensibly wrapping text. However, it depends almost completely on spaces, which causes the below failure in unspaced ...
1
vote
4answers
701 views

Emacs: displaying list of subroutines/functions/classes in a source file

I have been using a little-known editor called "FTE" (or eFTE) for years; it has a nice utility that can display the list of the subroutines/functions/classes (or any such thing--depending on what ...
2
votes
1answer
291 views

Clear the kill ring in emacs

How does one clear the kill ring in emacs? I use browse-kill-ring.el but the buffer it provides is read-only.
0
votes
2answers
439 views

Best console based text editor not only for programmers [closed]

I need console based text editor for writing both source codes and human readable texts such as emails. I need it to be user friendly. It mean for me: You can use it the same way as the notepad or ...
2
votes
1answer
83 views

Autosaving on emacs or xemacs files (preferably on loss of focus)

Ideally I want to replicate with emacs functionality from TextMate, whereby on loss of focus i.e. I click away from the buffer, my file saves. If this isn't possible, I want to customize emacs so ...
0
votes
3answers
1k views

What are other text editors using in place of Sublime's “go to anything” [closed]

Sublime's "go to anything" is a functionality that allows you to fastly go to any file or symbol inside a file by just typing a few keystrokes.
2
votes
1answer
421 views

looking for an alternative to refile in orgmode for emacs

In emacs/orgmode there is something called refile. you select text, hit refile and you get a list of your outline headlines, select one and your text goes there. Can I achieve something like this in ...
3
votes
2answers
177 views

restarting shell process in buffer

In emacs, I often have multiple shell buffers open and use rename-buffer to keep track of them. Sometimes I inadvertently close the shell by hitting too many ^D's, or I'm on a system that ...
3
votes
4answers
4k views

What is emacs? What makes it so popular? [closed]

What is EMACS ? I only know that it is some kind of text-editor, but what makes them it popular? How it different from the default text editor in windows which is notepad ? I read about it on ...
12
votes
3answers
1k views

Edit one file in two different buffers in emacs

I would like to open the file foo.bar twice (or more) in emacs, so I can edit two different parts of it simultaneously. Is it possible? Probably the better question is, how to do it? Is there a way to ...
2
votes
2answers
459 views

emacs equivalent of Xcode's #pragma mark?

I'm coming to emacs from Xcode. An Xcode feature I really like is the ability to type the lines #pragma mark - #pragma mark Section Heading Name to mark the subsequent part of my code as belonging ...
2
votes
8answers
919 views

any emacs like tool while working via SSH

I use emacs for coding and other stuffs. I have now a website which I have to do so many file editing work on ssh connection. It was difficult for me to learn vi or nano. I like to know if any tools ...
1
vote
1answer
1k views

How to set different color theme for different Emacs frames?

I prefer dark color themes for editing source codes while programming but I'd like to use a brighter background with black characters when writing text in org-mode. How can I set different color ...