From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: florian@fsavigny.de (Florian v. Savigny) Newsgroups: gmane.emacs.help Subject: Any way to trick completion--insert-strings into using only one column?? Date: Sun, 03 Jan 2016 15:49:47 +0100 Message-ID: <87twmu90qc.fsf@bertrandrussell.Speedport_W_723V_1_39_000> NNTP-Posting-Host: plane.gmane.org Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1451832618 4656 80.91.229.3 (3 Jan 2016 14:50:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Jan 2016 14:50:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 03 15:50:10 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aFjyx-0000Fb-FT for geh-help-gnu-emacs@m.gmane.org; Sun, 03 Jan 2016 15:50:07 +0100 Original-Received: from localhost ([::1]:41808 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFjyw-0004Iq-QV for geh-help-gnu-emacs@m.gmane.org; Sun, 03 Jan 2016 09:50:06 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFjym-0004IZ-IP for help-gnu-emacs@gnu.org; Sun, 03 Jan 2016 09:49:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aFjyh-0001oK-Fv for help-gnu-emacs@gnu.org; Sun, 03 Jan 2016 09:49:56 -0500 Original-Received: from srv4.ns-domain-hosting.de ([178.63.89.203]:52822) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFjyh-0001n0-A5 for help-gnu-emacs@gnu.org; Sun, 03 Jan 2016 09:49:51 -0500 X-No-Relay: not in my network Original-Received: from bertrandrussell.Speedport_W_723V_1_39_000 (p4FECCD64.dip0.t-ipconnect.de [79.236.205.100]) by srv4.ns-domain-hosting.de (Postfix) with ESMTPSA id 4BB58186B96 for ; Sun, 3 Jan 2016 15:49:49 +0100 (CET) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 178.63.89.203 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:108596 Archived-At: Dear elisp coders, A Happy New Year to everybody. The above function seems hardcoded to display at least two columns. Of course, it so happens that I want it to display only one column in a specific circumstance (the help buffer appears in a side window and the completion strings are long, to be precise). I have looked for ways of making the function believe it should only display one column by re-defining some variable around it locally, but this does not seem to be possible; it seems to display two columns even if the completion strings are 1000 characters long. Am I missing something here, or is the only way to get this behaviour to redefine the function? (This could be done in quite a handy way, e.g. the function could consider the width of the help window and decide to show only as many columns as will show completely, or the like.) Best regards, Florian --=20 Florian von Savigny Melanchthonstr. 41 33615 Bielefeld