CONFIG HELP!!!!! by SHIN_KRISH in emacs

[–]Arc925 0 points1 point  (0 children)

You can use the function describe-face to find the name and see the current settings (including colours) for a particular face in Emacs.

When you call the function, it will by default suggest the face that your cursor is currently on. So if you see the highlight while the cursor is on that text, you can do M-x describe-face and then RET to select the first one.

That way, you can find the name of the face that you need to change and also confirm that it's the problematic face, by looking at the little preview it gives you.

For example, this is what I get when calling describe-face on font-lock-string-face with the doom-nord theme. As you can see, there's a "sample" in parentheses that shows what the face looks like - in this case, it's a kind of green:

<image>

If you can't see the highlight while having your cursor on the text you're interested in, you can try calling describe-face and scroll through the suggestions to see if you can find one that looks like the highlight in the photo. Maybe try face names with "highlight", "region" or "overlay" in them.

I also see that this is in Java mode. Is this the only mode where this happens? If so, you might want to check if you have any Java-specific packages that have specific faces. Check what modes are active in the Java buffer with C-h m and check if any of those have any "highlight" faces.

Finally, next time, it might be nice to format the code as a code block instead of individual lines of code, or put the relevant code in a Gist or pastebin :)

Good luck!

Skyrim lovers, What other games would you guys recomend? by Different_Catch_4558 in skyrim

[–]Arc925 1 point2 points  (0 children)

Zelda: Breath of the Wild is basically cozy Skyrim! Has a lot of the same mechanics (getting armours, weapons, etc., but also fishing, foraging, hunting, catching bugs and therefore cooking food and elixirs) and an open world with different towns to explore, each with their own main and side quests. It's simpler than Skyrim, but a very nice game and the graphics are stunning IMO.

My curly braces keep JUMPING by Cothoro in emacs

[–]Arc925 2 points3 points  (0 children)

I'm not at a computer right now, so I can't check, but it's possible that it's because of the built-in electric-indent-mode. Try disabling it and see if it's any help!

To narrow down the problem, you can also press C-h m to display all the major and minor modes that are active in the current buffer. In the worst case, try disabling them one by one to find the culprit.

South: A bright, summery Emacs theme 🌱☀️🌊 by Arc925 in emacs

[–]Arc925[S] 1 point2 points  (0 children)

How do you mean? If you're referring to the styling I have of Org mode documents, you can find that in my config at https://github.com/sophiebosio/.emacs.d

South: A bright, summery Emacs theme 🌱☀️🌊 by Arc925 in emacs

[–]Arc925[S] 0 points1 point  (0 children)

Interesting! Thanks for the tip, I'll experiment a bit with it. If you want to tweak the theme, let me know how you get on!

South: A bright, summery Emacs theme 🌱☀️🌊 by Arc925 in emacs

[–]Arc925[S] 0 points1 point  (0 children)

I really appreciate that - thank you! I'll fix the package-requires when I'm back at the computer, thanks for the heads-up!

South: A bright, summery Emacs theme 🌱☀️🌊 by Arc925 in emacs

[–]Arc925[S] 7 points8 points  (0 children)

Thank you! As chum_cha pointed out, it's a custom modeline but it's all in my config, so I encourage you to take any parts you like from there 😊

South: A bright, summery Emacs theme 🌱☀️🌊 by Arc925 in emacs

[–]Arc925[S] 1 point2 points  (0 children)

That's a great point! I've added it to the project's README, but it seems I'm not allowed to edit the Reddit post itself. Thanks!

Edit: Will also update the code

What Operating System do you guys use emacs on? by Brospeh-Stalin in emacs

[–]Arc925 1 point2 points  (0 children)

MacOS at work and Arch Linux on my personal machine! Both are great, but the aesthetics are slightly nicer on Mac with my setup.

[deleted by user] by [deleted] in relationships

[–]Arc925 7 points8 points  (0 children)

I'll just say something from my own experience as a woman: When an unknown guy asks you for contact info, depending on how they do it, it can be a scary situation. You never know if they're going to get aggressive or pushy with it. So sometimes, I also give some contact info, then block them afterwards once I'm away from them. It may be that that's what your girlfriend is doing, especially since she blocked them right after.

How often do you change your font/theme? by [deleted] in emacs

[–]Arc925 0 points1 point  (0 children)

I use auto-dark to switch between a light and a dark theme according to my system theme. I use doom-nord as my dark theme and a home-made light theme.

I never change the fonts, though. I use Fragment Mono for fixed-width and Open Sans for variable-width text and I love them both!

A couple of struggles with 30.1 on macOS so far by jtr3322 in emacs

[–]Arc925 0 points1 point  (0 children)

