From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: Question Kill-ring modify last entry. Date: Mon, 29 Jul 2019 16:43:24 +0200 Message-ID: References: <20190728214515.daxm2bcbto4ecco3@Ergus> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="111246"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 29 16:43:38 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hs6sC-000Smw-7v for ged-emacs-devel@m.gmane.org; Mon, 29 Jul 2019 16:43:36 +0200 Original-Received: from localhost ([::1]:52740 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hs6sB-0002nD-6T for ged-emacs-devel@m.gmane.org; Mon, 29 Jul 2019 10:43:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34046) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hs6s5-0002k4-8z for emacs-devel@gnu.org; Mon, 29 Jul 2019 10:43:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hs6s4-0000pU-Bw for emacs-devel@gnu.org; Mon, 29 Jul 2019 10:43:29 -0400 Original-Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]:43392) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hs6s4-0000oo-4A for emacs-devel@gnu.org; Mon, 29 Jul 2019 10:43:28 -0400 Original-Received: by mail-ed1-x52a.google.com with SMTP id e3so59576008edr.10 for ; Mon, 29 Jul 2019 07:43:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=pCLmqbM5uJhgXtkzPGC2+rC364MwE1CO/1MlTZge29I=; b=uMZSyywGHLJzC6HUP5CbzOitu3YMk2k2e5vv2z8YoIVVrvRoA5gmyoV0EQJq15/Gwj 5VZ+rIRSqmz7pZnkUmQTzAszk6B3c2jwzkhkr2uN7QgPVl1QaWjOsboblU0y/amYyk6D aiCpKm0vA2lzHPpAVdjcR7K0qNhjecXO34mtlQM2gMRopTPQBbrW72EcS/hFfO5P/gEF v2OfQV3SfUFNoQ66znM7pYgg+n2B01yzZwgJsAaSYTY8bIIsd7hlLa+Ll+Y9fK/g7z/Y r/W1ba38etowZLqUFEoqtm4F29QAsU52NnTAdV2/CGDY3Jrqyx0l4vZw9yDB1601Sdy3 OTNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=pCLmqbM5uJhgXtkzPGC2+rC364MwE1CO/1MlTZge29I=; b=BWtUOg8dAxNvh3pQGqVxCtpsQB9PbDkbk3LXZ4f8ekCR2f/X5pvo2Fr6x8Mg76IwG4 BF65dhKvtKilw2Aqpicu1+PhGhlIIGUOfaNDC/DGmr45avmwtnt1+o1GFx9bMFLDJ9d4 vjoes+Fs0JJP+91W6WfsOmn4r1O+QnItQOWlNBX4Ec1t6h+CYiY4ZlQVN9JF+R9Yb4eu Wy52pO6pe8Y4D8m/Z2/ncCkdHapDxVNwRzMSmquVBkjkr/oP992ZnFrptcOVTgRcFcC+ MErWvPskzPXvOIjTaib1M+o42+5+PKS0mKFDEAIZhrx0UDxv8tVQhfvBbdZPcXUAHkoj qQ6Q== X-Gm-Message-State: APjAAAU1KNPBaf4AAUnxIfvZyNLcxyftA9ers5v1702M+FJZVi/+HBsj VYFavFPhCyKRJOjMYGTHgWGIK7Gx X-Google-Smtp-Source: APXvYqyESk0H1TThTc2nD3H0Eg9cegoSbKiNxDP7uonhSbRONk5q2w9oPWRQrbcHMCjtB6m6KuPoqA== X-Received: by 2002:a50:9832:: with SMTP id g47mr92955620edb.282.1564411406420; Mon, 29 Jul 2019 07:43:26 -0700 (PDT) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id w35sm16150751edd.32.2019.07.29.07.43.24 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 29 Jul 2019 07:43:25 -0700 (PDT) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <20190728214515.daxm2bcbto4ecco3@Ergus> (Ergus's message of "Sun, 28 Jul 2019 23:45:15 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::52a X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:239000 Archived-At: >>>>> On Sun, 28 Jul 2019 23:45:15 +0200, Ergus said: Ergus> Hi: Ergus> I have been reading the elisp documentation and it is unclear fo= r me if Ergus> there is a "canonical" (lets say formal/supported/provided/save) Ergus> function to replace the last entry in the kill-ring with a new o= ne (like Ergus> the append option). kill-new has a 'replace' argument, so: (kill-new "foo" t) (unless I=CA=BCve misunderstood what you=CA=BCre asking for) Robert