all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#15915: 24.3.50; electric-indent-mode breaks C-j in ido
@ 2013-11-17 21:38 Jorgen Schaefer
  2013-11-18  3:06 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Jorgen Schaefer @ 2013-11-17 21:38 UTC (permalink / raw)
  To: 15915

The global electric-indent-mode does not work well with ido-mode. When
opening a new buffer or file, you have to use C-j to confirm that you
really want to open a non-existing buffer/file. electric-indent-mode
inserts the ^J verbatim instead of this.

Reproduction:

Enable ido-mode for buffers

C-x b t C-j should create a new buffer named "t". With
electric-indent-mode, it does not confirm, but adds ^J to the buffer
name. RET then opens a buffer named "t^J". (This might also be a
misfeature in ido, not sure).


In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu)
 of 2013-11-16
Bzr revision: 115122 michael.albinus@gmx.de-20131116114637-spw9et5kutwnzxeb

Configured using:
 `configure --without-x'





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#15915: 24.3.50; electric-indent-mode breaks C-j in ido
  2013-11-17 21:38 bug#15915: 24.3.50; electric-indent-mode breaks C-j in ido Jorgen Schaefer
@ 2013-11-18  3:06 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2013-11-18  3:06 UTC (permalink / raw)
  To: Jorgen Schaefer; +Cc: 15915-done

> The global electric-indent-mode does not work well with ido-mode. When
> opening a new buffer or file, you have to use C-j to confirm that you
> really want to open a non-existing buffer/file. electric-indent-mode
> inserts the ^J verbatim instead of this.

I've moved the binding from a minor-mode map to the global map, so this
should now be fixed, thank you,


        Stefan





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-18  3:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-17 21:38 bug#15915: 24.3.50; electric-indent-mode breaks C-j in ido Jorgen Schaefer
2013-11-18  3:06 ` Stefan Monnier

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.