help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

search with pasted text and C/C++ mode


From: lehe
Subject: search with pasted text and C/C++ mode
Date: Wed, 20 May 2009 08:13:59 -0700 (PDT)

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]