[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Organize Your Life In Plain Text!

From: Carsten Dominik
Subject: Re: [Orgmode] Organize Your Life In Plain Text!
Date: Fri, 8 May 2009 18:19:32 +0200

On May 8, 2009, at 5:32 PM, Eric Schulte wrote:

Carsten Dominik <address@hidden> writes:

On May 8, 2009, at 3:46 AM, Eric Schulte wrote:

Good idea, I will certainly follow this repository.

I have a snippet suggestion.

File completion for [[file:... links. I don't know if it's possible,
but I would find it very helpful

What is wrong with `C-u C-c C-l' ?

Ah! I wasn't aware of that keybinding.  Thanks for the pointer.

Overuse of yasnippets has me hitting the tab key whenever I want any
kind of completion.  I just added the following to my org config which
should help.

--8<---------------cut here---------------start------------->8---
(defun org-insert-link-maybe ()
 "insert a file link depending on the context"
 (let ((case-fold-search t))
(if (save-excursion (re-search-backward "[[:space:]]") (forward- char 1) (looking-at "\\[?\\[?file:"))
       (progn (replace-match "") (org-insert-link '(4)) t)

(add-hook 'org-tab-first-hook 'org-insert-link-maybe)
--8<---------------cut here---------------end--------------->8---


- Carsten

Thanks -- Eric


- Carsten

Cheers -- Eric

Rick Moynihan <address@hidden> writes:

Cool... I've created a project on github for org-mode specific


I've implemented most of the easy org-mode #+ blocks, though it is by
no means complete.  I also suspect there might be more we can do to
leverage yasnippet...  For example It'd be *really* nice to offer
completion on command line arguments to ditta... Ideally this could
done through some embedded elisp that ran a ditta command to dump its
command line arguments into the snippet... I don't know how much of
this is possible.

I'd like to focus here on snippets which make sense for everyone, so snippets for personal project outlines etc... are probably best left
out in favour of standard org-mode constructs.

I've not had chance to test these snippets out yet, so I don't know
they're bound to logical names.  If you or the org-mode community
up with any more snippets or suggestions, I'll be happy to merge them
into this project.

Anyone wishing to add snippets can either fork the project on github and issue a pull request, or simply email the snippet to me with the
suggested trigger text.


2009/5/7 Jonathan Arkell <address@hidden>:
Here are a few of my snippets:

#name : Properties Folded
#contributor : Jonathan Arkell <address@hidden>
# --

#name : Meeting
#contributor : Jonathan Arkell <address@hidden>
# --
**** Attendees
   - $1
**** General Notes
   - $2
**** Generated Tasks
**** Open Questions

#name : Project Page
#contributor : Jonathan Arkell <address@hidden>
# --
#+FILETAGS: :project:
* $1                                                 :project:$2
** Status                                              :$3:
** Milestones
** Jira#
** People
** Links
*** Files
*** Client Work
*** URLs
** Tasks
** Meetings
** Notes

#name : Source Code Block
#contributor : Jonathan Arkell <address@hidden>
# --
#+BEGIN_SRC $1$>

All my other templates are very specific to my job/role.

-----Original Message-----
From: address@hidden
] On Behalf Of Bernt Hansen
Sent: May 7, 2009 12:44 PM
To: Rick Moynihan
Cc: address@hidden
Subject: Re: [Orgmode] Organize Your Life In Plain Text!

Rick Moynihan <address@hidden> writes:

2009/5/7 Bernt Hansen <address@hidden>:
Wow, Bernt!  This is awesome!!! :-) I'm sure it'll be food for
for most of us!

Thanks :)

So far I've only skimmed it, but want to take a more indepth look
porting some of your ideas into my (far more limited) workflow.

My only comment so far is that the keybindings table might be
sorted by 'Used' frequency, so it's easier to see at a glance which
keybindings you find most useful.


I finally managed to look at yasnippet myself yesterday, and
found it
to be an awesome edition for any emacs user...  Naturally one of
first things that occured to me was combining it with org- mode. To
this end, I was wondering whether you have an org-mode snippet
setup. If so, I'd be curious to know what snippets you've defined.

The only snippet I'm using right now that is org-mode related is the
block snippet I stole from Eric :).  I've included it in the
Productivity Tools section
(http://doc.norang.ca/org-mode.html#ProductivityTools) which I'll
on in the future.

I'm still pretty new to yasnippet too but I'm not going back to
without it :).


Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.

The information contained in this message is confidential. It is
intended to be read only by the individual or entity named above
or their designee. If the reader of this message is not the
intended recipient, you are hereby notified that any distribution
of this message, in any form, is strictly prohibited. If you have
received this message in error, please immediately notify the
sender and delete or destroy any copy of this message.

Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]