emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#16799: closed (24.3.50; delete-selection-mode and


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#16799: closed (24.3.50; delete-selection-mode and electric-pair-mode interaction)
Date: Thu, 20 Feb 2014 10:39:02 +0000

Your message dated Thu, 20 Feb 2014 11:38:11 +0100
with message-id <address@hidden>
and subject line Re: bug#16799: 24.3.50; delete-selection-mode and 
electric-pair-mode interaction
has caused the debbugs.gnu.org bug report #16799,
regarding 24.3.50; delete-selection-mode and electric-pair-mode interaction
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
16799: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16799
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.3.50; delete-selection-mode and electric-pair-mode interaction Date: Tue, 18 Feb 2014 21:47:14 +0100 (CET)
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



--- End Message ---
--- Begin Message --- Subject: Re: bug#16799: 24.3.50; delete-selection-mode and electric-pair-mode interaction Date: Thu, 20 Feb 2014 11:38:11 +0100
On Thu, Feb 20, 2014 at 5:49 AM, Stefan Monnier
<address@hidden> wrote:

> Looks right, except that I'd write (not (bobp)) instead of (> (point)
> (point-min)).

Yes, thanks. I always forget bobp.

I've installed the patch using

   (or (bobp)
        (nth ...))

which is shorter and pretty clear IMO.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]