unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: florian@fsavigny.de (Florian v. Savigny)
To: help-gnu-emacs@gnu.org
Subject: Any way to trick completion--insert-strings into using only one column??
Date: Sun, 03 Jan 2016 15:49:47 +0100	[thread overview]
Message-ID: <87twmu90qc.fsf@bertrandrussell.Speedport_W_723V_1_39_000> (raw)


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

-- 

Florian von Savigny
Melanchthonstr. 41
33615 Bielefeld



             reply	other threads:[~2016-01-03 14:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-03 14:49 Florian v. Savigny [this message]
     [not found] <<87twmu90qc.fsf@bertrandrussell.Speedport_W_723V_1_39_000>
2016-01-03 15:46 ` Any way to trick completion--insert-strings into using only one column?? Drew Adams

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87twmu90qc.fsf@bertrandrussell.Speedport_W_723V_1_39_000 \
    --to=florian@fsavigny.de \
    --cc=help-gnu-emacs@gnu.org \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).