all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Harald Hanche-Olsen <hanche@math.ntnu.no>
To: 16799@debbugs.gnu.org
Subject: bug#16799: 24.3.50; delete-selection-mode and electric-pair-mode interaction
Date: Tue, 18 Feb 2014 21:47:14 +0100 (CET)	[thread overview]
Message-ID: <20140218.214714.1545557468915065071.hanche@math.ntnu.no> (raw)

Starting from emacs -Q, switch to the *scratch* buffer and run:

M-x electric-pair-mode RET
M-x delete-selection-mode RET

Place the cursor in the first line, but not at the befinning,
and type C-space C-a.

Now the region is active, and point is at the beginning of the buffer.
Type any character bound to self-insert-command.

Result:

Error in pre-command-hook (delete-selection-pre-hook): (args-out-of-range 0 1)

As a side effect, delete-selection-pre-hook is removed from
pre-command-hook, effectively disabling delete-selection-mode.

In GNU Emacs 24.3.50.1 (x86_64-apple-darwin13.0.0,
  NS apple-appkit-1265.00) of 2014-02-18 on airy
Windowing system distributor `Apple', version 10.3.1265
Configured using:
 `configure --with-ns'

The source code was pulled from the git repo less than an hour ago.

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

– Harald





             reply	other threads:[~2014-02-18 20:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-18 20:47 Harald Hanche-Olsen [this message]
2014-02-19 22:23 ` bug#16799: 24.3.50; delete-selection-mode and electric-pair-mode interaction Juanma Barranquero
2014-02-20  4:49   ` Stefan Monnier
2014-02-20 10:38     ` Juanma Barranquero

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=20140218.214714.1545557468915065071.hanche@math.ntnu.no \
    --to=hanche@math.ntnu.no \
    --cc=16799@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.