MitchellMarquez42

joined 1 year ago
[–] MitchellMarquez42@alien.top 1 points 11 months ago

8/10 great but too gray

Also you absolutely need this package: https://github.com/manateelazycat/holo-layer

[–] MitchellMarquez42@alien.top 1 points 11 months ago

Ooh I like the idea of these colors

[–] MitchellMarquez42@alien.top 2 points 11 months ago (3 children)

I use the rainbow-delimiters package, which gives you up to 9 faces to set parentheses

[–] MitchellMarquez42@alien.top 1 points 11 months ago

you can do this with an Overlay, if you know where the link starts and ends. For example I have the buffer README.org

#+title: hypop - emacs minibuffer-frame + hyprland

* Demo
https://www.youtube.com/watch?v=jXRt598HqCY

the first character of the link is the 60th and the last is the 103rd. So I could write

(with-current-buffer "README.org"
  (overlay-put (make-overlay 60 103) 'display "link"))

Clicking the "link" text still opens YouTube as expected.

To do this all over a buffer you'd want to add a font-lock rule based on a regular expression like browse-url-button-regexp.

If you only need it in Org files, there's probably some machinery to facilitate that as well

[–] MitchellMarquez42@alien.top 1 points 11 months ago

M-x list-colors-display shows all the valid color strings Emacs knows about in the current session.

Standard GUI Emacs and newer terminals like Alacritty can show All the colors (16 million), these are hex codes. Not all of them are named, but each name is associated with one hex color.

The 256 column is for terminals/displays that only show 256 colors, like gnome-terminal (i think. xterm-256color is a common terminal type for compatibility). These are named but the actual visual color values are set in the terminal config.

Likewise, 16 refers to original 16 color displays of later physical terminals. This is about the lower limit of colors to define for a visually distinct theme, for in my opinion. On some terminals/systems, the "bright" variants (8-16) are implemented as bolded forms of colors 0-7 respectively.

An example of an 8 color display is the Linux console, which you can reach with ctrl+alt+f4 or other function key between 2 and 6 inclusive on most Linux systems. Emacs does not look good on this display in most cases, but it's usable.

 

Is there a package that provides : commands like evil-ex, but without the rest of evil-mode? I'm specifically interested in regexp replacement :s/old/new/g style.

If not I'll write one

[–] MitchellMarquez42@alien.top 1 points 11 months ago (1 children)

This one is awesome, except half the time where it breaks everything

[–] MitchellMarquez42@alien.top 1 points 11 months ago (1 children)

What issue?

[–] MitchellMarquez42@alien.top 1 points 11 months ago

Yes? It's a shell

[–] MitchellMarquez42@alien.top 1 points 11 months ago

My weakest computer can fit twenty million lines of codes on it.

I'd say if anything, the usefulness of eat would justify a lot more. Thankfully doing one thing well lends itself to brevity, and storage is cheap

[–] MitchellMarquez42@alien.top 1 points 11 months ago (4 children)

Vterm: none that I can see

Eat: it's awesome, very good and fast and mouse input works out of the box

[–] MitchellMarquez42@alien.top 1 points 11 months ago

If you're using the build that shares a user ID with Termux, you can use the termux-api shell commands to send a notification that way. You will probably have to re-package/sign the termux-api package (i just tried the F-Droid version, it won't install when you have the Emacs compatible termux).

[–] MitchellMarquez42@alien.top 1 points 11 months ago

I want this too. If not, probably possible to make one - make a regex for properties drawer, jump to each occurrence, run the collapse function, and wrap all that in save-excursion

view more: next ›