all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Paul Wallington <jpw@gnu.org>
Subject: `hexl-mode' bug when hitting RET
Date: Sat, 01 Feb 2003 11:49:22 +0000	[thread overview]
Message-ID: <87znpgte4d.fsf@china.shootybangbang.com> (raw)

Currently, pressing RET in `hexl-mode' runs `newline' which isn't
good.  I propose the following fix (and likewise for RC), which makes
it behave like Emacs 20.7, but perhaps it should be bound to
`hexl-next-line' or `ignore' instead.  WDYT?

Index: hexl.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/hexl.el,v
retrieving revision 1.77
diff -u -r1.77 hexl.el
--- hexl.el	13 Jan 2003 09:49:54 -0000	1.77
+++ hexl.el	31 Jan 2003 01:26:37 -0000
@@ -865,7 +865,7 @@
   ;; because we need to convert them to unibyte characters before
   ;; inserting them into the buffer.
   (define-key hexl-mode-map [remap self-insert-command] 'hexl-self-insert-command)
-
+  (define-key hexl-mode-map "\C-m" 'hexl-self-insert-command)
   (define-key hexl-mode-map [left] 'hexl-backward-char)
   (define-key hexl-mode-map [right] 'hexl-forward-char)
   (define-key hexl-mode-map [up] 'hexl-previous-line)

             reply	other threads:[~2003-02-01 11:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-01 11:49 John Paul Wallington [this message]
2003-02-02 19:56 ` `hexl-mode' bug when hitting RET 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=87znpgte4d.fsf@china.shootybangbang.com \
    --to=jpw@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.