From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rupert Swarbrick Newsgroups: gmane.emacs.help Subject: Re: How to get current keymap Date: Sat, 06 Dec 2008 21:37:29 +0000 Organization: albasani.net Message-ID: References: <878wqtcqt6.fsf@emacs.Arch.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1228599656 6670 80.91.229.12 (6 Dec 2008 21:40:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Dec 2008 21:40:56 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 06 22:41:58 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L94uS-0004qe-Qu for geh-help-gnu-emacs@m.gmane.org; Sat, 06 Dec 2008 22:41:56 +0100 Original-Received: from localhost ([127.0.0.1]:49950 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L94tI-0006g3-2O for geh-help-gnu-emacs@m.gmane.org; Sat, 06 Dec 2008 16:40:44 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!feeder.erje.net!news.musoftware.de!wum.musoftware.de!news.albasani.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-X-Trace: news.albasani.net rE65QEnh/p+oyc/J8BI7bmj5EMm+yoRpTdss5S5W9yaFq5A/1smSnji3xc4IYR1X3gW/dE/sVDJeYaC8hhXY/o8SunmMe39ip8ophAbSCrD9JjnDc81Y7W4OiC1GhfQr Original-X-Complaints-To: abuse@albasani.net Original-NNTP-Posting-Date: Sat, 6 Dec 2008 21:38:20 +0000 (UTC) X-User-ID: shTHzd8E2HzBUbWfBkPUlYJG4jWNO+7zMjwUhgTrAf4= Cancel-Lock: sha1:0EllboIwKkCovc+aElGyUH5Sf+4= User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) X-NNTP-Posting-Host: oGpScL47zi8M0h3ANfGLU4azQx+ZyPAmzS4ipLORqBY= Original-Xref: news.stanford.edu gnu.emacs.help:165077 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:60404 Archived-At: --=-=-= netawater writes: > I used (concat (symbol-name major-mode) "-map") to get current keymap, > but it failed for LaTeX mode. Are there other methode to get current > keymap. Thank you very much!. Maybe (current-active-maps) does what you need? See (info "(elisp) Active Keymaps") Rupert --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iJwEAQECAAYFAkk68JkACgkQRtd/pJbYVoa5OQP8D8j9M/kYFKTp+WRQZWw/5PJw j7tNbeVtEZq9XD4vn6K6lnrBLdYm3sJuEJM74oO1fQsXxuvY/n0wzdl73nEXX5vp PwLxpwH/TZmTLRLOzgKLqTnyAmYThOuXaDDn8M2F70RFfSUmLWdXO9i4lg9rV86l 1CHR3aFa2esbWqNB2L4= =d+1d -----END PGP SIGNATURE----- --=-=-=--