From: Matt Knowles <MattK@LacksValley.com>
Cc: emacs-devel@gnu.org
Subject: RE: C-m mapping fails occasionally
Date: Wed, 29 May 2002 12:58:04 -0500 [thread overview]
Message-ID: <9A30DB6D3384D311A73400C0F04065E9222BA8@lacks-exch.lacksvalley.com> (raw)
emacs-version:
GNU Emacs 18.57.1 of Mon Apr 22 1991 on server (hpux)
emacs invoked by:
emacs -nw
in *scratch* buffer:
test<Return>
<Return> /* 40 or 41 times */
at this point, my mapping fails.
(key-binding "\C-m")
mat-newline
(mapcar (lambda (map) (cons map (lookup-key map "\C-m")))
(current-active-maps))
(mini-buffer output):
Symbol's function definition is void: lambda
M-xdescribe-key<Return><Return>
Invalid function: #<EMACS BUG: INVALID DATATYPE (#o37777777743) Save your
buffers immediately and please report this bug>
relevant lines from .emacs file:
(fset 'mat-newline
"^[xnewline^M^[xindent-relative-maybe^M.^A^@^S.^B^[xuntabify^M^D")
(global-unset-key "\C-m")
(global-set-key "\C-m" 'mat-newline)
The problem exists when these are the only contents of my .emacs file.
If there is any more information I can provide, please ask.
Matt
-----Original Message-----
From: Richard Stallman [mailto:rms@gnu.org]
Sent: Wednesday, May 29, 2002 11:26 AM
To: MattK@LacksValley.com
Cc: MattK@LacksValley.com; emacs-devel@gnu.org
Subject: Re: C-m mapping fails occasionally
Yeah, the whole point was that my re-mapping would only work for a
while,
then would quit working.
It looks like the global binding that you set up still exists.
How about evaluating
(key-binding "\C-m")
which will show which binding Emacs actually sees for C-m?
Also try
(mapcar (lambda (map) (cons map (lookup-key map "\C-m")))
(current-active-maps))
next reply other threads:[~2002-05-29 17:58 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-29 17:58 Matt Knowles [this message]
2002-05-31 7:04 ` C-m mapping fails occasionally Richard Stallman
-- strict thread matches above, loose matches on Subject: below --
2002-05-28 14:31 Matt Knowles
2002-05-29 16:26 ` Richard Stallman
2002-05-27 19:52 Matt Knowles
2002-05-28 5:19 ` Richard Stallman
2002-05-27 13:51 Matt Knowles
2002-05-27 19:49 ` Andreas Schwab
2002-05-27 21:16 ` Kim F. Storm
2002-05-28 5:15 ` Richard Stallman
[not found] <9A30DB6D3384D311A73400C0F04065E9222BA2@lacks-exch.lacksvalley.com>
2002-05-24 21:12 ` Richard Stallman
2002-05-21 14:22 Matt Knowles
2002-05-22 22:27 ` Richard Stallman
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9A30DB6D3384D311A73400C0F04065E9222BA8@lacks-exch.lacksvalley.com \
--to=mattk@lacksvalley.com \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.