all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* What did I do?  or rather, how did I do it?
@ 2007-10-01 21:44 the matt
  2007-10-01 21:44 ` Daniel Leidisch
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: the matt @ 2007-10-01 21:44 UTC (permalink / raw)
  To: help-gnu-emacs


I hit some keys accidentally and did something rather cool.  But I
don't know what I hit.

I had something like this:

echo ""
echo "
echo ""
echo""

I hit the magic combination, and ended up with:

echo ""  echo ""
echo "" echo ""


I actually started with a single column of 8 and ended up with 2 rows
of 4.

Anyone know what the command is, keystrokes, etc?

Thanks

Matt

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: What did I do?  or rather, how did I do it?
  2007-10-01 21:44 What did I do? or rather, how did I do it? the matt
@ 2007-10-01 21:44 ` Daniel Leidisch
  2007-10-02  2:11 ` Barry Margolin
  2007-10-03 23:58 ` Dieter Wilhelm
  2 siblings, 0 replies; 7+ messages in thread
From: Daniel Leidisch @ 2007-10-01 21:44 UTC (permalink / raw)
  To: help-gnu-emacs

the matt <matt@kettlewell.net> writes:

> I hit some keys accidentally and did something rather cool.  But I
> don't know what I hit.

[...]

> Anyone know what the command is, keystrokes, etc?

I have no idea, but if you're lucky C-h l could help.


Regards,

dhl

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: What did I do?  or rather, how did I do it?
  2007-10-01 21:44 What did I do? or rather, how did I do it? the matt
  2007-10-01 21:44 ` Daniel Leidisch
@ 2007-10-02  2:11 ` Barry Margolin
  2007-10-02 13:53   ` the matt
  2007-10-03 23:58 ` Dieter Wilhelm
  2 siblings, 1 reply; 7+ messages in thread
From: Barry Margolin @ 2007-10-02  2:11 UTC (permalink / raw)
  To: help-gnu-emacs

In article <1191275041.412058.37890@n39g2000hsh.googlegroups.com>,
 the matt <matt@kettlewell.net> wrote:

> I hit some keys accidentally and did something rather cool.  But I
> don't know what I hit.
> 
> I had something like this:
> 
> echo ""
> echo "
> echo ""
> echo""
> 
> I hit the magic combination, and ended up with:
> 
> echo ""  echo ""
> echo "" echo ""
> 
> 
> I actually started with a single column of 8 and ended up with 2 rows
> of 4.

Did it also add the second double quote on the second line, and add a 
space after "echo" on the last one?  Or were those just typos in your 
example?

> Anyone know what the command is, keystrokes, etc?

My guess: M-q

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: What did I do? or rather, how did I do it?
  2007-10-02  2:11 ` Barry Margolin
@ 2007-10-02 13:53   ` the matt
  2007-10-02 14:45     ` Denis Bueno
  2007-10-03  5:20     ` Barry Margolin
  0 siblings, 2 replies; 7+ messages in thread
From: the matt @ 2007-10-02 13:53 UTC (permalink / raw)
  To: help-gnu-emacs


> Did it also add the second double quote on the second line, and add a
> space after "echo" on the last one?  Or were those just typos in your
> example?
>

Just a typo.

the quotes were unimportant, just happened to be what I was using to
setup a  long set of echo's.  It just happened to format them from
columns to rows.

M-q seems to be close, it took it from one column to 1 row, but not to
2 rows.

describe-bindings doesn't show what M-q is bound to, could you
enlighten me?

Thanks

Matt

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: What did I do? or rather, how did I do it?
  2007-10-02 13:53   ` the matt
@ 2007-10-02 14:45     ` Denis Bueno
  2007-10-03  5:20     ` Barry Margolin
  1 sibling, 0 replies; 7+ messages in thread
From: Denis Bueno @ 2007-10-02 14:45 UTC (permalink / raw)
  To: the matt; +Cc: help-gnu-emacs

On 10/2/07, the matt <matt@kettlewell.net> wrote:
> describe-bindings doesn't show what M-q is bound to, could you
> enlighten me?

C-h k M-q

will tell you what it's bound to.

In general M-q is bound to something like `fill-paragraph', although
it might be a specialised function in some modes.

-- 
                              Denis

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: What did I do? or rather, how did I do it?
  2007-10-02 13:53   ` the matt
  2007-10-02 14:45     ` Denis Bueno
@ 2007-10-03  5:20     ` Barry Margolin
  1 sibling, 0 replies; 7+ messages in thread
From: Barry Margolin @ 2007-10-03  5:20 UTC (permalink / raw)
  To: help-gnu-emacs

In article <1191333212.036841.48400@n39g2000hsh.googlegroups.com>,
 the matt <matt@kettlewell.net> wrote:

> > Did it also add the second double quote on the second line, and add a
> > space after "echo" on the last one?  Or were those just typos in your
> > example?
> >
> 
> Just a typo.
> 
> the quotes were unimportant, just happened to be what I was using to
> setup a  long set of echo's.  It just happened to format them from
> columns to rows.
> 
> M-q seems to be close, it took it from one column to 1 row, but not to
> 2 rows.
> 
> describe-bindings doesn't show what M-q is bound to, could you
> enlighten me?

It fills the paragraph.  If you also managed to set your fill-column 
very low, it would take it to two rows instead of one row.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: What did I do?  or rather, how did I do it?
  2007-10-01 21:44 What did I do? or rather, how did I do it? the matt
  2007-10-01 21:44 ` Daniel Leidisch
  2007-10-02  2:11 ` Barry Margolin
@ 2007-10-03 23:58 ` Dieter Wilhelm
  2 siblings, 0 replies; 7+ messages in thread
From: Dieter Wilhelm @ 2007-10-03 23:58 UTC (permalink / raw)
  To: the matt; +Cc: help-gnu-emacs

the matt <matt@kettlewell.net> writes:

> I hit some keys accidentally and did something rather cool.  But I
> don't know what I hit.
>
> I had something like this:
>
> echo ""
> echo "
> echo ""
> echo""
>
> I hit the magic combination, and ended up with:
>
> echo ""  echo ""
> echo "" echo ""
>
>
> I actually started with a single column of 8 and ended up with 2 rows
> of 4.
>
> Anyone know what the command is, keystrokes, etc?

Maybe you typed M-^ in echo line 2 and then again in the last echo
line?

-- 
    Best wishes

    H. Dieter Wilhelm
    Darmstadt, Germany

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-10-03 23:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-01 21:44 What did I do? or rather, how did I do it? the matt
2007-10-01 21:44 ` Daniel Leidisch
2007-10-02  2:11 ` Barry Margolin
2007-10-02 13:53   ` the matt
2007-10-02 14:45     ` Denis Bueno
2007-10-03  5:20     ` Barry Margolin
2007-10-03 23:58 ` Dieter Wilhelm

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.