unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Deniz Dogan <deniz.a.m.dogan@gmail.com>
To: "Per Starbäck" <per@starback.se>
Cc: emacs-devel@gnu.org
Subject: Re: C-j considered harmful (not really)
Date: Mon, 16 Nov 2009 23:51:57 +0100	[thread overview]
Message-ID: <7b501d5c0911161451s3e54e48dve127bd144f2affc8@mail.gmail.com> (raw)
In-Reply-To: <912155b0911161437l7d5d5d3h790edff279fdad7a@mail.gmail.com>

2009/11/16 Per Starbäck <per@starback.se>:
> 2009/11/16 Per Starbäck <per@starback.se>:
>> 2009/11/16 David De La Harpe Golden <david@harpegolden.net>:
>
>>> So, ^I for TAB, ^H for backspace, ^[ for escape etc.
>>
>> Sure, but I don't like that to be prerequisite knowledge for using Emacs.
>
> Which brings me to another point. There is at least one such
> correspondence that Emacs
> users are supposed to know about, that I think is unnecessary, and
> that is C-j = LF = \n.
> That is used for example in I-search and in arguments to query-replace etc.
>
> I would like some alternative way to enter newline in arguments,
> something having to
> do with <return> since that's the key actually associated with "new
> line" for all
> those you don't know their ASCII.
>
> That key should be used in I-search with the same meaning as C-j has
> now, and should
> be possible to use instead of C-q C-j to enter a newline in minibuffer
> input. Maybe
> <C-return> could be used for this?
>
> Then this would be an alternative just for people with window systems,
> but I think people
> who would benefit from this almost always have a window system anyway.
>
>
>

How about M-RET instead? That works in non-windowed Emacs as well and
seems to be unbound by default.

-- 
Deniz Dogan




  reply	other threads:[~2009-11-16 22:51 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-16 22:37 C-j considered harmful (not really) Per Starbäck
2009-11-16 22:51 ` Deniz Dogan [this message]
2009-11-17 10:09   ` Juri Linkov
2009-11-17 23:17     ` Xavier Maillard
2009-11-18  9:54       ` Juri Linkov
2009-11-22 20:36     ` Per Starbäck
2009-11-22 20:53       ` Deniz Dogan
2009-11-23  2:57       ` Stefan Monnier
2009-11-23  9:54         ` Juri Linkov
2009-11-23 11:11           ` Per Starbäck
2009-11-23 15:05             ` Drew Adams
2009-11-23 15:05           ` Drew Adams
2009-11-23 16:09             ` Per Starbäck
2009-11-24 17:12             ` Juri Linkov
2009-11-24 17:51               ` Drew Adams

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7b501d5c0911161451s3e54e48dve127bd144f2affc8@mail.gmail.com \
    --to=deniz.a.m.dogan@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=per@starback.se \
    /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 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).