* `hexl-mode' bug when hitting RET
@ 2003-02-01 11:49 John Paul Wallington
2003-02-02 19:56 ` Richard Stallman
0 siblings, 1 reply; 2+ messages in thread
From: John Paul Wallington @ 2003-02-01 11:49 UTC (permalink / 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)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: `hexl-mode' bug when hitting RET
2003-02-01 11:49 `hexl-mode' bug when hitting RET John Paul Wallington
@ 2003-02-02 19:56 ` Richard Stallman
0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2003-02-02 19:56 UTC (permalink / raw)
Cc: emacs-devel
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,
That seems good.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-02-02 19:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-01 11:49 `hexl-mode' bug when hitting RET John Paul Wallington
2003-02-02 19:56 ` Richard Stallman
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).