GNU bug report logs - #72490
edt emulation

Previous Next

Package: emacs;

Reported by: Angelo Borsotti <angelo.borsotti <at> gmail.com>

Date: Tue, 6 Aug 2024 08:30:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 72490 in the body.
You can then email your comments to 72490 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#72490; Package emacs. (Tue, 06 Aug 2024 08:30:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Angelo Borsotti <angelo.borsotti <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 06 Aug 2024 08:30:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Angelo Borsotti <angelo.borsotti <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: edt emulation
Date: Tue, 6 Aug 2024 10:28:54 +0200
[Message part 1 (text/plain, inline)]
From: angelo.borsotti <at> gmail.com
To: bug-gnu-emacs <at> gnu.org
Subject: 29.4; edt emulation
--text follows this line--

Hello,

I have just downloaded emacs 29.4, and run the edt emulation.
Emacs prompts me to define the keyboard mapping, which I did.
It saves it in my home\appdata\roaming, withe name .emacs-gnu-W32-keys,
which is different from the one indicated in th documentation.
This, seemingly, is not important because when I run emacs again,
it loads it anyway.
The problem is that the arrows do not work!
If I run emacs, and enter M-x edt-emulation-on and C-h k <right arrow>
it displays:

<right> runs the command edt-cut, which is an interactive
native-compiled Lisp function in ‘edt.el’.

It is bound to <right>.

(edt-cut)

Deletes selected text but copies to kill ring.

How can I solve the problem?


In GNU Emacs 29.4 (build 2, x86_64-w64-mingw32) of 2024-07-05 built on
 AVALON
Windowing system distributor 'Microsoft Corp.', version 10.0.19045
System Description: Microsoft Windows 10 Pro (v10.0.2009.19045.4651)

Configured using:
 'configure --with-modules --without-dbus --with-native-compilation=aot
 --without-compress-install --with-sqlite3 --with-tree-sitter
 CFLAGS=-O2'

Configured features:
ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP
NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XPM ZLIB

(NATIVE_COMP present but libgccjit not available)

Important settings:
  value of $LANG: ENU
  locale-coding-system: cp1252

Major mode: Messages

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  buffer-read-only: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(pp shadow sort mail-extr emacsbug message mailcap yank-media puny dired
dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068
epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils time-date subr-x shortdoc
text-property-search help-fns radix-tree help-mode cl-loaddefs cl-lib
edt picture ehelp rmc iso-transl tooltip cconv eldoc paren electric
uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel dos-w32
ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock
font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq
simple cl-generic indonesian philippine cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite emoji-zwj charscript charprop case-table
epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button
loaddefs theme-loaddefs faces cus-face macroexp files window
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget keymap hashtable-print-readable backquote threads
w32notify w32 lcms2 multi-tty make-network-process native-compile emacs)

Memory information:
((conses 16 69706 12307)
 (symbols 48 5769 4)
 (strings 32 18300 1292)
 (string-bytes 1 485882)
 (vectors 16 12264)
 (vector-slots 8 284398 17118)
 (floats 8 104 122)
 (intervals 56 629 6)
 (buffers 984 16))
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#72490; Package emacs. (Mon, 12 Aug 2024 22:20:02 GMT) Full text and rfc822 format available.

Message #8 received at 72490 <at> debbugs.gnu.org (full text, mbox):

From: Jeremy Bryant <jb <at> jeremybryant.net>
To: Angelo Borsotti <angelo.borsotti <at> gmail.com>
Cc: 72490 <at> debbugs.gnu.org
Subject: Re: bug#72490: edt emulation
Date: Mon, 12 Aug 2024 23:18:33 +0100
Angelo Borsotti <angelo.borsotti <at> gmail.com> writes:

> From: angelo.borsotti <at> gmail.com
> To: bug-gnu-emacs <at> gnu.org
> Subject: 29.4; edt emulation
> --text follows this line--
>
> Hello,
>
> I have just downloaded emacs 29.4, and run the edt emulation.
> Emacs prompts me to define the keyboard mapping, which I did.
> It saves it in my home\appdata\roaming, withe name
> .emacs-gnu-W32-keys,
> which is different from the one indicated in th documentation.
> This, seemingly, is not important because when I run emacs again,
> it loads it anyway.
> The problem is that the arrows do not work!

What is the expected behaviour in this situation?

