unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Juri Linkov <juri@jurta.org>
Cc: 6459@debbugs.gnu.org
Subject: bug#6459: 24.0.50; completions-format should not have a `nil'  choice
Date: Sat, 19 Jun 2010 17:04:27 +0200	[thread overview]
Message-ID: <AANLkTimS_I2WWiVPRQxcR13PpHp-DsyfxBtlQP6LktXz@mail.gmail.com> (raw)
In-Reply-To: <87aaqrksyk.fsf@mail.jurta.org>

On Sat, Jun 19, 2010 at 4:37 PM, Juri Linkov <juri@jurta.org> wrote:
>> (defcustom completions-format nil
>>   "Define the appearance and sorting of completions.
>> If the value is `vertical', display completions sorted vertically
>> in columns in the *Completions* buffer.
>> If the value is `horizontal' or nil, display completions sorted
>> horizontally in alphabetical order, rather than down the screen."
>>   :type '(choice (const nil) (const horizontal) (const vertical))
>>   :group 'minibuffer
>>   :version "23.2")
>>
>> There is no reason for the `nil' choice.  Please remove it and make the
>> default value `horizontal'.  Occam's razor (KISS) and clarity for users
>> argue for this.
>
> We could remove nil from the docstring and from :type, and change
> the default value to `horizontal', but I'd still treat nil as
> `horizontal' internally for compatibility.


Since this is a new defcustom woulddn't it be better to not let nil be
a valid value? That may catch some problems and the backward
compatibilities are not likely to be big.





  reply	other threads:[~2010-06-19 15:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-18 20:17 bug#6459: 24.0.50; completions-format should not have a `nil' choice Drew Adams
2010-06-19 14:37 ` Juri Linkov
2010-06-19 15:04   ` Lennart Borgman [this message]
2010-06-20 14:50     ` Drew Adams
2010-06-24 21:54       ` Juri Linkov
     [not found]         ` <8BEE1EFC8295492FA9737701B9F633FA@us.oracle.com>
     [not found]           ` <87hbksf3xh.fsf@mail.jurta.org>
2010-06-25 21:09             ` 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=AANLkTimS_I2WWiVPRQxcR13PpHp-DsyfxBtlQP6LktXz@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=6459@debbugs.gnu.org \
    --cc=juri@jurta.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).