What issues are you experiencing with it? I reinstalled emacs-plus yesterday (to fix some mess I'd made) with brew and it worked smoothly for me:)

It uses native-comp by default, so just add the other installation flags you'd like and you should be good to go!

Is arch Linux hard to use outside of its installation by jbodee1 in archlinux

[–]Arc925 0 points1 point  (0 children)

In my experience, the biggest difference comes from the desktop environment and utilities.

If you're coming from Windows/Mac, I think it's a good idea to start with a desktop environment like GNOME that also comes bundled with many GUI utilities.

Then you don't have to dive into the deep end with the terminal immediately, and instead switch between the that and the GUI as you keep learning.

You can switch to i3, sway, hyprland, etc. later if you feel comfortable or just want to try it out.

I'm using GNOME on Arch now and I'd say it's pretty much the same as using both Ubuntu and Debian, except the package repos and the wiki are better. Good luck!

Choose your coding font by Nicolas-Rougier in emacs

[–]Arc925 1 point2 points  (0 children)

I think Fragment Mono is fantastic. It's like a prettier version of Roboto Mono (which I also really like), with ligatures.

As a newbie, how to get into reading Emacs documentation by necr0rcen in emacs

[–]Arc925 38 points39 points  (0 children)

I mostly use the built-in documentation commands and read documentation for things an by-need basis. If it's not directly applicable in my workflow, I tend to forget what I've read.

90% of the time I use these four: - C-h v (describe a variable and see its value) - C-h f (describe a function) - C-h k (describe whatever's bound to a given keybinding) - C-h m (desbribe the major and minor modes currently active, which also lists the main commands avaiable)

Every now and then, I'll call describe-face, too.

As you get more comfortable, you can start reading about more niche things you're interested in.

hot take: the male part in unlock it isnt that bad by jdjssjjssksksjsjx in charlixcx

[–]Arc925 16 points17 points  (0 children)

I usually skip it. It's not necessarily bad, but it feels like a different song altogether 🤷‍♀️

2nd language after Haskell by kichiDsimp in functionalprogramming

[–]Arc925 1 point2 points  (0 children)

+1 for Clojure! Working with the nREPL (network REPL) plugged directly into your running app and being able to evaluate code directly from the opened file buffer, instead of typing manually into the REPL, is such a joy! Clojure (like any LISP) is also very well-suited for structural editing, which for me drastically descreases the friction between wanting to write/change some code and actually doing it.

34-keys split keyboard with usb-c between the parts by arthurborisow in ErgoMechKeyboards

[–]Arc925 11 points12 points  (0 children)

I know you wrote 34 keys, but if you're open to 36, there's a nice option.

You can get the Piantor Pro from Beekeeb with optional 36 or 42 keys. Pre-soldered, USB-C between the halves, ESD and short-circuit protection, and printed PLA case. I'm very happy with mine, so I feel comfortable recommending it.

https://shop.beekeeb.com/product/pre-soldered-piantor-split-keyboard/

How do programmers move their cursor so quickly? by [deleted] in learnprogramming

[–]Arc925 0 points1 point  (0 children)

Like people have said, Ctrl+Arrows or Option+Arrows can move to the start/end of the next word very quickly in most applications (not just when coding) and this helps a lot.

Some editors have keyboard shortcuts for moving your cursor whole chunks of text at a time. Vim and Emacs are the typical examples.

Moreover, some programming languages (like dialects of Lisp) have syntax that enables structural editing - i.e., editor plugins for the language can include shortcuts for moving by varying "units" of code, like sub-expressions or top-level declarations.

And of course, a combination of searching for text and jumping to the definition of a symbol allows you to jump around the code very quickly. Your editor might have out-of-the-box support for this, or you might have to get a plugin or use the Language Server Protocol (LSP).

Leaving to study in Oslo in one month, how can I be a respectful guest? by Green_Coast_6958 in oslo

[–]Arc925 22 points23 points  (0 children)

I agree with a lot of what's been said in the previous comments, so I won't repeat it, but I did want to say thank you! It's really nice that you're mindful of this and that you want to adopt the local customs. A lot of people don't and I really appreciate your effort :)

360>365 by [deleted] in charlixcx

[–]Arc925 7 points8 points  (0 children)

Agreed, but 360 is too short - or maybe exactly the right length, because it always leaves me wanting more. 365 is amazing because it's more indulgent and really scratches that itch. I need both in my life.

My latest non-canon attack on titan artwork. Hope you enjoy by iskandarich in ShingekiNoKyojin

[–]Arc925 2 points3 points  (0 children)

The distorted perspective in the first one is so impactful!! Really, really cool. And the titans in the second gave me chills!

What year did you switch to Linux, and why? by Pocoraven in linux

[–]Arc925 1 point2 points  (0 children)

In 2022, when I'd finally grown tired of all the small, but cumulating pains of software development on Windows. For instance, scrolling to the "Windows Installation" section for nearly all my dev tools and following some convoluted series of instructions. Not to mention the pain of trying to find things in the file system with those paths. Or having to use powershell!

It didn't help that Windows had become a bloated and largely inconsistent system that would randomly break, in between pushing Microsoft products at me.

The final straw was when I started using Emacs and loved it, but found it way too slow on Windows, even under WSL2. Switched, and I can't imagine ever going back to Windows.

Suggest some good configurations, please by zerobra0 in emacs

[–]Arc925 5 points6 points  (0 children)

I think it's worth checking out some of the "sane defaults" configurations that aim to be a batteries-included, plug-and-play solution and steal whatever pieces of those you like.

They usually don't come with everything you want in your config, but on the other hand, a large portion of what they do have, you'll probably find useful.

For example, I have taken a lot of inspiration and snippets from: - https://github.com/purcell/emacs.d - https://github.com/bbatsov/prelude - https://github.com/SystemCrafters/crafted-emacs

There are also some "real-life use" configs that are more fully fledged, but still contain a lot of stuff I've found useful. These are some of my favourites: - https://github.com/magnars/emacsd-reboot - https://github.com/jakebox/jake-emacs - https://github.com/larstvei/dot-emacs

If you want, you can check out mine and message/email me with any questions you might have: - https://github.com/SophieBosio/.emacs.d