unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Show do not allow a hide
@ 2002-03-21 10:23 Mattias Fredsberg
  0 siblings, 0 replies; 2+ messages in thread
From: Mattias Fredsberg @ 2002-03-21 10:23 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 786 bytes --]

Emacs version:
Gnu Emacs 21.1.1 (i386-msvc-nt5.0.2195 of 2001-10-22 on buffy

Hi,

I,ve found that the Show-button of "C Block Comment Prefix" in *Customize
Group: C* results in a non-closeable Hide-button.
(I represent buttons below with []) 

Walkthrough to error:
M-x customize
Programming group: [Go to Group]
Languages group: [Go to Group]
C group: [Go to Group]


Before pressing Show:
C Block Comment Prefix: [Show]
   State: hidden, invoke "Show" in the previous line to show.
Specifies the line prefix of continued C-style block comments. More

After pressing Show:
<C Block Comment Prefix: [Hide]<
(*) Use style settings
<( ) <Override style settings: >>>>


</Mattias Fredsberg ActiveTV>

/*\ --- JOIN NOW! ---
\ / ASCII ribbon campaign
 X  against HTML
/ \ in mail and news

[-- Attachment #2: Type: text/html, Size: 1786 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Show do not allow a hide
@ 2002-04-06 11:42 Per Abrahamsen
  0 siblings, 0 replies; 2+ messages in thread
From: Per Abrahamsen @ 2002-04-06 11:42 UTC (permalink / raw)
  Cc: 'bug-gnu-emacs@gnu.org'

Hi, 

Thanks for the report.  I have applied this patch to CVS, which should
fix the problem. 

2002-04-06  Per Abrahamsen  <abraham@dina.kvl.dk>

	* progmodes/cc-vars.el (c-block-comment-prefix): Specify :value
	for customization type.
	Reported by Mattias Fredsberg <mattias.fredsberg@active-tv.com>.

*** cc-vars.el.~1.19.~	Tue Feb  5 14:47:06 2002
--- cc-vars.el	Sat Apr  6 13:36:03 2002
***************
*** 291,297 ****
  more lines for the first time; otherwise the appropriate prefix is
  adapted from the comment.  This variable is not used for C++ line
  style comments."
!   :type 'string
    :group 'c)
  
  (defcustom-c-stylevar c-comment-prefix-regexp
--- 291,301 ----
  more lines for the first time; otherwise the appropriate prefix is
  adapted from the comment.  This variable is not used for C++ line
  style comments."
!   ;; We need to specify a :value to prevent `defcustom-c-stylevar' from 
!   ;; giving it an invalid value.  Perhaps `defcustom-c-stylevar'
!   ;; should evaluate the value first?
!   ;; Per Abrahamsen <abraham@dina.kvl.dk> 2002-04-06.
!   :type '(string :value "* ")
    :group 'c)
  
  (defcustom-c-stylevar c-comment-prefix-regexp

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-04-06 11:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-21 10:23 Show do not allow a hide Mattias Fredsberg
  -- strict thread matches above, loose matches on Subject: below --
2002-04-06 11:42 Per Abrahamsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).