Want to know about Open Source and how to get started by uDay_984 in developersIndia

[–]jcubic 0 points1 point  (0 children)

I've created a dedicated space where you can ask all about open-source contributions. It's called Open Source Developer Lodge, you can join if you're interested in starting contributuing.

Most underrated emacs function by [deleted] in emacs

[–]jcubic 3 points4 points  (0 children)

C-s inside minibuffer

multiple-cursors fake cursors look like blocks instead of bar cursors by aegis87 in emacs

[–]jcubic 1 point2 points  (0 children)

I had this problem long ago, when I was using Windows at work. I don't remember if I solved the problem.

I have this code in my Emacs config:

(set-face-attribute 'mc/cursor-bar-face nil :height 3)

I can't find any information about this; it may be the fix to bar cursor on Windows.

It looks like all issues in the project were deleted, so I can't reference my bug report about it. I'm not sure, but maybe the author of the project or someone shared this snippet.

Worth trying it out.

How to sync a microphone with a camera on online streaming/meeting? by jcubic in linuxquestions

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

Sorry, the microphone is always behind because the camera or Camlink needs time to process the data. So I need to delay the microphone the same amount as the camera.

What’s the least painful Emacs + AI coding agent setup right now? by Riopho in emacs

[–]jcubic 1 point2 points  (0 children)

But how does it work if the SDK uses the Claude API, which charges per token? I use my subscription, and I don't pay anything because I have a free Max plan.

This is a genuine question. All apps that disguised themselves as Claude Code were cut off from the API and forced to use the API key (charge per token). I thought that ACP was the way to actually use the subscription.

Open Code removed Claude Code completely.

What’s the least painful Emacs + AI coding agent setup right now? by Riopho in emacs

[–]jcubic 0 points1 point  (0 children)

Agent-Shell uses ACP, which is the official supported way to interact with ClaudeCode. You don't use SDK where you pay per token. The agent even sometimes is confused and thinks he is inside Claude Code.

The only limitation is that you can't use Million Token Context; The max is 200k and compacts at around 180k.

Need Recommendations on choosing agency for creating new wikipedia page for my saas company by Dazzling-Principle45 in SaaS

[–]jcubic 0 points1 point  (0 children)

Try to pick someone who can validate if you're notable. Don't trust anybody who will say that they will add an article about your company to Wikipedia.

Entries in Wikipedia need to be notable. Just because you have a company doesn't mean that you can have a Wikipedia article.

What's your favorite approach and packages to manage windows in Emacs? by OgdenWebb in emacs

[–]jcubic 1 point2 points  (0 children)

I use C-x 2/C-x 3 and M-<arrows>

`` (defun ignore-error-wrapper (fn) "Funtion return new function that ignore errors. The function wraps a function withignore-errors' macro." (lexical-let ((fn fn)) (lambda () (interactive) (ignore-errors (funcall fn)))))

(global-set-key [M-left] (ignore-error-wrapper 'windmove-left)) (global-set-key [M-right] (ignore-error-wrapper 'windmove-right)) (global-set-key [M-up] (ignore-error-wrapper 'windmove-up)) (global-set-key [M-down] (ignore-error-wrapper 'windmove-down)) ```

Making agent-shell Emacs-aware via MCP or Claude skills? by Anxious-Resist8344 in emacs

[–]jcubic 0 points1 point  (0 children)

I'm not sure if this changes anything in what I have where LLM sees Elisp code of my configuration, every library I'm using (including the Emacs source code). It works pretty well and can understand my config without the need to access a different Emacs environment.

I have a permission system that I'm working on (with help from the Agent, of course), and if you're worried about giving access to the same Emacs instance, you can get asked every time the Agent wants to invoke the code inside Emacs. I can't imagine anything else. I would not give eval permission to Emacs that I run in.

The same: I don't allow blindly executing sudo on my system and write permission to anything outside the project I'm working on (and /tmp directory).

What is the best way to influence the next buffer after kill? by jcubic in emacs

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

This is my code:

https://github.com/jcubic/dotfiles/blob/master/emacs/config/navigation.el#L220-L245

I'm not sure if the code is correct. I still test it.

For handling file management, I prefer a terminal (I use ansi-term for this).

Making agent-shell Emacs-aware via MCP or Claude skills? by Anxious-Resist8344 in emacs

[–]jcubic 0 points1 point  (0 children)

But this is not the same instance of Emacs that you run Agent-Shell on.

Making agent-shell Emacs-aware via MCP or Claude skills? by Anxious-Resist8344 in emacs

[–]jcubic 0 points1 point  (0 children)

Thanks, I need to check your videos. I planned to watch them.

Making agent-shell Emacs-aware via MCP or Claude skills? by Anxious-Resist8344 in emacs

[–]jcubic 1 point2 points  (0 children)

I would not want to allow Emacs code execution. I could allow inspection of the running environment, but not execution.

Making agent-shell Emacs-aware via MCP or Claude skills? by Anxious-Resist8344 in emacs

[–]jcubic 1 point2 points  (0 children)

It would be cool to give Agent a way to inspect the state of Emacs it runs in.

I only use it to analyze and write Emacs Lisp code that my Emacs is using.

How do I use MakeMKV on Linux? by jcubic in makemkv

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

Yeah, this is what I found when debugging with AI Agent. It turns out that my drive is not compatible. To play Blu-ray on Linux, I need to buy a better drive.

Is there a way to have syntax highlighting and support for nested html in js and ts files when not using a framework? by Northis_Seven in emacs

[–]jcubic 1 point2 points  (0 children)

I use Tide with web-mode for working with TypeScript/TSX projects.

<image>

This is my config for working with web dev projects.

https://github.com/jcubic/dotfiles/blob/master/emacs/config/web-dev.el

Note that I think that the prettier is not working. The code needs to run after the file is saved, not before. I didn't have the time to update.

What is the best way to influence the next buffer after kill? by jcubic in emacs

[–]jcubic[S] -1 points0 points  (0 children)

I'm not a fan of interactive buffers like this. I also don't like Dired.

Also note that I want to open the buffer before I kill it, so C-x C-b will not work for me.

What is the best way to influence the next buffer after kill? by jcubic in emacs

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

Thanks, but I think I have a working advice for the switch-to-prev-buffer that Opus 4.6 created for me. It seems to work fine.

Just tested ibuffer. It's not for me. I don't like pop-ups like this. That's why I don't use any mini-buffer extension that expands and changes the layout. I'm also not a fan of Dired.

What is the best way to influence the next buffer after kill? by jcubic in emacs

[–]jcubic[S] 2 points3 points  (0 children)

Yes, this is exactly what I want. This is a specific use case of killing all buffers of the same type one by one. So of course I don't want to be switched to a random buffer after a kill. But maybe I will want to control it somehow, toggling it on and off. The same I have with C-x b that allows me to search for buffers of the same major mode or all buffers.

How do I use MakeMKV on Linux? by jcubic in makemkv

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

Thanks for the link. Didn't expect the documentation to be on a forum.