GNU bug report logs - #4956
23.1; ENTER in mapped to ^M in search but to ^J in editor

Previous Next

Package: emacs;

Reported by: <aep <at> exys.org>

Date: Wed, 18 Nov 2009 18:15:03 UTC

Severity: normal

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4956 in the body.
You can then email your comments to 4956 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4956; Package emacs. (Wed, 18 Nov 2009 18:15:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to <aep <at> exys.org>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 18 Nov 2009 18:15:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: <aep <at> exys.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.1; ENTER in mapped to ^M in search but to ^J in editor
Date: Wed, 18 Nov 2009 19:06:10 +0100
open a new buffer
enter hello
M-x string-replace RET h RET h c-q RET RET
you'll see  "h^Mello"

this inconsistency makes no sense





In GNU Emacs 23.1.1 (i686-pc-linux-gnu)
 of 2009-10-13 on andariel
configured using `configure  '--prefix=/usr' '--without-x' 'CFLAGS=-march=prescott -O2 -pipe -fomit-frame-pointer''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  show-paren-mode: t
  global-linum-mode: t
  linum-mode: t
  xterm-mouse-mode: t
  mouse-wheel-mode: t
  iswitchb-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-s C-q C-j RET RET RET RET C-s C-q RET C-c ESC x ESC 
x r e p o TAB r TAB RET

Recent messages:
("emacs")
Loading mouse...done
Loading /usr/share/emacs/site-lisp/themes/color-theme-example.el (source)...done
Loading /usr/share/emacs/site-lisp/themes/color-theme-example.elc...done
Loading /usr/share/emacs/site-lisp/themes/color-theme-library.el (source)...done
Loading /usr/share/emacs/site-lisp/themes/color-theme-library.elc...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4956; Package emacs. (Tue, 24 Nov 2009 17:25:15 GMT) Full text and rfc822 format available.

Acknowledgement sent to Juri Linkov <juri <at> jurta.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 24 Nov 2009 17:25:15 GMT) Full text and rfc822 format available.

Message #10 received at 4956 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: aep <at> exys.org
Cc: 4956 <at> debbugs.gnu.org
Subject: Re: bug#4956: 23.1; ENTER in mapped to ^M in search but to ^J in editor
Date: Tue, 24 Nov 2009 19:12:57 +0200
> open a new buffer
> enter hello
> M-x string-replace RET h RET h c-q RET RET

Did you mean `replace-string'?

> you'll see  "h^Mello"

If you want a newline, you can type `C-q C-j':

M-x replace-string RET h RET h C-q C-j RET

> this inconsistency makes no sense

You can see a related discussion on emacs-devel:
http://thread.gmane.org/gmane.emacs.devel/117052

-- 
Juri Linkov
http://www.jurta.org/emacs/



bug closed, send any further explanations to 4956 <at> debbugs.gnu.org and <aep <at> exys.org> Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 18 Sep 2011 09:22:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#4956; Package emacs. (Sun, 18 Sep 2011 09:26:02 GMT) Full text and rfc822 format available.

Message #15 received at 4956 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Juri Linkov <juri <at> jurta.org>
Cc: aep <at> exys.org, 4956 <at> debbugs.gnu.org
Subject: Re: bug#4956: 23.1;
	ENTER in mapped to ^M in search but to ^J in editor
Date: Sun, 18 Sep 2011 11:12:41 +0200
Juri Linkov <juri <at> jurta.org> writes:

> If you want a newline, you can type `C-q C-j':
>
> M-x replace-string RET h RET h C-q C-j RET

So this doesn't seem like a bug, and I'm closing the report.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 16 Oct 2011 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 303 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.