Salta al contenuto
0
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Recenti
  • Popolare
  • Tag
  • Utenti
  • Gruppi
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Recenti
  • Popolare
  • Tag
  • Utenti
  • Gruppi
Skin
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Predefinito (Nessuna skin)
  • Nessuna skin
Collassa

Piero Bosio Web Site

Forum federato con il resto del mondo. Non contano le istanze, contano le persone

  1. Home
  2. Categorie
  3. Senza categoria
  4. It's me, your weekly #emacs rambling birb

It's me, your weekly #emacs rambling birb

Pianificato Fissato Bloccato Spostato Senza categoria
emacs
2 Post 2 Autori 0 Visualizzazioni
  • Da Vecchi a Nuovi
  • Da Nuovi a Vecchi
  • Più Voti
Rispondi
  • Topic risposta
Effettua l'accesso per rispondere
Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
  • farcallerundefined Questo utente è esterno a questo forum
    farcallerundefined Questo utente è esterno a questo forum
    farcaller
    scritto su ultima modifica di
    #1

    It's me, your weekly #emacs rambling birb.

    Today I am going to rant about tree-sitter and emacs and consult and vertico and why the hell is my `consult-buffer` taking SIX seconds to go to the next file.

    So good news, if emacs is sluggish, you can `M-x profiler-start`, reproduce the problem, and `M-x profiler-report` to see where it's taking its sweet time. My problem is that the sweet time is in `treesit-auto--set-major-remap`.

    https://www.masteringemacs.org/article/how-to-get-started-tree-sitter highlights one solution: you can manually remap every major mode to a TS-compatible mode.

    I'm pretty sure that the culprit is somewhere in https://github.com/renzmann/treesit-auto, but the workaround from https://github.com/renzmann/treesit-auto/issues/84 doesn't seem to fix the problem for me.

    Oh well.

    I find it peculiar that I very much switched non-programming editing to emacs by now (org, md, yaml, all that stuff), but I still use nvim for code because nvim is just *fast*. It's like everything in it is just more efficient whereas emacs is fancy but takes its time (I'd say that my barebones emacs setup is on par with VSCode in slowness). With vim, I don't think if I need to do anything to open some extra random file type, it will most probably just work, and the only thing that gave me a headache recently was pkl support.

    Crandel 🇺🇦 :arch: :emacs:undefined 1 Risposta Ultima Risposta
    • farcallerundefined farcaller

      It's me, your weekly #emacs rambling birb.

      Today I am going to rant about tree-sitter and emacs and consult and vertico and why the hell is my `consult-buffer` taking SIX seconds to go to the next file.

      So good news, if emacs is sluggish, you can `M-x profiler-start`, reproduce the problem, and `M-x profiler-report` to see where it's taking its sweet time. My problem is that the sweet time is in `treesit-auto--set-major-remap`.

      https://www.masteringemacs.org/article/how-to-get-started-tree-sitter highlights one solution: you can manually remap every major mode to a TS-compatible mode.

      I'm pretty sure that the culprit is somewhere in https://github.com/renzmann/treesit-auto, but the workaround from https://github.com/renzmann/treesit-auto/issues/84 doesn't seem to fix the problem for me.

      Oh well.

      I find it peculiar that I very much switched non-programming editing to emacs by now (org, md, yaml, all that stuff), but I still use nvim for code because nvim is just *fast*. It's like everything in it is just more efficient whereas emacs is fancy but takes its time (I'd say that my barebones emacs setup is on par with VSCode in slowness). With vim, I don't think if I need to do anything to open some extra random file type, it will most probably just work, and the only thing that gave me a headache recently was pkl support.

      Crandel 🇺🇦 :arch: :emacs:undefined Questo utente è esterno a questo forum
      Crandel 🇺🇦 :arch: :emacs:undefined Questo utente è esterno a questo forum
      Crandel 🇺🇦 :arch: :emacs:
      scritto su ultima modifica di
      #2

      @farcaller I was right to not use treesit-auto at all

      1 Risposta Ultima Risposta
      1
      • fosstodon.orgundefined fosstodon.org ha condiviso questa discussione
      Rispondi
      • Topic risposta
      Effettua l'accesso per rispondere
      • Da Vecchi a Nuovi
      • Da Nuovi a Vecchi
      • Più Voti


      Gli ultimi otto messaggi ricevuti dalla Federazione
      • mORAundefined
        mORA

        @quinta https://alignmentalignment.ai

        per saperne di più

      • Elena Brescacinundefined
        Elena Brescacin

        Detta in modo meno tecnico, "ha ragione chi urla più forte". Se l'educazione va avanti così, non ci si può stupire degli estremismi di destra e sinistra.

        Per capire cosa faceva Charlie Kirk bisogna conoscere una cosa molto americana https://www.ilpost.it/2025/09/12/charlie-kirk-dibattiti-universita-stati-uniti/

        per saperne di più

      • Mementoundefined
        Memento

        Marte, segnali nascosti nel sottosuolo: lo studio che fa riflettere
        https://leganerd.com/2025/09/12/marte-segnali-nascosti-nel-sottosuolo-lo-studio-che-fa-riflettere/
        @scienza

        per saperne di più

      • L'Anarchiversitarioundefined
        L'Anarchiversitario

        Pace e giustizia climatica: settimana di azione globale dal 15 al 21 settembre 2025
        @anarchia
        Torna la Settimana di azione globale per la Pace e la Giustizia Climatica. La seconda edizione, in Italia rilanciata dalla Rete Pace Disarmo, si terrà dal 15 al 21 settembre 2025 e si occuperà dei legami tra guerra, militarismo/militarizzazione e...

        Vedi https://www.rivoluzioneanarchica.it/pace-e-giustizia-climatica-settimana-di-azione-globale-dal-15-al-21-settembre-2025/

        per saperne di più

      • Elena ``of Valhalla''undefined
        Elena ``of Valhalla''

        @Sveva_1506 @matz @adriananselmo la mia impressione è che dipenda molto da chi si segue: nella mia bolla/timeline ad esempio c'è abbondanza di cazzeggio, foto di gatti, craft vari, foto di gatti, argomenti seri, e qualche altra foto di gatti, e soprattutto ci sono un sacco di thread pieni di interazioni.

        però ho dedicato del tempo (negli anni) a seguire persone che postavano cose che mi interessavano

        (e sono su un'istanza piccola, che blocca molto poco, il che aiuta)

        per saperne di più

      • quinta - Stefano Quintarelliundefined
        quinta - Stefano Quintarelli

        Revealed: Apple is teaching its AI to adapt to the Trump era https://blog.quintarelli.it/2025/09/revealed-apple-is-teaching-its-ai-to-adapt-to-the-trump-era/

        per saperne di più

      • .mau.undefined
        .mau.

        @max può anche darsi che non sappiano dell'esistenza di Friendica. Il mio primo account federato aveva il limite di 500 caratteri (che poi per quello che scrivo sono fin troppi... Per il resto ho il blog)

        per saperne di più

      • Marco Castellaniundefined
        Marco Castellani

        Vita su Marte?

        Risposta concisa: "forse". Ecco una brevissima rassegna dei vari comunicati, con diversi gradi di "ottimismo" ...

        https://caelora.blog/post/794470391138697216/vita-su-marte

        #marte #vita #nasa #caelora

        per saperne di più
      • Accedi

      • Accedi o registrati per effettuare la ricerca.
      Powered by NodeBB Contributors
      • Primo post
        Ultimo post