emacs-devel
[Top][All Lists]
Advanced

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

Re: `aset` on strings, changing the size in bytes


From: Richard Stallman
Subject: Re: `aset` on strings, changing the size in bytes
Date: Mon, 10 Sep 2018 01:47:44 -0400

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > >> Or we could define it to replace a substring:
  > >>
  > >>    (setq s (srep s from to newsubstring))
  > >
  > > Why not have aset do this under the hood?  Then we won't need to ask
  > > people to change code that worked for decades.

  > It's unclear what you mean by that, the semantics of aset is to modify
  > the original string, changing that would surely break code that worked
  > for decades.

I propose new functions sset and srep.

-- 
Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





reply via email to

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