bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#12314: 24.2.50; `add-to-history': use `setq' with `delete'


From: Andreas Schwab
Subject: bug#12314: 24.2.50; `add-to-history': use `setq' with `delete'
Date: Sat, 08 Sep 2012 19:06:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Andreas Schwab <schwab@linux-m68k.org>
>> Cc: Drew Adams <drew.adams@oracle.com>,  12314@debbugs.gnu.org,  cyd@gnu.org
>> Date: Sat, 08 Sep 2012 18:19:58 +0200
>> 
>> Eli Zaretskii <eliz@gnu.org> writes:
>> 
>> > Then the manual should be corrected to state that much more explicitly
>> > than it does now.  Perhaps it shouldn't even talk about destructive
>> > removal, as that will surely spread confusion.  For me "destructive"
>> > means "in-place", and no amount of describing how 'delete' works
>> > internally will ever be able to countermand that.
>> 
>> Even if the element is not the first one, you always have to think about
>> other references that may exist to the cons that is removed.
>
> Sorry, I'm not sure how this is related.  Please elaborate.

It's just a special case of this general behaviour.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





reply via email to

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