From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: option doc strings and Customize tags Date: Wed, 29 Oct 2008 10:36:25 -0400 Message-ID: References: <005601c9385f$86a998c0$c2b22382@us.oracle.com> <4907637E.8090402@gmx.at> <005201c93933$6bd2eb30$0200a8c0@us.oracle.com> <87hc6wf7u2.fsf@uwakimon.sk.tsukuba.ac.jp> <007e01c93991$e714c8f0$0200a8c0@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1225291012 572 80.91.229.12 (29 Oct 2008 14:36:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Oct 2008 14:36:52 +0000 (UTC) Cc: 'martin rudalics' , "'Stephen J. Turnbull'" , emacs-devel@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 29 15:37:52 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KvCB3-0000jh-ET for ged-emacs-devel@m.gmane.org; Wed, 29 Oct 2008 15:37:41 +0100 Original-Received: from localhost ([127.0.0.1]:59392 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvC9x-000754-5y for ged-emacs-devel@m.gmane.org; Wed, 29 Oct 2008 10:36:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KvC9t-00074v-02 for emacs-devel@gnu.org; Wed, 29 Oct 2008 10:36:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KvC9r-00074d-JL for emacs-devel@gnu.org; Wed, 29 Oct 2008 10:36:28 -0400 Original-Received: from [199.232.76.173] (port=58003 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvC9r-00074a-CI for emacs-devel@gnu.org; Wed, 29 Oct 2008 10:36:27 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:27684 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KvC9r-0004Mw-4M for emacs-devel@gnu.org; Wed, 29 Oct 2008 10:36:27 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUEAOsRCElMCqyo/2dsb2JhbACBdstvg1GBDg X-IronPort-AV: E=Sophos;i="4.33,506,1220241600"; d="scan'208";a="29011995" Original-Received: from 76-10-172-168.dsl.teksavvy.com (HELO pastel.home) ([76.10.172.168]) by ironport2-out.teksavvy.com with ESMTP; 29 Oct 2008 10:36:25 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 9317B8E6F; Wed, 29 Oct 2008 10:36:25 -0400 (EDT) In-Reply-To: <007e01c93991$e714c8f0$0200a8c0@us.oracle.com> (Drew Adams's message of "Tue, 28 Oct 2008 23:45:15 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:105143 Archived-At: >> normally long values will either be indirect (eg, the value of >> variable whose name can be used instead of the value), or they will be >> compounds in which case a compound widget will be used so that the >> components can be changed. > "Normally", no. Typically, yes. I think we should just add the value to the menu, together with some sanity check: if the printed representation of the value is too long, then shorten it by replacing the middle chars with "...", and let the code provide an override for those few remaining cases where it's not satisfactory. Stefan