unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to bind (shift Fx) for emacs in putty?
Date: Sun, 25 Dec 2005 15:51:08 +0100	[thread overview]
Message-ID: <c18c907eba3dc2657f93894dbaa7ce9f@Web.DE> (raw)
In-Reply-To: <1135519472.158005.6690@g44g2000cwa.googlegroups.com>


Am 25.12.2005 um 15:04 schrieb c.c:

> Hm, this is not a pseudo code. If I replace [(shift f1)] with [f1], the
> key f1 will print the "Hello world" in the buff.
>

Indeed! Settings like

	(global-set-key [f6]		"Nix!")
	(global-set-key [s-f6]		"Auch nix!")

work for me (the version of Emacs I used does not allow to distinguish 
f6 from S-f6 (shift f6) so I used the super modifier)! Although it's 
really not the proper way to do it.


Again, I would bind the keys by hand first and retrieve afterwards with 
repeat-complex-command their bindings and see if they really are 
different. Stefan Monnier gave in a simliar situation this hint:

	Try M-: (read-event) RET and then hit your ò key.  It'll return the 
code
	Elisp receives in response to this key (e.g. 2290).  You can then bind 
it
	with (local-set-key [2290] "{").


--
Greetings

   Pete

Without vi there is only GNU Emacs

  reply	other threads:[~2005-12-25 14:51 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-24 16:30 How to bind (shift Fx) for emacs in putty? c.c
2005-12-25 11:49 ` Peter Dyballa
     [not found] ` <mailman.20392.1135512536.20277.help-gnu-emacs@gnu.org>
2005-12-25 12:58   ` c.c
2005-12-25 13:32     ` Peter Dyballa
     [not found]     ` <mailman.20395.1135517652.20277.help-gnu-emacs@gnu.org>
2005-12-25 14:04       ` c.c
2005-12-25 14:51         ` Peter Dyballa [this message]
     [not found]         ` <mailman.20398.1135522358.20277.help-gnu-emacs@gnu.org>
2005-12-25 15:33           ` c.c
2005-12-25 17:53             ` Peter Dyballa
     [not found]             ` <mailman.20408.1135533298.20277.help-gnu-emacs@gnu.org>
2005-12-26 12:24               ` c.c
2005-12-26 13:45                 ` Peter Dyballa
2005-12-26 16:51                 ` Stefan Monnier
2005-12-27 11:40                   ` liaoweijie
2005-12-29  3:57                     ` Stefan Monnier
2005-12-27 11:51                   ` c.c
2005-12-26 12:32             ` Slawomir Nowaczyk
2005-12-26 18:49               ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c18c907eba3dc2657f93894dbaa7ce9f@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).