From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: max.le.libertaire@no-log.org Newsgroups: gmane.emacs.help Subject: Re: Using commands in Emacs Date: Thu, 3 Nov 2011 18:24:40 +0100 (CET) Message-ID: <3af5aa15cc0086ba036df4b66d9ecfa8.squirrel@webmail.no-log.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1320341478 22904 80.91.229.12 (3 Nov 2011 17:31:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Nov 2011 17:31:18 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Alexandros Stefanidis" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 03 18:31:14 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RM18D-0007Vl-TK for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Nov 2011 18:31:14 +0100 Original-Received: from localhost ([::1]:59066 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RM18D-0003Fa-C4 for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Nov 2011 13:31:13 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:35973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RM11y-0002mA-Ll for help-gnu-emacs@gnu.org; Thu, 03 Nov 2011 13:24:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RM11x-0003qT-JK for help-gnu-emacs@gnu.org; Thu, 03 Nov 2011 13:24:46 -0400 Original-Received: from webmail.no-log.org ([80.67.172.39]:41751) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RM11w-0003p9-UP for help-gnu-emacs@gnu.org; Thu, 03 Nov 2011 13:24:45 -0400 Original-Received: by webmail.no-log.org (Postfix, from userid 33) id 033584C127; Thu, 3 Nov 2011 18:24:40 +0100 (CET) X-Squirrel-UserHash: WVMfQgMHRyIGTwkdE1VbRlc= X-Squirrel-FromHash: AFYECQpbXHg= In-Reply-To: User-Agent: SquirrelMail/1.4.15 X-Priority: 3 (Normal) Importance: Normal X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 80.67.172.39 X-Mailman-Approved-At: Thu, 03 Nov 2011 13:31:10 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82745 Archived-At: Hi, C-x 2 mean you have to press the keys [CONTROL] + [x] and then [2] and th= e window will split immediately. M-x mean [ALT] + [x] and is a way to (for instance) call a command like "shell-command" (the same you invoke from the tool menu). And there is also a command you must try in emacs, it is C-h t ( [Control= ] + [h] + [t] ) Sorry if i don't understand correctly your message or if i made some mistake but i'm not a native english speaker. ++ > > Hi. I have open a file in Emacs called Insertion_sort_in_C.c. > I have found some commands in the web such as C-x 2 (split Emacs screen= ). > In Emacs under the 'Tools' option I have selected the 'Shell command' > feature. > Now at the bottom of emacs window a command line prompt is awaiting for= a > command. > In this prompt I typed 'C-x 2' but the reply was '/bin/bash: C-x: comma= nd > not found' > I typed as well the 'M-x gdb' command to initiate the debugger but > '/bin/bash: M-x: command not found' came up > Then I run the debugger by the 'Tools' tab and the (gdb) prompt came u= p. > I typed 'break 11' to enter a > breakpoint in line 11 of Insertion_sort_in_C.c but warning: 'No symbol > table is loaded. Use the "file" command' came up. > > I also thought that when the debugger is running I could left-click in = the > fringe so that a red disk > appears (a breakpoint). But nothing happens. > > Is there anything wrong with Emacs/gdb? > > Alexandros >