unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* term/bobcat still requires term/keyswap
@ 2005-03-20 15:52 Yoichi NAKAYAMA
  2005-03-20 16:04 ` Yoichi NAKAYAMA
  0 siblings, 1 reply; 10+ messages in thread
From: Yoichi NAKAYAMA @ 2005-03-20 15:52 UTC (permalink / raw)


The change in keyswap.el:

2005-03-19  Eli Zaretskii  <eliz@gnu.org>

        * obsolete/keyswap.el: Moved to obsolete/ from term/.

broke term/bobcat. If the change implies that the function is
replaced by normal-erase-is-backspace-mode, following change
seems adequate.

--- bobcat.el	1 Sep 2003 15:45:36 -0000	1.9
+++ bobcat.el	20 Mar 2005 15:41:27 -0000
@@ -1,6 +1,6 @@
 ;; -*- no-byte-compile: t -*-
 ;;; HP terminals usually encourage using ^H as the rubout character
-(load "term/keyswap" nil t)
+(normal-erase-is-backspace-mode 1)
 
 ;;; arch-tag: 754e4520-0a3e-4e6e-8ca5-9481b1f85cf7
 ;;; bobcat.el ends here

Sincerely yours,
-- 
Yoichi NAKAYAMA

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

* Re: term/bobcat still requires term/keyswap
  2005-03-20 15:52 term/bobcat still requires term/keyswap Yoichi NAKAYAMA
@ 2005-03-20 16:04 ` Yoichi NAKAYAMA
  2005-03-23  4:02   ` Yoichi NAKAYAMA
  0 siblings, 1 reply; 10+ messages in thread
From: Yoichi NAKAYAMA @ 2005-03-20 16:04 UTC (permalink / raw)


At Mon, 21 Mar 2005 00:52:33 +0900,
Yoichi NAKAYAMA wrote:
> 
> The change in keyswap.el:
> 
> 2005-03-19  Eli Zaretskii  <eliz@gnu.org>
> 
>         * obsolete/keyswap.el: Moved to obsolete/ from term/.
> 
> broke term/bobcat. If the change implies that the function is
> replaced by normal-erase-is-backspace-mode, following change
> seems adequate.
> 
> -(load "term/keyswap" nil t)
> +(normal-erase-is-backspace-mode 1)

Sorry, I've misunderstood. keyswap.el does "swap" them but
normal-erase-is-backspace-mode doesn't. But I think some change
which doesn't require obsolete package seems adequate here.

Regards,
-- 
Yoichi NAKAYAMA

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

* Re: term/bobcat still requires term/keyswap
  2005-03-20 16:04 ` Yoichi NAKAYAMA
@ 2005-03-23  4:02   ` Yoichi NAKAYAMA
  2005-03-23 13:36     ` Stefan
                       ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Yoichi NAKAYAMA @ 2005-03-23  4:02 UTC (permalink / raw)


At Mon, 21 Mar 2005 01:04:00 +0900,
Yoichi NAKAYAMA wrote:
> 
> At Mon, 21 Mar 2005 00:52:33 +0900,
> Yoichi NAKAYAMA wrote:
> > 
> > The change in keyswap.el:
> > 
> > 2005-03-19  Eli Zaretskii  <eliz@gnu.org>
> > 
> >         * obsolete/keyswap.el: Moved to obsolete/ from term/.
> > 
> > broke term/bobcat. If the change implies that the function is
> > replaced by normal-erase-is-backspace-mode, following change
> > seems adequate.
> 
> Sorry, I've misunderstood. keyswap.el does "swap" them but
> normal-erase-is-backspace-mode doesn't. But I think some change
> which doesn't require obsolete package seems adequate here.

I got information that following change will replace the function:

Index: bobcat.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/term/bobcat.el,v
retrieving revision 1.9
diff -u -r1.9 bobcat.el
--- bobcat.el	1 Sep 2003 15:45:36 -0000	1.9
+++ bobcat.el	23 Mar 2005 03:57:41 -0000
@@ -1,6 +1,7 @@
 ;; -*- no-byte-compile: t -*-
 ;;; HP terminals usually encourage using ^H as the rubout character
