GNU bug report logs - #2356
23.0.90; customize-group of flymake signals error

Previous Next

Package: emacs;

Reported by: Bruce Stephens <bruce.stephens <at> isode.com>

Date: Tue, 17 Feb 2009 12:30:03 UTC

Severity: normal

Done: martin rudalics <rudalics <at> gmx.at>

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 2356 in the body.
You can then email your comments to 2356 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 bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2356; Package emacs. (Tue, 17 Feb 2009 12:30:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Bruce Stephens <bruce.stephens <at> isode.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 17 Feb 2009 12:30:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Bruce Stephens <bruce.stephens <at> isode.com>
To: emacs-pretest-bug <at> gnu.org
Cc: rfrancoise <at> debian.org
Subject: 23.0.90; customize-group of flymake signals error
Date: Tue, 17 Feb 2009 12:20:53 +0000
After emacs-snapshot -Q, M-x customize-group flymake signals an error
widget-apply: Wrong type argument: char-or-string-p, nil

In GNU Emacs 23.0.90.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11)
 of 2009-02-17 on tiny.isode.net, modified by Debian
 (emacs-snapshot package, version 1:20090207-1)
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
configured using `configure  '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.90/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.90/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_GB.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Custom

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x c u s t o m i z e - g r o u p <tab> <return> f 
l y m a k e <return> M-x r e p o r t <tab> <return
>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Creating customization items...
widget-apply: Wrong type argument: char-or-string-p, nil




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2356; Package emacs. (Tue, 17 Feb 2009 13:20:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to martin rudalics <rudalics <at> gmx.at>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 17 Feb 2009 13:20:04 GMT) Full text and rfc822 format available.

Message #10 received at 2356 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Bruce Stephens <bruce.stephens <at> isode.com>
Cc: 2356 <at> debbugs.gnu.org, rfrancoise <at> debian.org
Subject: Re: bug#2356: 23.0.90; customize-group of flymake signals error
Date: Tue, 17 Feb 2009 14:12:48 +0100
> After emacs-snapshot -Q, M-x customize-group flymake signals an error
> widget-apply: Wrong type argument: char-or-string-p, nil
>
> In GNU Emacs 23.0.90.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11)
>  of 2009-02-17 on tiny.isode.net, modified by Debian
>  (emacs-snapshot package, version 1:20090207-1)
> Windowing system distributor `The X.Org Foundation', version 11.0.10402000
> configured using `configure  '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.90/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.90/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS=''

IIUC, there's simply no customization group called `flymake'.

So adding something like

