Questions tagged [emacs]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

emacs tmp file created by previous OS can not be deleted in new OS

I have installed a VirtualBox with ubuntu20.04 and add a share folder from windows11 host. Then I use emacs and it create a tmp file: $ ls -lah scripts2/org/.#drawer.org -rwxrwx--- 1 root vboxsf 30 ...
lucky1928's user avatar
  • 111
0 votes
0 answers
3 views

How can I use Emacs under Linux Mint as a proportional font Evil-mode editor and a proportional-font terminal? [migrated]

In OS X or X11 terminal emulator supporting proportional fonts Emacs is recommended for proportional font editing and shell use. What can / should I put in a .emacs file so it loads Evil mode and ...
Christos Hayward's user avatar
0 votes
0 answers
12 views

Selecting multiple lines in emacs open from Screen Gnu mode

Normally when open files with "emacs -nw" to edit, I can select line by shift+arrow or ctrl+shift+arrow. The selected line or paragraph gets highlighted. But when I open file using "...
Deepak Paudel's user avatar
0 votes
0 answers
25 views

Does Neovim or any of its GUI variants have the option to be embedded in a Window?

Emacs as the ability to be embedded in a GUI window using the --parent-id=xid option which is an X Window handle. So I have created GUI programs in which can embed an Emacs session for improved ...
vfclists's user avatar
  • 779
0 votes
0 answers
14 views

Hunspell does not propose an obvious correct form of a misspelled word

For the misspelled word "perapring" hunspell does not propose the correct spelling "preparing" and only proposes the following words: persevering pertaining innerspring preferring ...
Name's user avatar
  • 433
1 vote
1 answer
134 views

CTL-Y no longer works

Suddenly the highlighting color, when copying changed from gray to yellow. CTL-Y no longer works, When I try it I get: Symbol's function definition is void: x-cut-buffer-or-selection-value. My .emacs ...
Edward Heaney's user avatar
1 vote
1 answer
20 views

Does Ispell send any of the checked data to a server?

Does Ispell only use local dictionaries, or does it send any of the checked data to a server? The best answer I can find is that it is up to the implementation, and the only open-source repository I ...
cstml's user avatar
  • 113
1 vote
0 answers
107 views

Emacs org-mode export to LaTeX and PDF produces incorrect double quotes

I am currently finishing up the formatting of a book written in Emacs org-mode. I noticed that me using a specific kind of formatting for dialogue produces odd results when it comes to closing double ...
leo.vingi's user avatar
  • 111
0 votes
1 answer
188 views

Building emacs 29 on openSUSE: `configure` cannot find json library despite it being installed

Im currently trying to build emacs 29.0.90 from source. I've installed every version and permutation of json-devel, json-c, libjsoncpp, etc on the repositories, and even built, tested, and installed ...
Alexis Purslane's user avatar
0 votes
0 answers
30 views

org mode: how to reset files VISIBILITY state to that defined in STARTUP

How to reset files VISIBILITY state to that defined in STARTUP, as if you closed and reopened file. This would mean honouring each particular sections VISIBILITY property as well as that defined in ...
chris's user avatar
  • 121
0 votes
1 answer
28 views

How to access GNU-Emacs binaries located in HOME partition from everywhere?

I built GNU-Emacs from scratch and now I have working binaries of it in my home partition. So ~/somedir/emacs/src has all the binaries. If I issue the following: PATH=$HOME/tmp/emacs/src:$PATH that ...
Niranjan's user avatar
  • 103
1 vote
1 answer
794 views

When should TERM be set to alacritty-direct

I am using alacritty 0.11.0 (8dbaa0bb) on Arch. the default TERM type is alacritty, which works well (truecolors etc) for everything except terminal emacs. In a terminal emacs does not show truecolors....
sw1nn's user avatar
  • 325
1 vote
1 answer
378 views

Missing Emoji in Emacs and Firefox

