GNU bug report logs - #23903
25.0.95; Undo after keyboard shortcuts differs from undo after M-x ... RET

Previous Next

Package: emacs;

Reported by: Markus Triska <triska <at> metalevel.at>

Date: Tue, 5 Jul 2016 22:46:02 UTC

Severity: normal

Tags: confirmed

Found in version 25.0.95

Full log


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

From: Markus Triska <triska <at> metalevel.at>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.95;
 Undo after keyboard shortcuts differs from undo after M-x ... RET
Date: Wed, 06 Jul 2016 00:45:08 +0200
With the latest emacs-25 git, please do the following:

1) Invoke Emacs via:

    emacs -Q --eval "(defun bc () (interactive)\
                         (start-process \"bc\" (current-buffer) \"bc\"))" \
          --eval "(global-set-key [f9] 'bc)" \
          --eval "(save-excursion (insert \"hello\"))"

2) Press (F9 is bound to the function bc by the snippet above):

   F9 C-/

   After undo, point is at the beginning of the buffer, as expected.

3) Press:

   M-x bc RET C-/

   After undo, point is unexpectedly at the end of the buffer instead.

Thank you for looking into this!

All the best,
Markus


In GNU Emacs 25.0.95.4 (x86_64-apple-darwin15.5.0, X toolkit, Xaw scroll bars)
 of 2016-07-05 built on mt-imac
Repository revision: e3b039d1a0e611d6619ed3ce67d125160d644ebc
Windowing system distributor 'The X.Org Foundation', version 11.0.11502000
Configured using:
 'configure --without-ns CFLAGS=-I/opt/local/include
 LDFLAGS=-L/opt/local/lib'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK GSETTINGS NOTIFY ACL GNUTLS
LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix





This bug report was last modified 4 years and 220 days ago.

Previous Next


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