Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [emacs]

For questions regarding usage of the Emacs text editor. See also the Emacs Stack Exchange: https://emacs.stackexchange.com

0
votes
1answer
259 views

Follow Link in Fundamental Mode

How can I emulate a mouse-click on a link in plain Emacs fundamental mode? For example I want to click the link to the Tutorial on the fancy-startup-screen. I tried to google that seemingly very ...
4
votes
1answer
93 views

Why does emacs start up small?

My emacs is coming up really small, and this is how I'm launching it: [jah@localhost ~]$ xrdb -query -all Xcursor.size: 24 Xcursor.theme: Adwaita Xft.antialias: 1 Xft.dpi: 96 Xft.hinting: 1 ...
0
votes
1answer
5 views

XEmacs menubar is not enabled

Using Windows 10 I installed Cygwin32 and all available emacs/xemacs packages. When I start emacs now it works fine but for some reason the 'menu bar' with all items like 'File', 'Edit', 'Options' ...
0
votes
0answers
13 views

Emacs + ipython tab completion not working (“no match”)

I am using emacs with elpy, and ipython as interpreter. After a general upgrade of the python packages today, tab completion stopped working in ipython, always gives "no match" message. Does anybody ...
0
votes
0answers
18 views

How to prevent emacs M-x shell prompt from overwriting partial lines

I'm using emacs' M-x shell prompt, and making a REST call that returns a "partial line". This can be simulated using the print command, for example This returns a full line: print "test" This ...
0
votes
0answers
8 views

Cygwin mintty cut will paste to notepad, but (sometimes) not to cygwin emacs. Why?

I'm running Windows 7, cygwin emacs-w32 26.1, and mintty 2.9.6. When I select text in mintty (using the mouse), and paste (using C-v) into Notepad (for example), it works the way I would expect it to....
0
votes
0answers
25 views

ConEmu + Cygwin + Emacs gives strange behaviour

I'm using cygwin through ConEmu, and I like to use emacs in terminal mode ("-nw") as my editor. It seems to work correctly through cygwin directly, but when running through ConEmu I get strange ...
1
vote
0answers
21 views

Way too fast scrolling in Emacs on Win10

My question is almost the same as this one: Way too fast scrolling in Emacs on OSX I am using Emacs 26.1 on a Windows 10 machine. The scrolling speed when using the trackpad is much higher than when ...
0
votes
0answers
16 views

make emacs (evil) auto-save on buffer change

I'm using https://github.com/907th/vim-auto-save on vim. Giving emacs a try. Is there a way I can replicate vim-auto-save functionality in emacs? I got (auto-save-visited-mode) enabled but it's only ...
0
votes
1answer
13 views

eMac G4 does not show any OS install disks

I have a eMac G4 1.0 GHz that will not see any Mac OS install disks I put in it. I am not sure if I'm making the disks wrong, or if there's something wrong with my computer. I did replace the factory ...
0
votes
0answers
17 views

Jumpy Emacs cursor movement when going forward

When I run Emacs (v23.1.1) in the terminal (without opening a window through X-forwarding) currently, I can't get the cursor to move forward for more than a few positions without it jumping around. I'...
2
votes
1answer
26 views

Emacs shell command: Change of behavior between versions 24 and 25?

I have been using the Emacs "shell" command for many years. It starts a shell in the current buffer. This seems to be the case up through Emacs 24. I am now running Emacs 25 (on Linux) and I'm ...
0
votes
1answer
15 views

How to run emacs from choco without extra terminal window

I have Windows 10 and just installed Emacs from choco. If I run emacs from system search I've got two windows, powershell and emacs. How can I get rid of the terminal. I also want to execute this: ...
0
votes
0answers
29 views

Left Alt + Shift + 0: Cannot change language in Emacs/VcXsrv

I'm running the Emacs text editor using WSL + VcXsrv on Windows 10. When typing texts, I need to change the language all the time, using combinations such as: Left Alt + Shift + 0: German Left Alt + ...
0
votes
0answers
13 views

How to omit filename from Emacs mode-line?

Because I use path-headerline-mode and small screen laptop, the filename on menubar (or menuline, at the bottom of the window) is not needed for my setup. How can I hide it?
1
vote
0answers
11 views

Emacs - Is possible has a file save history?

I want to know if it's there a way to have file history in emacs. With file history I mean: List all the times a file has been saved. View the diff between the current file and the file in that ...
0
votes
1answer
21 views

Hunspell (ispell) in emacs buffer doesn't work properly

