org-mode
Forum rules
Share your brain ;)
Share your brain ;)
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
org-mode
org-mode is "an Emacs Mode for Notes, Planning, and Authoring". It can actually solve hundreds of problems, as also mentioned in http://www.linuxbbq.org/bbs/viewtopic.php?f=7&t=2552
A nice video on org-mode basics:
https://www.youtube.com/watch?v=SzA2YODtgK4
The manual:
http://orgmode.org/org.html
A quick guide:
http://orgmode.org/guide/
This thread is for questions like "can I do ... in org-mode, and if yes, how?"
If you want to share your workflow, please do so.
A nice video on org-mode basics:
https://www.youtube.com/watch?v=SzA2YODtgK4
The manual:
http://orgmode.org/org.html
A quick guide:
http://orgmode.org/guide/
This thread is for questions like "can I do ... in org-mode, and if yes, how?"
If you want to share your workflow, please do so.
..gnutella..
- wuxmedia
- Grasshopper
- Posts: 6454
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: org-mode
nice vid. answered my question(s) already.
Re: org-mode
the more i read, the more i get the feeling that the question "can i do ... in org-mode" should probably just be answered "yes".
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.
- wuxmedia
- Grasshopper
- Posts: 6454
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: org-mode
the video is pretty much that.
"if you can think it, someone's made a mode or key combo for it"
"if you can think it, someone's made a mode or key combo for it"
- franksinistra
- Ivana Fukalot
- Posts: 1093
- Joined: Mon Jan 27, 2014 2:03 am
- Location: 印尼国
Re: org-mode
Can i haz code in obscure language and have emacs org-mode highlights it as would $POPULAR_IDE ? and formats/aligns the spacing as well?
Yes you can.
Yes you can.
rice no more.
Re: org-mode
@rho ... if the answer isn't "yes", it most likely will be soon.
I use it for TODO lists, with a separate archive. Everything is tagged, date stamped and associated with a project. That project can be tagged :writing:, :writing:blog:, :writing:snippets:, :writing:research:, , history:, maths:, and so on. Whenever I finish a TODO item, I archive it with tags intact, and it will usually have extra meta data, to make the archive easier to search. Everything is done in templates, so as to not having to repeat myself over and over. I do the same thing with coding. Snippets of code are tagged with meta data to make them easy to pull using helm - be it C, Ruby, C++, or whatever.
I use it as a calendar with doctors or dentists appointments, anniversaries, birthdays, etc.
I use org-mode as people would use things like MS OneNote, EverNote or any of the other note taking applications. I use it for saving links to articles I find interesting, or I have org-mode pull the entire article from a link and store that in its own heading for safe keeping. That one is still a work in progress. I use Elfeed to read RSS, and pull the article into org-mode if it's something I want to save for later.
Some things are from emacs in general, or from emacs applications, but everything touches on org-mode at some point. Because my memory is so fucking terrible, I'm currently working on being able to: a) use shazam-like application to figure out what I'm listening to on a music stream b) put the artist name and song title into an org file c) find and append a spotify/soundcloud link or alternatively a youtube link of the song to the org file. That way, whenever I hear a cool song, I can "save it" with a hotkey and come back and listen to it again later.
That's just some of the things I use org-mode for.
Elfeed: https://github.com/skeeto/elfeed
... Gekko already told you about elfeed as well: http://linuxbbq.org/bbs/viewtopic.php?p=27333#p27333
I use it for TODO lists, with a separate archive. Everything is tagged, date stamped and associated with a project. That project can be tagged :writing:, :writing:blog:, :writing:snippets:, :writing:research:, , history:, maths:, and so on. Whenever I finish a TODO item, I archive it with tags intact, and it will usually have extra meta data, to make the archive easier to search. Everything is done in templates, so as to not having to repeat myself over and over. I do the same thing with coding. Snippets of code are tagged with meta data to make them easy to pull using helm - be it C, Ruby, C++, or whatever.
I use it as a calendar with doctors or dentists appointments, anniversaries, birthdays, etc.
I use org-mode as people would use things like MS OneNote, EverNote or any of the other note taking applications. I use it for saving links to articles I find interesting, or I have org-mode pull the entire article from a link and store that in its own heading for safe keeping. That one is still a work in progress. I use Elfeed to read RSS, and pull the article into org-mode if it's something I want to save for later.
Some things are from emacs in general, or from emacs applications, but everything touches on org-mode at some point. Because my memory is so fucking terrible, I'm currently working on being able to: a) use shazam-like application to figure out what I'm listening to on a music stream b) put the artist name and song title into an org file c) find and append a spotify/soundcloud link or alternatively a youtube link of the song to the org file. That way, whenever I hear a cool song, I can "save it" with a hotkey and come back and listen to it again later.
That's just some of the things I use org-mode for.
Elfeed: https://github.com/skeeto/elfeed
... Gekko already told you about elfeed as well: http://linuxbbq.org/bbs/viewtopic.php?p=27333#p27333
Last edited by slartie on Mon May 23, 2016 3:16 pm, edited 2 times in total.
Reason: Adding links to stuff mentioned is helpful!
Reason: Adding links to stuff mentioned is helpful!
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: org-mode
^ I never could get on with memacs, but hell it might be the right fit for some people. Good recommendation.
Re: org-mode
Not that I see the real advantages of this, but just to get an idea of the power of this little thingy called org-mode. You can write your Emacs init file in org:
Just put this in your init.el or .emacs:
And then hack away in your settings.org:
Many go this way looking for literate programming. I am too old school for this and prefer my regular elisp. But yeah, you get the idea.
Just put this in your init.el or .emacs:
Code: Select all
(require 'org)
(org-babel-load-file
(expand-file-name "settings.org"
user-emacs-directory))
Code: Select all
* Turn off menu bar
#+BEGIN_SRC emacs-lisp
(menu-bar-mode -1)
#+END_SRC
Re: org-mode
As mentioned in the video, literate programming is great for learning, but as an everyday emacs user, I would echo @gekko in that it doesn't feel all too advantageous. I guess having a descriptive headline rather than just a function name is neat, but if you're immersed in emacs daily you know the functions anyway.
- wuxmedia
- Grasshopper
- Posts: 6454
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: org-mode
well I downloaded the emacs.
got to get used to the ole wacky key chords now.
Evil mode might be handy, although bash readline defaulting to emacs might be enough of a gateway.
got to get used to the ole wacky key chords now.
Evil mode might be handy, although bash readline defaulting to emacs might be enough of a gateway.
Re: org-mode
Very early on, I used evil mode, but I wound up removing it again fairly quickly. The problem is that you end up with a mix of keyboard shortcuts that, in my experience at least, do more harm than good. Once you get the emacs C-x M-x convention under your skin, they do make a lot of sense. If you also mix in a bunch of single letter out-of-nowhere shortcuts, muscle memory sort of falls apart. Again, this was my experience. Mileage varies and all that.
Re: org-mode
^^ If you want my advice: stick with Emacs default and get yourself familiar with org-mode. Go easy on the customization, at first. Plenty of time for the marvel later.
- wuxmedia
- Grasshopper
- Posts: 6454
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: org-mode
I know what you mean.
I just don't want to be driving a car (emacs) into work, then driving a lorry (vim) all day.
Although Rusty does ok. :)
I just don't want to be driving a car (emacs) into work, then driving a lorry (vim) all day.
Although Rusty does ok. :)
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: org-mode
The "advanced" keybinding things (whatever they are) are secondary when you are using org-mode only. If you have the GTK or Lucid version (but even the CLI version), there's F10 for the pop-down menu and you can click to get the more advanced things you don't remember.
Generally, org-mode has the prefix C-c, so if you just start typing in a document.org file, you actually only need to remember the few org-mode commands (depending on your needs), everything else is in the manual which I would recommend to store on the computer and open it in the background.
There's also no real need to create a big .emacs file, I'd only put the stuff there that controls the header (tags, options) for your org-files.
Use evil mode if you feel comfortable with it (I don't), there's no right and wrong way, especially if you really only work with the very basic things like cut/yank/visit file/save and quit. Also good remember how to search (C-s) inside of a document, yeh.
OTOH, these are not really hard to memorise. Give yourself 3 days and you're set.
Generally, org-mode has the prefix C-c, so if you just start typing in a document.org file, you actually only need to remember the few org-mode commands (depending on your needs), everything else is in the manual which I would recommend to store on the computer and open it in the background.
There's also no real need to create a big .emacs file, I'd only put the stuff there that controls the header (tags, options) for your org-files.
Use evil mode if you feel comfortable with it (I don't), there's no right and wrong way, especially if you really only work with the very basic things like cut/yank/visit file/save and quit. Also good remember how to search (C-s) inside of a document, yeh.
OTOH, these are not really hard to memorise. Give yourself 3 days and you're set.
..gnutella..
- wuxmedia
- Grasshopper
- Posts: 6454
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: org-mode
OK well, it's a bit like swimming with my clothes on. but the info here:
http://linuxbbq.org/bbs/viewtopic.php?f ... t=0#p54769
has helped it make a bit of sense. whacky key binds aren't all that bad, holding down ctrl- 'c' then 't' is fine, always thought it was c-c *off* c-t
might end up giving them F keys or something.
Might make more sense to have individual contact files, with notes, reffed to the ticket?
http://linuxbbq.org/bbs/viewtopic.php?f ... t=0#p54769
has helped it make a bit of sense. whacky key binds aren't all that bad, holding down ctrl- 'c' then 't' is fine, always thought it was c-c *off* c-t
might end up giving them F keys or something.
Might make more sense to have individual contact files, with notes, reffed to the ticket?
- wuxmedia
- Grasshopper
- Posts: 6454
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: org-mode
So i'm doing this, as a link, I mean it works I'm not going to have a million clients.
* TODO Transfer Domains for Jimbob: file:~/orgy/##contacts.org##::Jimbob back on 6th June
Is there a way for that to be inline, surrounded by [[link:]linktext] IIRC?
so - subheadings, cool.
** TODO Get both IPS tags changed - TUCOWS-CA. website1.co.uk website.co.uk
** TODO Create zone file for them.
** TODO make sure if there is email or not.
** TODO Migrate to blade
emails have become a complete mess, so this is really needed - just to store the creds with the customer.
* TODO Transfer Domains for Jimbob: file:~/orgy/##contacts.org##::Jimbob back on 6th June
Is there a way for that to be inline, surrounded by [[link:]linktext] IIRC?
so - subheadings, cool.
** TODO Get both IPS tags changed - TUCOWS-CA. website1.co.uk website.co.uk
** TODO Create zone file for them.
** TODO make sure if there is email or not.
** TODO Migrate to blade
emails have become a complete mess, so this is really needed - just to store the creds with the customer.
Re: org-mode
You can type C-c C-l (Ctrl-c Ctrl-) to insert a link and its description.