From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#33007: 27.0.50; Proposal for function to edit and return string Date: Tue, 26 Apr 2022 11:58:55 +0200 Message-ID: <871qxkjhcw.fsf@gnus.org> References: <86pnwh4je8.fsf@protected.rcdrun.com> <83bm81xl84.fsf@gnu.org> <20181011063321.GD27672@protected.rcdrun.com> <87lg74zk2k.fsf@web.de> <87v8uybp1c.fsf@gnus.org> <87pml43hoj.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12094"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Jean Louis , 33007@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 26 12:17:54 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1njIGX-0002v1-QC for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 26 Apr 2022 12:17:53 +0200 Original-Received: from localhost ([::1]:37768 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njIGW-0001zN-Gb for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 26 Apr 2022 06:17:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57724) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njHzH-0008G2-AB for bug-gnu-emacs@gnu.org; Tue, 26 Apr 2022 06:00:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43210) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njHzG-0002EH-VK for bug-gnu-emacs@gnu.org; Tue, 26 Apr 2022 06:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1njHzG-0005Ox-Sw for bug-gnu-emacs@gnu.org; Tue, 26 Apr 2022 06:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Apr 2022 10:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33007 X-GNU-PR-Package: emacs Original-Received: via spool by 33007-submit@debbugs.gnu.org id=B33007.165096714520657 (code B ref 33007); Tue, 26 Apr 2022 10:00:02 +0000 Original-Received: (at 33007) by debbugs.gnu.org; 26 Apr 2022 09:59:05 +0000 Original-Received: from localhost ([127.0.0.1]:37101 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njHyL-0005N7-KH for submit@debbugs.gnu.org; Tue, 26 Apr 2022 05:59:05 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:58700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njHyK-0005Ma-A2 for 33007@debbugs.gnu.org; Tue, 26 Apr 2022 05:59:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=pUyB2FVGEHnv46T7hKnkQj0UWuZBgXZ62AeHf907t2I=; b=n0v3aww2xS7+hLc3LL1ZuccZ6Z yvv4wZipwtYtPS0Sc2pL6z8AGEjhzS4L60NSQFb7eYHd1UF8L5zA9nhoaDqzvR6iG3dqkywHo/KeP ltjUSdr9tBbjnY83BPs/Q6V5DBjsqq/yHcofM12rT7zMFcrb4wLIkq5s0CXH8ZHNZwfs=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1njHyB-00074b-Ow; Tue, 26 Apr 2022 11:58:57 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEVAQD5XVlSAf32v rqwnJiX///8cGdnKAAAAAWJLR0QF+G/pxwAAAAlwSFlzAAAOdAAADnQBaySz1gAAAAd0SU1FB+YE GgkfNsvc44wAAAFzSURBVDjLnZLtYcQgCIah5wDiZYBqOsAldgBs3X+m8mFs7vLv/JEAj8CLCnBZ SLqucaB3wYXhBM+JI34AeikkgVLKmeAE1VeOAyT39wPUsTEdPqzD8IK0TjCLzuVd/4XEsyYB4iNe gZt3Lbo9W3Yk5u6zt4IiIJEoGHPaL6psmaNkL7HNX5FEqPte3DwGSg70s6804zX7JiiSvtYzqOum ICPivX4GBtUOzB9yOgNIzw0j8O0RQJ2SDZBmbCK7/343EXo7MhoIeHAMbd0CW4YBIo63+t07033P ofMZfNRF4vnnkSn0JndmAB0Q5bYk6WRgXwX0+FO/OCYKnDJFBcVKdctoeiFygKHVBeUsIWJA6dlR gdyYtF+aAcCydAOsKbKHLWPxuAzgzw3UUUAWHwAcdE4FPC4gnkBvUsqMPp90DE58g4DjiQ3QrwCe AL8HUF/UFUSklPEKtI4pflZ1RDHSIK+AXoBPbvx1QK3O1x6dwyFigD8OqYZhEj8xqQAAACV0RVh0 ZGF0ZTpjcmVhdGUAMjAyMi0wNC0yNlQwOTozMTo1NCswMDowMAETdhMAAAAldEVYdGRhdGU6bW9k aWZ5ADIwMjItMDQtMjZUMDk6MzE6NTQrMDA6MDBwTs6vAAAAAElFTkSuQmCC X-Now-Playing: Shearwater's _Shearwater plays Bowie's Berlin Trilogy: Part 1: Low_: "Art Decade" In-Reply-To: <87pml43hoj.fsf@web.de> (Michael Heerdegen's message of "Tue, 26 Apr 2022 00:46:20 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:230690 Archived-At: Michael Heerdegen writes: > do you think it would make sense to add a :setup-function key to > `string-edit'? That arg could then be used to manipulate the key > bindings or toggle modes and such things. Sure; go ahead and add that. > Related question: Is it planned that this function will also be used to > implement reading Elisp expressions from a buffer, or other things > besides plain strings? There's nothing planned, really. :-) Adding a variation to read a Lisp form from a buffer would also be nice (which would signal an error if the form isn't complete, much like `M-:' does these days). -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no