GNU bug report logs - #37472
26.2; completion-kill-region breaks rectangle-mark-mode

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Jens Lautenbacher <jtl@HIDDEN>; dated Sat, 21 Sep 2019 00:46:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 Sep 2019 00:45:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 20 20:45:04 2019
Received: from localhost ([127.0.0.1]:58833 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iBTWI-0000BQ-SJ
	for submit <at> debbugs.gnu.org; Fri, 20 Sep 2019 20:45:03 -0400
Received: from lists.gnu.org ([209.51.188.17]:43492)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jtl@HIDDEN>) id 1iBT2a-0007m8-G4
 for submit <at> debbugs.gnu.org; Fri, 20 Sep 2019 20:14:21 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:44120)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <jtl@HIDDEN>) id 1iBT2Y-0006PY-Jg
 for bug-gnu-emacs@HIDDEN; Fri, 20 Sep 2019 20:14:20 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: **
X-Spam-Status: No, score=3.0 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 RCVD_IN_DNSWL_NONE,SPOOFED_FREEMAIL,URIBL_BLOCKED autolearn=disabled
 version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jtl@HIDDEN>) id 1iBT2W-0007Ee-Ra
 for bug-gnu-emacs@HIDDEN; Fri, 20 Sep 2019 20:14:18 -0400
Received: from mout.gmx.net ([212.227.15.15]:56623)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <jtl@HIDDEN>) id 1iBT2W-0007EQ-Ez
 for bug-gnu-emacs@HIDDEN; Fri, 20 Sep 2019 20:14:16 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1569024847;
 bh=YrPC2xEkQFj5MMBZ4bZvbxgONeGH8mThRcV8lfu8MBY=;
 h=X-UI-Sender-Class:Subject:From:To:Date;
 b=YSpm+vnQMkdz7D0XEwk+7fNW+CmFf+onj7WEqh0jwUX3B6BdAeLRwGv5I2q9PKAXF
 GxM6JIBnq3LDg534b+nXl6QL6xNOW/3j+h0tcbrCyxH02PSJr3prMFObU2dzshbuyi
 B/HcwH42o1+CLjV1Wm0j1LcEa74KCBOOd3MY5Bjk=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from britten.fritz.box ([89.244.189.86]) by mail.gmx.com (mrgmx005
 [212.227.17.184]) with ESMTPSA (Nemesis) id 1Mlf4S-1hlik10sqo-00io5f for
 <bug-gnu-emacs@HIDDEN>; Sat, 21 Sep 2019 02:14:07 +0200
Message-ID: <7899e77f7d1b1d3041493232ef7454eceb38ac92.camel@HIDDEN>
Subject: 26.2; completion-kill-region breaks rectangle-mark-mode
From: Jens Lautenbacher <jtl@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Date: Sat, 21 Sep 2019 02:14:04 +0200
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.34.0 (3.34.0-1.fc31) 
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:xtiz+s6vukgS5NvwasVNvQOnsG5K8qQnEWArMCXVwkmDfAbsSRr
 zizfaKY5LTJy689BBJSF8yu9Sb+ID5cDqxJUaXXupXB+d8pWV/qn8gOvJXnXaPqyGJvrwaB
 ibwq7jJgid5pcDu4shAqSxsqp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NWYcwQvgyYucrkpna0iHbCjutD1
 pUEzEiWra9wyvaMjDq/tuhTbjjgKvRq8H+gWFscTfCFXo89t9l+mM0A9J9bGTnJqpgkxIBsju
 NvsQ6yM39OJJiciKtliDwebjLnBkkxAmxjh2pfjDiUYyEglrZcg7YDJNRS+m6KftXrblSK3QN
 vrzbzMXynjokDwDB8AnXM9TwiL3OG3w+1YFfZ9S8lw+NWO4/Ozb+aTbd3dCGhtuijNWcw2XPp
 86oO9AXlHT78HgHeP2CwBnLLGjSFLlDEPdZkkJLEQtbwf1Bc90RlrPgfTnLr3I7HsVg6+GNy4
 M62LdDvdk8Wov3d5LBTohrui9H4SkC5c1wvvOdQ==
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 212.227.15.15
X-Spam-Score: 0.8 (/)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Fri, 20 Sep 2019 20:45:01 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.2 (/)


