GNU bug report logs - #14374
Possibly incorrect custom :types

Previous Next

Package: org-mode;

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

Date: Thu, 9 May 2013 01:47:02 UTC

Severity: normal

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 14374 in the body.
You can then email your comments to 14374 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#14374; Package org-mode. (Thu, 09 May 2013 01:47:02 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: Possibly incorrect custom :types
Date: Wed, 08 May 2013 21:46:11 -0400
Package: org-mode

cus-test.el suggests the following variables may have incorrect
custom :types. (There may be some false positives.)
This refers to Org mode in current Emacs trunk.

Eg, org-footnote-auto-adjust does not have "nil" as an option.

org-refile-target-verify-function
org-icalendar-combined-description
org-link-frame-setup
org-export-with-archived-trees
org-bibtex-prefix
org-log-note-headings
org-structure-template-alist
org-export-html-postamble-format
org-get-priority-function
org-export-odt-content-template-file
org-export-latex-quotes
org-export-html-toplevel-hlevel
org-agenda-ndays
org-export-initial-scope
org-plantuml-jar-path
org-export-blocks-witheld
org-make-link-description-function
org-export-html-postamble
org-babel-lob-files
org-agenda-export-html-style
org-clock-heading-function
org-show-notification-handler
org-agenda-custom-commands
org-beamer-outline-frame-options
org-agenda-day-face-function
org-use-fast-tag-selection
org-export-docbook-xsl-fo-proc-command
org-link-translation-function
org-export-docbook-xslt-stylesheet
org-export-docbook-xslt-proc-command
org-columns-modify-value-for-display-function
org-export-html-preamble-format
org-agenda-auto-exclude-function
org-export-docbook-doctype
org-wl-namazu-default-index
org-agenda-inactive-leader
org-export-ascii-underline
org-sparse-tree-default-date-type
org-footnote-auto-adjust
org-protocol-default-template-key




Information forwarded to emacs-orgmode <at> gnu.org:
bug#14374; Package org-mode. (Thu, 09 May 2013 07:40:02 GMT) Full text and rfc822 format available.

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

From: Carsten Dominik <carsten.dominik <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 14374 <at> debbugs.gnu.org
Subject: Re: [O] bug#14374: Possibly incorrect custom :types
Date: Thu, 9 May 2013 09:39:39 +0200
Thanks, I will take care of this.

I would like to leave things in Emacs as they are and fix this with the following sync, is that acceptable?

- Carsten

On 9.5.2013, at 03:46, Glenn Morris <rgm <at> gnu.org> wrote:

> Package: org-mode
> 
> cus-test.el suggests the following variables may have incorrect
> custom :types. (There may be some false positives.)
> This refers to Org mode in current Emacs trunk.
> 
> Eg, org-footnote-auto-adjust does not have "nil" as an option.
> 
> org-refile-target-verify-function
> org-icalendar-combined-description
> org-link-frame-setup
> org-export-with-archived-trees
> org-bibtex-prefix
> org-log-note-headings
> org-structure-template-alist
> org-export-html-postamble-format
> org-get-priority-function
> org-export-odt-content-template-file
> org-export-latex-quotes
> org-export-html-toplevel-hlevel
> org-agenda-ndays
> org-export-initial-scope
> org-plantuml-jar-path
> org-export-blocks-witheld
> org-make-link-description-function
> org-export-html-postamble
> org-babel-lob-files
> org-agenda-export-html-style
> org-clock-heading-function
> org-show-notification-handler
> org-agenda-custom-commands
> org-beamer-outline-frame-options
> org-agenda-day-face-function
> org-use-fast-tag-selection
> org-export-docbook-xsl-fo-proc-command
> org-link-translation-function
> org-export-docbook-xslt-stylesheet
> org-export-docbook-xslt-proc-command
> org-columns-modify-value-for-display-function
> org-export-html-preamble-format
> org-agenda-auto-exclude-function
> org-export-docbook-doctype
> org-wl-namazu-default-index
> org-agenda-inactive-leader
> org-export-ascii-underline
> org-sparse-tree-default-date-type
> org-footnote-auto-adjust
> org-protocol-default-template-key
> 
> 
> 





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

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

From: Daimrod <daimrod <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 14374 <at> debbugs.gnu.org
Subject: Re: [O] bug#14374: Possibly incorrect custom :types
Date: Thu, 09 May 2013 10:06:43 +0200
[Message part 1 (text/plain, inline)]
Glenn Morris <rgm <at> gnu.org> writes:
Hi Glenn,

Thanks for this detailled report.