-(load "term/keyswap" nil t)
+(keyboard-translate ?\177 ?\^h)
+(keyboard-translate ?\^h ?\177)
 
 ;;; arch-tag: 754e4520-0a3e-4e6e-8ca5-9481b1f85cf7
 ;;; bobcat.el ends here

Regards,
-- 
Yoichi NAKAYAMA

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

* Re: term/bobcat still requires term/keyswap
  2005-03-23  4:02   ` Yoichi NAKAYAMA
@ 2005-03-23 13:36     ` Stefan
  2005-03-23 13:54       ` Andreas Schwab
  2005-03-23 15:59       ` tpu-edt (was: term/bobcat still requires term/keyswap) Johan Bockgård
  2005-03-26 16:21     ` term/bobcat still requires term/keyswap Eli Zaretskii
  2005-03-26 16:22     ` Eli Zaretskii
  2 siblings, 2 replies; 10+ messages in thread
From: Stefan @ 2005-03-23 13:36 UTC (permalink / raw)
  Cc: emacs-devel

> +(keyboard-translate ?\177 ?\^h)
> +(keyboard-translate ?\^h ?\177)
 
Doing it at top-level, means the change is applied when the file is read,
which is contrary to coding conventions.


        Stefan

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

* Re: term/bobcat still requires term/keyswap
  2005-03-23 13:36     ` Stefan
@ 2005-03-23 13:54       ` Andreas Schwab
  2005-03-23 16:47         ` Stefan Monnier
  2005-03-23 15:59       ` tpu-edt (was: term/bobcat still requires term/keyswap) Johan Bockgård
  1 sibling, 1 reply; 10+ messages in thread
From: Andreas Schwab @ 2005-03-23 13:54 UTC (permalink / raw)
  Cc: Yoichi NAKAYAMA, emacs-devel

Stefan <monnier@iro.umontreal.ca> writes:

>> +(keyboard-translate ?\177 ?\^h)
>> +(keyboard-translate ?\^h ?\177)
>  
> Doing it at top-level, means the change is applied when the file is read,
> which is contrary to coding conventions.

This is a terminal setup file, so doing it immediately is TRT here.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

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

* tpu-edt (was: term/bobcat still requires term/keyswap)
  2005-03-23 13:36     ` Stefan
  2005-03-23 13:54       ` Andreas Schwab
@ 2005-03-23 15:59       ` Johan Bockgård
  2005-03-24  5:18         ` Richard Stallman
  1 sibling, 1 reply; 10+ messages in thread
From: Johan Bockgård @ 2005-03-23 15:59 UTC (permalink / raw)


Stefan <monnier@iro.umontreal.ca> writes:

> Doing it at top-level, means the change is applied when the file is
> read, which is contrary to coding conventions.

There's a bug in tpu-edt.el where it defines keys in the global-map on
loading (e.g. when doing M-x customize-group RET emulations RET):

;;;  Define keymaps
;;;
(define-key global-map "\e[" CSI-map)                         ; CSI map
(define-key global-map "\eO" SS3-map)                         ; SS3 map

-- 
Johan Bockgård

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

* Re: term/bobcat still requires term/keyswap
  2005-03-23 13:54       ` Andreas Schwab
@ 2005-03-23 16:47         ` Stefan Monnier
  0 siblings, 0 replies; 10+ messages in thread
From: Stefan Monnier @ 2005-03-23 16:47 UTC (permalink / raw)
  Cc: Yoichi NAKAYAMA, emacs-devel

>>> +(keyboard-translate ?\177 ?\^h)
>>> +(keyboard-translate ?\^h ?\177)
>> 
>> Doing it at top-level, means the change is applied when the file is read,
>> which is contrary to coding conventions.

> This is a terminal setup file, so doing it immediately is TRT here.

Oh, right, sorry, I guess I wasn't quite awake yet,
Thank you for setting me straight,


        Stefan

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

* Re: tpu-edt (was: term/bobcat still requires term/keyswap)
  2005-03-23 15:59       ` tpu-edt (was: term/bobcat still requires term/keyswap) Johan Bockgård
@ 2005-03-24  5:18         ` Richard Stallman
  0 siblings, 0 replies; 10+ messages in thread
