🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98806

repeat/next-complex-command prompt

#98806
From: macrakis
Date: Sat, 02 Mar 1991 16:17
21 lines
1372 bytes
GNU Emacs 18.53.11 on NeXT 1.0.1

If you Redo (using repeat-complex-command) a command that uses strings
including newlines, you only see that part of the command after the
last newline.  I find that I do this quite a bit (with replace-x
commands in particular), and the current behavior isn't very helpful.

Suggested solution:

I suggest that repeat-complex-command (and next-complex-command) bind
print-escape-newlines to t when it prin1's the Redo prompt.  This
allows you to see more of a command that contains newlines, e.g.

	Redo: (replace-string "\n\n" "\n")

instead of

	Redo: ")

Note, by the way, that you can't do this binding at the same time as
the elt binding because it would then include the eval in its scope.
Technical Details
Message-ID: <9102281634.AA00230@dupuis.gr.osf.org>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!unreplyable!garbage

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,7eed88c977ac4ce,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1991-03-02 14:51:01 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!unreplyable!garbage
From: macrakis@gr.osf.org
Newsgroups: gnu.emacs.bug
Subject: repeat/next-complex-command prompt
Message-ID: <9102281634.AA00230@dupuis.gr.osf.org>
Date: 2 Mar 91 16:17:53 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 21
Approved: bug-gnu-emacs@prep.ai.mit.edu
X-Unparsable-Date: Thu, 28 Feb 91 17:42:11 GMT+0100