From: "Chen, Yukun" <yukun.chen@intel.com>
Subject: RE: Several questions about the use of emacs
Date: Tue, 30 Nov 2004 12:33:47 +0800 [thread overview]
Message-ID: <16A54BF5D6E14E4D916CE26C9AD30575AAB530@pdsmsx402.ccr.corp.intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1390 bytes --]
Thanx Kai, it works now
Aaron
-----Original Message-----
From: help-gnu-emacs-bounces+yukun.chen=intel.com@gnu.org [mailto:help-gnu-emacs-bounces+yukun.chen=intel.com@gnu.org] On Behalf Of Kai Grossjohann
Sent: 2004年11月29日 19:47
To: help-gnu-emacs@gnu.org
Subject: Re: Several questions about the use of emacs
"Chen, Yukun" <yukun.chen@intel.com> writes:
> 1. How can I comments a block of content once? (mean that I
> can comment sever lines by marking them with "//" at the start
> position in c language. I think it is useful in c development)
Mark the region and hit M-;. Hitting M-; again removes the comment
lines again. I think you need to turn on transient-mark-mode for this
to work.
Perhaps C mode also supports the C-c C-c binding to comment a region
of code. Use C-u C-c C-c to uncomment.
> 2. Has emacs provided the function that complete the left
> character of a word, just as the commands of vi "ctrl + n"
> "ctrl + p" do?
There are M-/ and C-M-/. I think that M-/ is somewhat similar to
Ctrl-P, but it searches in both directions and it searches other
buffers, too. C-M-/ provides completion, whereas M-/ cycles through
the list of possibilities.
Kai
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
[-- Attachment #2: Type: text/plain, Size: 152 bytes --]
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
next reply other threads:[~2004-11-30 4:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-30 4:33 Chen, Yukun [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-11-29 7:34 Several questions about the use of emacs Chen, Yukun
2004-11-29 11:46 ` Kai Grossjohann
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=16A54BF5D6E14E4D916CE26C9AD30575AAB530@pdsmsx402.ccr.corp.intel.com \
--to=yukun.chen@intel.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).