I've had this issue on Mojave, and it remains now that I upgraded to Big Sur with a clean install. Can't find anything about it on Google. All emoji are working just fine everywhere on my system, ...
Carapuce's user avatar
1 vote
2 answers
2k views

How can I run WSL2 in Windows Emacs? M-x shell RET wsl RET doesn't output anything

How can I run WSL2 in Emacs? M-x shell RET wsl RET doesn't output anything. This happens on my Windows 11 machine. Tried it on macOS, Emacs told my macOS machine that its terminal is too dumb for WSL. ...
Martin Stuwe's user avatar
0 votes
1 answer
383 views

What is ctrl-; doing in Gnome Terminal and Emacs?

When I type ctrl-; in Gnome Terminal, it prints an underlined letter e. If I type a bunch of letters, they're also underlined. When I hit enter, the underline goes away, and the first e also goes away....
Jim Hunziker's user avatar
  • 1,213
0 votes
0 answers
142 views

deleted gpg key (secret and public) now I can't send emails in emacs mu4e

I lost a password of my key, so I deleted it now emacs complains when I send a mail via mu4e. I deleted my entire ~/.gnupg directory I regenerated the ~/.authinfo.gpg key via epa-encrypt-file I ...
C Taque's user avatar
  • 111
0 votes
1 answer
246 views

can't run commands in bash invoked from emacs shell on windows

I invoked "shell" which correctly runs cmd.exe and runs correctly. However, when I run bash from within that shell, every command gives an error Microsoft Windows [Version 10.0.22000.739] (c)...
anjanbacchu's user avatar
  • 1,377
1 vote
0 answers
98 views

Emacs C-c C-, doesn't work in a "terminal"

I need to send my Emacs the keys Ctrl+C and Ctrl+, (C-c C-, in Emacs notation) via SSH shell or a terminal emulation (e.g. terminator). But it seems that C-, doesn't work. First I thought this is ...
buhtz's user avatar
  • 329
0 votes
1 answer
133 views

How to draw such a picture(in ascii character, -+>)? [duplicate]

Is it drawn by emacs? +----+ seems like lines of table generated by emacs.
Tokubara's user avatar
  • 123
0 votes
1 answer
298 views

Emacs Org Mode Mobile (org-mobile-pull) issue

I'm trying to sync .org files on Mac and iPhone through IPhone app MobileOrg. Things working file until running the org-mobile-pull command to try to pull the files that were sent from iPhone to my ...
Alex's user avatar
  • 1
0 votes
2 answers
136 views

Emacs on WLS Ubuntu in Moba XServer - no italics fonts

I have Ubuntu 20.04.3 LTS installed in a WSL1 container on my Windows 10 laptop. I also have MobaXterm Pro v21.5, configured with a WSL session so I can run command lines in a terminal tab. I also ...
kbro's user avatar
  • 131
2 votes
1 answer
402 views

Run X11 apps in Docker container using MacPorts' Xorg-Server on macOS host

I'd like to run the Emacs code editor in a Ubuntu Container I installed in Docker, and I'd like to run it in GUI mode. I installed the xorg-server port using MacPorts, but it defaults to a Unix-domain ...
DannyNiu's user avatar
  • 153
1 vote
1 answer
250 views

How to step through a shell script line-by-line and send each line to the terminal?

I have an .sh file with shell commands, for example: echo "What shall are we running?" if [ "$0" == "-bash" ]; then echo "I'm running a bash" else echo &...
Marius Hofert's user avatar
1 vote
2 answers
612 views

Treat terminal like an emacs buffer

I'm on Ubuntu and I use either GNOME Terminal or Terminator. I'd like to be less reliant on the mouse/touchpad. Say that I have the output of ls in the terminal and I want to copy out part of the ...
dbrane's user avatar
  • 194
0 votes
0 answers
121 views

Cygwin ctrl-number not working (in cli emacs)

