Date: Thu, 25 Nov 1999 17:19:56 -0500 From: Greg Lehey <grog@mojave.sitaranetworks.com> To: Mark Ovens <mark@dogma.freebsd-uk.eu.org> Cc: brooks@one-eyed-alien.net, james.wilde@telia.com, freebsd-questions@freebsd.org Subject: Re: Programmers' editor? Message-ID: <19991125171956.61298@mojave.sitaranetworks.com> In-Reply-To: <19991125215413.C1342@marder-1>; from Mark Ovens on Thu, Nov 25, 1999 at 09:54:13PM %2B0000 References: <Pine.BSF.4.21.9911231240360.4557-100000@fw.wintelcom.net> <00e101bf3681$44cb04a0$8c0aa8c0@hk.tbv.se> <19991124103253.B2554@orion.ac.hmc.edu> <19991124135521.44585@mojave.sitaranetworks.com> <19991124162753.A21217@penguin.ipunet.com> <19991125141842.49736@mojave.sitaranetworks.com> <19991125201151.D316@marder-1> <19991125160401.08368@mojave.sitaranetworks.com> <19991125215413.C1342@marder-1>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, 25 November 1999 at 21:54:13 +0000, Mark Ovens wrote: > On Thu, Nov 25, 1999 at 04:04:01PM -0500, Greg Lehey wrote: >> On Thursday, 25 November 1999 at 20:11:51 +0000, Mark Ovens wrote: >>> On Thu, Nov 25, 1999 at 02:18:42PM -0500, Greg Lehey wrote: >>>> >>>> m-p (that's the Meta key, usually mapped to Alt). This will give you >>>> the previous non-trivial command in the minibuffer. Repeated m-p will >>>> go further back in the command history, m-n will go forward. You can >>>> edit the command before reissuing it. >>>> >>> >>> Doesn't work for me :( C-h k M-p gives "M-p is undefined" >> >> Are you using xemacs instead of Emacs? > > No > > marder-1# emacs --version > GNU Emacs 20.3.1 > Copyright (C) 1998 Free Software Foundation, Inc. > [snip] Hmm. >> Look for repeat-complex-command. >> > > Eureka! I've sussed it :) You have to working in the mini-buffer for > M-p, M-n to work, i.e. M-x M-p. I didn't realize that. You shouldn't need to. But you *do* need something in the history, otherwise it just beeps at you. Load a new file or some such and you'll have something there. Insertions like c-y don't count, because they're easier to do in other ways. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991125171956.61298>