[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Patch to tex-info.el to support node name completion in @..
From: |
Tassilo Horn |
Subject: |
Re: [AUCTeX] Patch to tex-info.el to support node name completion in @..ref commands, and solve a few other pbs |
Date: |
Tue, 27 Oct 2015 07:55:42 +0100 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
Hi guys,
I'm somehow lost. It seems that some mail, presumably Stefan ->
Vincent, started this discussion but that hasn't been delivered to me.
So well, yes, `pushnew' does the right thing, and in Vincent's patch to
tex-info.el, I replaced his `add-to-list' call with (pushnew ... :test
#'equal) anyhow.
If there's something else I have to do, please tell me.
>> Ok, I should have read the *Help* more carefully, it states
>> (cl-pushnew X PLACE): insert X at the head of the list if not already
>> there.
>
>> and I understood "there" as meaning "head of the list", instead of
>> just "list".
Indeed, that's not overly clear.
>> Of course the second sentence clarifies the point, but I overlooked
>> it.
>
>> Maybe it could be rephrased as:
>
>> (cl-pushnew X PLACE): insert X at the head of the list PLACE unless X is
>> already an element of PLACE.
>
>> If you agree with the rephrasal, I can implement the change.
>
> Fine by me,
A bit too long given that the first sentence of a docstring should fit
into one line and still mention all parameters. But why does the
docstring start with a synopsis? I'd just delete that and say
Insert X as head of list PLACE unless PLACE already contains X.
Bye,
Tassilo
- [AUCTeX] Patch to tex-info.el to support node name completion in @..ref commands, and solve a few other pbs, Vincent Belaïche, 2015/10/25
- Re: [AUCTeX] Patch to tex-info.el to support node name completion in @..ref commands, and solve a few other pbs, Tassilo Horn, 2015/10/26
- Message not available
- Message not available
- Re: [AUCTeX] Patch to tex-info.el to support node name completion in @..ref commands, and solve a few other pbs, Vincent Belaïche, 2015/10/26
- Re: [AUCTeX] Patch to tex-info.el to support node name completion in @..ref commands, and solve a few other pbs, Stefan Monnier, 2015/10/26
- Re: [AUCTeX] Patch to tex-info.el to support node name completion in @..ref commands, and solve a few other pbs, Vincent Belaïche, 2015/10/26
- Re: [AUCTeX] Patch to tex-info.el to support node name completion in @..ref commands, and solve a few other pbs, Vincent Belaïche, 2015/10/26
- Re: [AUCTeX] Patch to tex-info.el to support node name completion in @..ref commands, and solve a few other pbs, Vincent Belaïche, 2015/10/26
- Re: [AUCTeX] Patch to tex-info.el to support node name completion in @..ref commands, and solve a few other pbs, Stefan Monnier, 2015/10/26
- Re: [AUCTeX] Patch to tex-info.el to support node name completion in @..ref commands, and solve a few other pbs,
Tassilo Horn <=
- Re: [AUCTeX] Patch to tex-info.el to support node name completion in @..ref commands, and solve a few other pbs, Joost Kremers, 2015/10/27
- Re: [AUCTeX] Patch to tex-info.el to support node name completion in @..ref commands, and solve a few other pbs, David Kastrup, 2015/10/27
- Re: [AUCTeX] Patch to tex-info.el to support node name completion in @..ref commands, and solve a few other pbs, Tassilo Horn, 2015/10/27
- Re: [AUCTeX] Patch to tex-info.el to support node name completion in @..ref commands, and solve a few other pbs, Vincent Belaïche, 2015/10/27
- Re: [AUCTeX] Patch to tex-info.el to support node name completion in @..ref commands, and solve a few other pbs, Tassilo Horn, 2015/10/28
- Re: [AUCTeX] Patch to tex-info.el to support node name completion in @..ref commands, and solve a few other pbs, Vincent Belaïche, 2015/10/28
- Re: [AUCTeX] Patch to tex-info.el to support node name completion in @..ref commands, and solve a few other pbs, Tassilo Horn, 2015/10/28
- Re: [AUCTeX] Patch to tex-info.el to support node name completion in @..ref commands, and solve a few other pbs, Mosè Giordano, 2015/10/28
- Re: [AUCTeX] Patch to tex-info.el to support node name completion in @..ref commands, and solve a few other pbs, Tassilo Horn, 2015/10/28
- Re: [AUCTeX] Patch to tex-info.el to support node name completion in @..ref commands, and solve a few other pbs, Vincent Belaïche, 2015/10/28