Gnus development mailing list
 help / color / mirror / Atom feed
From: Per Abrahamsen <abraham@dina.kvl.dk>
Subject: Re: Can't customize nnimap groups
Date: 02 Feb 2000 12:04:01 +0100	[thread overview]
Message-ID: <rjr9ev7tni.fsf@zuse.dina.kvl.dk> (raw)
In-Reply-To: Christoph Rohland's message of "02 Feb 2000 10:23:10 +0100"

Christoph Rohland <hans-christoph.rohland@sap.com> writes:

> But this is only supported for know group parameters. Other variables
> should be set with ((foo "42)). That's how I read the info file.

Actually, it is both.  Variables are supposed to be of the form above,
but customize is supposed to be robust enough to handle unknown group
parameters.   

This patch should fix the problem.

2000-02-02  Per Abrahamsen  <abraham@dina.kvl.dk>

	* wid-edit.el (widget-match-inline): An atom never matches a
          list.  

Index: wid-edit.el
===================================================================
RCS file: /gd/gnu/cvsroot/emacs/lisp/wid-edit.el,v
retrieving revision 1.62
diff -c -r1.62 wid-edit.el
*** wid-edit.el	1999/11/09 13:42:34	1.62
--- wid-edit.el	2000/02/02 10:56:09
***************
*** 1,6 ****
  ;;; wid-edit.el --- Functions for creating and using widgets.
  ;;
! ;; Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc.
  ;;
  ;; Author: Per Abrahamsen <abraham@dina.kvl.dk>
  ;; Maintainer: FSF
--- 1,6 ----
  ;;; wid-edit.el --- Functions for creating and using widgets.
  ;;
! ;; Copyright (C) 1996, 1997, 1999, 2000 Free Software Foundation, Inc.
  ;;
  ;; Author: Per Abrahamsen <abraham@dina.kvl.dk>
  ;; Maintainer: FSF
***************
*** 492,498 ****
    "In WIDGET, match the start of VALS."
    (cond ((widget-get widget :inline)
  	 (widget-apply widget :match-inline vals))
! 	((and vals
  	      (widget-apply widget :match (car vals)))
  	 (cons (list (car vals)) (cdr vals)))
  	(t nil)))
--- 492,498 ----
    "In WIDGET, match the start of VALS."
    (cond ((widget-get widget :inline)
  	 (widget-apply widget :match-inline vals))
! 	((and (listp vals)
  	      (widget-apply widget :match (car vals)))
  	 (cons (list (car vals)) (cdr vals)))
  	(t nil)))



      reply	other threads:[~2000-02-02 11:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-27  6:01 Hal Snyder
2000-01-27 10:13 ` Kai Großjohann
2000-01-27 21:29 ` Simon Josefsson
2000-02-02  9:23   ` Christoph Rohland
2000-02-02 11:04     ` Per Abrahamsen [this message]

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=rjr9ev7tni.fsf@zuse.dina.kvl.dk \
    --to=abraham@dina.kvl.dk \
    /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.
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 NNTP newsgroup(s).