unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "CarlC" <carlc@snowbd.com>
Subject: Re: Inconsistant Delete Key
Date: Tue, 10 Sep 2002 21:32:26 GMT	[thread overview]
Message-ID: <Kxtf9.248836$Yd.9778322@twister.austin.rr.com> (raw)
In-Reply-To: vafptvmqkqq.fsf@lucy.cs.uni-dortmund.de

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1740 bytes --]

Here is the describe key output from my to edit sessions:

---------------------------------------------
GOOD:
DEL runs the command delete-char
   which is an interactive built-in function.

Delete the following N characters (previous if N is negative).
Optional second arg KILLFLAG non-nil means kill instead (save in kill ring).
Interactively, N is the prefix arg, and KILLFLAG is set if
N was explicitly specified.

(delete-char N &optional KILLFLAG)
--------------------------------------------------------
BAD:
DEL runs the command backward-delete-char-untabify
   which is an interactive compiled Lisp function in `simple'.
(backward-delete-char-untabify ARG &optional KILLP)

Delete characters backward, changing tabs into spaces.
The exact behavior depends on `backward-delete-char-untabify-method'.
Delete ARG chars, and kill (save in kill ring) if KILLP is non-nil.
Interactively, ARG is the prefix arg (default 1)
and KILLP is t if a prefix arg was specified.
----------------------------------------------------------
One thing that bothers me on this is that it is calling this key DEL. I
assume this is the same as [delete]. I also assume that [delete] is
synonymous with octal 177 value.

Thanks.

"Kai Großjohann" <Kai.Grossjohann@CS.Uni-Dortmund.DE> wrote in message
news:vafptvmqkqq.fsf@lucy.cs.uni-dortmund.de...
> "CarlC" <carlc@snowbd.com> writes:
>
> > John, your question sparked me to do some more testing. The filename
does
> > make a difference on my delete key. If I "emacs trash", the key works
like I
> > want it to. If I "cp trash trash.el; emacs trash.el", it does not.
>
> What does C-h k <delete> say in the two cases?
>
> kai
> --
> A large number of young women don't trust men with beards.  (BFBS Radio)

  reply	other threads:[~2002-09-10 21:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-06 15:32 Inconsistant Delete Key CarlC
2002-09-09  8:47 ` John McCabe
2002-09-09 13:49   ` CarlC
2002-09-09 16:30     ` John McCabe
2002-09-10  8:32     ` John McCabe
2002-09-10 21:43       ` CarlC
2002-09-10  9:03     ` Kai Großjohann
2002-09-10 21:32       ` CarlC [this message]
2002-09-11  8:26         ` John McCabe
2002-09-11 12:46           ` CarlC
2002-09-12 15:01         ` Kai Großjohann
2002-09-13 20:09           ` CarlC
2002-09-13 21:47             ` Kai Großjohann

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='Kxtf9.248836$Yd.9778322@twister.austin.rr.com' \
    --to=carlc@snowbd.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).