From: John Hutchinson <johnrhutchinson@att.net>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Bug and possible fix / work-around using org-mobile with group tags
Date: Thu, 11 Feb 2016 13:52:30 +0000 (UTC) [thread overview]
Message-ID: <608350460.2102657.1455198750254.JavaMail.yahoo@mail.yahoo.com> (raw)
In-Reply-To: 608350460.2102657.1455198750254.JavaMail.yahoo.ref@mail.yahoo.com
[-- Attachment #1: Type: text/plain, Size: 2516 bytes --]
- Running org-mobile-push with group tags defined in init.el file using :startgrouptag etc. results in an error, and (in my case) DropBox not being updated. Here's the log from the *Messages* buffer: Creating agendas...
Agenda written to Org file /cygdrive/c/Users/IBM_ADMIN/Dropbox/Apps/MobileOrg/agendas.org
Creating agendas...done
Saving all Org-mode buffers...
(No files need saving)
Saving all Org-mode buffers... done
Copying files...
Writing index file...
org-mobile-create-index-file: Wrong type argument: sequencep, :startgrouptag
Quit
[2 times]
- Commenting out the group tags attributes in init.el results in Org Mobile successfully generating and pushing to DropBox.
- Turning group tags off with org-toggle-tags-groups and running org-mobile-push causes the error.
- Using Org from org-plus-contrib-20160208, the problem seems to be the :startgroup and :endgroup on lines 460 and 461 of org-mobile.el; patching them to :startgrouptag and :endgrouptag respectively appears to correct the issue (though I've not done in-depth testing for any other unintended side effects this patch may have).
- Also, changing the group attributes in my init.el from :startgrouptag :endgrouptag to :startgroup and :endgroup respectively corrects the issue, although the Org manual indicates that the longer form is correct.
- As an aside, I note there are several instances of plain :startgroup intermingled with :startgrouptag in the org sources: org-plus-contrib-20160208 $ grep -n startgroup *.el
org.el:3492: (const :startgroup)
org.el:3495: (const :startgrouptag)
org.el:3523: (const :tag "Start radio group" (:startgroup))
org.el:5063: (append '((:startgroup))
org.el:5233: (:startgroup "{")
org.el:5235: (:startgrouptag "[")
org.el:5252: (push '(:startgroup) org-tag-alist)
org.el:5258: (push '(:startgrouptag) org-tag-alist)
org.el:5322: (if (or (memq (car e) '(:newline :grouptags :endgroup :startgroup))
org.el:13093: ((equal e '(:startgroup))
org.el:15232: ((eq (car e) :startgroup)
org.el:15241: ((eq (car e) :startgrouptag)
org-interactive-query.el:92: ((equal e '(:startgroup))
org-interactive-query.el:268: ;; if this is not a keyword (:startgroup, etc), ignore it
org-mobile.el:460: ((eq (car x) :startgroup) "{")
org-pcomplete.el:245: ((eq :startgroup (car x)) "{")
ox-beamer.el:1128: (append '((:startgroup))
Regards,=John
P.S. First time writing to this list; apologies in advance for breaches of etiquette.
[-- Attachment #2: Type: text/html, Size: 3900 bytes --]
next parent reply other threads:[~2016-02-11 13:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <608350460.2102657.1455198750254.JavaMail.yahoo.ref@mail.yahoo.com>
2016-02-11 13:52 ` John Hutchinson [this message]
2016-02-21 15:35 ` Bug and possible fix / work-around using org-mobile with group tags Nicolas Goaziou
[not found] ` <196579851.2531195.1456433654870.JavaMail.yahoo@mail.yahoo.com>
2016-02-26 0:35 ` John Hutchinson
2016-02-26 21:59 ` Nicolas Goaziou
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=608350460.2102657.1455198750254.JavaMail.yahoo@mail.yahoo.com \
--to=johnrhutchinson@att.net \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.