In my init.el i have (setenv "DICPATH" (concat "$HOME" ".hunspell-dics")) (setq ispell-program-name "/usr/bin/hunspell") (setq ispell-really-aspell nil) (setq ispell-really-hunspell t) (setq ispell-...
1
vote
0answers
30 views

Failure to convert included files from .org to .rst using pandoc

Problem I am writing blogs using Emacs org-mode. Specifically, I first create contents and get ml.org file and then convert it into ml.rst using pandoc command pandoc -f org -t rst ml.org. In order ...
1
vote
1answer
48 views

How to provide a true alias key sequence in emacs?

I would like in Emacs a key sequence FOO to be an true alias for a sequence BAR. Whenever FOO is entered it should perform the same action as entering BAR does. I cannot use something like: (global-...
0
votes
0answers
19 views

Any news about sticky cursor while scrolling in Emacs? [duplicate]

This is just a remake of the question Don't change the cursor position when scrolling in Emacs: it is almost six years old so I thought maybe there are some news. As explained in that question, I ...
1
vote
0answers
34 views

Equivalent of `offlineimap`for POP3 (to use with mu and Emacs) [closed]

I used this guide to set up offlineimap to sync email to a Maildir. The configuration goes to a run-command file ~/.offlineimaprc: [general] accounts = Gmail maxsyncaccounts = 1 [Account Gmail] ...
0
votes
1answer
84 views

Emacs visual-line-mode in -nw mode - is it possible?

Emacs have largely switched to visual-line-mode as default, but what do I use if I am working in -nw mode? Visual-line-mode is not working, and longlines-mode is branded as obsolete.
0
votes
0answers
31 views

Can't send mail with MH-E (nmh)

I can't seem to get MH-E configured correctly for sending mail. I have no problem in receiving and perusing mail. ~/.authinfo has correct credentials for SMTP server ~/.netrc has correct credentials ...
1
vote
0answers
28 views

Option as meta key EVERYWHERE?

I can set this option in the Terminal app, but I'd like to do this in other apps as well. Surprisingly, most apps support a subset of emacs commands, but anything related to the meta key ends up as ...
0
votes
0answers
53 views

Org-mode hide note by default within a fold

In Emacs org-mode, if I take a note by C-c C-z for a node then press TAB to cycle the tree's visibility, the note's content will always show up. Instead, I would prefer if the note only shows up as a ...
1
vote
0answers
39 views

How to shift indentation tho right and left in Emacs Evil (Spacemacs) when nothing is selected?

When I am in visual mode, parinfer-shift-right and parinfer-shift-left work fine. But in normal mode these commands have no effect. How to make these commands work in normal mode, when nothing is ...
0
votes
0answers
24 views

aspell, contractions, and curved-quotes

In recent emacs, there is the possibility to turn on electric-quote-mode; see e.g. the manual, here. And then e.g. ordinary single-quotes ' are automatically replaced with curved-quotes ’ as one ...
0
votes
0answers
21 views

Can the mac command key functionality be preserved when using emacs-mac?

Using emacs-mac how can I treat the command key as the mac command key... i.e I would like command-a to select all text in the buffer, command-v to paste etc. The only options that I can see for Mac ...
1
vote
3answers
192 views

Emacs Org-mode Babel: “Tangle” to Results block

I want to use org-mode to compute long passages by concatenating snippets. I'm open to a non-Babel approach. Tables occurred to me but I couldn't see how to reference a cell from outside the table in ...
0
votes
0answers
41 views

urxvt key combination for emacs

I am struggling to configure emacs in urxvt. alt seems to be working, however some sequences like alt+w, escape are not working. In view-lossage I see ESC w ESC on this one. So it sees alt like ESC. ...
1
vote
0answers
28 views

Solve the warning issues when start emacs in Ubuntu

My Emacs in Ubuntu always shows warnings below which is quite annoying. Warning (initialization): An error occurred while loading ‘/home/AROT/.emacs.d/init.el’: error: Key sequence RET o starts with ...
1
vote
0answers
94 views

How to start Emacs daemon when Windows start-up and kill it before Windows Shutdown

On Microsoft Windows, the time of opening my GNU Emacs (with tons of plugins) are non-trivial, so I decided to use Emacs Daemon. However, I cannot figure out a way to open and close the daemon ...
0
votes
0answers
128 views

Lowest latency VNC connection with available tools

Good day, I have to SSH into systems at my work and cannot seem to find the best setup to get my productivity to the level I want. Currently I have the options to use Putty, VNC Viewer, or Bash for ...
0
votes
1answer
152 views

Cygwin X applications do not launch

I have a problem with Cygwin X, in that applications don't seem to run. If I try to run gedit, or emacs, the applications seem to just return 0 immediately: me@mycomputer ~ $ gedit & [1] 10244 ...
3
votes
0answers
53 views

Computer name changes and interferes with handling of file locks in Emacs

Emacs handles file locks by creating a symbolic link, for example: > ls -la lrwxr-xr-x 1 miguel staff 25 Jul 20 18:21 .#test.md -> miguel@MiguelsMBP1004.548 In another folder with a ...
1
vote
1answer
58 views

How to re-bind a binding from a major mode

I am using org-mode and want to override the local binding of C-c C-x C-z, bound to org-resolve-clocks by default. The manual says As described in Local Keymaps, major modes and minor modes can ...
2
votes
1answer
358 views

How to enable emacs keybindings on macos globally?

I have a macbook pro 2015 that runs on High Sierra. I want to use emacs key-bindings or shortcuts for regular things like copying and pasting. For instance, I want to use "M-w" to copy instead of "...
0
votes
0answers
40 views

PuTTY doesn't recognize some emacs keybindings

I work on Emacs installed on Ubuntu via PuTTY in Windows. The problem is PuTTY doesn't recognize some Emacs key bindings like "Ctrl+;" or "Ctrl+(". (These key bindings are recognized in Emacs ...
0
votes
1answer
156 views

emacs inside of tmux inside of putty on windows does not seem control keys

I've been search around and it seems there is no one who's concerned about my specific problem. Following is some configurations: PuTTY Release 0.70 Keyboard: Function keys ESC[n~ Window/Colours, ...
0
votes
0answers
246 views

Emacs command to kill other buffer and window

Emacs has the function kill-buffer-and-window mapped to C-x 4 0. Naturally, I expected C-x 4 1 to select the other window, kill the buffer and delete the window. I find myself using C-x o followed by ...
0
votes
0answers
64 views

emacs hangs accessing directories with certain files

If I create a directory "test" with a subdirectory ".git" and a file "git.bat", emacs hangs when trying to find/create/edit any file in the directory test. I am in windows 10 with newly installed ...
0
votes
0answers
73 views

How to auto-set toggles in Spacemacs?

After starting Spacemacs for editing (Clojure) code, the first thing I do is to enable automatic-symbol-hightlight and highlight-indentation-current-column. This is done by typing SPC t h a and SPC t ...
1
vote
1answer
150 views

How do I configure emacs to quit without confirmation?

How can I configure emacs on OS X so that it just quits without popping up a dialogue asking if I want to save files? Please note that I'm not interested in rebinding C-x C-c or something - my ...
0
votes
1answer
277 views

How to prevent Emacs from writing temporary .# files?

My Emacs writes temporary files which start with .#. For example when I am ediging foo.cljs Emacs sometimes creates a .#foo.cljs file. How to prevent this? Background: I am using Spacemacs for ...
0
votes
1answer
106 views

How can I export tables to Excel from a simple text source?

Question If someone asks for a document and specifies that it must be a Word document, even though it will be so simple it will only have a few section headings, I thankfully do not have to use Word ...
0
votes
0answers
64 views

Emacs on vnc display issues with client on Mac and server on Linux

I am running Emacs, in a VNC session on a Linux machine, and it is displaying back to my Mac. My problem only occurs when I run on this particular server, and it used to work fine. I don't know ...
0
votes
1answer
154 views

Emacs initial anonymous buffer

I used to have in my emacs .init.el file the following two lines used to inhibit the splash screen and to switch to an anonymous buffer (setq inhibit-splash-screen t) (switch-to-buffer "**") ...
0
votes
0answers
265 views

Send Ctrl-Space via TeamViewer

I'm using TeamViewer from OSX to Ubuntu 16.04. My emacs on Ubuntu doesn't respond to C-SPC. Has anyone else encountered and fixed this problem? C-SPC and all other keys work locally on the remote ...
0
votes
0answers
26 views

Mac OS 10.12, AucTeX 11.91

I'm using LaTeX extensively and would like to be able to define an environment "examples" that combines the advantages of providing a complete "itemize" environment, while at the same time also ...
0
votes
0answers
84 views

Save word with ispell (flyspell) with a single keystroke

I am using flyspell and I would like to add a word in my personal dictionary ($HOME/.aspell.en.pws) with a single keystroke ("F5"). I was thinking as something like: (global-set-key (kbd "<f5>"...