unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: efficient editing question (hot key , ccmode)
Date: Wed, 22 Nov 2006 09:12:13 -0700	[thread overview]
Message-ID: <ek1suc$2t5$1@sea.gmane.org> (raw)
In-Reply-To: <87fycc2dhe.fsf@hans.local.net>

Dieter Wilhelm wrote:
> "Ronald" <followait@163.com> writes:
> 
>> "Kevin Rodgers" <ihs_4664@yahoo.com> 
>> ??????:mailman.951.1164126341.2155.help-gnu-emacs@gnu.org...
>>> Ronald wrote:
...
>>>> And how to let ``{}" work in the same way?
>>> (global-set-key "\M-{" 'insert-pair)
>>>
>> Maybe I should get the function,``insert-pair",first.
> 
> It's a standard Emacs (22) function.

Oops, sorry for not checking that.

>>>> When the caret is in the middle of a line,
>>>> how to new a line and move the caret there automatically?
>>> If by caret you mean point: C-e RET
>> Maybe I should define something like C-; , who has less key strokes.
> 
> When it's not taken already, why not?

,----[ File: emacs,  Node: Keymaps,  Next: Prefix Keymaps,  Up: Key 
Bindings ]
|   As a user, you can redefine any key; but it is usually best to stick
| to key sequences that consist of `C-c' followed by a letter (upper or
| lower case).  These keys are "reserved for users," so they won't
| conflict with any properly designed Emacs extension.  The function keys
| <F5> through <F9> are also reserved for users.  If you redefine some
| other key, your definition may be overridden by certain extensions or
| major modes which redefine the same key.
`----

-- 
Kevin

      reply	other threads:[~2006-11-22 16:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-19  7:39 efficient editing question (hot key , ccmode) Ronald
2006-11-19  9:36 ` Dieter Wilhelm
2006-11-20 21:50   ` Dieter Wilhelm
2006-11-21 16:24 ` Kevin Rodgers
     [not found] ` <mailman.951.1164126341.2155.help-gnu-emacs@gnu.org>
2006-11-22  4:06   ` Ronald
2006-11-22  6:37     ` Dieter Wilhelm
2006-11-22 16:12       ` Kevin Rodgers [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ek1suc$2t5$1@sea.gmane.org' \
    --to=ihs_4664@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).