Skip to main content
8 votes

Setting up Ditaa in Org-mode

I am afraid that moving files manually will mess up my system, confuse my package manager and only work until the next update. Instead, you can simply added the true path for ditaa.jar to your .emacs ...
AstroFloyd's user avatar
6 votes

error: Invalid byte opcode: op=183, ptr=2

A solution to this is to delete all compiled EmacsLisp files in the user's Emacs directory cd ~/.emacs.d/ find . -name "*.elc" -type f Once you are satisfacted by what the find command ...
smonff's user avatar
  • 1,589
3 votes
Accepted

error: Invalid byte opcode: op=183, ptr=2

From NEWS: * Incompatible Lisp Changes in Emacs 26.1 [...] ** Certain cond/pcase/cl-case forms are now compiled using a faster jump table implementation. This uses a new bytecode op 'switch', which ...
npostavs's user avatar
  • 9,213
3 votes

DOS line endings in Cygwin break emacs

Just encountered this myself today when switching to cygwin. The reason it didn't work for me was that the python layer in spacemacs only strips \n when looking up the ipython version on init. The ...
Johan Rohlén's user avatar
2 votes

Under Cygwin, how do we get a list of available printers?

Well it turns out that the long-complicated-names-with-goobers listed in the "Devices and Printers" "Control Panel" / "Windows Settings" really are the printer names... ick. (setq printer-name "...
cira's user avatar
  • 41
2 votes

Where to report problem with file-name resolution/completion for cygwin emacs

Where can I report this problem? Should I report it directly to http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs or rather to https://cygwin.com/ml/cygwin/? The "true" answer to this depends ...
npostavs's user avatar
  • 9,213
2 votes
Accepted

File association with cygwin emacs-w32

I did this exercise today, and ended up with the following batch file (I named it runemacs.bat): setlocal enableextensions enabledelayedexpansion set bin=C:\cygwin64\bin IF "%~1" NEQ "" ( for /f "...
user30747's user avatar
  • 161
2 votes
Accepted

Experience with WSL as underlying shell (esp. with Texlive) for native win-x64 Emacs

I am (almost exclusively) using Emacs on WSL1. I've got X11 support by VcXsrv. It is very stable. You can mount Windows paths as drvfs. No problem there! My $HOME is my %USERPROFILE%. You can even ...
Tobias's user avatar
  • 33.3k
2 votes
Accepted

Emacs on cygwin: How to open file/directory on windows share

Tramp's smb method is not activated for cygwin. See tramp-smb.el: (unless (memq system-type '(cygwin windows-nt)) (add-to-list 'tramp-methods `(,tramp-smb-method ...
Michael Albinus's user avatar
2 votes

error: Invalid byte opcode: op=183, ptr=2

One way to handle this is to have dedicated package directories for each Emacs version. You can do this by placing the following in your init file: (setq package-user-dir (concat "~/.emacs.d/elpa/" ...
Lindydancer's user avatar
  • 6,170
1 vote

Setting up Ditaa in Org-mode

Base on Melioratus answer I did this: cd .emacs.d/elpa && mkdir contrib cd contrib %% mkdir scripts cd scripts which ditaa ## I have mine in /usr/local/bin ln -s /usr/local/bin/...
בנימן הגלילי's user avatar
1 vote

Windows 10 native (spac)emacs install can't call cygwin binary (ledger) with proper path passed

I don't use ledger-mode but I am pretty sure that the following advice-add will help you. The code is only partially tested (up to make-process in ledger-flymake). Please test whether it is working ...
Tobias's user avatar
  • 33.3k
1 vote

Windows 10 native (spac)emacs install can't call cygwin binary (ledger) with proper path passed

The path you passed (c:/Users/USERNAME/Dropbox/Priv/2018.ledger) is not a valid cygwin file-path, it is a MS-windows file-path: It will look like a relative file-path to cygwin, so will be appended ...
ctrl-alt-delor's user avatar
1 vote
Accepted

Empty buffer shows when using emacsclient on windows

The editor shows a blank buffer because it it trying to open a file with a cygwin styled path. e.g. /tmp/bash-fc.abcdef which in turn tries to open C:\tmp\bash-fc.abcdef which doesn't exist, so it ...
Marty Neal's user avatar
1 vote

What flows are usable with WSL and Emacs (Windows Subsystem For Linux)?

From what I've learned WSL currently has limited capabilities to run arbitrary code. All Linux executable is hidden inside %APPDATA% directory and isn't launchable from w32 world. Special executable ...
gavenkoa's user avatar
  • 3,462
1 vote

Why can't AucTeX see my TeXLive binaries? (Cygwin on Windows 7 x64)

Turns out, I needed to delete the TeXLive distribution which I had installed manually using the TeXLive Windows installer and reinstall TeXLive with the Cygwin setup.exe. This will place everything in ...
jimpudar's user avatar
  • 121

Only top scored, non community-wiki answers of a minimum length are eligible