Cygwin ctrl-number is not working in cli emacs. I disabled the mintty options for keyboard shortcuts, so now ^- does work the same as ^u -1. Still, ctrl-number shortcuts do not work in emacs. ^4 ^x o ...
memtha's user avatar
  • 181
0 votes
1 answer
115 views

Got daemonp error while installing doom

I am on Macos 10.14 and am trying to install Doom with Emacs. I've downloaded emacs with brew install --cask emacs, and it is at version GNU Emacs 27.2. I run the installation lines per doom's ...
Ross Jacobs's user avatar
1 vote
1 answer
767 views

Finding emacs config file Ubuntu

I am attempting to locate my config file. Using my emacs editor, I can find .emacs using user-init-file which outputs ~\.emacs. However, trying to locate this file/folder in the terminal only returns ...
hkj447's user avatar
  • 261
3 votes
1 answer
862 views

Is anyone else experiencing keys (I am not touching) being sent to WSL 2 gui apps and how should I report it to Microsoft?

I am trying the Windows insider preview 10.0.21.390.1000 (co_release) with Ubuntu 18.0.4 (and Ubuntu 20.0.4) under WSL 2 to use Emacs in GUI mode without needing VcXsrv. With either version I ...
intel_chris's user avatar
0 votes
1 answer
173 views

emacs term send literal C-z to bash (background running process)

