I've tried to use the latest org release and compile emacs from the latest 
commit. Nothing has changed. Then i've tried to install emacs from nix. I used 
this home manager config:

```
{ config, pkgs, ... }:
let
  unstableTarball = fetchTarball 
"https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz";;
  unstablePkgs = import unstableTarball { config = config.nixpkgs.config; };
in
{
  home.username = "wurfkreuz";
  home.homeDirectory = "/home/wurfkreuz";
  home.stateVersion = "24.11"; # Don't change unless necessary
  
  nixpkgs.config.allowUnfree = true;
  
  fonts.fontconfig.enable = true;
  home.packages = with pkgs; [
    unstablePkgs.emacs
  ];
  home.sessionVariables = { };
  programs.home-manager.enable = true;
}
```

It installs emacs 30, and i get the same thing. I've noticed that bash-ts-mode 
doesn't want to be activated in general without a shebang, it falls back to the 
shell mode giving the same message about using zsh indentation. Maybe this is 
somehow related to the problem?

On Thursday, March 13th, 2025 at 5:05 PM, Ihor Radchenko <yanta...@posteo.net> 
wrote:

> the_wurfkreuz the_wurfkr...@proton.me writes:
> 
> > I've tried to this:
> > 
> > git clone https://github.com/tree-sitter/tree-sitter-bash
> > cd tree-sitter-bash
> > make
> > sudo make install
> > 
> > Then, after `emacs -Q` i evaluate `(setq treesit-extra-load-path 
> > '("/usr/local/lib"))` and try to create a code block with the bash-ts mode 
> > and get the same thing.
> 
> 
> I tried the same except make install and used /path/to/tree-sitter-bash
> as the load path. Everything worked. Although I used emacs master build.
> 
> > Do i maybe need to spin a vm and give all the possible reproduction steps? 
> > I'm using void linux.
> 
> 
> Maybe try to compile emacs from source. Or a vm. Whichever is easier.
> Maybe others can also try to reproduce.
> 
> --
> Ihor Radchenko // yantar92,
> Org mode maintainer,
> Learn more about Org mode at https://orgmode.org/.
> 
> Support Org development at https://liberapay.com/org-mode,
> 
> or support my work at https://liberapay.com/yantar92

Reply via email to