Questions tagged [emacs]

A text editor, usually characterized by its extensibility. Often described as "the extensible, customizable, self-documenting, real-time display editor." There is an Emacs-specific SE site for specialized questions.

105 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
12
votes
2answers
815 views

Emacs slow loading time with AUCTeX on TeX files

I installed the auctex and emacs packages on two Xubuntu 14.04 computers, both of which have been working fine. Emacs itself works fine on both, but now with the auctex package installed, when I load ...
4
votes
0answers
178 views

Emacs via X: how to use better rendered true type fonts?

I have attached a screenshot of Emacs 24.5 running in X-Quartz in a Debian VM. Does anyone know how to configure Emacs to use the better rendered Andale font? For instance, with rendering like the ...
4
votes
1answer
383 views

Emacs won't mouse wheel scroll on Ubuntu 15.10 with Cinnamon

I'm running Ubuntu 15.10 using the Cinnamon interface instead of the default. When I run emacs 24.5.1 in an X interface, almost everything works well with the mouse, except the mouse wheel scrolling ...
4
votes
0answers
345 views

how to make aspell ignore upper case words (acronyms)?

aspell seems to have some support for filters: http://aspell.net/0.50-doc/man-html/4_Customizing.html#filter but I can't find any way to tell it to ignore words that are all capital letters (typically ...
4
votes
0answers
436 views

How to use awk-it in Emacs?

I'm a pretty new Emacs user and I want to call awk from Emacs. After googling around I found awk-it at http://www.emacswiki.org/emacs/AWK_It. However I still can't understand how to use it after I ...
4
votes
2answers
464 views

Emacs automatically adding BOM to XML file

This appears to be related to this discussion but I have exactly the opposite use case. I do not wish to insert a BOM but emacs appears to be inserting one in XML mode (without even being in hexl-mode)...
4
votes
1answer
531 views

Timelineview of all agenda files

Is it possible to get a timeline view that combines the entries from all agenda files?
3
votes
1answer
139 views

Can emacs running under urxvt recognize the Hyper modifier key?

Can emacs running under urxvt be made to recognize Hyper? From what I can tell, it doesn't distinguish hyper+something from just plain unmodified something. urxvt itself does recognize the modifier, ...
3
votes
0answers
96 views

How to remap “dead_hook” in Emacs and Vim?

I would like to remap some common symbols like ( and ) to the base line of my keyboard combining Alt Gr with other keys like j or k. I can remap Alt Gr+k to ) because that combination prints ĸ. The ...
3
votes
2answers
1k views

installing emacs with x-toolkit

I am installing Emacs 24.5.0, and I want to install it with X. I am on Fedora. the configuration script cannot find any x-toolkit. How do I find out which one is good for me, and in which folder do I ...
3
votes
1answer
145 views

How to use `smart-compile` without confirmation in Emacs

I'm using smart-compile in Emacs. It works fine, but if possible I want to omit the confirmation like Compile command: ruby foo.rb. How can I do it?
3
votes
1answer
1k views

Emacs ansi-term with zsh: error in process filter. Invalid face: unspecified

I have the latest stable versions of Emacs (24.3) and of Zsh (5.0.2). I can run Zsh without problem from a terminal (e.g. ITerm2), but if I try to run it from M-x ansi-term I get the error: Emacs ...
3
votes
0answers
860 views

Emacs on Minix 3?

Has anybody managed to install Emacs on Minix 3? Emacs was available on earlier versions of Minix. I am OK with an earlier version of Emacs if necessary. I don't find Zile, mg or Elle adequate and ...
3
votes
0answers
351 views

emacs shell sync directory

I encounter this quite a lot. when I open a emacs shell and run M-x dirs it will complain to me that:couldn't cd or sometimes just hang emacs what is the solution for this ? What shell are you ...
3
votes
0answers
794 views

Emacs complains: font 'serif 10' is not defined

I am running Linux Mint 12 and trying to start emacs but keep getting this error: font 'serif 10' is not defined It seems obvious to me that I don't have the correct font. However, I cannot for ...
3
votes
0answers
651 views

Is there a better alternative to sudoedit?

What I really hate about sudoedit is the fact that it always uses a different filename. I'm using emacsclient and when editing a file twice I'm left with two useless buffers. Sometimes I even happen ...
3
votes
0answers
404 views