When using dynamic completion, rectangle-mark-mode is broken, in so far
as C-w no longer respects just killing the rectangle but instead kills
the usual full (non-rectangular) region.

M-w on the other hand works, because it is the original function, while
C-w is overloaded with completion-kill-region.

To test: try C-w after C-x SPC once bound to kill-region and once bound
to completion-kill-region (or simply M-x the two functions with an
active rectangular region).

I have "fixed" it in my init.el in the following hackish way:

(add-hook 'rectangle-mark-mode-hook
      (lambda ()
        (if rectangle-mark-mode ;; entering...
            (if (not dynamic-completion-mode)
                (setq restore--dyncomplete nil)
              (setq restore--dyncomplete t)
              (dynamic-completion-mode -1))
          ;; ...else leaving
          (if restore--dyncomplete
              (dynamic-completion-mode t)))))

but this seems pretty clumpsy - actually so much that I removed it
again
and just shut off dynamic completion completely...



In GNU Emacs 26.2 (build 1, x86_64-redhat-linux-gnu, GTK+ Version
3.24.10)
 of 2019-07-25 built on buildvm-26.phx2.fedoraproject.org
Windowing system distributor 'Fedora Project', version 11.0.12005000
System Description:	Fedora release 31 (Thirty One)

Recent messages:
Overriding package-menu-mode with paradox-menu-mode
Loading desktop...done
Loading recentf...done
Loading saveplace...done
Loading paren...done
Loading /home/jtl/.emacs.d/recentf...done
Cleaning up the recentf list...done (0 removed)
Wrote /home/jtl/.emacs.d/.emacs.desktop.lock
Desktop: 1 frame, 1 buffer restored.
For information about GNU Emacs and the GNU system, type C-h C-a.

Configured using:
 'configure --build=3Dx86_64-redhat-linux-gnu
 --host=3Dx86_64-redhat-linux-gnu --program-prefix=3D
 --disable-dependency-tracking --prefix=3D/usr --exec-prefix=3D/usr
 --bindir=3D/usr/bin --sbindir=3D/usr/sbin --sysconfdir=3D/etc
 --datadir=3D/usr/share --includedir=3D/usr/include --libdir=3D/usr/lib64
 --libexecdir=3D/usr/libexec --localstatedir=3D/var
 --sharedstatedir=3D/var/lib --mandir=3D/usr/share/man
 --infodir=3D/usr/share/info --with-dbus --with-gif --with-jpeg --with-
png
 --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=3Dgtk3
 --with-gpm=3Dno --with-xwidgets --with-modules
 build_alias=3Dx86_64-redhat-linux-gnu host_alias=3Dx86_64-redhat-linux-gn=
u
 'CFLAGS=3D-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=3Dformat-security
 -Wp,-D_FORTIFY_SOURCE=3D2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions
 -fstack-protector-strong -grecord-gcc-switches
 -specs=3D/usr/lib/rpm/redhat/redhat-hardened-cc1
 -specs=3D/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=3Dgeneric
 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
 LDFLAGS=3D-Wl,-z,relro
 PKG_CONFIG_PATH=3D:/usr/lib64/pkgconfig:/usr/share/pkgconfig'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS GLIB NOTIFY
ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS LCMS2

Important settings:
  value of $LC_MONETARY: de_DE.UTF-8
  value of $LC_NUMERIC: de_DE.UTF-8
  value of $LC_TIME: de_DE.UTF-8
  value of $LANG: en_GB.UTF-8
  value of $XMODIFIERS: @im=3Dibus
  locale-coding-system: utf-8-unix

Major mode: Emacs-Lisp