I recently switch from cli emacs to gui emacs (25). I regularly use a M-x term buffer to run cli tools. Upon switching, I found that pressing C-z now minimizes the emacs window (and laughed at the ...
memtha's user avatar
  • 181
6 votes
2 answers
10k views

mv: cannot move, Permission denied in WSL

I'm getting mv: cannot move, Permission denied error, but before claiming this is a dupe, please see what I've tried first: First of all, it has nothing to do with file or directory mode: $ mv -f ....
xpt's user avatar
  • 8,611
2 votes
0 answers
600 views

Emacs load file from command line

When I was on Ubuntu, I would open files with Emacs on the command line like this: $ emacs -nw file.txt or $ emacs /etc/sysctl.conf When I use Kali and type the above, no file is opened and I am ...
DX0's user avatar
  • 21
1 vote
1 answer
370 views

how to use pre-defined variables or constants in (custom-theme-set-faces) in emacs

I'd like to use pre-defined variable or constant of string type in (custom-theme-set-faces), so it would go like (setq Blue128 "#000080") (custom-theme-set-faces 'thename '(default ((t ( ...
yury10578's user avatar
  • 111
1 vote
1 answer
594 views

Running emacs (gtk) through X410 from WSL Docker - program exits when idle

I've started trying to use Docker for my daily development environment to make it easy (in principle) to work from any arbitrary machine without a lot of setup fuss. My environment is based on Emacs+...
djc's user avatar
  • 11
1 vote
0 answers
100 views

How do I make Emacs honor (setq mouse-yank-at-point t) when using isearch?

When using Emacs in a terminal, if I start a search (C-s) and then middle-click paste something, it goes into the search no matter where I click. This is what I want to happen in the GUI. This answer ...
ILoveGit's user avatar
  • 111
0 votes
1 answer
143 views

Adding Emacs-style trailing line comment in Visual Studio Code

I am trying to replicate a standard comment shortcut from Emacs in Visual Studio Code (MacOS). In Emacs, the shortcut M-; adds a trailing line comment to the current line. I use this shortcut quite a ...
Juan Sebastian Totero's user avatar
0 votes
1 answer
200 views

How do you quickly renumber a numbered list in emacs after you re-order its elements?

Suppose you start with this list 1- tofu 2- vinegar 3- salt 4- ground beef 5- white sugar And then you want white sugar to be number 3. You kill 5-White sugar, go right beneath 2-vinegar and yank it :...
ychaouche's user avatar
  • 461
1 vote
0 answers
223 views

Emacs client - Keep frame until all buffers are closed

I'm using Emacs with the server in daemon mode. When I go to the buffers menu, I can see all the buffers that the server has open. Is there a way to keep the Emacs client frame open until all the ...
Peter Scott's user avatar
0 votes
1 answer
296 views

Setting up ESS (R)

I am a new emacs user. I am trying to set up my R-environment in spacemacs. I have added the ESS layer in my dotfile, but I cannot get the LSP to connect in order to get completion and etc when I am ...
Evangelos Con's user avatar
0 votes
1 answer
296 views

Does `yank` mean copying, pasting, or either in Emacs?

While yank means copying in Vim, I am a bit confused about Emacs. What does yank mean there exactly?
t7e's user avatar
  • 701
1 vote
1 answer
205 views

How to configure Alpine to use an already running Emacs as an alternate editor?

I have activated in Alpine email client the following setting in order to use Emacs as an editor when composing emails: [X] Enable Alternate Editor Implicitly Editor = emacsclientw.exe -ca runemacs....
Name's user avatar
  • 433
0 votes
1 answer
567 views

Change the window-terminal to Emacs edit-mode

I plan to change the window-terminal to Emacs-Editing style with: Set-PSReadLineOption -EditMode Emacs but it failed to work when start new terminal instance or restart the machine. As a solution, I ...
Wizard's user avatar
  • 119
1 vote
1 answer
4k views

Getting Emacs to work with GUI in WSL

I'm new here and I don't really get this stuff, so I'll try to provide all the relevant details but if something important is missing please tell me. I have Windows Subsystem for Linux (WSL2) setup on ...
J. C.'s user avatar
  • 113
2 votes
1 answer
422 views

Emacs ediff does not show inline word based differences

I am using emacs with ediff to compare two files. and my ediff view does not show inline differences. e.g., if lines from both files only have one word difference, ediff cannot highlight the word but ...
shelper's user avatar
  • 615
0 votes
1 answer
129 views

Start Emacs from MobXterm

I was using Emacs for a while from Cygwin. I created a link shortcut on Desktop and started it from there. Now I want to try Emacs from MobaXterm. I installed Emacs package but can't figure out how to ...
susik's user avatar
  • 653
0 votes
1 answer
36 views

Switching to TMB mode in AD Studio

I am trying to become familiar with TMB in AD Studio. I have been working through the user's guide AD Studio: Statistical modelling in ADMB and TMB Version 1.0 (2018-01-22) by Arni Magnusson. I can ...
Mark Miller's user avatar
5 votes
1 answer
1k views

Some applications in full screen leave an invisible gap between top of window and the top border of the screen. (win 10, multiple monitors)

I notice this problem with emacs, notepad++, and WinRAR. When their window is maximized to full screen, there's actually an invisible gap between the top of the window to the top edge of the screen. ...
Alex's user avatar
  • 160
3 votes
2 answers
2k views

How do I exit vim, that is within emacs term mode with evil?

I am trying to make transition from vim to emacs (specifically doom-emacs). I was using term mode and habitually used vim in an attempt to edit another file forgetting that I was inside emacs. I ...
Yao Wei's user avatar
  • 33
0 votes
1 answer
265 views

Unable to run emacs

I have been running $ emacs &, however, I keep getting " Display localhost:0/0 unavailable, simulating -nw". Can anyone explain why this is happening?
Nazia Khan's user avatar
0 votes
1 answer
108 views

Starting emacs server from outside emacs

I am trying to start emacsserver from outside emacs (even having emacs not running at all to start with). I would like to start a search through my org files using emacs functions, but avoiding the ...
Emmanuel Goldstein's user avatar
0 votes
1 answer
785 views

access smb share via emacs tramp mode - repeatedly prompting for password

If I use smbclient from the command line on a unix host to access a windows server share (happens to be a windows server in an Active Directory domain), it works fine. I can access directories and ...
Juan's user avatar
  • 589

1
2 3 4 5
34