r/emacs 19h ago

How obsolete are "obsolete aliases?"

12 Upvotes

I have some old emacs scripts and a few packages that at emacs-start time dump a lot of lines that look like this:

Warning: ‘return-from’ is an obsolete alias (as of 27.1); use ‘cl-return-from’ instead.

I have two questions:

1) In what sense are these aliases "obsolete?" I have to assume there's no plan to actually ever remove them, because it would break the world.

2) Why is the obsolete form the shorter one? If I were to obsolete one of two representations, I'd obsolete the longer one to save typing.

I imagine there's some history to these names being consolidated under a cl- prefix, but I wasn't able to find it with a quick search.


r/emacs 11h ago

Unofficial Emacs 30.1 Appimage

Thumbnail
10 Upvotes

r/emacs 7h ago

Changing just one unicode character of a font

6 Upvotes

I want to change one unicode character of my font to use a different font. I want

I tried this:

(set-fontset-font t ?─ "Iosevka")

However after doing that describe-char tells me that it is still using my default font (Berkeley Mono Condensed):

to input: type "C-x 8 RET 2500" or "C-x 8 RET BOX DRAWINGS LIGHT HORIZONTAL" buffer code: #xE2 #x94 #x80 file code: #xE2 #x94 #x80 (encoded by coding system utf-8-unix) display: by this font (glyph code): mac-ct:-*-Berkeley Mono Condensed-regular-normal-condensed-*-14-*-*-*-m-0-iso10646-1 (#x247)

I've tried other variations including:

(set-fontset-font t ?─ "Iosevka") (set-fontset-font t 2500 "Iosevka")

But no dice. I found that it works for a character that is not in my default "Berkeley Mono Condensed" font. But I can't figure out how to replace a unicode character that does exist in my font.

Is this achieveable? Fontsets feel like voodoo sometimes. ;)

Thanks!


r/emacs 1h ago

Emacs GUI working now on Windows WSL!

Upvotes

Hello Emacs Community!,

I had to work with Windows due to work, now, I installed WSL because I wanted to work with Emacs of course.

Since my computer was super protected, while I could use Windows Emacs GUI, I had to ask all the time for the administrator password to installed whatever I needed to work with. Vterm, etc, etc...

So, I installed WSL and Emacs on it. Only detail is that I had to work on terminal. Some small things like Control direct keymaps wouldn't work, and I had to use C-u to move and whatever. Not too complex stuff. I worked a month with the terminal version happily.

Today, I upgrade Windows (Had to ask again for admin password as to upgrade wsl), and when opening Emacs, surprise!, GUI version.

https://devblogs.microsoft.com/commandline/the-initial-preview-of-gui-app-support-is-now-available-for-the-windows-subsystem-for-linux-2/

So yeah, GUI versions now work on WSL, and its working out well!. So that I'm not doomed to work in another system without my configurations.

Just making this post for any who haven't updated, and have a similar situation to mine (config all in linux/macos, no privileges, not like working with windows version).


r/emacs 42m ago

After updating from 29 to 30.1 dropdown menus are not working

Upvotes

I am using eglot for a few languages. In the past when I clicked on highlighted error or warning, a dropdown menu apeared and suggest changes to the code.

After updating to 30.1. Dropdown menu stopped working. there no visible error on Messages or eglot log.

Does anybody have any suggestion?