From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#6755: 24.0.50; Customize buffer is too wide. Put doc string on separate line. Date: Sun, 03 Jul 2011 17:19:04 +0200 Message-ID: References: <46569E22228A496BA90A29AC86C3F361@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1309709744 32001 80.91.229.12 (3 Jul 2011 16:15:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 3 Jul 2011 16:15:44 +0000 (UTC) Cc: 6755@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 03 18:15:40 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QdPKc-0003WZ-TW for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jul 2011 18:15:40 +0200 Original-Received: from localhost ([::1]:39589 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdPKb-0005mB-Oq for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jul 2011 12:15:37 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:36743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdOSv-0008Ot-JZ for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2011 11:20:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QdOSq-0006Nr-LY for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2011 11:20:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39332) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdOSq-0006Nj-8J for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2011 11:20:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QdOSo-0002ES-Rm; Sun, 03 Jul 2011 11:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Jul 2011 15:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6755 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6755-submit@debbugs.gnu.org id=B6755.13097063678537 (code B ref 6755); Sun, 03 Jul 2011 15:20:02 +0000 Original-Received: (at 6755) by debbugs.gnu.org; 3 Jul 2011 15:19:27 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QdOSF-0002De-Ai for submit@debbugs.gnu.org; Sun, 03 Jul 2011 11:19:27 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QdOSD-0002DR-26 for 6755@debbugs.gnu.org; Sun, 03 Jul 2011 11:19:26 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QdORy-0001nv-F3; Sun, 03 Jul 2011 17:19:10 +0200 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sun, 03 Jul 2011 16:51:51 +0200") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEWQk40dHBsiIiMRDhIW FRZOT08aGBc2UqMtAAACVElEQVQ4jV2UTZObMAyG3Z3xvSYJ50Vg7olZ7sFezo4b5VxY0P//CZVt YNtqMhnjh1d6hT+EAkWklCppGYlo4uECpVIiThH/aHHjQjTGAUAbAVGaJhdjiX9KvE0MNrKMjgUM yBgzTAJAqR3uYUdikOZLRfw+1+gzmkpRJDDRYt1o+y8zu0RKobZMznbOWWNuTQKKa1SRnHnSXRkY SKl2ULJJ25nOOntro0CJoiiSwHXGOBaYvsoKlQQVK8wW5QaSqUq5gQtcI+hS9Qw0nBsuYTIav0EI TcHFE5pNf/RxQVWNztpUojv1hwIxnJ+dOaJfMriIgG/Atu4n4+7R9Qa8lCj0ua8/8RThLVYRUcDh Q30y5g72WpkPdhwXykcgf9i7MwMEh/aT3+BPokUCz1ujg9XYDC2DnsF7yoQNF8VQA3QwsDFewSxA OAHcdPPx4IQM7iJnEhoABTZo1xe7MoZTZYFujNY+6NDhF4Mrg2hKSijUoC9eyyfUDKbsSiICgBeS JVh33GAEyiN/qwKiNEjQob51cTNw5zJEAXifbA8PBnkFMfCOCIhcDDU3/jlmhboEBaBlBCLoXx2O +5pX3ARK4ZM9NIeinIazxtyorLFZj10y3Z3226dBaL+BKgA34PFFa9q7abfPsCnY12PNiiIdzF0h ENt1PlIRzTuQgX5f/gKEG8H2P7BuJd54+A+gDbwSKDMoaSJ651QokQ6gY+f8OEv8Kf0jgnUH+QSX NHsss4LTRBBvE5YAvQfaUkVQZkE8LXO7gejqQule4eCLgW8gxzUc7/Y/7M7vaG7dqwMAAAAASUVO RK5CYII= X-Now-Playing: Oneohtrix Point Never's _Returnal_: "Pelham Island Road" X-Hashcash: 1:23:110703:6755@debbugs.gnu.org::T3Y7Fo0yK4DYk60m:00000000000000000000000000000000000000000VbYr X-Hashcash: 1:23:110703:drew.adams@oracle.com::wVOo7TV+TEYbC1a0:00000000000000000000000000000000000000019Cjt X-MailScanner-ID: 1QdORy-0001nv-F3 MailScanner-NULL-Check: 1310311150.68679@Lpyk+5vKZr3ZF0/upu5CiA X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 03 Jul 2011 11:20:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:47842 Archived-At: Lars Magne Ingebrigtsen writes: >> (defcustom icicle-incremental-completion-flag t >> "..." >> :type >> '(choice >> (const >> :tag >> "Do not update `*Completions*' incrementally" >> nil) >> (const >> :tag >> "Update `*Completions*' incrementally if already displayed" >> t) >> (other >> :tag >> "Update `*Completions*' incrementally always" >> always)) >> :group 'Icicles-Completions-Display) > > Thanks. The widget code is really involved, but I think I've finally figured out what's inserting the string in question: (defun widget-create-child-value (parent type value) "Create widget of TYPE with value VALUE." (let ((widget (widget-copy type))) (widget-put widget :value (widget-apply widget :value-to-internal value)) (widget-put widget :parent parent) (unless (widget-get widget :indent) (widget-put widget :indent (+ (or (widget-get parent :indent) 0) (or (widget-get widget :extra-offset) 0) (widget-get parent :offset)))) (widget-apply widget :create) widget)) So now the question is how the text should be formatted. Perhaps folding it after inserting it is the right way? Anybody know how? :-) (I mean, without breaking the widget machinery...) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/