stumpwm-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[STUMP] colon doesn't accept arguments


From: Dirk Sondermann
Subject: [STUMP] colon doesn't accept arguments
Date: Sun, 21 Nov 2010 12:02:41 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101118 Lightning/1.0b3pre Thunderbird/3.1.6

Since the last change of command.lisp (as of 12th May 2010, so
it's already in version 0.9.7) it's no longer possible to enter
a command with arguments at the colon prompt in the input bar.

For example, in version 0.9.6 one could override a window title
by entering

  : title new-title

but in version 0.9.7 (as well as in the current git version)
this leads to an error message

  : title new-title  [No match]

To restore the old behaviour it would suffice to remove the
":require-match t" argument in the invocation of completing-read
in the definition of the colon command, which was introduced
(perhaps unintentionally) along with the conversion from
&optional to &key arguments.

--
Dirk

Attachment: colon.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]