unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: bojohan+news@dd.chalmers.se (Johan Bockgård)
To: emacs-devel@gnu.org
Subject: Re: Adding xterm-extras to Emacs
Date: Wed, 13 Jun 2007 12:54:29 +0200	[thread overview]
Message-ID: <yoijir9si0pm.fsf@gamma02.me.chalmers.se> (raw)
In-Reply-To: 200706130352.l5D3qvYV006735@oogie-boogie.ics.uci.edu

Dan Nicolaescu <dann@ics.uci.edu> writes:

> Patches are welcome!

Here's one. It makes no change to the meaning of the code, but it
avoids confusing Show Paren mode and the motion/etc commands.


2007-06-13  Johan Bockgård  <bojohan@dd.chalmers.se>

	* term/xterm.el (terminal-init-xterm): Escape parens in character
	constants.

Index: xterm.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/term/xterm.el,v
retrieving revision 1.38
diff -u -r1.38 xterm.el
--- xterm.el	8 Apr 2007 14:33:32 -0000	1.38
+++ xterm.el	13 Jun 2007 10:46:32 -0000
@@ -272,8 +272,8 @@
       (define-key map "\e[27;6;36~"  [?\C-$])
       (define-key map "\e[27;6;37~"  [?\C-%])
       (define-key map "\e[27;6;38~"  [?\C-&])
-      (define-key map "\e[27;6;40~"  [?\C-(])
-      (define-key map "\e[27;6;41~"  [?\C-)])
+      (define-key map "\e[27;6;40~"  [?\C-\(])
+      (define-key map "\e[27;6;41~"  [?\C-\)])
       (define-key map "\e[27;6;42~"  [?\C-*])
       (define-key map "\e[27;6;43~"  [?\C-+])
       (define-key map "\e[27;6;58~"  [?\C-:])
@@ -312,8 +312,8 @@
       (define-key map "\e[27;14;36~"  [?\C-\M-$])
       (define-key map "\e[27;14;37~"  [?\C-\M-%])
       (define-key map "\e[27;14;38~"  [?\C-\M-&])
-      (define-key map "\e[27;14;40~"  [?\C-\M-(])
-      (define-key map "\e[27;14;41~"  [?\C-\M-)])
+      (define-key map "\e[27;14;40~"  [?\C-\M-\(])
+      (define-key map "\e[27;14;41~"  [?\C-\M-\)])
       (define-key map "\e[27;14;42~"  [?\C-\M-*])
       (define-key map "\e[27;14;43~"  [?\C-\M-+])
       (define-key map "\e[27;14;58~"  [?\C-\M-:])
@@ -350,8 +350,8 @@
       (define-key map "\e[27;8;36~"  [?\C-\M-$])
       (define-key map "\e[27;8;37~"  [?\C-\M-%])
       (define-key map "\e[27;8;38~"  [?\C-\M-&])
-      (define-key map "\e[27;8;40~"  [?\C-\M-(])
-      (define-key map "\e[27;8;41~"  [?\C-\M-)])
+      (define-key map "\e[27;8;40~"  [?\C-\M-\(])
+      (define-key map "\e[27;8;41~"  [?\C-\M-\)])
       (define-key map "\e[27;8;42~"  [?\C-\M-*])
       (define-key map "\e[27;8;43~"  [?\C-\M-+])
       (define-key map "\e[27;8;58~"  [?\C-\M-:])


-- 
Johan Bockgård

  reply	other threads:[~2007-06-13 10:54 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-12 22:03 Adding xterm-extras to Emacs Leo
2007-06-12 22:21 ` Dan Nicolaescu
2007-06-12 22:31   ` Leo
2007-06-12 22:43     ` Dan Nicolaescu
2007-06-12 23:32       ` Leo
2007-06-13  0:47         ` Dan Nicolaescu
2007-06-13  0:56           ` Leo
2007-06-13  3:52             ` Dan Nicolaescu
2007-06-13 10:54               ` Johan Bockgård [this message]
2007-06-13 13:22                 ` Dan Nicolaescu
2007-06-13 16:18                   ` Johan Bockgård
2007-06-13 19:09                     ` Dan Nicolaescu
2007-06-13  7:08           ` csant
2007-06-13 13:33             ` Dan Nicolaescu
2007-06-13 19:18               ` csant
2007-06-13  9:43           ` Peter Heslin
2007-06-13 14:15             ` Dan Nicolaescu
2007-06-13 15:31               ` Stefan Monnier
2007-06-14  5:08                 ` Dan Nicolaescu
2007-09-13 16:40                   ` Leo
2007-09-13 16:58                     ` Dan Nicolaescu
2007-09-13 19:49                       ` Leo
2007-09-14  1:02                         ` Dan Nicolaescu
2007-09-14  1:20                           ` Leo
2007-09-14  1:30                             ` Dan Nicolaescu
2007-09-14  1:47                               ` Leo
2007-09-14  2:32                                 ` Dan Nicolaescu
2007-09-14  8:02                                   ` Leo
2007-09-14 16:38                                     ` Dan Nicolaescu
2007-09-14 22:29                                       ` Leo
2007-09-15  0:32                                         ` Dan Nicolaescu
2007-09-21 10:15                                           ` Leo
2007-09-21 13:51                                             ` Dan Nicolaescu
2007-10-11 16:26                                               ` Leo
2007-10-11 17:08                                                 ` Dan Nicolaescu
2007-10-11 17:39                                                   ` Leo
2007-10-11 17:42                                                 ` Stefan Monnier
2007-10-11 17:48                                                   ` Leo
2007-10-11 20:12                                                     ` Stefan Monnier
2007-10-11 20:27                                                       ` Leo
2007-10-12  1:11                                                         ` Stefan Monnier
2007-10-12  7:18                                                           ` Leo
2007-10-12 16:18                                                             ` Stefan Monnier
2007-10-13 10:37                                                               ` Leo
2007-10-13 10:45                                                   ` Leo
2007-09-15  1:27                                         ` Stefan Monnier
2007-09-21 10:11                                           ` Leo
2007-09-21 10:22                                             ` Andreas Schwab
2007-09-21 10:33                                               ` Leo
2007-09-21 11:23                                                 ` Andreas Schwab
2007-09-14 14:04                                   ` Stefan Monnier
2007-09-14 14:13                                     ` Andreas Schwab

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=yoijir9si0pm.fsf@gamma02.me.chalmers.se \
    --to=bojohan+news@dd.chalmers.se \
    --cc=emacs-devel@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).