News for hackers. Stuff that matters.
Re:Why every programmer should have a Tiddlywiki by agentultra on Monday August 22, 2011 @04:48PM (#2914052)
Another vote for .org files.

http://orgmode.org/

Of course not being an emacs user may make editing org mode files a little difficult. However, any system will do as long as its consistent. If not org-mode; txt2tags, markdown, etc can also serve in a pinch.

I think plain text is the de-facto universal format. There's also no restriction on presentation and interface. Your choice of tools are pretty wide open with plain text.

Re:Why every programmer should have a Tiddlywiki by josephkern on Monday August 22, 2011 @05:02PM (#2914102)
Orgmode also has an amazing extension babel, which allows Literate Programming (or just inserting code snippets).

Using the #+BEGIN_SRC <mode-name> tag will also allow you to edit any code snippet in its own major mode.

Re:Why every programmer should have a Tiddlywiki by Estragon on Monday August 22, 2011 @09:16PM (#2914897)
Not working for me. What version of org-mode?
Re:Why every programmer should have a Tiddlywiki by TeMPOraL on Tuesday August 23, 2011 @01:52AM (#2915523)

  #+begin_src lisp
  (defun botsbuildbots () (botsbuildbots))
  #+end_src
Try moving your point to (defun... and pressing << C-c ' >>. It should work with org-mode bundled in Emacs 23; if not, you can get the newest version from http://orgmode.org.

With org-babel enabled, you can actually run this code, or use it in literate-programming style to write programs.

Re:Why every programmer should have a Tiddlywiki by pietrofmaggi on Tuesday August 23, 2011 @02:52AM (#2915649)
One think that you can do in the latest orgmode, is to write code snippets in the org documents, extract the code, compile it (if needed, like for C code), run it, and insert the result back into the org document.

This is really nice for writing code example.

Re:Why every programmer should have a Tiddlywiki by cksk on Monday August 22, 2011 @05:20PM (#2914169)
org-mode alone makes it worth dropping any other text editor in favor of Emacs. It's that good. It's that impressive. Really.
Re:Why every programmer should have a Tiddlywiki by rsaarelm on Tuesday August 23, 2011 @05:22AM (#2915947)
It actually does. I used Vim for 6 years, then switched over to Emacs just so that I could do stuff with org-mode.
Re:Why every programmer should have a Tiddlywiki by eropple on Monday August 22, 2011 @05:46PM (#2914266)
Vimwiki does an essentially equivalent thing, and there are numerous other tools for other environments. Your favored tool is really not that special. Sorry. =)

(Me, I just use Dropbox and vimwiki, and occasionally push it to a private Hg repo on BitBucket.)

Re:Why every programmer should have a Tiddlywiki by subsection1h on Monday August 22, 2011 @06:43PM (#2914465)

  Your favored tool is really not that special. Sorry. =)
Vimwiki isn't in the same league as Org mode. Sorry. For example, how can I create and edit spreadsheets using Vimwiki?

Read the entire manual to understand Org mode's power. It has no equivalent that I know of, and I searched thoroughly before giving up and learning Emacs.

http://orgmode.org/manual/

Re:Why every programmer should have a Tiddlywiki by eropple on Monday August 22, 2011 @07:52PM (#2914694)
I've read it. Hell, I've used it, before I discarded emacs. Perhaps I should amend it with "unless you want to bend one tool to do the job of the others". Which I guess is half the point of emacs in general, so I apologize and retract my statement--it's quite special.
Re:Why every programmer should have a Tiddlywiki by xyzzyz on Monday August 22, 2011 @06:05PM (#2914338)
Have you actually used org-mode to say that these are "essentially equivalent", or do you just say this because your favored tool cannot possibly be worse than someone else's favored tool?

From what I've seen, vim people generally are not really interested in creating enormous extensions as the emacs people are, so if they actually created something similar in power and complexity, I would be really surprised and impressed.

Re:Why every programmer should have a Tiddlywiki by greyfade on Monday August 22, 2011 @07:08PM (#2914540)
Sorry, I can't. I've tried, but I can't quite grok Emacs. I tried to for org-mode, because I need just such a tool.

But after using VimOrganizer and looking at vim-orgmode (both of which claim to be replacements), I'd just as soon settle for something else.

Re:Why every programmer should have a Tiddlywiki by cksk on Monday August 22, 2011 @10:35PM (#2915096)
I really think Emacs is much easier to figure out than it looks. Meaning: you probably already grok it, but you _think_ you don't because it's Emacs, damn it!, it's supposed to be hard and complex and bend the fabric of space and time!

But its essence is actually quite simple: it's a toolbox for all things text. Not a _tool_, mind you; a toolbox. It _contains_ tools. Lots and lots of them. Oh, and it has funny keyboard shortcuts.

So here is Emacs in a nutshell:

1. "find-file" is a function;

2. you can "M-x any-function" to invoke it;

3. you can assign a shortcut like "C-x C-f" to any function;

4. you can define your own functions in the same language Emacs itself is written (i.e., you can really extend Emacs, not only call some simpleton API);

5. you customize Emacs' settings and behaviors by changing some variables ("please highlight the line the point is currently on").

That's pretty much it. Yes, there is a mountain of functions and variables and modes that are complicated and interconnected and you _will_ spend some time configuring everything. But the gist, the essence, the core -- that's it. You've already grokked Emacs. Now you can learn one function at a time and extend your knowledge of it little by little. It doesn't have to be more complicated than that.

The modes? Well, remember, Emacs is a toolbox. Each mode is a tool, specialized in some area of the Great Forest of Text Editing. There's a mode that will help you save keystrokes (yasnippet); there's a mode that will help you write code in the language X (x-mode); there's a mode that will help you open files and buffers easily (ido, anything); there's a mode that will help you with your todos and prose-like text (org-mode).

Regarding org-mode specifically: you can spend weeks using only ONE shortcut, Shift-TAB, and already it will be extremely useful. Then you'll wish for some feature (like adding tags to headlines), and you'll find that it's already implemented. And that pattern will repeat, and repeat, and soon you'll be using lots of advanced features, and you won't even notice, because it'll have become a natural thing.

I hope this makes sense. And, just to be clear: I know a size does not fit all. I did not write this to say "everyone should like Emacs, look, I proved it". This is just my experience with it. I hope it's useful to someone.

Re:Why every programmer should have a Tiddlywiki by eru on Monday August 22, 2011 @08:48PM (#2914817)
There's also an outline mode for vim.
Re:Why every programmer should have a Tiddlywiki by MaximKim on Thursday August 25, 2011 @02:28AM (#2923967)
Even if it hurts your wrists? 'Good habits' of Emacs alone makes it worth dropping it for any other text editor.
Re:Why every programmer should have a Tiddlywiki by aklemm on Monday August 22, 2011 @08:45PM (#2914812)
What is the best way to use/access information from org-mode using a smart phone (iPhone, specifically, but Android solutions will be interesting to know too)?
Re:Why every programmer should have a Tiddlywiki by owenmarshall on Monday August 22, 2011 @08:55PM (#2914833)
Check out MobileOrg (http://mobileorg.ncogni.to/)

You can point it to an .org file on Dropbox or on your own server.

Re:Why every programmer should have a Tiddlywiki by johnpaulett on Monday August 22, 2011 @09:06PM (#2914857)
+1 on MobileOrg.

There is an Android port (https://github.com/matburt/mobileorg-android/wiki/) that is nearly identical to the iOS version as far as I can tell from using them both.