From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: Global keymap not found Date: Wed, 07 Oct 2015 17:01:44 +0200 Message-ID: <87k2qy4t9j.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1444230160 22571 80.91.229.3 (7 Oct 2015 15:02:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Oct 2015 15:02:40 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Albrecht Mehl Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 07 17:02:30 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZjqEf-0005qa-8W for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Oct 2015 17:02:29 +0200 Original-Received: from localhost ([::1]:58110 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjqEe-0001th-Nw for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Oct 2015 11:02:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjqE1-0001sS-UT for help-gnu-emacs@gnu.org; Wed, 07 Oct 2015 11:01:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZjqDy-0005p7-1X for help-gnu-emacs@gnu.org; Wed, 07 Oct 2015 11:01:49 -0400 Original-Received: from nsmtp.uni-koblenz.de ([141.26.64.14]:39580) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjqDx-0005or-O3 for help-gnu-emacs@gnu.org; Wed, 07 Oct 2015 11:01:45 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by nsmtp.uni-koblenz.de (Postfix) with ESMTP id 0A22C238FB4; Wed, 7 Oct 2015 17:01:45 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at uni-koblenz.de Original-Received: from nsmtp.uni-koblenz.de ([127.0.0.1]) by localhost (nsmtp.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cUOuky1ME1Is; Wed, 7 Oct 2015 17:01:44 +0200 (CEST) Original-Received: from deliver.uni-koblenz.de (deliver.uni-koblenz.de [141.26.64.15]) by nsmtp.uni-koblenz.de (Postfix) with ESMTPS; Wed, 7 Oct 2015 17:01:44 +0200 (CEST) Original-Received: from thinkpad-t440p (dhcp212.uni-koblenz.de [141.26.71.212]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id B3E5F3D6004; Wed, 7 Oct 2015 17:01:44 +0200 (CEST) Mail-Followup-To: Albrecht Mehl , help-gnu-emacs@gnu.org In-Reply-To: (Albrecht Mehl's message of "Wed, 7 Oct 2015 10:03:00 +0200") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 141.26.64.14 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:107539 Archived-At: Albrecht Mehl writes: Hi Albrecht, > This is my first day with emacs and I am struggling with the manual. > At a certain point the key 'C-u' is used in an example ... but I do > not know what command it is bound to as I am reading the manual not > chapter by chapter, Welcome to Emacs which describes itself as self-documenting. You can always ask it to tell you what commant is bound to a given key using `C-h k' followed by the key. ,----[ C-h k C-u ] | C-u runs the command universal-argument (found in global-map), which is an | interactive compiled Lisp function in =E2=80=98simple.el=E2=80=99. |=20 | It is bound to C-u. |=20 | (universal-argument) |=20 | Begin a numeric argument for the following command. | Digits or minus sign following C-u make up the numeric argument. | C-u following the digits or minus sign ends the argument. | C-u without digits or minus sign provides 4 as argument. | Repeating C-u without digits or minus sign | multiplies the argument by 4 each time. | For some commands, just C-u by itself serves as a flag | which is different in effect from any particular numeric argument. | These commands include C-SPC and M-x start-kbd-macro. `---- There are many other such commands describing different aspects of emacs. For an overview, just type `C-h C-h', the help for the help. > but look for topics important for me. So I look for the global key > map. In 48.3.1 Keymaps the global keymap is mentioned, but no link to > it given. > > Where can I find the global keymap? You can use the `describe-variable' (C-h v) to get the value and documentation for a variable such as `global-map'. However, the value of keymaps is not really meant for human consumption. Instead, type `C-h b' to get the list of all keybindings which are available in the current buffer right now in the order of precedence. Alternatively, `C-h m' describes all the current major-mode and all minor-modes active in the current buffer. The description include also all the key bindings. > This question seems to be quite simple compared to the other ones in > this group, maybe it is embarassing to ask it; but better asking than > not knowing how to go on. No, not embarassing at all. Emacs given you everything you can possibly want for helping yourself, so learning Emacs' interactive help system as early as possible will save you hours over hours of google searches and searches in the manual. It is documented in (info "(emacs)Help") ;; <-- C-x C-e here! You can copy that expression above somewhere into an emacs buffer, e.g., *scratch*, and press `C-x C-e' after the closing paren. That will bring you to the info docs on the help system. Bye, Tassilo