emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Zhichao Hong <zhichao.hong@gmail.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-mobile-push hangs
Date: Thu, 5 Nov 2009 19:48:07 -0600	[thread overview]
Message-ID: <3fea10110911051748m5dc1f23ai1a2dd1bccf86e69f@mail.gmail.com> (raw)
In-Reply-To: <3fea10110911050839j54253ef5u888d2949dc6a5209@mail.gmail.com>

I have truned on debug (debug-on-entry) to step though the
org-mobile-push.  And I found it gets into infinite loop after calling
org-save-all-org-buffers;  the completion-cancel-tooltip recursively
loops forever.

Debugger entered--beginning evaluation of function call form:
* (interactive)
* completion-cancel-tooltip()
* (lambda (&rest unused) (completion-cancel-tooltip))(10 11 0)

Hope this helps,

Zhichao Hong, CSDP
zhichao.hong@computer.org



On Thu, Nov 5, 2009 at 10:39 AM, Zhichao Hong <zhichao.hong@gmail.com> wrote:
> Here is what org bug report generated after I manually "load-library
> org-mobile" for an org buffer:
> From: Zhichao Hong <zhichao.hong@gmail.com>
> To: emacs-orgmode@gnu.org
> Subject: Org-mode version 6.32b; org-mobile-push hangs
> --text follows this line--
>
> Remember to cover the basics, that is, what you expected to happen and
> what in fact did happen.  You don't know how to make a good report?  See
>
>     http://orgmode.org/manual/Feedback.html#Feedback
>
> Your bug report will be posted to the Org-mode mailing list.
> ------------------------------------------------------------------------
>
>
>
> Emacs  : GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600)
>  of 2009-07-29 on SOFT-MJASON
> Package: Org-mode version 6.32b
>
> current state:
> ==============
> (setq
>  org-log-done '(done)
>  org-agenda-files '("~/notes/gtd.org" "~/notes/work.org"
>                    "~/notes/personal.org" "~/notes/journal.org")
>  org-after-todo-state-change-hook '(org-clock-out-if-current)
>  org-protocol-project-alist '(("http://localhost/org/" :base-url
>                               "http://localhost/org/" :working-directory
>                               "c:/zhong/notes/" :online-suffix ".html"
>                               :working-suffix ".org")
>                              )
>  org-export-preprocess-hook '(org-export-blocks-preprocess)
>  org-mobile-inbox-for-pull "~/notes/from-mobile.org"
>  org-tab-first-hook '(yas/org-very-safe-expand org-hide-block-toggle-maybe)
>  org-src-mode-hook '(org-src-mode-configure-edit-buffer)
>  org-confirm-shell-link-function 'yes-or-no-p
>  org-todo-keywords '((sequence "TODO(t)" "|" "DONE(d)" "CANCELED(c)")
>                     (sequence "REPORT(r)" "BUG(b)" "KNOWNCAUSE(k)" "|"
>                      "FIXED(f)")
>                     (sequence "INPROGRESS(i)" "DEFERRED(d)" "|"
>                      "CANCELED(c)")
>                     )
>  org-agenda-before-write-hook '(org-agenda-add-entry-text)
>  org-default-notes-file "~/notesjournal.org"
>  org-directory "~/notes"
>  org-export-docbook-xslt-proc-command "xsltproc --output %s
> /usr/share/docbook-xsl/fo/docbook.xsl %s"
>  org-tag-alist '((:startgroup) ("@HOME" . 104) ("@WORK" . 119) (:endgroup)
>                 ("@PHONE" . 102) ("COMPUTER" . 99) ("@ERRAND" . 101))
>  org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
>                  org-cycle-show-empty-lines
>                  org-optimize-window-after-visibility-change)
>  org-replace-disputed-keys t
>  org-mode-hook '((lambda nil
>                  (make-variable-buffer-local (quote yas/trigger-key))
>                  (setq yas/trigger-key [tab])
>                  (add-to-list (quote org-tab-first-hook)
>                   (quote yas/org-very-safe-expand))
>                  (define-key yas/keymap [tab] (quote yas/next-field)))
>                 (lambda nil
>                  (local-set-key "\356" (quote outline-next-visible-heading))
>                  (local-set-key "\360"
>                   (quote outline-previous-visible-heading))
>                  (local-set-key "\227" (quote org-table-copy-region))
>                  (local-set-key "\231" (quote org-table-paste-rectangle))
>                  (local-set-key "\214" (quote org-table-sort-lines))
>                  (local-set-key "\311" (quote org-toggle-iimage-in-org))
>                  (local-set-key " " (quote yank)))
>                 (lambda nil (quote imenu-add-to-menubar) "Imenu")
>                 #[nil "\300\301\302\303\304$\207"
>                   [org-add-hook change-major-mode-hook org-show-block-all
>                    append local]
>                   5]
>                 (lambda nil (flyspell-mode 1)))
>  org-confirm-elisp-link-function 'yes-or-no-p
>  org-icalendar-store-UID t
>  org-occur-hook '(org-first-headline-recenter)
>  org-icalendar-include-body nil
>  org-mobile-directory "~/webdisk/org/"
>  org-export-docbook-xsl-fo-proc-command "c:/apps/fop-0.95/fop %s %s"
>  org-remember-templates '(("Todo" 116 "* TODO %?\n  %i\n  %a"
>                           "~/notes/journal.org" "Tasks")
>                          ("Todo" 84 "* TODO %i%?\n" "~/notes/journal.org"
>                           "Tasks")
>                          ("Journal" 106 "* %U %?\n\n  %i\n  %a"
>                           "~/notes/journal.org")
>                          ("Idea" 105 "* %^{Title}\n  %i\n  %a"
>                           "~/notes/journal.org" "New Ideas")
>                          ("Idea" 73 "* %^{Title}\n %i\n"
>                           "~/notes/journal.org" "New Ideas")
>                          ("Web" 119
>                           "* %^{Title}\n\n  Source: %u, %c\n\n  %i"
>                           "~/notes/journal.org" "Notes")
>                          )
>  org-icalendar-include-todo t
>  )
>
>
> Zhichao Hong, CSDP
> zhichao.hong@computer.org
>
>
>
> On Thu, Nov 5, 2009 at 9:39 AM, Carsten Dominik
> <carsten.dominik@gmail.com> wrote:
>> Hi,
>>
>> I cannot see your org-mobile setup.  Could you please make sure that
>> org-mobile is loaded when you produce the bug report?
>>
>> Thanks.
>>
>> - Carsten
>>
>> On Nov 5, 2009, at 4:31 PM, Zhichao Hong wrote:
>>
>>> I am observing the org-mobile-push hangs forever.  It happens when it
>>> uploads one org file.  Then the emacs runs into to a busy loop.  I
>>> have to kill it manually.
>>>
>>> Below is the detailed bug report.
>>>
>>> -Zhichao
>>>
>>> From: Zhichao Hong <zhichao.hong@gmail.com>
>>> To: emacs-orgmode@gnu.org
>>> Subject: Org-mode version 6.32trans; org-mobile-push hangs (only push
>>> 1 org file, event for a local folder)
>>> --text follows this line--
>>>
>>> Remember to cover the basics, that is, what you expected to happen and
>>> what in fact did happen.  You don't know how to make a good report?  See
>>>
>>>    http://orgmode.org/manual/Feedback.html#Feedback
>>>
>>> Your bug report will be posted to the Org-mode mailing list.
>>> ------------------------------------------------------------------------
>>>
>>>
>>>
>>> Emacs  : GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600)
>>> of 2009-07-29 on SOFT-MJASON
>>> Package: Org-mode version 6.32trans
>>>
>>> current state:
>>> ==============
>>> (setq
>>> org-log-done '(done)
>>> org-agenda-files '("~/notes/gtd.org" "~/notes/work.org"
>>>                    "~/notes/personal.org" "~/notes/journal.org")
>>> org-after-todo-state-change-hook '(org-clock-out-if-current)
>>> org-protocol-project-alist '(("http://localhost/org/" :base-url
>>>                               "http://localhost/org/" :working-directory
>>>                               "c:/zhong/notes/" :online-suffix ".html"
>>>                               :working-suffix ".org")
>>>                              )
>>> org-export-preprocess-hook '(org-export-blocks-preprocess)
>>> org-tab-first-hook '(org-hide-block-toggle-maybe)
>>> org-src-mode-hook '(org-src-mode-configure-edit-buffer)
>>> org-confirm-shell-link-function 'yes-or-no-p
>>> org-todo-keywords '((sequence "TODO(t)" "|" "DONE(d)" "CANCELED(c)")
>>>                     (sequence "REPORT(r)" "BUG(b)" "KNOWNCAUSE(k)" "|"
>>>                      "FIXED(f)")
>>>                     (sequence "INPROGRESS(i)" "DEFERRED(d)" "|"
>>>                      "CANCELED(c)")
>>>                     )
>>> org-agenda-before-write-hook '(org-agenda-add-entry-text)
>>> org-default-notes-file "~/notesjournal.org"
>>> org-directory "~/notes"
>>> org-export-docbook-xslt-proc-command "xsltproc --output %s
>>> /usr/share/docbook-xsl/fo/docbook.xsl %s"
>>> org-tag-alist '((:startgroup) ("@HOME" . 104) ("@WORK" . 119) (:endgroup)
>>>                 ("@PHONE" . 102) ("COMPUTER" . 99) ("@ERRAND" . 101))
>>> org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
>>>                  org-cycle-show-empty-lines
>>>                  org-optimize-window-after-visibility-change)
>>> org-replace-disputed-keys t
>>> org-mode-hook '((lambda nil
>>>                  (make-variable-buffer-local (quote yas/trigger-key))
>>>                  (setq yas/trigger-key [tab])
>>>                  (add-to-list (quote org-tab-first-hook)
>>>                   (quote yas/org-very-safe-expand))
>>>                  (define-key yas/keymap [tab] (quote yas/next-field)))
>>>                 (lambda nil
>>>                  (local-set-key "\356" (quote
>>> outline-next-visible-heading))
>>>                  (local-set-key "\360"
>>>                   (quote outline-previous-visible-heading))
>>>                  (local-set-key "\227" (quote org-table-copy-region))
>>>                  (local-set-key "\231" (quote org-table-paste-rectangle))
>>>                  (local-set-key "\214" (quote org-table-sort-lines))
>>>                  (local-set-key "\311" (quote org-toggle-iimage-in-org))
>>>                  (local-set-key " " (quote yank)))
>>>                 (lambda nil (quote imenu-add-to-menubar) "Imenu")
>>>                 #[nil "\300\301\302\303\304$\207"
>>>                   [org-add-hook change-major-mode-hook org-show-block-all
>>>                    append local]
>>>                   5]
>>>                 (lambda nil (flyspell-mode 1)))
>>> org-confirm-elisp-link-function 'yes-or-no-p
>>> org-icalendar-store-UID t
>>> org-occur-hook '(org-first-headline-recenter)
>>> org-icalendar-include-body nil
>>> org-export-docbook-xsl-fo-proc-command "c:/apps/fop-0.95/fop %s %s"
>>> org-remember-templates '(("Todo" 116 "* TODO %?\n  %i\n  %a"
>>>                           "~/notes/journal.org" "Tasks")
>>>                          ("Todo" 84 "* TODO %i%?\n" "~/notes/journal.org"
>>>                           "Tasks")
>>>                          ("Journal" 106 "* %U %?\n\n  %i\n  %a"
>>>                           "~/notes/journal.org")
>>>                          ("Idea" 105 "* %^{Title}\n  %i\n  %a"
>>>                           "~/notes/journal.org" "New Ideas")
>>>                          ("Idea" 73 "* %^{Title}\n %i\n"
>>>                           "~/notes/journal.org" "New Ideas")
>>>                          ("Web" 119
>>>                           "* %^{Title}\n\n  Source: %u, %c\n\n  %i"
>>>                           "~/notes/journal.org" "Notes")
>>>                          )
>>> org-icalendar-include-todo t
>>> )
>>>
>>>
>>> _______________________________________________
>>> Emacs-orgmode mailing list
>>> Remember: use `Reply All' to send replies to the list.
>>> Emacs-orgmode@gnu.org
>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>> - Carsten
>>
>>
>>
>>
>

  reply	other threads:[~2009-11-06  1:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-05 15:31 org-mobile-push hangs Zhichao Hong
2009-11-05 15:39 ` Carsten Dominik
2009-11-05 16:39   ` Zhichao Hong
2009-11-06  1:48     ` Zhichao Hong [this message]
2009-11-06  4:32       ` Zhichao Hong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3fea10110911051748m5dc1f23ai1a2dd1bccf86e69f@mail.gmail.com \
    --to=zhichao.hong@gmail.com \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).