Re: [O] Weird behavior in `org-agenda-redo' and/or `org-mobile-push'

2014-11-30 Thread Konstantin Kliakhandler
Dear Bastien, Would you please consider incorporating my patch (or reimplementing it)? As it stands, the problem I described earlier (agenda buffer gets screwed up after org mobile push) persists and I need to repatch on every new version I install. I will also look into the FSF papers myself.

Re: [O] Weird behavior in `org-agenda-redo' and/or `org-mobile-push'

2014-05-22 Thread Bastien
Hi Konstantin, Konstantin Kliakhandler ko...@slumpy.org writes: I also fixed the problems in both org-agenda.el and am including the patch. Thanks for the patch -- I applied the part that I understand: http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=445a8ec6 As for the other part, can

Re: [O] Weird behavior in `org-agenda-redo' and/or `org-mobile-push'

2014-05-22 Thread Konstantin Kliakhandler
Hi Bastien, I'm willing to sign the FSF copyright papers, provided it isn't too big of a hassle :-). What do I need to do? The problem that the other part of the patch solves is as follows: org-batch-store-agenda-views writes all agendas (according to some criteria) to disk. To do this, it

[O] Weird behavior in `org-agenda-redo' and/or `org-mobile-push'

2014-05-06 Thread Konstantin Kliakhandler
Hello, [This behavior appears in a previous and the following org versions: Org-mode version 8.2.6 (8.2.6-14-g063c8b-elpa @ /home/kosta/.emacs.d/elpa/org-20140505/)] I recently began seeing weird behavior when trying to run `org-mobile-push' in an agenda buffer; It appears the files are indeed

Re: [O] Weird behavior in `org-agenda-redo' and/or `org-mobile-push'

2014-05-06 Thread Konstantin Kliakhandler
While investigating the previous issue, I came upon this code: ;;;###autoload (defun org-store-agenda-views (rest parameters) Store agenda views. (interactive) (eval (list 'org-batch-store-agenda-views))) I guess there is some advantage over the following, simpler version? ;;;###autoload

Re: [O] Weird behavior in `org-agenda-redo' and/or `org-mobile-push'

2014-05-06 Thread Konstantin Kliakhandler
Ok, I don't know specifically why the code in the last message was necessary, but I realized the difference between the two cases (in the first case, the macro is expanded every time the function is called, whereas in the second it is expanded once, when the function is defined). I also fixed the