[HN Gopher] VS Code Org Mode
       ___________________________________________________________________
        
       VS Code Org Mode
        
       Author : spac
       Score  : 81 points
       Date   : 2022-10-15 18:22 UTC (4 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | digdugdirk wrote:
       | How does this compare to something like Dendron?
        
       | emrah wrote:
       | This is a welcome extension of course which I'm sure will improve
       | further but I've really been spoilt by the "live preview" editing
       | mode for markdown available in various tools like Slack, Obsidian
       | etc.
        
       | agumonkey wrote:
       | Gonna be fun to see how they implement it :)
        
       | johan_felisaz wrote:
       | I feel like it would have been nicer to have a perfect match with
       | orgmode syntax (e.g. they use square brackets instead of chevrons
       | for time stamps). It would make migration easier... Really
       | impressive project nonetheless!
        
         | fooofw wrote:
         | Org mode actually uses both square and angle brackets for
         | timestamps [1], but the square-ones are inactive, i.e. they
         | don't show up in the agenda view. I guess the angle ones are
         | the most useful, though.
         | 
         | [1] https://orgmode.org/manual/Timestamps.html
        
       | dang wrote:
       | Related:
       | 
       |  _Org-Mode for Visual Studio Code_ -
       | https://news.ycombinator.com/item?id=16198369 - Jan 2018 (124
       | comments)
        
       | WithinReason wrote:
       | Can someone explain to me what org mode is? Is it simply a
       | markdown editor?
        
         | medo-bear wrote:
         | Org-mode is to Markdown what JavaScript is to HTML
        
         | tehbeard wrote:
         | Kinda difficult to explain as I dropped emacs due to issues
         | with it on Windows despite enjoying org-mode.
         | 
         | The key thing is, org-mode treats data/text as a tree graph
         | programmatically, you move through headings, and properties can
         | be attached to those.
         | 
         | So a property for a deadline time can be added, and parsed, so
         | you can get a list of todos/schedule showing the headline, and
         | being able to jump to it.
         | 
         | Your api access targets these "nodes", so you are adding under
         | "journal" rather than line 674 when using the template feature
         | to quickly add entries.
         | 
         | emacs has ridiculous levels of customisation that let this data
         | structure do basically what you want or need with some
         | scripting.
        
         | emacsen wrote:
         | Explaining org-mode at this point is almost akin to explaining
         | emacs itself.
         | 
         | What is Emacs? Is it a text editor, for editing config files?
         | 
         | Is it an IDE for development? An email reader?
         | 
         | Org-Mode is a mode for Emacs that provides structure to
         | documents in such a way that it allows documents to be used for
         | many things- authorship (web sites, books, etc.) but its
         | primary use for most of us who is it is to integrate into our
         | todo management systems- allowing us to manage our tasks in a
         | way that's integrated into our work. It provides flexible,
         | queryable and programmable todo lists, document generation,
         | literate programming, spreadsheets, living documents that can
         | execute code, time tracking, and more.
         | 
         | It can also integrate with other tools, like org-roam, to
         | provide backlinks and other features, or work with tools like
         | mu4e to integrate email and todo lists in both directions.
         | 
         | In other words, it's a system for working with data/life.
        
           | comfypotato wrote:
           | eMacs is a text editor for editing your eMacs config file.
           | 
           | In all seriousness though, org changed my life. Had never
           | gotten organized before it.
           | 
           | As an added bonus, it has nice export functionality.
        
         | nextos wrote:
         | It is an extension of Emacs outline mode. Outliners are
         | hierarchical text formats. Org added many useful things to
         | outline mode: keywords, tags, timestamps, footnotes, links,
         | tables...
         | 
         | What makes Org unique is the presence of interpreters,
         | including user-defined ones, that take Org files as input and
         | do things on them.
         | 
         | A famous interpreter is org-agenda which harvests TODO
         | keywords, timestamp deadlines, etc. from different Org files to
         | generate a weekly agenda. Another one is Babel which runs
         | embedded code in Org files, i.e. a literate programming system.
         | 
         | To sum up, Org is a plain text format analogous to Markdown,
         | but with many more features and also interpreters that define
         | certain operations on them.
        
         | zelphirkalt wrote:
         | Org mode started as an Emacs only thing. Over time it has
         | evolved into a much more capable thing than markdown format.
         | One can do almost anything in the org mode format: literate
         | programming with code blocks which can be executed (org babel),
         | plain text spreadsheets, scheduling and summarizing scheduled
         | events in an agenda view, time tracking, thesis writing (it has
         | the necessary syntax for element one needs when writing a
         | thesis, unlike normal markdown), inter-document linking, and
         | probably many other things.
         | 
         | Some time ago people started slowly bringing things to VS Code.
         | Org mode syntax has also been separated out as "orgdown". Now
         | finally other editors are catching up to what has been possible
         | in Emacs for a long time using org mode. They still got a long
         | way to go, because integration of org mode things in Emacs is
         | very far ahead, but at least work is being done.
        
           | hatmatrix wrote:
           | I know there was a proposal to call the language
           | specification as "orgdown" but that has been accepted?
        
       | czechdeveloper wrote:
       | Seems abandoned and incomplete? Or what am I missing?
        
         | spac wrote:
         | The maintainer of org-mode seems interested in this project,
         | which I thought was cool.
        
       | zitterbewegung wrote:
       | VS Code is an acceptable emacs
        
         | kjhughes wrote:
         | Arguably not without a Lisp-based implementation and extension
         | language.
         | 
         | That said, as a multi-decade Emacs (and Lisp) user, I do like
         | VS Code and its JavaScript/TypeScript basis.
        
         | Buttons840 wrote:
         | You sure? I don't think VS Code is open-source (happy to be
         | proven wrong) and that's an important part of Emacs.
        
           | coldtea wrote:
           | It's not the important part of Emacs for everybody though.
        
           | [deleted]
        
           | FPGAhacker wrote:
           | https://github.com/Microsoft/vscode
           | 
           | https://github.com/VSCodium/vscodium
        
         | nickysielicki wrote:
         | Not until it gets something akin to helm/ivy/consult.
         | 
         | I like emacs and have been using it for like 8 years, and doom
         | makes my additional configuration small and manageable, but I'd
         | switch to vscode in a heartbeat if it was possible to replicate
         | basic features of an extended emacs. I just want a good editor
         | at the end of the day.
         | 
         | * wgrep is hugely useful.
         | 
         | * Fuzzy searching with orderless is unmatched in any other
         | editor. Being able to resume is hugely useful. Being able to
         | plop the results into a saved buffer is hugely useful.
         | 
         | * magit is the only way to do complicated rebases.
         | 
         | I really want to move on but until vscode fixes their search,
         | I'm stuck. I can live without a good git interface, I can't
         | live without navigating projects in a grep-oriented way.
         | 
         | Vim doesn't have this either, by the way.
        
           | peoplefromibiza wrote:
           | > magit is the only way to do complicated rebases
           | 
           | I use this
           | 
           | https://marketplace.visualstudio.com/items?itemName=kahole.m.
           | ..
        
       | nequo wrote:
       | The gifs in the README are a great idea. Makes the instructions
       | very digestible.
        
       ___________________________________________________________________
       (page generated 2022-10-15 23:00 UTC)