Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 11-20-2004, 05:27 PM   #1
Registered: Apr 2004
Posts: 40

Rep: Reputation: 15
Shell in emacs

Hi there, i opened a second buffer in emacs and run shell command in there. But not like in the Terminal, i couldn't use the UP key to get the previous command, it instead just goes up one line and that's not what i want.
Is there anyway to get the previous command like pressing UP key in Terminal ?

And in the editing window, how to start highlight a sentence without having to click the mouse ? In other editor, i just simply hold Shift and use LEFT or RIGHT to extend the highlighting area, but it doesn't work in Emacs.

Thanks a lot.
Old 11-21-2004, 07:53 AM   #2
Senior Member
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
M-p and M-n. Also C-up and C-down should work.

You can drop marker with C-space. Other end of the marked area is the location of your cursor.
If you want to actually hilight the marked area, you can enable the transient-mark-mode. It somewhat modifies the behaviour of the buffer, though.

See "info emacs" ->"Important Text-Changing Commands" -> "Mark"
for philosophy behind the system and details.
Old 11-22-2004, 11:19 AM   #3
Senior Member
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

just to complement the information...
you can also try
they work better with the features that you are trying...




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell mode & ssh in emacs phuna Linux - Software 1 08-03-2005 04:37 PM
Can't start emacs from shell alaskazimm Ubuntu 1 07-24-2005 12:25 AM
emacs shell-mode doesn't interpret prompt variable CoonerTheRed Linux - Software 1 05-09-2005 04:23 AM
emacs problem in shell mode bujecas Slackware 1 10-25-2004 04:37 AM
edb (emacs database) won't open file - emacs 20 & 21 tip184 Linux - Software 0 04-03-2004 07:31 AM > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 02:12 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration