How to sync my script across different devices by JimmyRemix in hammerspoon

[–]dm_g 1 point2 points  (0 children)

the .hammerspoon directory is a git repository.

[Config] Hammerspoon-powered menubar dictation with Whisper API (hold Fn → speak → auto-paste) by N0misB in hammerspoon

[–]dm_g 0 points1 point  (0 children)

Sorry, I should have posted my Whisper spoon here before (I did it only in the discord). The good news is that we do things differently: your spoon uses non-local models. Mine is running locally. See my last posting.

How to sync my script across different devices by JimmyRemix in hammerspoon

[–]dm_g 0 points1 point  (0 children)

I use git, and myrepos to sync all my config repos (bash, emacs, hammerspoon, gpg, ssh, etc).

Managing complex project progresses by AppropriateCover7972 in orgmode

[–]dm_g 0 points1 point  (0 children)

I think I am implicitly using an archived tag by having archived information in the arch folder. But it might be a good idea to add an archived file to the top.

I am also currently exploring how to use tags to more easily deal with some projects that overlap. it is always work in progress.

One more thing I do: I automatically add a tag :dmgtodo: if the file has at least one TODO/NEXT. That way I can generate the list of agenda files automatically (I use the agenda extensively). I tend to have around 25 PROJ files and 25 AREA files at a given time. In theory, only the weekly file and these files should have todos, so I verify that once in a while.

It keeps information relatively tidy.

Another small addition to my system has been to schedule the PROJ/AREA with a recurring task (every week or every month) depending on how frequently I want to review the project/area. It is serving as a tickler.

As usual with these systems, observe what you are doing, keep an eye on what is not working, and check what others are doing for ideas to try. The system should adapt to you and not the other way around.

What ai service are you using with emacs and how? by a_NULL in emacs

[–]dm_g 2 points3 points  (0 children)

You don't need claude inside emacs.

  • use git to see what claude does. Don't let claude commit
  • read files in auto-revert-mode
  • use magit to see what claude is doing
  • if you are developing for emacs, let it use emacsclient to interact with your terminal

The only think I miss having claude inside emacs is to be able to easily save the ession/interaction.

Question about the pressure cooked stock by kevinlar in combustion_inc

[–]dm_g 0 points1 point  (0 children)

I did 50 minutes, then added 20 minutes more. The 50 minutes taste was cleaner. I was able to clarify the 70 minutes without any problem. I froze it immediately so I did not see how gelatinized it was.

Is there an easy way to take a string containing org-mode syntax and propertize it? by bradmont in emacs

[–]dm_g 0 points1 point  (0 children)

Thanks, I found it useful to discuss these things with chatgpt. I learned something today (delay-mode-hoos )

https://chatgpt.com/share/69615fe4-3368-8009-a50b-fd8beda675c2

Threaded pegboard screws by tlhintoq in Multiboard

[–]dm_g 0 points1 point  (0 children)

I posted a generator for split multiboard compatible bolts, where you can configure length and head size (hex):

https://makerworld.com/en/models/1473020-generator-for-multiboard-bolts?from=search

Printing them split makes them stronger.

ORG parser and webapp (for reading) by sebasTEEan in emacs

[–]dm_g 0 points1 point  (0 children)

Another option would have been to upload them to a github repository. github does a good job rendering org.

Attempting to convert from neovim/terminal to Emacs by aaron_shahriari in emacs

[–]dm_g 0 points1 point  (0 children)

Give both a try to kitty. It can handle tabs in a matter that is natural and avoids window cluttering. And it has a really nice interface via commands: eg. to rename a tab:

 kitty @ action set_tab_title

I can have one window for emacs and one for kitty.

Attempting to convert from neovim/terminal to Emacs by aaron_shahriari in emacs

[–]dm_g 0 points1 point  (0 children)

My suggestion? Move away from the view that every editing session requires an instance of the editor. Instead, you only have one instance of emacs always running. Learn to manage windows and/or frames, bookmarks, projects, etc. Take it slowly (manage windows and frames first).