Minor modes in effect:
  show-paren-mode: t
  save-place-mode: t
  recentf-mode: t
  desktop-save-mode: t
  csv-field-index-mode: t
  dap-ui-mode: t
  dap-mode: t
  treemacs-filewatch-mode: t
  treemacs-follow-mode: t
  treemacs-git-mode: simple
  treemacs-fringe-indicator-mode: t
  counsel-projectile-mode: t
  projectile-mode: t
  electric-pair-mode: t
  flycheck-posframe-mode: t
  global-flycheck-mode: t
  flycheck-mode: t
  global-company-mode: t
  company-mode: t
  ivy-prescient-mode: t
  prescient-persist-mode: t
  ivy-mode: t
  delete-selection-mode: t
  override-global-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow mail-extr emacsbug message format-spec rfc822 mml mml-sec epa
derived epg gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-
encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr init paren saveplace recentf
desktop frameset csv-mode sort treemacs-projectile paradox paradox-menu
paradox-commit-list paradox-execute paradox-github paradox-core dap-
java
dap-ui gdb-mi gud bui bui-list bui-info bui-entry bui-core bui-history
bui-button bui-utils cus-edit cus-start cus-load tree-mode dap-mode
dap-overlays lsp-java request mail-utils url url-proxy url-privacy
url-expand url-methods url-history url-cookie url-domsuf mailcap cc-
mode
cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars
cc-defs lsp lsp-treemacs treemacs treemacs-compatibility treemacs-mode
treemacs-interface treemacs-extensions treemacs-persistence
treemacs-mouse-interface treemacs-tag-follow-mode
treemacs-filewatch-mode treemacs-tags treemacs-follow-mode
treemacs-rendering treemacs-async treemacs-faces treemacs-icons
treemacs-workspaces treemacs-dom treemacs-visuals
treemacs-fringe-indicator pulse treemacs-themes treemacs-core-utils
pfuture ace-window avy hl-line treemacs-macros treemacs-customization
company-lsp lsp-mode ewoc markdown-mode noutline outline tree-widget
wid-edit url-util spinner network-stream puny nsm rmc starttls tls
gnutls inline imenu ht filenotify f s em-glob esh-util dash-functional
bindat flymake-proc flymake warnings company-jedi jedi-core
python-environment epc ctable cl concurrent deferred counsel-projectile
projectile grep ibuf-ext ibuffer ibuffer-loaddefs thingatpt counsel xdg
compile comint ansi-color swiper yasnippet-snippets yasnippet elec-pair
flycheck-posframe posframe flycheck json find-func rx dash powerline
advice powerline-separators powerline-themes ivy-hydra hydra lv
all-the-icons all-the-icons-faces data-material data-weathericons
data-octicons data-fileicons data-faicons data-alltheicons memoize
dired-hide-dotfiles dired dired-loaddefs company-prescient
company-oddmuse company-keywords company-etags etags xref project
company-gtags company-dabbrev-code company-dabbrev company-files
company-capf company-cmake company-xcode company-clang company-semantic
company-eclim company-template company-bbdb company pcase ivy-prescient
prescient subr-x ivy delsel ring colir color ivy-overlay map
tangotango-theme use-package-diminish diminish edmacro kmacro cl-extra
help-mode use-package-bind-key bind-key easy-mmode use-package-ensure
use-package-core finder-inf tex-site info package easymenu epg-config
url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs
eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp
byte-compile cconv cl-loaddefs cl-lib time-date mule-util tooltip eldoc
electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win
x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt
fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow isearch timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-
readable
backquote threads dbusbind inotify lcms2 dynamic-setting
system-font-setting font-render-setting xwidget-internal move-toolbar
gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 347270 14535)
 (symbols 48 44566 1)
 (miscs 40 658 215)
 (strings 32 111942 3502)
 (string-bytes 1 3283026)
 (vectors 16 49513)
 (vector-slots 8 871282 17716)
 (floats 8 1083 499)
 (intervals 56 940 115)
 (buffers 992 12))





Acknowledgement sent to Jens Lautenbacher <jtl@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#37472; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 21 Sep 2019 01:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.