you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 7 months ago (2 children)

Emacs makes a better row counter than basically anything else.

You mean like wc -l?

  • source
  • parent
  • hideshow 4 child comments
  • [–] 4 points 7 months ago (1 child)

    No, for knitting xD At this point I do an org-mode list of every row in the pattern with checkboxes, then tick them off as I do them. Way nicer, especially for patterns you have to reference multiple parts at the same time for

  • source
  • parent
  • hideshow 2 child comments
  • [–] 3 points 7 months ago (1 child)

    Wait, you're serious? You use emacs for knitting patterns? Fascinating.

    I have no real interesting in knitting, but I would be interested in seeing this workflow.

  • source
  • parent
  • hideshow 2 child comments
  • A screenshot of the first chunk of a knitting pattern in the Orgzly app, pattern to follow in a code block The screenshot is in orgzly, but this is the actual file that I use. The source looks basically identical:

    1. [X] CO160 (tail on right)
    2. [X] b5vE, WT
    3. [X] b3vE, WT
    4. [X] b3vE, WT
    5. [X] b4vE, WT
    6. [X] 2, FW
    7. [X] Field 1 [31/31]
       1. [X] 40, WT
       2. [X] 21, WT
       3. [X] 2, WT
       4. [X] 4, WT
       5. [X] 6, WT
       6. [X] 8, WT
       7. [X] 10, WT
       8. [X] 12, WT
       9. [X] 14, WT
       10. [X] 16, WT
       11. [X] 18, WT
       12. [X] 20, WT
       13. [X] 22, WT
       14. [X] 23, WT
       15. [X] 24, WT
       16. [X] 26, WT
       17. [X] 28, WT
       18. [X] 30, WT
       19. [X] 32, WT
       20. [X] 34, WT
       21. [X] 36, WT
       22. [X] 34, WT
       23. [X] 32, WT
       24. [X] 29, WT
       25. [X] 26, WT
       26. [X] 23, WT
       27. [X] 20, WT
       28. [X] 17, WT
       29. [X] 15, WT
       30. [X] 13, WT
       31. [X] 26, WT
    

    Just hit C-c C-c when the row's done to mark it. It took me about 30 minutes to get the file set up, mostly because there are 45 sections like the "Field 1", most patterns would just go straight through to whatever the final row is. Plus the pattern's split into 3 columns, and a PDF, which is notoriously painful to convert to anything.

    But yeah, no fancy configs, just basic org-mode functionality. I don't code much at all, I just use org-mode because it's been the best PKM tool I've found for myself.

    If anyone's curious about the pattern, it's the Phoenix Wing Shawl by Nadine Schwingler on Ravelry

  • source
  • parent
  • [–] 1 point 7 months ago (1 child)

    Not sure if they meant column counter since you can easily get that too with Ctrl+x = if your cursor is over a character.

    Line counts appear at the bottom of the emacs window by default but has a limit where it stops incrementing somewhere in the 10,000s. Also would be slower to return a value since it needs to open the file to get the count, unlike wc -l which is virtually instantaneous.

  • source
  • parent
  • hideshow 2 child comments