(defgroup flymake nil
  "Flymake."
  :version "23.1"
  :group 'tools)

to flymake.el should fix this.

martin




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2356; Package emacs. (Tue, 17 Feb 2009 17:30:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> IRO.UMontreal.CA>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 17 Feb 2009 17:30:03 GMT) Full text and rfc822 format available.

Message #15 received at 2356 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 2356 <at> debbugs.gnu.org, Bruce Stephens <bruce.stephens <at> isode.com>,
        rfrancoise <at> debian.org
Subject: Re: bug#2356: 23.0.90; customize-group of flymake signals error
Date: Tue, 17 Feb 2009 12:23:29 -0500
>> After emacs-snapshot -Q, M-x customize-group flymake signals an error
>> widget-apply: Wrong type argument: char-or-string-p, nil

> IIUC, there's simply no customization group called `flymake'.

I think there are two bugs:
1- the `flymake' group is missing: plase install your suggested patch, Martin.
2- customize-group should signals the error in a cleaner way
   (especially since it happily completed the word "flymake").


        Stefan




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2356; Package emacs. (Wed, 18 Feb 2009 13:10:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to martin rudalics <rudalics <at> gmx.at>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 18 Feb 2009 13:10:04 GMT) Full text and rfc822 format available.

Message #20 received at 2356 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: 2356 <at> debbugs.gnu.org, Bruce Stephens <bruce.stephens <at> isode.com>,
        rfrancoise <at> debian.org
Subject: Re: bug#2356: 23.0.90; customize-group of flymake signals error
Date: Wed, 18 Feb 2009 14:03:08 +0100
> 1- the `flymake' group is missing: plase install your suggested patch, Martin.

Done.

> 2- customize-group should signals the error in a cleaner way
>    (especially since it happily completed the word "flymake").

It "completes" because apparently `custom-make-dependencies', when
reading defcustoms from flymake.el, concludes that `flymake' is a valid
customization group and adds a

(put 'flymake 'custom-loads '(flymake))

to cus-load.el.

I now don't raise an error any more.  If you think some signalling is
needed, please tell me what kind of message you want and what its text
should be.

martin




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2356; Package emacs. (Wed, 18 Feb 2009 14:30:14 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 18 Feb 2009 14:30:14 GMT) Full text and rfc822 format available.

Message #25 received at 2356 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 2356 <at> debbugs.gnu.org, Bruce Stephens <bruce.stephens <at> isode.com>,
        rfrancoise <at> debian.org
Subject: Re: bug#2356: 23.0.90; customize-group of flymake signals error
Date: Wed, 18 Feb 2009 09:27:57 -0500
> I now don't raise an error any more.  If you think some signalling is
> needed, please tell me what kind of message you want and what its text
> should be.

It should signal an error like "can't find the group's definition".
Or maybe it can even be made to work (after all the `defgroup' usually
only provides non-vital info such as parent groups and a docstring).


        Stefan




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2356; Package emacs. (Wed, 18 Feb 2009 15:40:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to martin rudalics <rudalics <at> gmx.at>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 18 Feb 2009 15:40:06 GMT) Full text and rfc822 format available.

Message #30 received at 2356 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 2356 <at> debbugs.gnu.org, Bruce Stephens <bruce.stephens <at> isode.com>,
        rfrancoise <at> debian.org
Subject: Re: bug#2356: 23.0.90; customize-group of flymake signals error
Date: Wed, 18 Feb 2009 16:33:58 +0100
> Or maybe it can even be made to work (after all the `defgroup' usually
> only provides non-vital info such as parent groups and a docstring).

Indeed that's what I've tried to do.

martin.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2356; Package emacs. (Wed, 18 Feb 2009 17:05:10 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 18 Feb 2009 17:05:11 GMT) Full text and rfc822 format available.

Message #35 received at 2356 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 2356 <at> debbugs.gnu.org, Bruce Stephens <bruce.stephens <at> isode.com>,
        rfrancoise <at> debian.org
Subject: Re: bug#2356: 23.0.90; customize-group of flymake signals error
Date: Wed, 18 Feb 2009 11:59:46 -0500
>> Or maybe it can even be made to work (after all the `defgroup' usually
>> only provides non-vital info such as parent groups and a docstring).

> Indeed that's what I've tried to do.

That's good.  It could just replace the groups' docstring with a message
along the lines of "can't find the group's definition".


        Stefan




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2356; Package emacs. (Wed, 18 Feb 2009 17:40:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lennart Borgman <lennart.borgman <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 18 Feb 2009 17:40:06 GMT) Full text and rfc822 format available.

Message #40 received at 2356 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>, 2356 <at> debbugs.gnu.org
Cc: martin rudalics <rudalics <at> gmx.at>,
        Bruce Stephens <bruce.stephens <at> isode.com>, rfrancoise <at> debian.org
Subject: Re: bug#2356: 23.0.90; customize-group of flymake signals error
Date: Wed, 18 Feb 2009 18:35:45 +0100
On Wed, Feb 18, 2009 at 5:59 PM, Stefan Monnier
<monnier <at> iro.umontreal.ca> wrote:
>>> Or maybe it can even be made to work (after all the `defgroup' usually
>>> only provides non-vital info such as parent groups and a docstring).
>
>> Indeed that's what I've tried to do.
>
> That's good.  It could just replace the groups' docstring with a message
> along the lines of "can't find the group's definition".

Maybe "group ... does not seem to be defined"?




Reply sent to martin rudalics <rudalics <at> gmx.at>:
You have taken responsibility. (Wed, 18 Feb 2009 18:50:03 GMT) Full text and rfc822 format available.

Notification sent to Bruce Stephens <bruce.stephens <at> isode.com>:
bug acknowledged by developer. (Wed, 18 Feb 2009 18:50:03 GMT) Full text and rfc822 format available.

Message #45 received at 2356-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: 2356-done <at> debbugs.gnu.org
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>,
        Bruce Stephens <bruce.stephens <at> isode.com>, rfrancoise <at> debian.org
Subject: Re: bug#2356: 23.0.90; customize-group of flymake signals error
Date: Wed, 18 Feb 2009 19:39:43 +0100
Fixed as

	* cus-edit.el (custom-group-value-create): Insert some
	informatory text in the WIDGET-misses-doc-string case.

	* cus-edit.el (custom-group-value-create): Don't throw an error
	when WIDGET has no doc-string.  (Bug#2356)

	* progmodes/flymake.el (flymake): Add defgroup.  (Bug#2356)

Thanks for reporting, martin.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Thu, 19 Mar 2009 14:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 100 days ago.

Previous Next


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