The Emacs text editor, one of the main text editors used on Unix and derivative operating systems.

learn more… | top users | synonyms

0
votes
0answers
8 views

Gnus: How to fix 'Warning - invalid active <folder> <number> <number> y'

Something I've done but not yet identified has hosed my working-for-years Gnus<->offlineimap<->GMail setup. Gnus gives me a bunch of errors like: Warning - invalid active: [Gmail].Starred 26 2 ...
0
votes
0answers
35 views

Prevent RSI with Emacs [on hold]

I'm trying to prevent myself from RSI. My problem is that I want to learn Emacs but the keybindings seem to drive to RSI issues. For know I won't change of keyboards so I'm looking for another ...
0
votes
0answers
12 views

org-mode SCHEDULED past listings and DEADLINE pre-warnings not showing up [migrated]

I am using emacs 24.5.1, and org-mode version is 8.2.10. I also have the following settings for orgmode which could be relevant: (custom-set-variables '(org-agenda-span 'day) ...
41
votes
8answers
40k views

Can I create a link to a specific email message in Outlook?

I use Outlook as my email client at work, but I don't want to use it to manage my tasks and todos. (Instead I use plain text files and Emacs org-mode.) Since many todo items start out as mails in my ...
1
vote
0answers
10 views

emacs weird font and big UI

I just installed spacemacs in my Ubuntu 12.04 LTS but when I started the app I get this: Big fonts and weird numbers in emacs links, I tried to load it without spacemacs config file I get the same ...
1
vote
2answers
455 views

Wanderlust doesn't update new messages counter when using with Gmail account

I want to use Wanderlust IMAP client to read my email in Emacs. However, when configured to use with Gmail account it doesn't update number of new messages correctly. Wanderlust's notification ...
10
votes
5answers
873 views

Emacs - Disable Some Minibuffer Messages

In Emacs, there are some cases where I would like to prevent messages from appearing in the minibuffer, mainly pertaining to "Beginning/End of buffer" and "Text is read-only". Is there any way I can ...
1
vote
1answer
13 views

Emacs commands to calculate sum, average, etc. of region

Suppose I have highlighted a region of text in a buffer. The region contains numbers separated by whitespace. E.g. 1 19 23 28 41 Is there some package with ready-made interactive commands that ...
0
votes
1answer
21 views

How to pass options to command using cygwin run.exe

I want to execute a bash command with my user environment, and I do not want to open a terminal windows on my Windows desktop. I tried: c:\cygwin64\bin\run.exe zsh -lic emacs And it opens a emacs ...
0
votes
0answers
20 views

How to config Emacs to fit screen size on startup?