May I ask how you did you tests? I can't find cus-test.el in my Emacs.

I've attached a diff patch where I fix some of this.

> Package: org-mode
>
> cus-test.el suggests the following variables may have incorrect
> custom :types. (There may be some false positives.)
> This refers to Org mode in current Emacs trunk.
>
> Eg, org-footnote-auto-adjust does not have "nil" as an option.

> org-refile-target-verify-function
It's a function with no function by default and I don't know how to fix
it. Should we use '(choice function nil)?

> org-icalendar-combined-description
Seems fine to me.

> org-link-frame-setup
Patched (I've only interferred the functions name could VM users
confirmed that they are correct).

> org-export-with-archived-trees
Patched.

> org-bibtex-prefix
It's suppose to be a string and after a quick look at the code I think
it's safe to set it to nil but I'm not sure.

> org-log-note-headings
Patched.

> org-structure-template-alist
Patched.

> org-export-html-postamble-format
I think it's named `org-html-postamble-format' in master. The docstring
and the type talks about an alist but the default value is not. I don't
know which one is correct (the default value or the description).

> org-get-priority-function
Same problem than `org-refile-target-verify-function'.

> org-export-odt-content-template-file
Now `org-odt-content-template-file', the type is a file but the default
value is nil. Should we use '(choice file nil)?

> org-export-latex-quotes
I couldn't find this variable in master.

> org-export-html-toplevel-hlevel
Now `org-html-toplevel-hlevel' and it doesn't seem to be wrong.

> org-agenda-ndays
The type is an integer but the default value is nil. Should we use
'(choice integer nil)?

I've just seen Carsten's mail so I'll stop here.

> org-export-initial-scope
> org-plantuml-jar-path
> org-export-blocks-witheld
> org-make-link-description-function
> org-export-html-postamble
> org-babel-lob-files
> org-agenda-export-html-style
> org-clock-heading-function
> org-show-notification-handler
> org-agenda-custom-commands
> org-beamer-outline-frame-options
> org-agenda-day-face-function
> org-use-fast-tag-selection
> org-export-docbook-xsl-fo-proc-command
> org-link-translation-function
> org-export-docbook-xslt-stylesheet
> org-export-docbook-xslt-proc-command
> org-columns-modify-value-for-display-function
> org-export-html-preamble-format
> org-agenda-auto-exclude-function
> org-export-docbook-doctype
> org-wl-namazu-default-index
> org-agenda-inactive-leader
> org-export-ascii-underline
> org-sparse-tree-default-date-type
> org-footnote-auto-adjust
> org-protocol-default-template-key

[defcustom-fixes.path (application/octet-stream, attachment)]
[Message part 3 (text/plain, inline)]
-- 
Daimrod/Greg
[Message part 4 (application/pgp-signature, inline)]

Information forwarded to emacs-orgmode <at> gnu.org:
bug#14374; Package org-mode. (Fri, 10 May 2013 01:27:01 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Carsten Dominik <carsten.dominik <at> gmail.com>
Cc: 14374 <at> debbugs.gnu.org
Subject: Re: [O] bug#14374: Possibly incorrect custom :types
Date: Thu, 09 May 2013 21:26:12 -0400
Carsten Dominik wrote:

> I would like to leave things in Emacs as they are and fix this with
> the following sync, is that acceptable?

Sure, no rush.

(cus-test.el is in the admin/ directory in the Emacs repo.
It needs some updating, it's not checking everything at present, so
there could be more of these. I will send them along if I find them.)




Information forwarded to emacs-orgmode <at> gnu.org:
bug#14374; Package org-mode. (Fri, 10 May 2013 06:06:01 GMT) Full text and rfc822 format available.

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

From: Carsten Dominik <carsten.dominik <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 14374 <at> debbugs.gnu.org
Subject: Re: [O] bug#14374: Possibly incorrect custom :types
Date: Fri, 10 May 2013 08:05:38 +0200
Thank you.

I have already fixed the ones you sent - most were indeed issues.

Regards

- Carsten

On 10.5.2013, at 03:26, Glenn Morris <rgm <at> gnu.org> wrote:

> Carsten Dominik wrote:
> 
>> I would like to leave things in Emacs as they are and fix this with
>> the following sync, is that acceptable?
> 
> Sure, no rush.
> 
> (cus-test.el is in the admin/ directory in the Emacs repo.
> It needs some updating, it's not checking everything at present, so
> there could be more of these. I will send them along if I find them.)





bug closed, send any further explanations to 14374 <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. (Mon, 13 May 2013 16:22:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 11 Jun 2013 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 9 days ago.

Previous Next


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