GNU bug report logs -
#12186
24.1.50; defcustom and sets
Previous Next
Reported by: Jambunathan K <kjambunathan <at> gmail.com>
Date: Sun, 12 Aug 2012 11:19:02 UTC
Severity: normal
Tags: notabug
Found in version 24.1.50
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 12186 in the body.
You can then email your comments to 12186 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#12186
; Package
emacs
.
(Sun, 12 Aug 2012 11:19:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jambunathan K <kjambunathan <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 12 Aug 2012 11:19:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Offshoot of bug#12159.
1. C-M-x the below defcustom.
(defcustom vc-dir-hide-these-states '(up-to-date)
"States hidden by `vc-dir-hide-some-states'."
:type '(choice
(const :tag "None")
(set :tag "Choices"
(symbol :tag "VC State" added)
(symbol :tag "VC State" conflict)
(symbol :tag "VC State" edited)
(symbol :tag "VC State" ignored)
(symbol :tag "VC State" missing)
(symbol :tag "VC State" needs-merge)
(symbol :tag "VC State" needs-update)
(symbol :tag "VC State" removed)
(symbol :tag "VC State" unlocked-changes)
(symbol :tag "VC State" unregistered)
(symbol :tag "VC State" up-to-date)))
:group 'vc
:version "24.2")
2. M-x customize-variable RET vc-dir-hide-these-states RET
3. You will see two "up-to-date"s and "added" is missing, from the
choices offered.
,----
| Operate on all settings in this buffer:
| Revert... Apply Apply and Save
|
| Hide Vc Dir Hide These States: Value Menu Choices:
| [X] VC State: up-to-date
| [ ] VC State: conflict
| [ ] VC State: edited
| [ ] VC State: ignored
| [ ] VC State: missing
| [ ] VC State: needs-merge
| [ ] VC State: needs-update
| [ ] VC State: removed
| [ ] VC State: unlocked-changes
| [ ] VC State: unregistered
| [ ] VC State: up-to-date
| State : STANDARD.
| States hidden by `vc-dir-hide-some-states'.
| Groups: Vc
`----
In GNU Emacs 24.1.50.30 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
of 2012-08-12 on debian-6.05
Bzr revision: 109569 monnier <at> iro.umontreal.ca-20120811153401-zkhjlvikhyi6r8eh
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
Important settings:
value of $LANG: en_IN
locale-coding-system: iso-latin-1-unix
default enable-multibyte-characters: t
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#12186
; Package
emacs
.
(Mon, 13 Aug 2012 01:51:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 12186 <at> debbugs.gnu.org (full text, mbox):
Jambunathan K wrote:
> (set :tag "Choices"
> (symbol :tag "VC State" added)
> (symbol :tag "VC State" conflict)
You're using it wrong.
elisp "Composite Types"
`(set TYPES...)'
The value must be a list, and each element of the list must match
one of the TYPES specified.[...]
It is not possible to specify two different elements that match
the same one of TYPES.
You probably want const rather than symbol.
Added tag(s) notabug.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Mon, 13 Aug 2012 17:05:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
12186 <at> debbugs.gnu.org and Jambunathan K <kjambunathan <at> gmail.com>
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Mon, 13 Aug 2012 17:05:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#12186
; Package
emacs
.
(Mon, 13 Aug 2012 18:09:02 GMT)
Full text and
rfc822 format available.
Message #15 received at 12186 <at> debbugs.gnu.org (full text, mbox):
Glenn Morris <rgm <at> gnu.org> writes:
> Jambunathan K wrote:
>
>> (set :tag "Choices"
>> (symbol :tag "VC State" added)
>> (symbol :tag "VC State" conflict)
>
> You're using it wrong.
Yes. This is not a bug.
> elisp "Composite Types"
>
> `(set TYPES...)'
> The value must be a list, and each element of the list must match
> one of the TYPES specified.[...]
> It is not possible to specify two different elements that match
> the same one of TYPES.
>
> You probably want const rather than symbol.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 11 Sep 2012 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 12 years and 336 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.