eldoc mode makes emacs use 100% cpu

When I use eldoc, I add this to .emacs: (add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode) (add-hook 'lisp-interaction-mode-hook 'turn-on-eldoc-mode) (add-hook 'ielm-mode-hook 'turn-on-eldoc-...
3
votes
0answers
428 views

How to Select Tutorial Chapters in Uemacs

I finished installing uemacs 4.0.15.1 from github. I have some experience with GNU-emacs and I wanted to give this a try. I got stuck from the beginning. I opened (by pressing Esc+?) the uEmacs/PK 4.0 ...
2
votes
0answers
33 views

How can I change the line numbers column font scale in a specific buffer in emacs?

I am using (global-display-line-numbers-mode) and the code suggested in https://unix.stackexchange.com/a/593889/441805 adapts the line numbers column font scale accordingly to the buffer text font ...
2
votes
1answer
39 views

How can I bind multiple keys to a macro?

I want to be able to insert: #+BEGIN_SRC emacs-lisp #+END_SRC By typing <sTab.
2
votes
0answers
56 views

Customization buffer is not killed by Exit action, why?

I opened emacs. According to Help -> About, it's using a Gtk 3 interface. (I notice the q key kills this About buffer). Options -> Customize Emacs -> Top-level Customization Groups, opens a ...
2
votes
0answers
299 views

Every time I open a terminal is located in / not in home

I recently installed Fedora -- a fresh installation. I have a problem: every time I open a new urxvt or gnome terminal it starts in the root of the system instead of my home. I checked my /etc/passwd ...
2
votes
1answer
73 views

emacs/bash ctrl key shortcuts in all linux desktop environment

I love the emacs keyboard shortcuts like c-f c-b c-d c-p c-a c-k c-y etc. And I've found that in OSX these work pretty much everywhere because all the typical control keys are tied to the command(alt ...
2
votes
0answers
394 views

Effectively copy pasting (kill/yanking) with emacs running in tmux on Mac OS X

I am attempting to run emacs from within tmux (with emacs keybindings to avoid context switching) on Mac Os X and am having a real hard time getting copy/paste to work right. I am also attempting to ...
2
votes
0answers
172 views

Copy between tmux windows on a server from emacs

I am using emacs in one of my tmux windows on a server, when I yank within emacs (say c-k) text how do I make it available to other tmux windows. Cmd-c and cmd-v have buffers of my laptop. I would ...
2
votes
0answers
100 views

i3: emacs refuses to open in full screen after `fullscreen enable`

After for_window [class=".*"] fullscreen enable has been put into ~/.config/i3/config, and i3 reloaded, all programmes opened open in full screen---except emacs! The result is the same if Emacs is ...
2
votes
0answers
200 views

How to change save directory of w3m cookie files to another directory

I want to manage emacs config files in public github, so I need to separate config files and my personal data. It seems w3m save cookies in ~/.emacs.d directory. I couldn't find the config to change ...
2
votes
0answers
647 views

Can I cheat the docker run -it session by remapping ctrl+p key?

This is regarding this issue with docker: https://github.com/docker/docker/issues/3519 and https://stackoverflow.com/questions/20828657/docker-change-ctrlp-to-something-else As I understand this, the ...
2
votes
0answers
808 views

Where are the default font preferences in a modern Unix desktop stored (those which affect the choice of the font by an uncustomized Emacs 24)?

My situation and my question are like the ones in http://lists.gnu.org/archive/html/help-gnu-emacs/2012-06/msg00183.html: after the recent upgrade to emacs 24.x (...) my font size is too large (...
2
votes
0answers
81 views

How to use emacs alphabet key bind even with Thai input method

I'm emacs user and learning Thai language. I can read and write Thai characters with Emacs comfortably. But all Emacs key binding can't be used with Thai input mode. For example when I try to use C-...
2
votes
1answer
586 views

Configuring footnotes in emacs org mode

I came along the post Footnotes in emacs org mode: how to disable [n], but keep [fn:]? some months ago, and, as I said there, I don't believe the answer is right. However, I 'd still like to know ...
2
votes
1answer
431 views

ess has disappeared from emacs

I frequently use emacs ess functions. Specifically, I use r-mode and run R in emacs. However, quite suddenly, emacs is no longer offering ess options. r-mode is no longer an option in emacs nor is R. ...
2
votes
0answers
291 views

sshfs: experiencing data loss

I am connecting to a filesystem on a remote server via sshfs. What I do is just to modify these files with emacs. From time to time I am experiencing data loss. While I work on a file and try to ...
2
votes
0answers
46 views

How to define a minor mode that uses specified input-method in Emacs

I want to use korean characters in Emacs, so I installed hangul.el. I can activate input-method by '(set-input-method "korean-hangul")'. And I want to define a mode that have the `korean-hangul' ...
2
votes
0answers
341 views

zsh: Echoing every statement?

I have an odd problem with zsh when I switch between shells in a particular way: Option 1 (works well): I start a zsh shell. I switch to tcsh with /bin/tcsh, and I switch back to zsh with /bin/zsh ...
2
votes
0answers
163 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 ...
2
votes
0answers
1k views

How do I remap Caps_lock to Ctrl from inside emacs?

I use emacs on several machines between work and home, and I'm naturally interested in remapping that Caps_Lock key to save my finger from agony. On some platforms it's a bit more difficult to do than ...
2
votes
0answers
51 views

Handle local links to local files in emacs

I have a LaTeX document where I often have to insert pathnames of files on my machine of other LaTeX files. Is there a way in emacs do get the following: A command which opens a file selection ...
2
votes
0answers
421 views

linum auto-activation in .emacs fails

I added the following lines to my .emacs.d/init.el to auto-activate linum at startup: (require 'linum) (global-linum-mode 1) (setq linum-format “%d “) But no way, i still have to manually M-x linum-...
2
votes
2answers
2k views

Split tmux windows with same keys as in Emacs?

In emacs, you split a window with C-x 2 (one above the other) or C-x 3 (one next to the other). How can I get the same key bindings in tmux? Also, once a window is split, in emacs you cycle through ...
1
vote
1answer
25 views

locate: regex repetition postfix operator doesn't work with --regextype emacs

I have some files whose the names are of the form krita-NN.kra where NN is a number having one to two digits. I wanted to locate them using Emacs regex. However, the repetition postfix operator (\{n, ...
1
vote
0answers
41 views

Thin grey strip inside border when using WSL + GUI App + Vcxsrv

I've been using emacs inside WSL and vcxsrv to display the interface. One small issue I found with this approach is that there's a very thin grey area between the border and emacs's text area. Please ...
1
vote
0answers
24 views

fasd -e emacs not working correctly (snap installation)

fasd is working fine when I use commands such as z (equivalent to fasd_cd -d). However when I try to do something like fasd -e emacs .bashrc I get a funny error message: /snap/fasd/2/usr/local/bin/...
1
vote
0answers
548 views

Issue with xorg-server on arch

After a arch linux upgrade, it seems that my x-server is really unstable... Launching emacs with exwm does not work anymore. I have installed gnome and it does work (sometimes, very unstable). I ...
1
vote
0answers
50 views

emacs: Font lock mode chooses light colors

It strains my eyes when emacs chooses to use light colors on light background. Can I tell emacs not to use yellow on a light background?
1
vote
0answers
44 views

Is there a way to launch okular, emacs, etc. in order to have fast pop up at command line

When I run emacs or okular from command line (these are two apps I use all the time) they are slow to launch. Is there a way to just have them running and ask for new frames from the command line?
1
vote
0answers
356 views

How to change meta key (leader key M-m/Alt-M) in spacemacs? (emacs, ubuntu)

Assuming question applies also to emacs 'classic'/default. Spacemacs being specific Emacs configuration. Possibly relevant fact for eventual differences between Emacs default and spacemacs. I know I ...
1
vote
0answers
27 views

see both, text, cursors with two frames in emacs

In emacs I can open two frames (Windows). That can view the some edit buffer. I can use this so that two people can edit a file at the same time. This is useful for remote teaching. (I am teaching ...
1
vote
1answer
7k views

Open up Emacs in GUI instead of terminal

I downloaded Emacs in Linux 14.04, and when I type emacs filename.c, it opens Emacs in the terminal instead of the external Graphical User Interface. How do I force Emacs to open outside of the ...
1
vote
0answers
514 views

Set focus to a window using xprop

I'm using the following to remove the windows border in my emacs when it starts up (--fullscreen is not an option as it also covers gnome shell's taskbar). xprop -f -id xid _MOTIF_WM_HINTS 32c -set ...