My Emacs often extends outside the visible range of a screen on startup, e.g. on a virtual machine, as shown below. This becomes a problem because the status line is invisible (and it's tedious to ask ...
0
votes
1answer
16 views

regexp search and replace for bash variables

A number of my bash scripts need tidying up before sending them round. One of the thing I would like to do is to use curly braces for all variable names. So everywhere it says $PWD should be changed ...
14
votes
1answer
290 views

Hang on jabber-connect in emacs

I use jabber.el to connect to my work chat server from within emacs. This was working until recently, but now when I run jabber-connect it hangs after prompting for my JID. Emacs locks up until I ...
3
votes
1answer
30 views

How does emacs save files by default?

Usually, applications perform atomic saves either by renaming the old file and writing the new file in place, or by writing a temp file and then replacing the old file with the new temp file. Which of ...
0
votes
0answers
20 views

conemu (windows terminal program): text not visible in emacs

I am running the most recent alpha build 160503 of the ConEmu terminal / console program on Windows 7. I start a console window running the cygwin bash shell. I can start "emacs -nw" ...
4
votes
1answer
262 views

With ERC in Emacs, how can I automatically alias server buffer names?

I use ZNC to connect to IRC, and since ZNC seems to have the unfortunate characteristic of making me create a new "login" for each server I want to connect to (i.e Freenode and Quakenet), when erc ...
0
votes
0answers
17 views

Agda input method, Σ ⇛ ⇒, and Latex export

I can use agda input method in emacs to type effortlessly a gazillion unicode character in my nice beamer presentation. Now I want to process it with latex and I apparently have to map each missing ...
0
votes
0answers
17 views

speedbar “display buffers” on startup

I would like to start the speedbar with the "Display Buffers" instead of "Display Files" option on startup. (setq speedbar-mode-hook (lambda () (interactive) (other-frame 0))) (when window-system ...
0
votes
0answers
5 views

`ob-lilypond' cannot generate cropped inline image

I want to pass :cmdline -dpreview to ob-lilypond as the following: #+BEGIN_SRC lilypond :file ly1st.png :cmdline -dpreview \version "2.18.2" { c' e' g' e' } #+END_SRC But I got this warning, and ...
4
votes
1answer
474 views

How can I disable the icon bar in Emacs GUI under OSX?

Is there a way to get rid of this tool/icon bar in Emacs GUI under OSX?
2
votes
2answers
672 views

How do I send Ctrl-; in iterm2?

How can I send Ctrl+; in iterm2 (emacs)? There seems to be a solution here, here and here These are close to what I want, but I am still unable to make it work.
2
votes
2answers
583 views

how to choose printer in emacs on Mac OSX

I am new to both emacs and also do not have much experience with bash. I have a few questions which are related? (1) Can I set up emacs such that I can choose the printer that I print to? I have ...
4
votes
1answer
457 views

Thunderbird with external editors possible?

The known add-on external editor says it is compatible with Thunderbird 5. But the latest Thunderbird is version 31.1.0 already. Is it still usable? Or is there any other add-on that can enable ...
3
votes
1answer
349 views

which auto-complete mode to use for writing English in Emacs

What's the best Emacs auto-complete mode to use for writing prose in English? My main requirement would be to automatically complete its best guess as to the MOST LIKELY match with a single keystroke, ...
0
votes
0answers
32 views

VNC Meta key not working with realVNC server+viewer android on Mac OS X

I'm using realVNC server on Mac OS X (VNC® Server 5.3.1 (r17370) x64) and VNC viewer on Android from realVNC. I use emacs in Terminal and iTerm2, where I normally set option to Meta, but this does ...
1
vote
1answer
16 views

emacs flyspell save word to file being checked

In the past, I saved special words in the file being checked (as comments). I no longer can work out how to do this. I remember there was an option when checking a word: add to global dictionary, add ...
6
votes
5answers
7k views

Emacs fails to load (.emacs) configuration file

I am using Emacs on Ubuntu 9.04. I have my emacs configuration file in the ~/.emacs.d directory. My emacs file is called .emacs. I have some basic configuration. However, when I start emacs, it ...
0
votes
0answers
29 views

Skia rendering for Emacs

I've wanted to give emacs a try (again) for the past few days, but I can't get past the text differences between Emacs (the app version) and Sublime Text. Take a look: Emacs: Sublime: I'm ...
0
votes
0answers
18 views

Emacs editor default keyboard shortcuts for find replace

I'm looking for know what are the default keyboard shortcuts for search or find and go through the results.
0
votes
0answers
14 views

Emacs default search or find keyboard shortcuts

What is the default shortcuts for search or find in Emacs editor? By pressing Alt (my meta) + s, w = mark for search. But i can't move through search results. I can't do the normal find words and ...
0
votes
0answers
38 views

GNU Emacs Gnus can't connect to gmail IMAP

I'm in the process of configuring Gnus to retrieve emails from my gmail account via IMAP. I have done as recommended at https://www.emacswiki.org/emacs/GnusGmail, however I keep on getting errors from ...
0
votes
1answer
55 views

How to keep org-mode links from stretching over text in unspaced languages?

In Japanese and other languages, there are no spaces in a paragraph. Org-mode interprets this as a continuation of a link description, which messes up the semantics and formatting. Example: ...
1
vote
2answers
223 views

Do I need the meta-key for vim?

I'm looking in to learning emacs or vim. I started out with emacs but found the need for a meta key to be a hassle, especially since I have a non-english keyboard layout on my macbook. So far I ...
15
votes
4answers
4k views

How to find out the current color theme in emacs

While emacs is running, how can I find out which color theme is currently in use?
0
votes
0answers
18 views

How can I toggle input language in emacs with ctrl+shift in linux?

I am using Control+Shift for switch languages in linux. The problem is that this keybinding is not works well in emacs: When I am on russian keymap, emacs's keybindings are not working. Emacs have ...
6
votes
3answers
1k views

Emacs CSS modes - most feature complete and maintained?

According to EmacsWiki there are bunch of CSS modes for Emacs, but none of them seems to be very actively developed or even that feature complete. Which one is the most feature complete so far and is ...
7
votes
5answers
1k views

Is there any way to convert camel-cased names to use underscores in emacs?

For instance, I want to convert "CamelCasedName" to "camel_cased_name". Is there a way to do this in emacs?
1
vote
1answer
199 views

Emacs window management and switching buffers

In emacs I like to have 4 windows open at a time. For example, I frequently have a python interpreter in the first window, my python code I am editing in the second window, mysql in the 3rd window and ...
3
votes
2answers
1k views

Setting truncation and wrap in Emacs config file

I'm using Emacs 23 in a Debian GNU/Linux variant distribution. In a default Emacs session launched with emacs -q (to confirm the settings) I execute the following to setup the environment I would ...
2
votes
2answers
47 views

Emacs : Jump to the next line with same indentation

Very often, I am stuck searching for the end of loops and methods and classes and end up sifting through all the code which is both time-consuming and frustrating. I would rather skip to go to the ...
0
votes
1answer
15 views

emacs/LaTeX error for first time LaTeX user

I am using LaTeX with Emacs for the first time. I am getting the following error message: ! Missing $ inserted This is the code I put in: center\[ $$Q(t) = Pi a^2 \sqrt{2gh}$$ ] What am I ...
1
vote
1answer
107 views

Microsoft Word file corrupted because I opened it in emacs

So I, being dumb, decided to open my history essay in emacs and tried to edit a word. So I removed a letter from my introduction, and I saved it. The next time I opened the file in word, it said my ...
10
votes
4answers
2k views

Emacs - kill buffer without prompt

I'm wondering how it can be done, so Emacs doesn't pop the prompt asking me whether I really want to kill current buffer with C-x k shortcut. Interesting thing is that same action done via toolbar ...
1
vote
3answers
176 views

Combine key-chord and an input method

I would like to be able to use simultaneously key-chord and an input method such as rfc1345. Presently I use C-x RET C-M-\ rfc1234 RET to activate the input method. and M-x ...
17
votes
2answers
8k views

How to turn off Emacs's auto line wrapping for the current session?

How to turn off Emacs's auto line wrapping for the current session? I normally need the automatic wrapping, but when editing a email draft, i don't need that. is there a way to turn it off for a ...
1
vote
1answer
49 views

Emacs: How to split, open shell in bottom window at launch?

I tried adding this snippet to my ~/.emacs, but the resulting buffer/window mapping is weird. ;; Open split shell on launch (add-hook 'after-init-hook (lambda () (let ((w (split-window-below ...
0
votes
1answer
38 views

Unreadable text characters on emacs and some other programs

I'm using VNC on a remote host with Red Hat Enterprise Linux Server release 5.7. Whenever I run "emacs" I get this output: Warning: Cannot convert string ...
0
votes
0answers
31 views

org-mode in emacs, press <RET> have no effect

I am trying out org-mode in emacs. Strangely, after hooking org-mode to text-mode, whenever I press <RET> key on headlines, the mini-buffer shows Wrong type argument: stringp, nil And nothing ...
1
vote
1answer
49 views

Emacs: suppress indent after && in shell-script-mode

In shell-script-mode, when a line ends in &&, Emacs will indent the following line. Is there a way to switch that off? (I am concatenating most of my statements with &&. This gives ...
4
votes
2answers
2k views

How can I use Emacs in terminal mode and use Alt + ? shortcuts?

I want to use emacs in the terminal, but in Ubuntu 11.10 the bash terminal already has many Alt started shortcuts, how can I handle that?
1
vote
2answers
332 views

Ispell and its process have different character maps

I've just started getting this error with emacs on my Macbook Pro: Ispell and its process have different character maps I've tried changing my character map to utf-8. No luck. It would be nice if ...