From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: about global-set-key Date: Sat, 01 Sep 2012 09:17:52 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1346505617 6443 80.91.229.3 (1 Sep 2012 13:20:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Sep 2012 13:20:17 +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 Sep 01 15:20:19 2012 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 1T7ncX-0004zB-I4 for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Sep 2012 15:20:17 +0200 Original-Received: from localhost ([::1]:49956 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7ncU-0004VE-T4 for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Sep 2012 09:20:14 -0400 Original-Received: by 10.68.212.168 with SMTP id nl8mr590690pbc.5.1346505474023; Sat, 01 Sep 2012 06:17:54 -0700 (PDT) Original-Path: usenet.stanford.edu!r4no2086384pbs.0!news-out.google.com!t10ni11285373pbh.0!nntp.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe08.iad.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) Cancel-Lock: sha1:jHdxAA+Zc0rqXqPJ5ka2auZj8SY= Original-Lines: 16 Original-X-Complaints-To: abuse@UsenetServer.com Original-NNTP-Posting-Date: Sat, 01 Sep 2012 13:17:53 UTC X-Received-Bytes: 1183 Original-Xref: usenet.stanford.edu gnu.emacs.help:194288 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:86632 Archived-At: > (global-set-key "_" 'souligne) > It does not work. What is strange is that if I put > (global-set-key "z" 'souligne) > when I press "z", emacs write "_{}" !!! What does C-h k _ tell you? Can it be you're using a major mode which already redefines the _ key to something else (hence the global-set-key doesn't have any effect there)? > 2) my second question is about an historical file and menu.Is it possible > that emacs have a menu with the last 10 files that I opened ? Have you tried recentf-mode? Stefan