[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#21275: 24.5; Selection deleted with electric pair mode in cc mode
From: |
Drew Adams |
Subject: |
bug#21275: 24.5; Selection deleted with electric pair mode in cc mode |
Date: |
Thu, 20 Aug 2015 14:35:43 -0700 (PDT) |
> > +(defun delete-selection-uses-region-p ()
>
> The way I read it, this name says "a function which tells us if
> delete-selection uses the region".
No idea what this is all about, but if this is for
`electric-pair-mode' and not for `delete-selection-mode' then
the name should reflect that - call it `electric-pair-SOMETHING'.
Is this something that `delete-selection-mode' needs? Or is it
for something else?
> > + "Return non-nil when the current command uses the region.
What does it mean for a command to "use the region"?
> It's not about "the current command" but about self-insert-command
> (which may be the current command or may be called by the current
> command).
What does it mean for such a command (or any other command) to
"use the region"? That info should presumably be in the doc string.
- bug#21275: 24.5; Selection deleted with electric pair mode in cc mode, N. Jackson, 2015/08/16
- Message not available
- bug#21275: 24.5; Selection deleted with electric pair mode in cc mode, Alan Mackenzie, 2015/08/18
- bug#21275: 24.5; Selection deleted with electric pair mode in cc mode, N. Jackson, 2015/08/18
- bug#21275: 24.5; Selection deleted with electric pair mode in cc mode, Stefan Monnier, 2015/08/20
- bug#21275: 24.5; Selection deleted with electric pair mode in cc mode,
Drew Adams <=
- bug#21275: 24.5; Selection deleted with electric pair mode in cc mode, Alan Mackenzie, 2015/08/20
- bug#21275: 24.5; Selection deleted with electric pair mode in cc mode, Drew Adams, 2015/08/21
- bug#21275: 24.5; Selection deleted with electric pair mode in cc mode, Stefan Monnier, 2015/08/21
- bug#21275: 24.5; Selection deleted with electric pair mode in cc mode, Drew Adams, 2015/08/21
Message not available