> If I run emacs, and enter M-x edt-emulation-on and C-h k <right
> arrow>
> it displays:
>
> <right> runs the command edt-cut, which is an interactive
> native-compiled Lisp function in ‘edt.el’.
>
> It is bound to <right>.
>
> (edt-cut)
>
> Deletes selected text but copies to kill ring.
>
> How can I solve the problem?
>
>
> In GNU Emacs 29.4 (build 2, x86_64-w64-mingw32) of 2024-07-05 built
> on
>  AVALON
> Windowing system distributor 'Microsoft Corp.', version 10.0.19045
> System Description: Microsoft Windows 10 Pro (v10.0.2009.19045.4651)
>
> Configured using:
>  'configure --with-modules --without-dbus --with-native-compilation=
> aot
>  --without-compress-install --with-sqlite3 --with-tree-sitter
>  CFLAGS=-O2'
>
> Configured features:
> ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES
> NATIVE_COMP
> NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND SQLITE3 THREADS TIFF
> TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XPM ZLIB
>
> (NATIVE_COMP present but libgccjit not available)
>
> Important settings:
>   value of $LANG: ENU
>   locale-coding-system: cp1252
>
> Major mode: Messages
>
> Minor modes in effect:
>   tooltip-mode: t
>   global-eldoc-mode: t
>   show-paren-mode: t
>   electric-indent-mode: t
>   mouse-wheel-mode: t
>   tool-bar-mode: t
>   menu-bar-mode: t
>   file-name-shadow-mode: t
>   global-font-lock-mode: t
>   font-lock-mode: t
>   blink-cursor-mode: t
>   buffer-read-only: t
>   line-number-mode: t
>   indent-tabs-mode: t
>   transient-mark-mode: t
>   auto-composition-mode: t
>   auto-encryption-mode: t
>   auto-compression-mode: t
>
> Load-path shadows:
> None found.
>
> Features:
> (pp shadow sort mail-extr emacsbug message mailcap yank-media puny
> dired
> dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg
> rfc6068
> epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231
> mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
> mm-util mail-prsvr mail-utils time-date subr-x shortdoc
> text-property-search help-fns radix-tree help-mode cl-loaddefs cl-lib
> edt picture ehelp rmc iso-transl tooltip cconv eldoc paren electric
> uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
> dos-w32
> ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win
> tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
> newcomment text-mode lisp-mode prog-mode register page tab-bar
> menu-bar
> rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock
> font-lock syntax font-core term/tty-colors frame minibuffer nadvice
> seq
> simple cl-generic indonesian philippine cham georgian utf-8-lang
> misc-lang vietnamese tibetan thai tai-viet lao korean japanese
> eucjp-ms
> cp51932 hebrew greek romanian slovak czech european ethiopic indian
> cyrillic chinese composite emoji-zwj charscript charprop case-table
> epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded
> button
> loaddefs theme-loaddefs faces cus-face macroexp files window
> text-properties overlay sha1 md5 base64 format env code-pages mule
> custom widget keymap hashtable-print-readable backquote threads
> w32notify w32 lcms2 multi-tty make-network-process native-compile
> emacs)
>
> Memory information:
> ((conses 16 69706 12307)
>  (symbols 48 5769 4)
>  (strings 32 18300 1292)
>  (string-bytes 1 485882)
>  (vectors 16 12264)
>  (vector-slots 8 284398 17118)
>  (floats 8 104 122)
>  (intervals 56 629 6)
>  (buffers 984 16))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#72490; Package emacs. (Sat, 17 Aug 2024 09:14:01 GMT) Full text and rfc822 format available.

Message #11 received at 72490 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Angelo Borsotti <angelo.borsotti <at> gmail.com>
Cc: 72490 <at> debbugs.gnu.org
Subject: Re: bug#72490: edt emulation
Date: Sat, 17 Aug 2024 12:13:03 +0300
> From: Angelo Borsotti <angelo.borsotti <at> gmail.com>
> Date: Tue, 6 Aug 2024 10:28:54 +0200
> 
> I have just downloaded emacs 29.4, and run the edt emulation.
> Emacs prompts me to define the keyboard mapping, which I did.
> It saves it in my home\appdata\roaming, withe name .emacs-gnu-W32-keys,
> which is different from the one indicated in th documentation.

Which documentation states differently, please?

> This, seemingly, is not important because when I run emacs again,
> it loads it anyway.
> The problem is that the arrows do not work!
> If I run emacs, and enter M-x edt-emulation-on and C-h k <right arrow>
> it displays:
> 
> <right> runs the command edt-cut, which is an interactive
> native-compiled Lisp function in ‘edt.el’.
> 
> It is bound to <right>.
> 
> (edt-cut)
> 
> Deletes selected text but copies to kill ring.
> 
> How can I solve the problem?

