[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Customizing the VC backend order
From: |
David Kastrup |
Subject: |
Re: Customizing the VC backend order |
Date: |
Fri, 10 Aug 2007 07:44:28 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
David Kastrup <address@hidden> writes:
> dhruva <address@hidden> writes:
>
>> Hi,
>>
>> On 8/10/07, Stefan Monnier <address@hidden> wrote:
>>> > falling back on CVS (and the rest). I tried modifying the order in
>>> > "vc-handled-backends" in my dotemacs file.
>>>
>>> That *should* work.
>>
>> I tried with only the following two lines in my dotemacs
>> (load "vc-hg")
>> (setq vc-handled-backends (nconc '(Hg) (delq 'Hg vc-handled-backends)))
>
> Yikes!!!!! Please _never_ use nconc unless you have a license to do
> so. Do you know what the last line will do when executed more than
> once?
Well, at least when you actually _read_ the line once. So try the
following example. Can you figure out what happens?
(setq xxx (copy-sequence vc-handled-backends))
(dotimes (i 3)
(setq xxx (nconc '(Hg) (delq 'Hg xxx))))
xxx
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- Re: Customizing the VC backend order, (continued)
- Re: Customizing the VC backend order, dhruva, 2007/08/10
- Re: Customizing the VC backend order, Stefan Monnier, 2007/08/10
- Re: Customizing the VC backend order, dhruva, 2007/08/10
- Re: Customizing the VC backend order, Stefan Monnier, 2007/08/10
- Re: Customizing the VC backend order, dhruva, 2007/08/11
- Re: Customizing the VC backend order, Andreas Schwab, 2007/08/11
- Re: Customizing the VC backend order, David Kastrup, 2007/08/11
- Message not available
- Message not available
- Message not available
- Re: Customizing the VC backend order, David Kastrup, 2007/08/11
- Re: Customizing the VC backend order, dhruva, 2007/08/11
- Re: Customizing the VC backend order, David Kastrup, 2007/08/10
- Re: Customizing the VC backend order,
David Kastrup <=
- Re: Customizing the VC backend order, Vinicius Jose Latorre, 2007/08/10
- Re: Customizing the VC backend order, Johan Bockgård, 2007/08/10