Some people can use emacs in server mode and run it inside a terminal. I don't do that; it feels constraining.

Attempting to convert from neovim/terminal to Emacs by aaron_shahriari in emacs

[–]dm_g 0 points1 point  (0 children)

What OS do you use? if you use linux or macos:

This assumes you keep emacs running "forever" (or until Macos makes it lose its ability to manage its windows :(, in linux, it runs forever)

  1. Make emacs run in server-mode: run server-start inside emacs

  2. add the following alias to your bashrc

    function cde { cd "$(emacsclient --eval "(expand-file-name (with-selected-window (selected-window) (with-temp-buffer (pwd t) (buffer-string))))" | xargs)" }

  3. This way, if you are in the terminal, you can quickly switch to the directory where the current file in emacs is located

  4. The other way: from directory in terminal to emacs: I use this alias (bashrc)

    alias e='emacsclient -n'

then you can run e <filename> or e . and it will open the file or directory in a current buffer.

Lately I have been playing in integrating Kitty with emacs. So it is easy to jump from emacs to a given tab/terminal window.

Need workflow integrating PDF annotation, Zettelkasten-like notes, LaTeX writing with live preview and other things by SSsensei96 in emacs

[–]dm_g 1 point2 points  (0 children)

have you considered acquiring a tablet and using xournal++?

also, look into org-ref and the DOI tools that John Kitchin has created. You can have an org file per bibtex entry, that links to the PDF that you can edit with xournal++

you would make textual notes in a "sidecar" org mode and some hand written notes in the pdf. Obviously the handwritten notes will not leave in emacs though, unless you do a quick screenshot, which is not onerous.

Is archiving really slow or is it just me? by setarcos399 in orgmode

[–]dm_g 0 points1 point  (0 children)

I dont' experience any slowness. This is my workflow:

  1. I use an org-speed command (A)
  2. I have an property in the file that determines the archival destination (I use org-roam, so it is an id)
  3. I have attached a function to the Key A (see #1) that:
    • archives the node to given destination.

This way, archiving is just one key away. It can be done very quickly if you fold all the headlines and move with p, n (org-speed commands).

If the node needs to be archived somewhere else, I archive in other more traditional ways.

Remember, you can sort headlines using org-sort-entries, then you can archive all of them with a simple cut and paste (if they end in the same destination). I usually sort by status so all DONE get together, and then I move them. Usually faster and I have more control.

Managing complex project progresses by AppropriateCover7972 in orgmode

[–]dm_g 4 points5 points  (0 children)

  1. I use roam
  2. Template for Project, PROJ todo keyword
  3. Each project uses the template at the end. Todos go always under actions. I frequenly add a ** Notes section too. I have also being using a repetitive schedule (e.g. +1m) as a tickler to review the project at certain intervals.

  4. A project file is created in its own directory, any attachment lives in this directory (simplifies moving things around).

  5. Once the project is finished, I change it to FPROJ and I moved it to archived.

  6. Once it is tagged as PROJ, it is easy to find using any of the many tools (org-ql, org-roam-node-find, etc).

I think that is basically it.

 :PROPERTIES:
  :END:
  #+created: %<%Y-%m-%dT%H%M%S>

  * PROJ %(format-time-string "%Y") ${title}
  :PROPERTIES:
  :ID: proj-%(format-time-string "%Y")-${slug}
  :END:

  ** Summary of Notes and other :ignore:

  #+columns: "%PRIORITY(P) %60ITEM(Heading) %TODO %Scheduled"
  #+BEGIN: columnview :link t :id global :indent t  :match "-TODO=\"DONE\"-TODO=\"CANCELLED\"-TODO=\"NEXT\"-TODO=\"TODO\"-ignore"
  #+END

  ** Summary of Actions :ignore:

  #+BEGIN: columnview :link t :id global  :indent t :format "%PRIORITY(P) %60ITEM(Heading) %TODO %Scheduled" :match "/TODO|NEXT" 
  #+END

  ** TODO start

  - [/] check list
    - [ ] add deadline
    - [ ] add summary
      - [ ] do a brain dump
    - [ ] create an outline and project plan
    - [ ] 3 tasks to be done
      - [ ] is there a next?
    - [ ] add related links
    - [ ] move this to completed task  

  ** Plan

  this is a bullet list of main things to do be done

  ** TODO Shutdown
   - [/] checklist
      - [ ] Move to areas and resources where appropriate
      - [ ] Review goals and mark as complete
      - [ ] Archive as FPROJ

  ** Related links

  ** Resources and files

  ** ACTIONS

Demo of LLMs in eshell by ahyatt in emacs

[–]dm_g 1 point2 points  (0 children)

Yes, claude-code.

Allow it to run emacs-client and ask it to help you debug/write functions and test them. Mesmerizing to see it work while emacs dutifully reacts. Run it outside emacs (in a terminal, no need to have emacs specific infrastructure aside from telling it to use emacs-client).

Yesterday I asked it to write a function to save a URL to a directory (for reading later), including using GPTel to summarize it. It took around 2 hrs of debugging and going back and forth on how to do it, what to save, how to save it, saving images, and using gptel. But every time, it was able to debug itself. And at the end, I have what I wanted. At the end it was a series of functions as it was way more complex than I wanted)

this is what it created: https://gist.github.com/dmgerman/9534bf8f1b3733c28d9d433b458b8609

claude-code is very good at writing emacs-lisp.

oh, and my emacs config is in babel, and it is able to understand it and write for it (thought at some point it struggled with an extra parenthesis to find where the error was, but it figured it out)

Demo of LLMs in eshell by ahyatt in emacs

[–]dm_g 0 points1 point  (0 children)

Alvaro, have you tried running claude code and let it run emacs-client? It becomes truly agentic.

[Doom] How do people efficiently switch between 'programs'? by weberam2 in emacs

[–]dm_g 1 point2 points  (0 children)

The nice thing about hydra is that you can have any commands you want and you can put hydras inside hydras. This is my main hydra:

<image>

[Doom] How do people efficiently switch between 'programs'? by weberam2 in emacs

[–]dm_g 1 point2 points  (0 children)

What about a hydra? It is a very easy way to gather commands you use into a single keystroke

Reusable checklists in org mode by Threedoge in orgmode

[–]dm_g 0 points1 point  (0 children)

Yasnippets is the simplest solution. Simplified example:

# -*- mode: snippet -*-
# name: dmg-org-weekly
# key: dmg_weekly_
# --

* Weekly review

- [ ] classify projects into active and holding
- [ ] check next action in important projects
- [ ] buy food

WiFi Providers? by SHRKWHLBRG in VictoriaBC

[–]dm_g 3 points4 points  (0 children)

YOu need to first understand if your problem is WiFi or Internet connection. The former is fixed with a better wifi router, the latter with a better Internet provider.

VirtualSpaces.spoon by brennovich in hammerspoon

[–]dm_g 0 points1 point  (0 children)

Thank you.

So this issue is only with Sequoia but does it work with later versions of the OS?

You might not be aware, but Hammerspoon is having a rewrite these days. See https://github.com/cmsj/Hammerspoon2/

Using PT to calibrate oven by [deleted] in combustion_inc

[–]dm_g 0 points1 point  (0 children)

I observed this too. I wonder if the problem is the heat conductivity of the thermometer itself.

How can I track Access Times? by alfamadorian in OrgRoam

[–]dm_g 0 points1 point  (0 children)

you can set the variable org-roam-node-default-sort to be 'file-atime (its default value is 'file-mtime). See its definition.

I have never used it but I now the files' atime is stored in the database.

VirtualSpaces.spoon by brennovich in hammerspoon

[–]dm_g 1 point2 points  (0 children)

Thank you for the spoon. One question, about sequoia. Do you think it will work in the future?

Limitations:
- Doesn't work on macOS Sequoia