Skip Navigation
protesilaos.com Emacs: Denote version 3.0.0

Information about the latest version of my Denote package for GNU Emacs.

Emacs: Denote version 3.0.0
0
Linux and DOOM (1993)
  • The reason that Doom is so portable goes beyond Linux and is an artefact of its development. id developed Doom on NeXTSTEP (i.e. Unix) machines and obviously targeted DOS. This is pretty unique among DOS games at the time and required id to write as much code as possible in a platform agnostic way. This means that the main engine does not care about where it is running and the usual DOS hacks are contained to DOS-specific files. In order to port Doom to a new platform, ideally one only needs to rewrite the system-specific implementation files for video, sound, filesystem access, etc., and this mostly holds true today. (These files are prefixed with i_ in the Doom source).

    The Linux port is just one of many versions developed at the time. I don't believe that it was commercially released; it was more of a portability test. The reason that the Linux version was chosen for the source release over the DOS version was because it didn't rely on the proprietary DMX sound library that the DOS port used.

  • karthinks.com The Emacs Window Management Almanac

    Window management in Emacs gets a bad rap. Some of this is deserved, but mostly this is a consequence of combining a very flexible and granular layout system with rather coarse controls. This leaves the door open to creating and using tools for handling windows that employ and provide better metapho...

    4
    protesilaos.com Emacs: Denote version 2.3.0

    Information about the latest version of my Denote package for GNU Emacs.

    Emacs: Denote version 2.3.0

    > This release brings a host of user-facing refinements to an already stable base, as well as some impressive new features. There is a lot to cover, so take your time reading these notes. > > Special thanks to Jean-Philippe Gagné Guay for the numerous refinements to parts of the code base. Some of these are not directly visible to users, but are critical regardless. In the interest of brevity, I will not be covering the most technical parts here. I mention Jean-Philippe’s contributions at the outset for this reason. Though the Git commit log is there for interested parties to study things further.

    1
    Emacs 29.3 released

    cross-posted from: https://lemm.ee/post/27699104

    > From the NEWS file: > Emacs 29.3 is an emergency bugfix release intended to fix several > security vulnerabilities described below. > > - Arbitrary Lisp code is no longer evaluated as part of turning on Org mode. > This is for security reasons, to avoid evaluating malicious Lisp code. > > - New buffer-local variable 'untrusted-content'. > When this is non-nil, Lisp programs should treat buffer contents with > extra caution. > > - Gnus now treats inline MIME contents as untrusted. > To get back previous insecure behavior, 'untrusted-content' should be > reset to nil in the buffer. > > - LaTeX preview is now by default disabled for email attachments. > To get back previous insecure behavior, set the variable > 'org--latex-preview-when-risky' to a non-nil value. > > - Org mode now considers contents of remote files to be untrusted. > Remote files are recognized by calling 'file-remote-p'.

    0
    protesilaos.com Emacs: modus-themes version 4.4.0

    Information about the latest version of my highly accessible themes for GNU Emacs.

    Emacs: modus-themes version 4.4.0
    1
    www.masteringemacs.org Combobulate: Intuitive, Structured Navigation with Tree-Sitter

    Tree-sitter's promise of simplifying code navigation can seem like a dream, but in reality, it introduces its own set of challenges that complicate the process. In this article, I delve into the intricate nature of crafting intuitive navigation within a tree-sitter environment, shedding light on the...

    Combobulate: Intuitive, Structured Navigation with Tree-Sitter
    0
    Minetest Blog - Early Winter in Minetest
    blog.minetest.net Early Winter in Minetest (16)

    Improvements are made to graphics, the Lua API, and the user interface. We present the winners of the 2023 Game Jam along with other cool mods. A new core developer joins the team, and we look forward to FOSDEM 2024!

    Early Winter in Minetest (16)

    > Improvements are made to graphics, the Lua API, and the user interface. We present the winners of the 2023 Game Jam along with other cool mods. A new core developer joins the team, and we look forward to FOSDEM 2024!

    6
    Question, How to remove all the default emacs shortcuts
  • I don't think that's a good idea. Pretty much all interaction with Emacs is mediated through keybinds. There is no distinction between shortcuts and fundamental behavior. Even ordinary typing is done by having each character on your keyboard bound to self-insert-command. Perhaps there is some way to nuke the global keymap, but then you're left with literally nothing. Besides, this would not prevent various modes from adding their own keys anyway.

    You should consider whether Emacs keybinds are actually in the way enough to be bothersome. You can also keymap-global-unset (or keymap-unset) individual bindings that you find problematic. I'd also consider delving into the Spacemacs code to see how they implement their "vi only mode."

  • August and September - Early Autumn in Minetest
    blog.minetest.net August and September - Early Autumn in Minetest (15)

    The main menu gets more love in preparation for the 5.8.0 release, developers come and go, and new shaders are in the works. CTF celebrates its 10th anniversary, and new API mods make their way to ContentDB.

    August and September - Early Autumn in Minetest (15)

    A menu rework and God rays are among the improvements on the road to the 5.8.0 release.

    2
    Emacs 29.1.90 pretest is available

    This is the first pretest for what will become the 29.2 release of Emacs, which is primarily a bugfix release.

    0
    TIL GNU/linux has 2 clipboards
  • Emacs's regular clipboard is the "kill ring" which also allows you to retrieve any previously cut/copied text. It also has "registers" where you can store and retrieve snippets of text, which can be considered clipboards when used for this purpose. Registers can be referenced by any character you can type on your keyboard, including control characters like ^D.

    This totals... a lot of clipboards.

  • Did we kill Linux's killer feature?
  • I think that this is above all else the reason that I use Arch. Arch Linux makes creating packages trivial, basically just wrapping build instructions into a shell script template. Arch handles the rest. The build systems for deb or rpm packages don't come close, and good luck rolling your own flatpak.

    This allows me to use pacman for everything outside of my home directory. Pacman is practically the central feature of my computer, and it's wonderful. I'm sure those Nix people can relate, though I guess my method is a bit less robust.

  • Mastering Emacs: Let's Write a Tree-Sitter Major Mode
    www.masteringemacs.org Let's Write a Tree-Sitter Major Mode

    Creating a standard programming major mode presents significant challenges, with the intricate tasks of establishing proper indentation and font highlighting being among the two hardest things to get right. It's painstaking work, and it'll quickly descend into a brawl between the font lock engine an...

    Let's Write a Tree-Sitter Major Mode
    2
    Vim Wayland users: how do you bind CAPSLOCK to Escape?
  • Xremap, despite the name, supports both X and Wayland, and can be used to move modifier keys around. Configuration is done with YAML but is otherwise pretty easy. I personally use it for full Emacs keybind emulation.

  • The Phoronix forms, where AMD and NVIDIA engineers can effectively communicate
  • This might be the first time I've ever seen something productive happen in the Phoronix forums. I love that place. Go to any topic with more than about a dozen posts and it's almost guaranteed to be a flame war. Genuinely one of the funniest places on the Internet.

    Check out this one. It took like three posts!

  • Mastering Emacs - What's New in Emacs 29.1?
  • I have done almost the opposite: moving as much configuration as I can into use-package statements, even for built-in features like dired. You can (use-package feature-name) or even (use-package emacs) in order to customize the basics. use-package just provides much better organization than any schema that I have ever been able to come up with on my own.

  • Mastering Emacs - What's New in Emacs 29.1?
    www.masteringemacs.org What's New in Emacs 29.1?

    What's new in Emacs 29.1? I go through every change and annotate the ones I feel are interesting or worth knowing more about.

    What's New in Emacs 29.1?
    3
    May, June, and July - Early Summer in Minetest
    blog.minetest.net May, June, and July - Early Summer in Minetest (14)

    Work on the 5.8 release continues with some exciting new engine improvements, a classic game makes its way to ContentDB, and the use of Minetest in education was explored.

    May, June, and July - Early Summer in Minetest (14)
    0
    Emacs 29.1 Released

    Available at your local GNU mirror and, depending on your OS, perhaps soon your favorite package manager repository. A full list of features and changes can be found in the NEWS file.

    1
    What is Hexbear and how its story intertwines to Lemmy's?
  • r/cth was originally a subreddit for the podcast Chapo Trap House, but it eventually bloomed into a general-purpose leftist space. IIRC, the sub was around 160k members at its peak and had a distinct posting culture.

    It was quarantined by Reddit for violent speech after calling for the death of slave owners and later banned for no particular reason at the same time as r/the_donald, presumably as a "both sides" sort of thing.

  • What is Hexbear and how its story intertwines to Lemmy's?
  • Hexbear is an instance formed mostly by former r/chapotraphouse users after that sub was banned from Reddit a few years ago. Hexbear used to run on a custom fork of Lemmy so that the community could add extra features that they wanted (like custom emoji) but it was recently ported back to mainline Lemmy after merging or reimplementing as many changes as possible.

    Currently, Hexbear does not have federation enabled, and there is discussion about who to federate with or even whether to federate at all. The community is very active and self-sufficient and some members prefer the isolation.

    Content-wise, it's a leftist-focused instance. Some shitposts, some serious posts, and a lot of inside jokes.

  • Non-Tiling Window Manager Users?
  • I am a proud Openbox user. In the stacking realm, there is nothing quite like Openbox's customizeability and the great tooling that surrounds it. In particular, opensnap gives me window snapping to the edge of the screen with the mouse, which is sorely missing from most light window managers. Openbox also has really powerful hotkeys (any arbitrary sequence of actions) alongside Emacs-style key chords, which makes it difficult to port my setup to any other environment.

    One day, I hope to migrate to labwc, which seems to be carrying Openbox's banner into the Wayland era. Unfortunately, labwc doesn't (and probably never will) support key chords and I have not been able to find a suitable replacement for tint2, which I use as my taskbar. Someday...

    Here is an old screenshot of mine. Nothing has changed since then.

  • ReactOS Newsletter 102 - 2022/2023 news
    reactos.org Newsletter 102 - 2022/2023 news

    ReactOS is a free, opensource reimplementation of windows

    Newsletter 102 - 2022/2023 news

    It has been almost two years since the last ReactOS newsletter. Despite no new releases, the project is still active. Much work has been done on different parts of the operating system, from improvements on the 64-bit port to protections against registry corruption.

    0
    Protesilaos: Public Test for my ‘dired-preview’ Package
    protesilaos.com Emacs: public test for my ‘dired-preview’ package

    The ‘dired-preview’ package automatically displays the file at point in Emacs Dired buffers. This is the public testing phase.

    Emacs: public test for my ‘dired-preview’ package

    From dired, preview different file types in a side window. The user can control the delay before previews appear, the maximum size of previewed files, and which file types should be excluded from preview.

    2
    crimethinc.com Russian Anarchists on the Wagner Mutiny

    Early on June 24, Vladimir Putin addressed Russia about the unfolding rebellion of the Wagner private military company, saying that Yevgeny Prigozhin’s rebellion is “pushing the country toward anar...

    Russian Anarchists on the Wagner Mutiny
    0
    Wayland pros and cons?
  • bspwm is probably my favorite general-purpose tiling window manager. I have not personally tried this out yet, but River is superficially similar, with the main configuration done through a combination of shell scripting and riverctl commands. I'm not sure how the tiling behaves in comparison though.

  • Wayland pros and cons?
  • This is something that I am sure will be solved eventually, but one of the major weaknesses of Wayland is the lack of lightweight standalone compositors.

    For example, if I want a lightweight stacking window manager on X, I can choose between Openbox, Fluxbox, FVWM, IceWM, Pekwm, JWM, Window Maker, hell even twm if I were a masochist. I have tried out all of these at one point or another and they all have something to offer users. But using Wayland, there's, uhh, labwc, and that's it? Maybe I could try using kwin standalone?

    The situation for tiling window managers is similar, with Sway being the only one that feels mature.

    I plan on migrating from Openbox to labwc at some point in the future, once it's ready. labwc itself is really good, but some of the other programs I need to recreate my setup aren't there yet. Someday...

  • Lego Skywalker Saga was awful.
  • I think an underappreciated thing about the original LEGO Star Wars games is just how accessible they were. You could give those games to a 5 year old and they could play and enjoy it. I should know; I was one of them. Looking at the Skywalker Saga, you couldn't possibly do the same thing.

  • how did you find out about Lemmy?
  • Old account here. I was directed to Hexbear after r/cth was banned from Reddit. Later on, I learned about other instances. Federation wasn't a thing back then; I made an account here to check federation out once it finally released.

  • noweb: the lesser known org babel glue
  • I recently wrote a literate R document where I added features to a plot one at a time and then showed the result. That's a lot of repetitive code. This could have both cut down on copy-pasting and helped to propagate changes in an earlier plot to the later ones. Next time for sure.

  • protesilaos.com Emacs: introduction to the ef-themes “Elea” variants

    I added a new pair of dark and light themes to my ‘ef-themes’ collection. They are quite different from the rest of the collection.

    Emacs: introduction to the ef-themes “Elea” variants
    1
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)4F
    4ffy @lemmy.ml
    Posts 28
    Comments 27