From: Richard Stallman @ 2005-03-24  5:18 UTC (permalink / raw)
  Cc: emacs-devel

    There's a bug in tpu-edt.el where it defines keys in the global-map on
    loading (e.g. when doing M-x customize-group RET emulations RET):

For tpu-edt.el to do this really is a bug.
Can someone fix that?

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

* Re: term/bobcat still requires term/keyswap
  2005-03-23  4:02   ` Yoichi NAKAYAMA
  2005-03-23 13:36     ` Stefan
@ 2005-03-26 16:21     ` Eli Zaretskii
  2005-03-26 16:22     ` Eli Zaretskii
  2 siblings, 0 replies; 10+ messages in thread
From: Eli Zaretskii @ 2005-03-26 16:21 UTC (permalink / raw)
  Cc: emacs-devel

> From: Yoichi NAKAYAMA <yoichi@geiin.org>
> Date: Wed, 23 Mar 2005 13:02:25 +0900
> 
> At Mon, 21 Mar 2005 01:04:00 +0900,
> Yoichi NAKAYAMA wrote:
> > 
> > At Mon, 21 Mar 2005 00:52:33 +0900,
> > Yoichi NAKAYAMA wrote:
> > > 
> > > The change in keyswap.el:
> > > 
> > > 2005-03-19  Eli Zaretskii  <eliz@gnu.org>
> > > 
> > >         * obsolete/keyswap.el: Moved to obsolete/ from term/.
> > > 
> > > broke term/bobcat. If the change implies that the function is
> > > replaced by normal-erase-is-backspace-mode, following change
> > > seems adequate.
> > 
> > Sorry, I've misunderstood. keyswap.el does "swap" them but
> > normal-erase-is-backspace-mode doesn't. But I think some change
> > which doesn't require obsolete package seems adequate here.
> 
> I got information that following change will replace the function:

Thanks, I installed it.

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

* Re: term/bobcat still requires term/keyswap
  2005-03-23  4:02   ` Yoichi NAKAYAMA
  2005-03-23 13:36     ` Stefan
  2005-03-26 16:21     ` term/bobcat still requires term/keyswap Eli Zaretskii
@ 2005-03-26 16:22     ` Eli Zaretskii
  2 siblings, 0 replies; 10+ messages in thread
From: Eli Zaretskii @ 2005-03-26 16:22 UTC (permalink / raw)
  Cc: emacs-devel

> From: Yoichi NAKAYAMA <yoichi@geiin.org>
> Date: Wed, 23 Mar 2005 13:02:25 +0900
> 
> At Mon, 21 Mar 2005 01:04:00 +0900,
> Yoichi NAKAYAMA wrote:
> > 
> > At Mon, 21 Mar 2005 00:52:33 +0900,
> > Yoichi NAKAYAMA wrote:
> > > 
> > > The change in keyswap.el:
> > > 
> > > 2005-03-19  Eli Zaretskii  <eliz@gnu.org>
> > > 
> > >         * obsolete/keyswap.el: Moved to obsolete/ from term/.
> > > 
> > > broke term/bobcat. If the change implies that the function is
> > > replaced by normal-erase-is-backspace-mode, following change
> > > seems adequate.
> > 
> > Sorry, I've misunderstood. keyswap.el does "swap" them but
> > normal-erase-is-backspace-mode doesn't. But I think some change
> > which doesn't require obsolete package seems adequate here.
> 
> I got information that following change will replace the function:

Thanks, I installed it.

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

end of thread, other threads:[~2005-03-26 16:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-20 15:52 term/bobcat still requires term/keyswap Yoichi NAKAYAMA
2005-03-20 16:04 ` Yoichi NAKAYAMA
2005-03-23  4:02   ` Yoichi NAKAYAMA
2005-03-23 13:36     ` Stefan
2005-03-23 13:54       ` Andreas Schwab
2005-03-23 16:47         ` Stefan Monnier
2005-03-23 15:59       ` tpu-edt (was: term/bobcat still requires term/keyswap) Johan Bockgård
2005-03-24  5:18         ` Richard Stallman
2005-03-26 16:21     ` term/bobcat still requires term/keyswap Eli Zaretskii
2005-03-26 16:22     ` Eli Zaretskii

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).