When you run the edt-mapper command, and it asks for the arrow keys,
you need to press the arrow keys on the numeric pad (and make sure
NumLock is OFF when you do).  Then the arrows will work in the EDT
emulation; at least they did for me.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#72490; Package emacs. (Sat, 17 Aug 2024 12:50:02 GMT) Full text and rfc822 format available.

Message #14 received at 72490 <at> debbugs.gnu.org (full text, mbox):

From: Angelo Borsotti <angelo.borsotti <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 72490 <at> debbugs.gnu.org
Subject: Re: bug#72490: edt emulation
Date: Sat, 17 Aug 2024 14:47:41 +0200
[Message part 1 (text/plain, inline)]
Hi,

the expected behaviour is the usual one of the arrows: to move the caret.

-Angelo

On Sat, 17 Aug 2024 at 11:13, Eli Zaretskii <eliz <at> gnu.org> wrote:

> > From: Angelo Borsotti <angelo.borsotti <at> gmail.com>
> > Date: Tue, 6 Aug 2024 10:28:54 +0200
> >
> > I have just downloaded emacs 29.4, and run the edt emulation.
> > Emacs prompts me to define the keyboard mapping, which I did.
> > It saves it in my home\appdata\roaming, withe name .emacs-gnu-W32-keys,
> > which is different from the one indicated in th documentation.
>
> Which documentation states differently, please?
>
> > This, seemingly, is not important because when I run emacs again,
> > it loads it anyway.
> > The problem is that the arrows do not work!
> > If I run emacs, and enter M-x edt-emulation-on and C-h k <right arrow>
> > it displays:
> >
> > <right> runs the command edt-cut, which is an interactive
> > native-compiled Lisp function in ‘edt.el’.
> >
> > It is bound to <right>.
> >
> > (edt-cut)
> >
> > Deletes selected text but copies to kill ring.
> >
> > How can I solve the problem?
>
> When you run the edt-mapper command, and it asks for the arrow keys,
> you need to press the arrow keys on the numeric pad (and make sure
> NumLock is OFF when you do).  Then the arrows will work in the EDT
> emulation; at least they did for me.
>
[Message part 2 (text/html, inline)]

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 31 Aug 2024 08:03:02 GMT) Full text and rfc822 format available.

Notification sent to Angelo Borsotti <angelo.borsotti <at> gmail.com>:
bug acknowledged by developer. (Sat, 31 Aug 2024 08:03:02 GMT) Full text and rfc822 format available.

Message #19 received at 72490-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: angelo.borsotti <at> gmail.com
Cc: 72490-done <at> debbugs.gnu.org
Subject: Re: bug#72490: edt emulation
Date: Sat, 31 Aug 2024 11:01:22 +0300
> Cc: 72490 <at> debbugs.gnu.org
> Date: Sat, 17 Aug 2024 12:13:03 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> 
> > From: Angelo Borsotti <angelo.borsotti <at> gmail.com>
> > Date: Tue, 6 Aug 2024 10:28:54 +0200
> > 
> > I have just downloaded emacs 29.4, and run the edt emulation.
> > Emacs prompts me to define the keyboard mapping, which I did.
> > It saves it in my home\appdata\roaming, withe name .emacs-gnu-W32-keys,
> > which is different from the one indicated in th documentation.
> 
> Which documentation states differently, please?
> 
> > This, seemingly, is not important because when I run emacs again,
> > it loads it anyway.
> > The problem is that the arrows do not work!
> > If I run emacs, and enter M-x edt-emulation-on and C-h k <right arrow>
> > it displays:
> > 
> > <right> runs the command edt-cut, which is an interactive
> > native-compiled Lisp function in ‘edt.el’.
> > 
> > It is bound to <right>.
> > 
> > (edt-cut)
> > 
> > Deletes selected text but copies to kill ring.
> > 
> > How can I solve the problem?
> 
> When you run the edt-mapper command, and it asks for the arrow keys,
> you need to press the arrow keys on the numeric pad (and make sure
> NumLock is OFF when you do).  Then the arrows will work in the EDT
> emulation; at least they did for me.

No further comments, so I assume the above solved the issue, and I'm
therefore closing this bug.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 28 Sep 2024 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 356 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.