emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bug#16270: Incorrect custom types
@ 2013-12-28  1:38 Glenn Morris
  2013-12-28  8:08 ` Glenn Morris
  2013-12-30  9:32 ` Bastien
  0 siblings, 2 replies; 7+ messages in thread
From: Glenn Morris @ 2013-12-28  1:38 UTC (permalink / raw)
  To: 16270

Package: org-mode

This refers to the version of Org mode in Emacs trunk.
The following variables have incorrect custom types:

org-babel-latex-htlatex-packages   ; prob. you want repeat, not list
org-export-with-creator       ; const should not be quoted
org-babel-lob-files

There are many other places where the argument of a const is quoted.
This is probably not what you want.

org-agenda.el:			 (choice (const :tag "Day" 'day)
org-agenda.el:				 (const :tag "Week" 'week)
org-agenda.el:				 (const :tag "Fortnight" 'fortnight)
org-agenda.el:				 (const :tag "Month" 'month)
org-agenda.el:				 (const :tag "Year" 'year)
org-agenda.el:				    (list :tag "Regexp matches" :inline t (const :format "" 'regexp) (regexp))
org-agenda.el:				    (list :tag "Regexp does not match" :inline t (const :format "" 'notregexp) (regexp))
org-agenda.el:					  (const 'todo)
org-agenda.el:					   (const :tag "any not-done state" 'todo)
org-agenda.el:					   (const :tag "any done state" 'done)
org-agenda.el:					   (const :tag "any state" 'any)
org-agenda.el:					  (const 'nottodo)
org-agenda.el:					   (const :tag "any not-done state" 'todo)
org-agenda.el:					   (const :tag "any done state" 'done)
org-agenda.el:					   (const :tag "any state" 'any)
org-agenda.el:				    (const :tag "scheduled" 'scheduled)
org-agenda.el:				    (const :tag "not scheduled" 'notscheduled)
org-agenda.el:				    (const :tag "deadline" 'deadline)
org-agenda.el:				    (const :tag "no deadline" 'notdeadline)
org-agenda.el:				    (const :tag "timestamp" 'timestamp)
org-agenda.el:				    (const :tag "no timestamp" 'nottimestamp))))))
org-agenda.el:		 (const :tag "Show only log items" 'only)
org-agenda.el:		 (const :tag "Show all possible log items" 'clockcheck)
org-agenda.el:			 (choice (const :tag "Show closed log items" 'closed)
org-agenda.el:				 (const :tag "Show clocked log items" 'clock)
org-agenda.el:				 (const :tag "Show all logged state changes" 'state)))))
org-agenda.el:	  (const :tag "Always show inherited tags" 'always)
org.el:		 (const :tag "In active region, headlines at the same level than the first one" 'start-level)
org.el:	  (const :tag "A double click follows the link" 'double)
org.el:	  (const :tag "Yes, including all entries" 'all-headlines)
ox.el:	  (const :tag "Sentence as a comment" 'comment)

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#16270: Incorrect custom types
  2013-12-28  1:38 bug#16270: Incorrect custom types Glenn Morris
@ 2013-12-28  8:08 ` Glenn Morris
  2013-12-30  9:32   ` Bastien
  2013-12-30  9:32 ` Bastien
  1 sibling, 1 reply; 7+ messages in thread
From: Glenn Morris @ 2013-12-28  8:08 UTC (permalink / raw)
  To: 16270


Also, the following have no :type at all:

org-babel-maxima-command
org-texinfo-def-table-markup
org-inlinetask-show-first-star

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#16270: Incorrect custom types
  2013-12-28  8:08 ` Glenn Morris
@ 2013-12-30  9:32   ` Bastien
  0 siblings, 0 replies; 7+ messages in thread
From: Bastien @ 2013-12-30  9:32 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 16270

Glenn Morris <rgm@gnu.org> writes:

> Also, the following have no :type at all:
>
> org-babel-maxima-command
> org-texinfo-def-table-markup
> org-inlinetask-show-first-star

This is now fixed in Org git repo, it will be part of the next merge.

Thanks,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#16270: Incorrect custom types
  2013-12-28  1:38 bug#16270: Incorrect custom types Glenn Morris
  2013-12-28  8:08 ` Glenn Morris
@ 2013-12-30  9:32 ` Bastien
  2013-12-30 18:37   ` Glenn Morris
  1 sibling, 1 reply; 7+ messages in thread
From: Bastien @ 2013-12-30  9:32 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 16270

Hi Glenn,

Glenn Morris <rgm@gnu.org> writes:

> This refers to the version of Org mode in Emacs trunk.
> The following variables have incorrect custom types:

Fixed in Org repo.

> org-babel-lob-files

Not sure what's wrong with the one above.  Can you tell me?

Thanks,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#16270: Incorrect custom types
  2013-12-30  9:32 ` Bastien
@ 2013-12-30 18:37   ` Glenn Morris
  2014-01-03 16:16     ` Bastien
  0 siblings, 1 reply; 7+ messages in thread
From: Glenn Morris @ 2013-12-30 18:37 UTC (permalink / raw)
  To: Bastien; +Cc: 16270

Bastien wrote:

>> org-babel-lob-files
>
> Not sure what's wrong with the one above.  Can you tell me?

emacs -Q -l ob-lob
M-x customize-variable RET org-babel-lob-files RET

    -> State: STANDARD. (mismatch)

The specification for a list custom object is as follows:

`(list ELEMENT-TYPES...)'
     The value must be a list with exactly as many elements as the
     ELEMENT-TYPES given; and each element must fit the corresponding
     ELEMENT-TYPE.

You cannot just write 'list.
Perhaps you wanted '(repeat file).

From the doc, it also sounds like this should have a :set function.
BTW, the first line of org-babel-lob-ingest's doc is not a complete
sentence.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#16270: Incorrect custom types
  2013-12-30 18:37   ` Glenn Morris
@ 2014-01-03 16:16     ` Bastien
  2014-01-07 16:17       ` Bastien Guerry
  0 siblings, 1 reply; 7+ messages in thread
From: Bastien @ 2014-01-03 16:16 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 16270

Glenn Morris <rgm@gnu.org> writes:

> emacs -Q -l ob-lob
> M-x customize-variable RET org-babel-lob-files RET
>
>     -> State: STANDARD. (mismatch)
>
> The specification for a list custom object is as follows:
>
> `(list ELEMENT-TYPES...)'
>      The value must be a list with exactly as many elements as the
>      ELEMENT-TYPES given; and each element must fit the corresponding
>      ELEMENT-TYPE.
>
> You cannot just write 'list.
> Perhaps you wanted '(repeat file).

Indeed, fixed in Org's repo.

> From the doc, it also sounds like this should have a :set function.
> BTW, the first line of org-babel-lob-ingest's doc is not a complete
> sentence.

Ditto.

Thanks,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#16270: Incorrect custom types
  2014-01-03 16:16     ` Bastien
@ 2014-01-07 16:17       ` Bastien Guerry
  0 siblings, 0 replies; 7+ messages in thread
From: Bastien Guerry @ 2014-01-07 16:17 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 16270-done

Bastien <bzg@gnu.org> writes:

> Indeed, fixed in Org's repo.

This is now in Emacs trunk.  Closing.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-01-07 16:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-28  1:38 bug#16270: Incorrect custom types Glenn Morris
2013-12-28  8:08 ` Glenn Morris
2013-12-30  9:32   ` Bastien
2013-12-30  9:32 ` Bastien
2013-12-30 18:37   ` Glenn Morris
2014-01-03 16:16     ` Bastien
2014-01-07 16:17       ` Bastien Guerry

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).