4ffy

joined 2 years ago
18
submitted 1 month ago* (last edited 1 month ago) by 4ffy@lemmy.ml to c/emacs@lemmy.ml
 

I am excited and relieved to finally announce the release of Magit version 4.0, consisting of 1077 commits, since the last release three years ago. The release notes can be found here.

 

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.

30
Emacs 29.3 released (lists.gnu.org)
 

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'.

[–] 4ffy@lemmy.ml 6 points 9 months ago* (last edited 9 months ago)

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."

 

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

[–] 4ffy@lemmy.ml 5 points 1 year ago

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.

[–] 4ffy@lemmy.ml 16 points 1 year ago (7 children)

My heart sank upon reading the word "electron" and rose again on the very next paragraph. I'm looking forward to seeing it in action.

[–] 4ffy@lemmy.ml 5 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] 4ffy@lemmy.ml 177 points 1 year ago* (last edited 1 year ago) (29 children)

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!

[–] 4ffy@lemmy.ml 6 points 1 year ago

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.

[–] 4ffy@lemmy.ml 20 points 1 year ago* (last edited 1 year ago)

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.

[–] 4ffy@lemmy.ml 16 points 1 year ago (4 children)

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.

[–] 4ffy@lemmy.ml 3 points 1 year ago

Not me, that's all Prot's work. I am definitely interested in the package, but I will probably wait for it to appear on GNU ELPA before I try it out.

[–] 4ffy@lemmy.ml 2 points 1 year ago

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.

[–] 4ffy@lemmy.ml 1 points 1 year ago* (last edited 1 year ago) (1 children)

I've been using Devil for a little while now. The right control key is pretty far from the home row on my keyboard, so the usual touch typing motions are inconvenient. I feel like Devil, which I have mapped to semicolon, lets me reclaim some of that.

I have caps lock as control as well, so that gives me control access on both sides of the home row. The two sides behave a bit differently since caps lock is an actual modifier, but that hasn't been an issue for me.

[–] 4ffy@lemmy.ml 4 points 1 year ago (2 children)

This is the main reason that one should learn to read PKGBUILDs. Any AUR helper like Yay or Paru should give the option. Just make sure that the package downloads from an official source and contains only the necessary build and install instructions.

But I agree. Some people treat the AUR as just another repository, when it most definitely is not.

view more: next ›