GNU bug report logs - #16270
Incorrect custom types

Previous Next

Package: org-mode;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Sat, 28 Dec 2013 01:39:06 UTC

Severity: normal

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 16270 in the body.
You can then email your comments to 16270 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to emacs-orgmode <at> gnu.org:
bug#16270; Package org-mode. (Sat, 28 Dec 2013 01:39:09 GMT) Full text and rfc822 format available.

Message #3 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: submit <at> debbugs.gnu.org
Subject: Incorrect custom types
Date: Fri, 27 Dec 2013 20:38:01 -0500
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)




Information forwarded to emacs-orgmode <at> gnu.org:
bug#16270; Package org-mode. (Sat, 28 Dec 2013 08:09:02 GMT) Full text and rfc822 format available.

Message #6 received at 16270 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 16270 <at> debbugs.gnu.org
Subject: Re: bug#16270: Incorrect custom types
Date: Sat, 28 Dec 2013 03:08:14 -0500
Also, the following have no :type at all:

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




Information forwarded to emacs-orgmode <at> gnu.org:
bug#16270; Package org-mode. (Mon, 30 Dec 2013 09:33:02 GMT) Full text and rfc822 format available.

Message #9 received at 16270 <at> debbugs.gnu.org (full text, mbox):

From: Bastien <bzg <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 16270 <at> debbugs.gnu.org
Subject: Re: bug#16270: Incorrect custom types
Date: Mon, 30 Dec 2013 10:32:38 +0100
Glenn Morris <rgm <at> 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




Information forwarded to emacs-orgmode <at> gnu.org:
bug#16270; Package org-mode. (Mon, 30 Dec 2013 09:33:03 GMT) Full text and rfc822 format available.

Message #12 received at 16270 <at> debbugs.gnu.org (full text, mbox):

From: Bastien <bzg <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 16270 <at> debbugs.gnu.org
Subject: Re: bug#16270: Incorrect custom types
Date: Mon, 30 Dec 2013 10:32:41 +0100
Hi Glenn,

Glenn Morris <rgm <at> 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




Information forwarded to emacs-orgmode <at> gnu.org:
bug#16270; Package org-mode. (Mon, 30 Dec 2013 18:38:02 GMT) Full text and rfc822 format available.

Message #15 received at 16270 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Bastien <bzg <at> gnu.org>
Cc: 16270 <at> debbugs.gnu.org
Subject: Re: bug#16270: Incorrect custom types
Date: Mon, 30 Dec 2013 13:37:08 -0500
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.




Information forwarded to emacs-orgmode <at> gnu.org:
bug#16270; Package org-mode. (Fri, 03 Jan 2014 16:17:02 GMT) Full text and rfc822 format available.

Message #18 received at 16270 <at> debbugs.gnu.org (full text, mbox):

From: Bastien <bzg <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 16270 <at> debbugs.gnu.org
Subject: Re: bug#16270: Incorrect custom types
Date: Fri, 03 Jan 2014 17:16:00 +0100
Glenn Morris <rgm <at> 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




bug marked as fixed in version 24.4, send any further explanations to 16270 <at> debbugs.gnu.org and Glenn Morris <rgm <at> gnu.org> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 03 Jan 2014 16:50:02 GMT) Full text and rfc822 format available.

Information forwarded to emacs-orgmode <at> gnu.org:
bug#16270; Package org-mode. (Tue, 07 Jan 2014 16:18:02 GMT) Full text and rfc822 format available.

Message #23 received at 16270-done <at> debbugs.gnu.org (full text, mbox):

From: Bastien Guerry <bzg <at> altern.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 16270-done <at> debbugs.gnu.org
Subject: Re: bug#16270: Incorrect custom types
Date: Tue, 07 Jan 2014 17:17:39 +0100
Bastien <bzg <at> gnu.org> writes:

> Indeed, fixed in Org's repo.

This is now in Emacs trunk.  Closing.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 05 Feb 2014 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 141 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.