annotate lisp/term/cygwin.el @ 110930:b6cf32bb07a1

Bug#7150: Distinguishing between left and right Alt keys on NextStep/OSX. * lisp/cus-start.el (all): ns-right-alternate-modifier is new. * lisp/term/ns-win.el (ns-right-alternate-modifier): New defvar. (ns-right-option-modifier): New alias for ns-right-alternate-modifier. (mac-right-option-modifier): New alias for ns-right-option-modifier. * src/nsterm.m (Qleft): Declare. (ns_right_alternate_modifier): New variable (NSRightAlternateKeyMask): New define. (EV_MODIFIERS): Parse NSRightAlternateKeyMask if ns_right_alternate_modifier isn't Qleft. (keyDown): If ns_right_alternate_modifier isn't Qleft, use it as emacs modifier for NSRightAlternateKeyMask. (syms_of_nsterm): DEFVAR_LISP ns-right-alternate-modifier.
author Jan D. <jan.h.d@swipnet.se>
date Mon, 11 Oct 2010 21:18:08 +0200
parents 673d62ad74b5
children ef719132ddfa
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
64596
d5254bde5ea5 * term/rxvt.el (function-key-map): Use substitute-key-definition
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
1 ;;; cygwin.el --- support for the Cygwin terminal -*- no-byte-compile: t -*-
d5254bde5ea5 * term/rxvt.el (function-key-map): Use substitute-key-definition
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
2
d5254bde5ea5 * term/rxvt.el (function-key-map): Use substitute-key-definition
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
3 ;;; The Cygwin terminal can't really display underlines.
64651
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64628
diff changeset
4
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64628
diff changeset
5 (defun terminal-init-cygwin ()
83524
673d62ad74b5 Fix and/or simplify terminal initialization files.
Karoly Lorentey <lorentey@elte.hu>
parents: 64651
diff changeset
6 "Terminal initialization function for cygwin."
64651
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64628
diff changeset
7 (tty-no-underline))
64596
d5254bde5ea5 * term/rxvt.el (function-key-map): Use substitute-key-definition
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
8
64628
cc3bb3aeaa5b Add arch tagline
Miles Bader <miles@gnu.org>
parents: 64596
diff changeset
9 ;; arch-tag: ca81ce67-3c41-4883-a29b-4c3d64a21191
64596
d5254bde5ea5 * term/rxvt.el (function-key-map): Use substitute-key-definition
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
10 ;;; cygwin.el ends here