unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Pascal Bourguignon <spam@thalassa.informatimago.com>
Subject: Re: kill-line behaves differently in terminal and in X!?
Date: 20 Sep 2003 22:16:00 +0200	[thread overview]
Message-ID: <873cerw70f.fsf@thalassa.informatimago.com> (raw)
In-Reply-To: m3he372usr.fsf@defun.localdomain

Jesper Harder <harder@myrealbox.com> writes:

> Pascal Bourguignon <spam@thalassa.informatimago.com> writes:
> 
> > In the terminal, it does not delete the line, only the characters in
> > the line.  You have to type C-u 1 C-k to kill the line.
> 
> Uhm, yes ... but isn't that how C-k is supposed to work?
> 
> > In X, kill-line works flawlessly, killing the line.
> 
> That sounds like a bug.  I can't reproduce it, though.
> 
> > I've checked that I've the same kill-whole-line value (namely: nil),
> 
> But if you prefer `kill-line' to delete the trailing newline as well
> as the content of the line, you should set `kill-whole-line' to t.

Ok, so the  bug is that on X, kill-line  deletes the trailing newlines
even when kill-whole-line is nil...


Now on, I'll set kill-whole-line to t in ~/.emacs...

-- 
__Pascal_Bourguignon__
http://www.informatimago.com/
Do not adjust your mind, there is a fault in reality.

  reply	other threads:[~2003-09-20 20:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-20 16:36 kill-line behaves differently in terminal and in X!? Pascal Bourguignon
2003-09-20 18:12 ` Jesper Harder
2003-09-20 20:16   ` Pascal Bourguignon [this message]
2003-09-28  9:38 ` Kai Grossjohann

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=873cerw70f.fsf@thalassa.informatimago.com \
    --to=spam@thalassa.informatimago.com \
    /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.
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).