[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
address@hidden: Customizing comint-input-ring-size]
From: |
Richard Stallman |
Subject: |
address@hidden: Customizing comint-input-ring-size] |
Date: |
Sun, 29 Sep 2002 14:43:35 -0400 |
Could you look at the issue about the misleading message
when :match fails? Is there a way to specify a different message?
If not, could you add one?
------- Start of forwarded message -------
Envelope-to: address@hidden
Delivery-date: Sat, 28 Sep 2002 04:23:16 -0400
From: Fabrice Bauzac <address@hidden>
To: address@hidden
Subject: Customizing comint-input-ring-size
Sender: Fabrice Bauzac <address@hidden>
Date: Sat, 28 Sep 2002 10:23:07 +0200
X-Spam-Status: No, hits=1.5 required=5.0
tests=DOUBLE_CAPSWORD,GAPPY_TEXT
version=2.31
X-Spam-Level: *
Hello,
I wanted to customize the comint ring size to a value higher than 32
(which is the default), so I tried M-x customize-group RET comint RET.
However, it seems comint-input-ring-size isn't a customization
variable.
Maybe many users would expect to find it as a customization variable
in the 'comint group, or at least be able to change it with M-x
set-variable. Something like this:
(defcustom comint-input-ring-size 32
"*Size of input history ring.
"
:type '(integer :match (lambda (w v) (and (integerp v) (> v 0))))
:group 'comint)
Do you think it is wise to do so?
By the way, when a user sets this value to -1 (for example) in
customization, the :match function returns nil, which means that -1 is
invalid; however, the message that appears in the echo area isn't that
clear:
custom-variable-set: This field should contain an integer
Is it possible to set a particular message instead of the one above?
Definitely, thanks.
In GNU Emacs 21.3.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2002-09-14 on noon.dnsalias.net
configured using `configure --prefix=/home/noon/emacs-cvs-prefix
--with-x-toolkit=athena --with-xpm --with-jpeg --with-tiff --with-gif
--with-png --with-x'
Important settings:
value of $LC_ALL: fr_FR
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: fr_FR
locale-coding-system: iso-latin-1
default-enable-multibyte-characters: t
Recent input:
z e SPC v a r <tab> <return> m y SPC i <backspace>
s i <tab> <return> C-u C-n C-u C-n C-u C-n C-p n n
<return> C-p n n C-k 2 C-a C-n C-a n <return> 0 C-p
M-f M-f M-f C-f C-d 0 C-a C-n C-a n <return> 0 n C-x
b <return> M-> <return> C-p C-p C-p M-> M-x b u g <tab>
<tab> <backspace> <backspace> <backspace> <backspace>
e m a <tab> b u <tab> <tab> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> r e p o <tab> r <tab> b i <backspace> u
<tab> <return>
Recent messages:
Change the state of this item.
Hide the value of this option.
M-TAB: complete field; RET: enter value
Change the state of this item. [2 times]
custom-variable-set: This field should contain an integer
M-TAB: complete field; RET: enter value
Mark set [2 times]
call-interactively: Text is read-only
Making completion list...
Loading emacsbug...done
- --
fabrice bauzac
Software should be free. http://www.gnu.org/philosophy/why-free.html
------- End of forwarded message -------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- address@hidden: Customizing comint-input-ring-size],
Richard Stallman <=