From: lehe <timlee126@yahoo.com>
To: Help-gnu-emacs@gnu.org
Subject: search with pasted text and C/C++ mode
Date: Wed, 20 May 2009 08:13:59 -0700 (PDT) [thread overview]
Message-ID: <23637218.post@talk.nabble.com> (raw)
Hi,
My first question is about using Ctrl-s to search text in emacs. Firstly I
copy some string, then Ctrl-s, and now I Ctrl-y and hope to paste the copied
string as the string to search but it didn't happen. Instead some text has
been highlighted all the way till I exit emacs. Can someone please let me
know to do it correctly?
My following questions are about programming C/C++ in emacs:
When I use cscope in emacs to search some symbol, there will be a new window
created with lines showing all the positions where it appears. I try to
click each line in hope to jump to that particular position in some file,
but nothing happens. How could I jump from the search results from cscope?
When I program in C++, I will have a C++ drop-down menu (guess it is perhaps
from GNU indent or the original C++ mode of emacs?) at the toolbar of emacs
for .cc files, but will have C menu instead for .h files. Is it possible to
have C++ menu for both source and header files? Or this does not matter?
Thanks and regards!
--
View this message in context: http://www.nabble.com/search-with-pasted-text-and-C-C%2B%2B-mode-tp23637218p23637218.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
next reply other threads:[~2009-05-20 15:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-20 15:13 lehe [this message]
2009-05-20 15:26 ` search with pasted text and C/C++ mode Drew Adams
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=23637218.post@talk.nabble.com \
--to=timlee126@yahoo.com \
--cc=Help-gnu-emacs@gnu.org \
/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.
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.