all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Markus Triska <triska@metalevel.at>
To: 23903@debbugs.gnu.org
Subject: bug#23903: 25.0.95; Undo after keyboard shortcuts differs from undo after M-x ... RET
Date: Wed, 06 Jul 2016 00:45:08 +0200	[thread overview]
Message-ID: <m2poqrg0wb.fsf@metalevel.at> (raw)

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






             reply	other threads:[~2016-07-05 22:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-05 22:45 Markus Triska [this message]
2020-12-02 11:45 ` bug#23903: 25.0.95; Undo after keyboard shortcuts differs from undo after M-x ... RET Lars Ingebrigtsen

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=m2poqrg0wb.fsf@metalevel.at \
    --to=triska@metalevel.at \
    --cc=23903@debbugs.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.