From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Joe Riel Newsgroups: gmane.emacs.help Subject: Interactively edit a list of strings Date: Sun, 22 Jul 2018 16:55:40 -0700 Message-ID: <20180722165540.209abe10@gauss> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1532303656 30084 195.159.176.226 (22 Jul 2018 23:54:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 22 Jul 2018 23:54:16 +0000 (UTC) To: Help GNU Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 23 01:54:12 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhOAz-0007h9-Om for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Jul 2018 01:54:09 +0200 Original-Received: from localhost ([::1]:58065 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhOD6-0002nY-KI for geh-help-gnu-emacs@m.gmane.org; Sun, 22 Jul 2018 19:56:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44361) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhOCa-0002nS-Dh for help-gnu-emacs@gnu.org; Sun, 22 Jul 2018 19:55:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhOCX-0006DS-CB for help-gnu-emacs@gnu.org; Sun, 22 Jul 2018 19:55:48 -0400 Original-Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.227]:50407 helo=cdptpa-cmomta01.email.rr.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fhOCX-0006CP-5m for help-gnu-emacs@gnu.org; Sun, 22 Jul 2018 19:55:45 -0400 Original-Received: from gauss ([75.80.191.41]) by cmsmtp with SMTP id hO2rfTewJEb4ChO2tfv3x6; Sun, 22 Jul 2018 23:45:48 +0000 X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) X-CMAE-Envelope: MS4wfGqJiuPUVS6e1n9v8vju2soIDX7S26NkUkKI77ik1/LdWANmUWVamE3+LiEuQTa14IneFiG+QSx4H6aE/XV2cm0CLeyDPSrdlhNflSJ3vd8hUhMOcX4S 1ga6BLpRXgsK5O7EsWKnOFfIVJXemt7JyaTwrXnXqN0yfQTi8JIddUv9 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 107.14.166.227 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117563 Archived-At: Am looking for a good way to interactively edit a list of strings, that is, to allow the user to selectively delete strings from the list. Any suggestions on how to implement this? My first thought is to write each string on a separate line in a temporary buffer, allow the user to edit that, then reassemble the buffer into a list, however, that isn't ideal, it allows too much freedom to modify the content. I could restrict the allowable commands to deleting lines, but am wondering if there is a better way. -- Joe Riel