all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: [mega@hotpop.com: Re: x-backspace-delete-keys-p]
Date: Sat, 05 Feb 2005 12:38:17 -0500	[thread overview]
Message-ID: <E1CxTsv-0001O9-9w@fencepost.gnu.org> (raw)
In-Reply-To: <42028965.2060902@swipnet.se> (jan.h.d@swipnet.se)

    The code could be modified to check for different keysyms for delete and 
    backspace, but I'm not sure what problem it is trying to solve.  Doesn't 
    the current code work?

He had a case where it did not work.
Here is the report.


From: Gabor Melis <mega@hotpop.com>
To: bug-gnu-emacs@gnu.org
Date: Tue, 1 Feb 2005 11:43:43 +0100
User-Agent: KMail/1.7.1
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Message-Id: <05Feb1.114656cet.336082@fwall.essnet.se>
Subject: x-backspace-delete-keys-p
X-BeenThere: bug-gnu-emacs@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "Bug reports for GNU Emacs,
	the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Sender: bug-gnu-emacs-bounces+rms=gnu.org@gnu.org
Errors-To: bug-gnu-emacs-bounces+rms=gnu.org@gnu.org
X-Spam-Status: No, hits=0.5 required=5.0
	tests=RCVD_IN_ORBS,USER_AGENT_KMAIL
	version=2.55
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)

I have a funky keyboard layout (mimicking a lisp machine keyboard) where=20
backspace is mapped onto the caps lock key and nothing is on the backspace=
=20
key. With this layout the x-backspace-delete-keys-p function (in xfns.c)=20
returns false which causes normal-erase-is-backspace-mode not to be turned =
on=20
by default.

Looking at the code, it seems that x-backspace-delete-keys-p checks whether=
=20
the keyboard has a delete and backspace key and XK_Delete/XK_Backspace is=20
mapped onto them. I don't know much about other keyboards but checking only=
=20
whether XK_Delete/XK_Backspace is mapped to a keycode that belongs to _any_=
=20
key in the current keyboard sounds enough. In other words, checking for=20
DELE/BKSP keys is unnecessary.

Cheers, G=E1bor Melis

  parent reply	other threads:[~2005-02-05 17:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-03 19:14 [mega@hotpop.com: Re: x-backspace-delete-keys-p] Richard Stallman
2005-02-03 20:28 ` Jan D.
2005-02-03 20:35   ` Jan D.
2005-02-05 17:38   ` Richard Stallman [this message]
2005-02-05 18:08     ` Jan D.
2005-02-06 12:42       ` Richard Stallman
2005-02-06 14:27         ` Jan D.
2005-02-07  9:18           ` Richard Stallman
2005-02-07 12:50             ` Jan D.

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

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

  git send-email \
    --in-reply-to=E1CxTsv-0001O9-9w@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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 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.