Timo@odie-win8:/hg-repos/lonecpp-wp$ sudo apt-get build-dep emacs24sudo password for timo:Reading package lists. DoneE: You must put some 'source' URIs in your sources.listAh well, not entirely unexpected – the source repository isn’t enabled. That’s easy, but I normally enable it from the GUI so I first had to figure out how to enable it from the command line. Which again turns out to be easy, all I have to do is edit /etc/apt/sources.list and uncomment the deb-src lines. I just uncommented the deb-src entries for the main, restricted, universe and multiverse repositories. That might have been more than I needed but should work fine.
Also, don’t forget to run `sudo apt update` after enabling the repos!Now I can install the build dependencies again. Dumping under the name emacs.Warning: Your system has a gap between BSS and theheap (20719407 bytes).
Running Shell Commands from Emacs Emacs has commands for passing single command lines to inferior shell processes; it can also run a shell interactively with input and output to an Emacs buffer named.shell. or run a shell inside a terminal emulator window. There is a shell implemented entirely in Emacs, documented in a separate manual. Emacs 25 on Windows Subsystem for Linux Posted on May 18, 2017 by Paul. Recently, a reader of this blog asked me about using Emacs under Windows Subsystem for Linux.According to the WSL documentation, Emacs, Vim and other Linux applications that run from console should work just fine. Turns out that the situation is a bit more complex.
This usually means that exec-shieldor something similar is in effect. The dump mayfail because of this. Wget ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-26.0.90.tar.xzcd build-dirtar xvJf emacs-26.0.90.tar.xzcd emacs-26.0.90./configure -prefix=$ HOME/localmake && make installThe surprisingly good news were that pretest built fine – no core dumps when dumping emacs- and a quick check confirmed that it was running fine in a terminal window. Text mode only, but I have a running GNU Emacs pretest 26.0.90 on Linux Subsystem for Windows!Time to push boundaries again, especially as the Fall Creators Update Linux Subsystem for Windows does not support X/GUI applications as per Microsoft.
Unfortunately with this build, attempting to run the resulting binary as a GUI executable produced a bunch of errors and an empty window that only contained the menu bar. /local/bin/emacs(emacs:15590): GLib-GObject-WARNING.: invalid unclassed pointer in cast to 'GtkWidget'(emacs:15590): Gtk-CRITICAL.: gtkwidgethide: assertion 'GTKISWIDGET (widget)' failed(emacs:15590): GLib-GObject-WARNING.: invalid unclassed pointer in cast to 'GObject'(emacs:15590): GLib-GObject-CRITICAL.: gobjectgetdata: assertion 'GISOBJECT (object)' failedI guess that might have been an attempt to push things a little too far.
After all, Microsoft says that X/GUI apps aren’t supposed to work, so the simple fact that I was able to get the stock Emacs 24.5 working was a big surpriseI may try to figure out what’s causing these errors and see if I can get Emacs pretest working with X windows as well, if I can find the spare time. Apparently that WSL version was the problem because I am on Windows 10 Enterprise whose release number is something like 141xx. So it’s definitely not the Fall Creators Edition.I later finally got the Emacs 26 pretest build working even on that version, running with my Emacs config 😀Though, I was not happy with the default color scheme and resolution of the Windows Console (I know that at some newer version after mine, Console gets 24-bit True color support, but I couldn’t upgrade as my Windows version is Enterprise version). Also the C-SPC binding wouldn’t work.So I then ended up with installing ConEmu — Awesome colors, with all bindings working as I like, and Iosevka font.Your post inspired me to try this out. Search for: Recent Posts.Recent Comments. on. on.
Timo Geusch on. adi on.
onArchives. (1).
(5). (1). (1). (1). (1). (2). (1).
(3). (2).
(2). (1). (1). (2). (1).
(1). (1). (4). (2).
(1). (1). (3).
(5). (3).
(1). (2). (2). (11).
(2). (2). (2).
(3). (2). (7).
![Launch Launch](/uploads/1/2/5/5/125518502/360088283.jpg)
(10). (4). (4).
(3). (2).
(5). (3). (8).
(1). (2). (1).
(2). (5). (3). (1). (1).
(1). (2). (1). (3). (1).
(1). (3). (1). (1).
(1). (1).
(1). (6). (2). (1). (1). (1). (1).
(2). (2). (1). (1).
(2). (3). (2). (2).
(1)Categories.Meta.Tags.