[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#29098: 26.0.90; [PATCH] 2 patches: initial-buffer-choice and python-
From: |
Alex |
Subject: |
bug#29098: 26.0.90; [PATCH] 2 patches: initial-buffer-choice and python-indent-dedent-line-backspace |
Date: |
Tue, 31 Oct 2017 23:24:48 -0600 |
I have 2 small patches that I think should go to emacs-26, and I'm not
sure if they deserve their own individual reports. Is this alright, or
should I split them up in the future?
Anyway, these alleviate/solve some issues that I've seen people report.
The first patch provides more information to an error message, and the
second deals with pressing backspace in a python-mode buffer with an
active region.
When in a python-mode buffer with the contents:
def foo():
print('bar')
with an active region and point at the "p", then pressing backspace
de-indents the line instead of deleting it. This is at odds with the
behaviour in other modes, where a similar action deletes the line, at
least with ‘delete-active-region’ non-nil.
I thought about making this behaviour conditional using
‘delete-active-region’, but that might be a bit inconsistent.
0001-Improve-error-messages-regarding-initial-buffer-choi.patch
Description: error
0002-Delete-active-region-instead-of-de-indenting-in-pyth.patch
Description: python
- bug#29098: 26.0.90; [PATCH] 2 patches: initial-buffer-choice and python-indent-dedent-line-backspace,
Alex <=