From: Per Abrahamsen <abraham@dina.kvl.dk>
Subject: Re: Customize group parameters problems
Date: 01 May 2000 15:26:28 +0200 [thread overview]
Message-ID: <rj8zxujta3.fsf@zuse.dina.kvl.dk> (raw)
In-Reply-To: Shenghuo ZHU's message of "28 Apr 2000 16:34:27 -0400"
Shenghuo ZHU <zsh@cs.rochester.edu> writes:
> I agree. But I am not familiar with those widgets. Does anyone know
> how to fix it?
It is a `wid-edit.el' bug/limitation. Here is a fix. I have send it
to the Emacs maintainers, I believe Hjrove has already fixed it for
XEmacs.
2000-05-01 Per Abrahamsen <abraham@dina.kvl.dk>
* wid-edit.el (widget-default-active): Obey `:always-active'.
(widget-documentation-string-value-create): Set `:always-active'.
Index: wid-edit.el
===================================================================
RCS file: /gd/gnu/cvsroot/emacs/lisp/wid-edit.el,v
retrieving revision 1.64
diff -c -r1.64 wid-edit.el
*** wid-edit.el 2000/02/16 13:25:52 1.64
--- wid-edit.el 2000/05/01 13:13:50
***************
*** 1539,1548 ****
(defun widget-default-active (widget)
"Return t iff this widget active (user modifiable)."
! (and (not (widget-get widget :inactive))
! (let ((parent (widget-get widget :parent)))
! (or (null parent)
! (widget-apply parent :active)))))
(defun widget-default-deactivate (widget)
"Make WIDGET inactive for user modifications."
--- 1539,1549 ----
(defun widget-default-active (widget)
"Return t iff this widget active (user modifiable)."
! (or (widget-get widget :always-active)
! (and (not (widget-get widget :inactive))
! (let ((parent (widget-get widget :parent)))
! (or (null parent)
! (widget-apply parent :active))))))
(defun widget-default-deactivate (widget)
"Make WIDGET inactive for user modifications."
***************
*** 2860,2865 ****
--- 2861,2867 ----
widget 'visibility
:help-echo "Show or hide rest of the documentation."
:off "More"
+ :always-active t
:action 'widget-parent-action
shown)
buttons)
prev parent reply other threads:[~2000-05-01 13:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <p5puranjhn.fsf@baynetworks.com>
[not found] ` <2nk8hing40.fsf@tiger.jia.vnet>
[not found] ` <14601.62028.667517.509066@baynetworks.com>
2000-04-28 20:34 ` Shenghuo ZHU
2000-05-01 13:26 ` 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=rj8zxujta3.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).