[O] org-drill: remove duplicates

2014-06-09 Thread Dennis Yurichev
Hi.

I just started using org-drill, which is seems pretty good.
One thing I noticed at first: are there a way to remove duplicates which 
will inevitably be added into the file?

And/or: it's possible to sort all entries in org-file by, let's say, ** 
English heading?

I've something like...

==
* Word
** English
english word 2
** Russian
russian word 2

* Word
** English
english word 1
** Russian
russian word 1
==

It's possible to sort file so that's entry with english word 1 
will be at top?

-- 
-- http://yurichev.com



[O] (MobileOrg) automatic pulling

2012-05-27 Thread Dennis Yurichev
Hi.

This question is probably boring as... so excuse me in advance!
I want to run org-mobile-pull command after I turn on org-mode in emacs.
I wrote this in emacs config:

(defun org-my()
(interactive)
(find-file R:/Dropbox/orgmode/agenda.org)
(org-mobile-pull)
)

But org-mobile-pull can't work, probably because buffer is not yet created?

=
Debugger entered--Lisp error: (error Selecting deleted buffer)
  org-mobile-move-capture()
  org-mobile-pull()
  org-my()
  call-interactively(org-my t nil)
  execute-extended-command(nil)
  call-interactively(execute-extended-command nil nil)
=

What should I do?

GNU Emacs 23.4.1 (i386-mingw-nt6.1.7601)