GNU bug report logs - #6459
24.0.50; completions-format should not have a `nil' choice

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Fri, 18 Jun 2010 20:20:02 UTC

Severity: minor

Found in version 24.0.50

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 6459 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 6459 <at> debbugs.gnu.org
Subject: Re: bug#6459: 24.0.50;
	completions-format should not have a `nil' choice
Date: Sat, 19 Jun 2010 17:37:07 +0300
> (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.

-- 
Juri Linkov
http://www.jurta.org/emacs/




This bug report was last modified 15 years and 30 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.