* bug#51320: 26.1; kill-region does not ignore its first two args if region is active
@ 2021-10-21 12:29 Richard Lawrence
2021-10-21 16:56 ` Eli Zaretskii
0 siblings, 1 reply; 5+ messages in thread
From: Richard Lawrence @ 2021-10-21 12:29 UTC (permalink / raw)
To: 51320
In a function I'm writing, I tried to call kill-region like this:
(and (use-region-p) (kill-region nil nil t))
with its first two arguments being nil, because the docstring says:
"Supply two arguments, character positions BEG and END indicating the
stretch of text to be killed. If the optional argument REGION is
non-nil, the function ignores BEG and END, and kills the current
region instead."
But in fact, if both BEG and END are nil as in my function call,
kill-region doesn't ignore them but throws an error, since its first two
lines are:
(unless (and beg end)
(user-error "The mark is not set now, so there is no region"))
This was surprising to me, since I expected these values to be ignored.
Maybe the initial check should instead be something like this?
(unless (and beg end (not region))
...)
Hope that's helpful!
Best,
Richard
In GNU Emacs 26.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.5)
of 2021-01-31, modified by Debian built on x86-csail-01
Windowing system distributor 'The X.Org Foundation', version 11.0.12004000
System Description: Debian GNU/Linux 10 (buster)
Recent messages:
Entering debugger...
Continuing.
Create new stub Zettel 'Proper names for numbers exit the formal standpoint'? (y or n) y
Entering debugger...
Continuing.
user-error: The mark is not set now, so there is no region
Auto-saving...done
Type "q" in help window to restore its previous buffer.
uncompressing simple.el.gz...done
Note: file is write protected
Quit
Configured using:
'configure --build x86_64-linux-gnu --prefix=/usr
--sharedstatedir=/var/lib --libexecdir=/usr/lib
--localstatedir=/var/lib --infodir=/usr/share/info
--mandir=/usr/share/man --enable-libsystemd --with-pop=yes
--enable-locallisppath=/etc/emacs:/usr/local/share/emacs/26.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/26.1/site-lisp:/usr/share/emacs/site-lisp
--with-sound=alsa --without-gconf --with-mailutils --build
x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib
--libexecdir=/usr/lib --localstatedir=/var/lib
--infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd
--with-pop=yes
--enable-locallisppath=/etc/emacs:/usr/local/share/emacs/26.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/26.1/site-lisp:/usr/share/emacs/site-lisp
--with-sound=alsa --without-gconf --with-mailutils --with-x=yes
--with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2
-fdebug-prefix-map=/build/emacs-9Yet8u/emacs-26.1+1=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall'
'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro'
Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY
ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 THREADS LIBSYSTEMD LCMS2
Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
Major mode: Emacs-Lisp
Minor modes in effect:
recentf-mode: t
magit-auto-revert-mode: t
global-git-commit-mode: t
async-bytecomp-package-mode: t
diff-auto-refine-mode: t
override-global-mode: t
global-evil-surround-mode: t
evil-surround-mode: t
shell-dirtrack-mode: t
evil-mode: t
evil-local-mode: t
ivy-mode: t
electric-pair-mode: t
cl-old-struct-compat-mode: t
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
electric-indent-mode: t
mouse-wheel-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
buffer-read-only: t
line-number-mode: t
transient-mark-mode: t
Load-path shadows:
/home/rwl/.emacs.d/elpa/async-20200809.501/dired-async hides /usr/share/emacs/site-lisp/elpa/async-1.9.3/dired-async
/home/rwl/.emacs.d/elpa/async-20200809.501/async hides /usr/share/emacs/site-lisp/elpa/async-1.9.3/async
/home/rwl/.emacs.d/elpa/async-20200809.501/async-bytecomp hides /usr/share/emacs/site-lisp/elpa/async-1.9.3/async-bytecomp
/home/rwl/.emacs.d/elpa/async-20200809.501/smtpmail-async hides /usr/share/emacs/site-lisp/elpa/async-1.9.3/smtpmail-async
/home/rwl/.emacs.d/elpa/async-20200809.501/async-pkg hides /usr/share/emacs/site-lisp/elpa/async-1.9.3/async-pkg
/home/rwl/.emacs.d/elpa/async-20200809.501/async-autoloads hides /usr/share/emacs/site-lisp/elpa/async-1.9.3/async-autoloads
/home/rwl/.emacs.d/elpa/markdown-mode-20201220.253/markdown-mode-pkg hides /usr/share/emacs/site-lisp/elpa/markdown-mode-2.3snapshot154/markdown-mode-pkg
/home/rwl/.emacs.d/elpa/markdown-mode-20201220.253/markdown-mode hides /usr/share/emacs/site-lisp/elpa/markdown-mode-2.3snapshot154/markdown-mode
/home/rwl/.emacs.d/elpa/markdown-mode-20201220.253/markdown-mode-autoloads hides /usr/share/emacs/site-lisp/elpa/markdown-mode-2.3snapshot154/markdown-mode-autoloads
/usr/share/emacs/site-lisp/elpa/apache-mode-2.1/apache-mode-autoloads hides /usr/share/emacs/site-lisp/elpa-src/apache-mode-2.1/apache-mode-autoloads
/usr/share/emacs/site-lisp/elpa/apache-mode-2.1/apache-mode-pkg hides /usr/share/emacs/site-lisp/elpa-src/apache-mode-2.1/apache-mode-pkg
/usr/share/emacs/site-lisp/elpa/apache-mode-2.1/apache-mode hides /usr/share/emacs/site-lisp/elpa-src/apache-mode-2.1/apache-mode
/home/rwl/.emacs.d/elpa/async-20200809.501/dired-async hides /usr/share/emacs/site-lisp/elpa-src/async-1.9.3/dired-async
/home/rwl/.emacs.d/elpa/async-20200809.501/async hides /usr/share/emacs/site-lisp/elpa-src/async-1.9.3/async
/home/rwl/.emacs.d/elpa/async-20200809.501/async-bytecomp hides /usr/share/emacs/site-lisp/elpa-src/async-1.9.3/async-bytecomp
/home/rwl/.emacs.d/elpa/async-20200809.501/async-pkg hides /usr/share/emacs/site-lisp/elpa-src/async-1.9.3/async-pkg
/home/rwl/.emacs.d/elpa/async-20200809.501/smtpmail-async hides /usr/share/emacs/site-lisp/elpa-src/async-1.9.3/smtpmail-async
/home/rwl/.emacs.d/elpa/async-20200809.501/async-autoloads hides /usr/share/emacs/site-lisp/elpa-src/async-1.9.3/async-autoloads
/usr/share/emacs/site-lisp/elpa/bar-cursor-2.0/bar-cursor hides /usr/share/emacs/site-lisp/elpa-src/bar-cursor-2.0/bar-cursor
/usr/share/emacs/site-lisp/elpa/bar-cursor-2.0/bar-cursor-autoloads hides /usr/share/emacs/site-lisp/elpa-src/bar-cursor-2.0/bar-cursor-autoloads
/usr/share/emacs/site-lisp/elpa/bar-cursor-2.0/bar-cursor-pkg hides /usr/share/emacs/site-lisp/elpa-src/bar-cursor-2.0/bar-cursor-pkg
/usr/share/emacs/site-lisp/elpa/bm-201808/bm-pkg hides /usr/share/emacs/site-lisp/elpa-src/bm-201808/bm-pkg
/usr/share/emacs/site-lisp/elpa/bm-201808/bm-sync hides /usr/share/emacs/site-lisp/elpa-src/bm-201808/bm-sync
/usr/share/emacs/site-lisp/elpa/bm-201808/bm hides /usr/share/emacs/site-lisp/elpa-src/bm-201808/bm
/usr/share/emacs/site-lisp/elpa/bm-201808/bm-autoloads hides /usr/share/emacs/site-lisp/elpa-src/bm-201808/bm-autoloads
/usr/share/emacs/site-lisp/elpa/boxquote-2.1/boxquote hides /usr/share/emacs/site-lisp/elpa-src/boxquote-2.1/boxquote
/usr/share/emacs/site-lisp/elpa/boxquote-2.1/boxquote-pkg hides /usr/share/emacs/site-lisp/elpa-src/boxquote-2.1/boxquote-pkg
/usr/share/emacs/site-lisp/elpa/boxquote-2.1/boxquote-autoloads hides /usr/share/emacs/site-lisp/elpa-src/boxquote-2.1/boxquote-autoloads
/usr/share/emacs/site-lisp/elpa/browse-kill-ring-2.0.0/browse-kill-ring-autoloads hides /usr/share/emacs/site-lisp/elpa-src/browse-kill-ring-2.0.0/browse-kill-ring-autoloads
/usr/share/emacs/site-lisp/elpa/browse-kill-ring-2.0.0/browse-kill-ring-pkg hides /usr/share/emacs/site-lisp/elpa-src/browse-kill-ring-2.0.0/browse-kill-ring-pkg
/usr/share/emacs/site-lisp/elpa/browse-kill-ring-2.0.0/browse-kill-ring hides /usr/share/emacs/site-lisp/elpa-src/browse-kill-ring-2.0.0/browse-kill-ring
/usr/share/emacs/site-lisp/elpa/csv-mode-1.7/csv-mode-pkg hides /usr/share/emacs/site-lisp/elpa-src/csv-mode-1.7/csv-mode-pkg
/usr/share/emacs/site-lisp/elpa/csv-mode-1.7/csv-mode-autoloads hides /usr/share/emacs/site-lisp/elpa-src/csv-mode-1.7/csv-mode-autoloads
/usr/share/emacs/site-lisp/elpa/csv-mode-1.7/csv-mode hides /usr/share/emacs/site-lisp/elpa-src/csv-mode-1.7/csv-mode
/usr/share/emacs/site-lisp/elpa/diminish-0.45/diminish-autoloads hides /usr/share/emacs/site-lisp/elpa-src/diminish-0.45/diminish-autoloads
/usr/share/emacs/site-lisp/elpa/diminish-0.45/diminish-pkg hides /usr/share/emacs/site-lisp/elpa-src/diminish-0.45/diminish-pkg
/usr/share/emacs/site-lisp/elpa/diminish-0.45/diminish hides /usr/share/emacs/site-lisp/elpa-src/diminish-0.45/diminish
/usr/share/emacs/site-lisp/elpa/eproject-1.5/eproject hides /usr/share/emacs/site-lisp/elpa-src/eproject-1.5/eproject
/usr/share/emacs/site-lisp/elpa/eproject-1.5/eproject-perl hides /usr/share/emacs/site-lisp/elpa-src/eproject-1.5/eproject-perl
/usr/share/emacs/site-lisp/elpa/eproject-1.5/eproject-pkg hides /usr/share/emacs/site-lisp/elpa-src/eproject-1.5/eproject-pkg
/usr/share/emacs/site-lisp/elpa/eproject-1.5/eproject-javascript-npm hides /usr/share/emacs/site-lisp/elpa-src/eproject-1.5/eproject-javascript-npm
/usr/share/emacs/site-lisp/elpa/eproject-1.5/eproject-android hides /usr/share/emacs/site-lisp/elpa-src/eproject-1.5/eproject-android
/usr/share/emacs/site-lisp/elpa/eproject-1.5/eproject-php-composer hides /usr/share/emacs/site-lisp/elpa-src/eproject-1.5/eproject-php-composer
/usr/share/emacs/site-lisp/elpa/eproject-1.5/eproject-javascript-grunt hides /usr/share/emacs/site-lisp/elpa-src/eproject-1.5/eproject-javascript-grunt
/usr/share/emacs/site-lisp/elpa/eproject-1.5/eproject-ruby hides /usr/share/emacs/site-lisp/elpa-src/eproject-1.5/eproject-ruby
/usr/share/emacs/site-lisp/elpa/eproject-1.5/eproject-tests hides /usr/share/emacs/site-lisp/elpa-src/eproject-1.5/eproject-tests
/usr/share/emacs/site-lisp/elpa/eproject-1.5/eproject-clojure-leiningen hides /usr/share/emacs/site-lisp/elpa-src/eproject-1.5/eproject-clojure-leiningen
/usr/share/emacs/site-lisp/elpa/eproject-1.5/eproject-ruby-on-rails hides /usr/share/emacs/site-lisp/elpa-src/eproject-1.5/eproject-ruby-on-rails
/usr/share/emacs/site-lisp/elpa/eproject-1.5/eproject-javascript-bower hides /usr/share/emacs/site-lisp/elpa-src/eproject-1.5/eproject-javascript-bower
/usr/share/emacs/site-lisp/elpa/eproject-1.5/eproject-arduino hides /usr/share/emacs/site-lisp/elpa-src/eproject-1.5/eproject-arduino
/usr/share/emacs/site-lisp/elpa/eproject-1.5/eproject-python hides /usr/share/emacs/site-lisp/elpa-src/eproject-1.5/eproject-python
/usr/share/emacs/site-lisp/elpa/eproject-1.5/eproject-autoloads hides /usr/share/emacs/site-lisp/elpa-src/eproject-1.5/eproject-autoloads
/usr/share/emacs/site-lisp/elpa/eproject-1.5/eproject-extras hides /usr/share/emacs/site-lisp/elpa-src/eproject-1.5/eproject-extras
/usr/share/emacs/site-lisp/elpa/folding-20170925.1538/folding-pkg hides /usr/share/emacs/site-lisp/elpa-src/folding-20170925.1538/folding-pkg
/usr/share/emacs/site-lisp/elpa/folding-20170925.1538/folding-autoloads hides /usr/share/emacs/site-lisp/elpa-src/folding-20170925.1538/folding-autoloads
/usr/share/emacs/site-lisp/elpa/folding-20170925.1538/folding hides /usr/share/emacs/site-lisp/elpa-src/folding-20170925.1538/folding
/usr/share/emacs/site-lisp/elpa/graphviz-dot-mode-0.3.10/graphviz-dot-mode-pkg hides /usr/share/emacs/site-lisp/elpa-src/graphviz-dot-mode-0.3.10/graphviz-dot-mode-pkg
/usr/share/emacs/site-lisp/elpa/graphviz-dot-mode-0.3.10/graphviz-dot-mode hides /usr/share/emacs/site-lisp/elpa-src/graphviz-dot-mode-0.3.10/graphviz-dot-mode
/usr/share/emacs/site-lisp/elpa/graphviz-dot-mode-0.3.10/graphviz-dot-mode-autoloads hides /usr/share/emacs/site-lisp/elpa-src/graphviz-dot-mode-0.3.10/graphviz-dot-mode-autoloads
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-autoloads hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-autoloads
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-sys hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-sys
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-utils hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-utils
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-org hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-org
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-bookmark hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-bookmark
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-external hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-external
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-id-utils hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-id-utils
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-grep hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-grep
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-color hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-color
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-x-files hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-x-files
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-elisp-package hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-elisp-package
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-net hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-net
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-eval hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-eval
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-for-files hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-for-files
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-help hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-help
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-info hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-info
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-dabbrev hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-dabbrev
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-imenu hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-imenu
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-regexp hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-regexp
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-files hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-files
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-ring hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-ring
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-eshell hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-eshell
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-buffers hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-buffers
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-tags hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-tags
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-command hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-command
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-misc hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-misc
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-font hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-font
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-elisp hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-elisp
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-pkg hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-pkg
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-adaptive hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-adaptive
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-types hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-types
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-semantic hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-semantic
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-config hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-config
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-locate hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-locate
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-mode hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-mode
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-find hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-find
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-man hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-man
/usr/share/emacs/site-lisp/elpa/helm-3.0/helm-easymenu hides /usr/share/emacs/site-lisp/elpa-src/helm-3.0/helm-easymenu
/usr/share/emacs/site-lisp/elpa/helm-core-3.0/helm-core-autoloads hides /usr/share/emacs/site-lisp/elpa-src/helm-core-3.0/helm-core-autoloads
/usr/share/emacs/site-lisp/elpa/helm-core-3.0/helm-source hides /usr/share/emacs/site-lisp/elpa-src/helm-core-3.0/helm-source
/usr/share/emacs/site-lisp/elpa/helm-core-3.0/helm-core-pkg hides /usr/share/emacs/site-lisp/elpa-src/helm-core-3.0/helm-core-pkg
/usr/share/emacs/site-lisp/elpa/helm-core-3.0/helm hides /usr/share/emacs/site-lisp/elpa-src/helm-core-3.0/helm
/usr/share/emacs/site-lisp/elpa/helm-core-3.0/helm-lib hides /usr/share/emacs/site-lisp/elpa-src/helm-core-3.0/helm-lib
/usr/share/emacs/site-lisp/elpa/helm-core-3.0/helm-multi-match hides /usr/share/emacs/site-lisp/elpa-src/helm-core-3.0/helm-multi-match
/usr/share/emacs/site-lisp/elpa/htmlize-1.54/htmlize-pkg hides /usr/share/emacs/site-lisp/elpa-src/htmlize-1.54/htmlize-pkg
/usr/share/emacs/site-lisp/elpa/htmlize-1.54/htmlize hides /usr/share/emacs/site-lisp/elpa-src/htmlize-1.54/htmlize
/usr/share/emacs/site-lisp/elpa/htmlize-1.54/htmlize-autoloads hides /usr/share/emacs/site-lisp/elpa-src/htmlize-1.54/htmlize-autoloads
/usr/share/emacs/site-lisp/elpa/initsplit-1.8/initsplit-pkg hides /usr/share/emacs/site-lisp/elpa-src/initsplit-1.8/initsplit-pkg
/usr/share/emacs/site-lisp/elpa/initsplit-1.8/initsplit hides /usr/share/emacs/site-lisp/elpa-src/initsplit-1.8/initsplit
/usr/share/emacs/site-lisp/elpa/initsplit-1.8/initsplit-autoloads hides /usr/share/emacs/site-lisp/elpa-src/initsplit-1.8/initsplit-autoloads
/usr/share/emacs/site-lisp/elpa/initsplit-1.8/initsplit-test hides /usr/share/emacs/site-lisp/elpa-src/initsplit-1.8/initsplit-test
/home/rwl/.emacs.d/elpa/markdown-mode-20201220.253/markdown-mode-pkg hides /usr/share/emacs/site-lisp/elpa-src/markdown-mode-2.3snapshot154/markdown-mode-pkg
/home/rwl/.emacs.d/elpa/markdown-mode-20201220.253/markdown-mode-autoloads hides /usr/share/emacs/site-lisp/elpa-src/markdown-mode-2.3snapshot154/markdown-mode-autoloads
/home/rwl/.emacs.d/elpa/markdown-mode-20201220.253/markdown-mode hides /usr/share/emacs/site-lisp/elpa-src/markdown-mode-2.3snapshot154/markdown-mode
/usr/share/emacs/site-lisp/elpa/mutt-alias-1.4/mutt-alias-pkg hides /usr/share/emacs/site-lisp/elpa-src/mutt-alias-1.4/mutt-alias-pkg
/usr/share/emacs/site-lisp/elpa/mutt-alias-1.4/mutt-alias-autoloads hides /usr/share/emacs/site-lisp/elpa-src/mutt-alias-1.4/mutt-alias-autoloads
/usr/share/emacs/site-lisp/elpa/mutt-alias-1.4/mutt-alias hides /usr/share/emacs/site-lisp/elpa-src/mutt-alias-1.4/mutt-alias
/usr/share/emacs/site-lisp/elpa/muttrc-mode-1.2.1/muttrc-mode-autoloads hides /usr/share/emacs/site-lisp/elpa-src/muttrc-mode-1.2.1/muttrc-mode-autoloads
/usr/share/emacs/site-lisp/elpa/muttrc-mode-1.2.1/muttrc-mode hides /usr/share/emacs/site-lisp/elpa-src/muttrc-mode-1.2.1/muttrc-mode
/usr/share/emacs/site-lisp/elpa/muttrc-mode-1.2.1/muttrc-mode-pkg hides /usr/share/emacs/site-lisp/elpa-src/muttrc-mode-1.2.1/muttrc-mode-pkg
/usr/share/emacs/site-lisp/elpa/notmuch-0.28.4/notmuch-hello hides /usr/share/emacs/site-lisp/elpa-src/notmuch-0.28.4/notmuch-hello
/usr/share/emacs/site-lisp/elpa/notmuch-0.28.4/notmuch-version hides /usr/share/emacs/site-lisp/elpa-src/notmuch-0.28.4/notmuch-version
/usr/share/emacs/site-lisp/elpa/notmuch-0.28.4/notmuch-mua hides /usr/share/emacs/site-lisp/elpa-src/notmuch-0.28.4/notmuch-mua
/usr/share/emacs/site-lisp/elpa/notmuch-0.28.4/notmuch-show hides /usr/share/emacs/site-lisp/elpa-src/notmuch-0.28.4/notmuch-show
/usr/share/emacs/site-lisp/elpa/notmuch-0.28.4/notmuch-maildir-fcc hides /usr/share/emacs/site-lisp/elpa-src/notmuch-0.28.4/notmuch-maildir-fcc
/usr/share/emacs/site-lisp/elpa/notmuch-0.28.4/notmuch-address hides /usr/share/emacs/site-lisp/elpa-src/notmuch-0.28.4/notmuch-address
/usr/share/emacs/site-lisp/elpa/notmuch-0.28.4/coolj hides /usr/share/emacs/site-lisp/elpa-src/notmuch-0.28.4/coolj
/usr/share/emacs/site-lisp/elpa/notmuch-0.28.4/notmuch-message hides /usr/share/emacs/site-lisp/elpa-src/notmuch-0.28.4/notmuch-message
/usr/share/emacs/site-lisp/elpa/notmuch-0.28.4/notmuch-company hides /usr/share/emacs/site-lisp/elpa-src/notmuch-0.28.4/notmuch-company
/usr/share/emacs/site-lisp/elpa/notmuch-0.28.4/notmuch-autoloads hides /usr/share/emacs/site-lisp/elpa-src/notmuch-0.28.4/notmuch-autoloads
/usr/share/emacs/site-lisp/elpa/notmuch-0.28.4/notmuch-tag hides /usr/share/emacs/site-lisp/elpa-src/notmuch-0.28.4/notmuch-tag
/usr/share/emacs/site-lisp/elpa/notmuch-0.28.4/notmuch-crypto hides /usr/share/emacs/site-lisp/elpa-src/notmuch-0.28.4/notmuch-crypto
/usr/share/emacs/site-lisp/elpa/notmuch-0.28.4/notmuch-compat hides /usr/share/emacs/site-lisp/elpa-src/notmuch-0.28.4/notmuch-compat
/usr/share/emacs/site-lisp/elpa/notmuch-0.28.4/notmuch hides /usr/share/emacs/site-lisp/elpa-src/notmuch-0.28.4/notmuch
/usr/share/emacs/site-lisp/elpa/notmuch-0.28.4/notmuch-wash hides /usr/share/emacs/site-lisp/elpa-src/notmuch-0.28.4/notmuch-wash
/usr/share/emacs/site-lisp/elpa/notmuch-0.28.4/notmuch-jump hides /usr/share/emacs/site-lisp/elpa-src/notmuch-0.28.4/notmuch-jump
/usr/share/emacs/site-lisp/elpa/notmuch-0.28.4/notmuch-pkg hides /usr/share/emacs/site-lisp/elpa-src/notmuch-0.28.4/notmuch-pkg
/usr/share/emacs/site-lisp/elpa/notmuch-0.28.4/make-deps hides /usr/share/emacs/site-lisp/elpa-src/notmuch-0.28.4/make-deps
/usr/share/emacs/site-lisp/elpa/notmuch-0.28.4/notmuch-print hides /usr/share/emacs/site-lisp/elpa-src/notmuch-0.28.4/notmuch-print
/usr/share/emacs/site-lisp/elpa/notmuch-0.28.4/notmuch-lib hides /usr/share/emacs/site-lisp/elpa-src/notmuch-0.28.4/notmuch-lib
/usr/share/emacs/site-lisp/elpa/notmuch-0.28.4/notmuch-parser hides /usr/share/emacs/site-lisp/elpa-src/notmuch-0.28.4/notmuch-parser
/usr/share/emacs/site-lisp/elpa/notmuch-0.28.4/notmuch-query hides /usr/share/emacs/site-lisp/elpa-src/notmuch-0.28.4/notmuch-query
/usr/share/emacs/site-lisp/elpa/notmuch-0.28.4/notmuch-tree hides /usr/share/emacs/site-lisp/elpa-src/notmuch-0.28.4/notmuch-tree
/usr/share/emacs/site-lisp/elpa/notmuch-0.28.4/notmuch-draft hides /usr/share/emacs/site-lisp/elpa-src/notmuch-0.28.4/notmuch-draft
/usr/share/emacs/site-lisp/elpa/pod-mode-1.3/pod-mode hides /usr/share/emacs/site-lisp/elpa-src/pod-mode-1.3/pod-mode
/usr/share/emacs/site-lisp/elpa/pod-mode-1.3/pod-mode-pkg hides /usr/share/emacs/site-lisp/elpa-src/pod-mode-1.3/pod-mode-pkg
/usr/share/emacs/site-lisp/elpa/pod-mode-1.3/pod-mode-autoloads hides /usr/share/emacs/site-lisp/elpa-src/pod-mode-1.3/pod-mode-autoloads
/usr/share/emacs/site-lisp/elpa/popup-0.5.3/popup-autoloads hides /usr/share/emacs/site-lisp/elpa-src/popup-0.5.3/popup-autoloads
/usr/share/emacs/site-lisp/elpa/popup-0.5.3/popup hides /usr/share/emacs/site-lisp/elpa-src/popup-0.5.3/popup
/usr/share/emacs/site-lisp/elpa/popup-0.5.3/popup-pkg hides /usr/share/emacs/site-lisp/elpa-src/popup-0.5.3/popup-pkg
/usr/share/emacs/site-lisp/elpa/session-2.4.2/session hides /usr/share/emacs/site-lisp/elpa-src/session-2.4.2/session
/usr/share/emacs/site-lisp/elpa/session-2.4.2/session-pkg hides /usr/share/emacs/site-lisp/elpa-src/session-2.4.2/session-pkg
/usr/share/emacs/site-lisp/elpa/session-2.4.2/session-autoloads hides /usr/share/emacs/site-lisp/elpa-src/session-2.4.2/session-autoloads
/usr/share/emacs/site-lisp/elpa/tabbar-20160524/tabbar hides /usr/share/emacs/site-lisp/elpa-src/tabbar-20160524/tabbar
/usr/share/emacs/site-lisp/elpa/tabbar-20160524/aquamacs-tools hides /usr/share/emacs/site-lisp/elpa-src/tabbar-20160524/aquamacs-tools
/usr/share/emacs/site-lisp/elpa/tabbar-20160524/aquamacs-tabbar hides /usr/share/emacs/site-lisp/elpa-src/tabbar-20160524/aquamacs-tabbar
/usr/share/emacs/site-lisp/elpa/tabbar-20160524/one-buffer-one-frame hides /usr/share/emacs/site-lisp/elpa-src/tabbar-20160524/one-buffer-one-frame
/usr/share/emacs/site-lisp/elpa/tabbar-20160524/tabbar-autoloads hides /usr/share/emacs/site-lisp/elpa-src/tabbar-20160524/tabbar-autoloads
/usr/share/emacs/site-lisp/elpa/tabbar-20160524/tabbar-window hides /usr/share/emacs/site-lisp/elpa-src/tabbar-20160524/tabbar-window
/usr/share/emacs/site-lisp/elpa/tabbar-20160524/aquamacs-compat hides /usr/share/emacs/site-lisp/elpa-src/tabbar-20160524/aquamacs-compat
/usr/share/emacs/site-lisp/elpa/tabbar-20160524/tabbar-pkg hides /usr/share/emacs/site-lisp/elpa-src/tabbar-20160524/tabbar-pkg
~/src/org-mode/lisp/org-mobile hides /usr/share/emacs/26.1/lisp/org/org-mobile
~/src/org-mode/lisp/ob-sqlite hides /usr/share/emacs/26.1/lisp/org/ob-sqlite
~/src/org-mode/lisp/ox-texinfo hides /usr/share/emacs/26.1/lisp/org/ox-texinfo
~/src/org-mode/lisp/org-colview hides /usr/share/emacs/26.1/lisp/org/org-colview
~/src/org-mode/lisp/org-protocol hides /usr/share/emacs/26.1/lisp/org/org-protocol
~/src/org-mode/lisp/ob-java hides /usr/share/emacs/26.1/lisp/org/ob-java
~/src/org-mode/lisp/ob-makefile hides /usr/share/emacs/26.1/lisp/org/ob-makefile
~/src/org-mode/lisp/ob-J hides /usr/share/emacs/26.1/lisp/org/ob-J
~/src/org-mode/lisp/org-compat hides /usr/share/emacs/26.1/lisp/org/org-compat
~/src/org-mode/lisp/ob-asymptote hides /usr/share/emacs/26.1/lisp/org/ob-asymptote
~/src/org-mode/lisp/ox-ascii hides /usr/share/emacs/26.1/lisp/org/ox-ascii
~/src/org-mode/lisp/ob-sed hides /usr/share/emacs/26.1/lisp/org/ob-sed
~/src/org-mode/lisp/org-faces hides /usr/share/emacs/26.1/lisp/org/org-faces
~/src/org-mode/lisp/ob-screen hides /usr/share/emacs/26.1/lisp/org/ob-screen
~/src/org-mode/lisp/ox-man hides /usr/share/emacs/26.1/lisp/org/ox-man
~/src/org-mode/lisp/ob-js hides /usr/share/emacs/26.1/lisp/org/ob-js
~/src/org-mode/lisp/org-pcomplete hides /usr/share/emacs/26.1/lisp/org/org-pcomplete
~/src/org-mode/lisp/ob-lob hides /usr/share/emacs/26.1/lisp/org/ob-lob
~/src/org-mode/lisp/ob-table hides /usr/share/emacs/26.1/lisp/org/ob-table
~/src/org-mode/lisp/ox-publish hides /usr/share/emacs/26.1/lisp/org/ox-publish
~/src/org-mode/lisp/ob-ledger hides /usr/share/emacs/26.1/lisp/org/ob-ledger
~/src/org-mode/lisp/org-crypt hides /usr/share/emacs/26.1/lisp/org/org-crypt
~/src/org-mode/lisp/ob-abc hides /usr/share/emacs/26.1/lisp/org/ob-abc
~/src/org-mode/lisp/ob-ocaml hides /usr/share/emacs/26.1/lisp/org/ob-ocaml
~/src/org-mode/lisp/org-entities hides /usr/share/emacs/26.1/lisp/org/org-entities
~/src/org-mode/lisp/ox-icalendar hides /usr/share/emacs/26.1/lisp/org/ox-icalendar
~/src/org-mode/lisp/ob-ditaa hides /usr/share/emacs/26.1/lisp/org/ob-ditaa
~/src/org-mode/lisp/org-install hides /usr/share/emacs/26.1/lisp/org/org-install
~/src/org-mode/lisp/ob-vala hides /usr/share/emacs/26.1/lisp/org/ob-vala
~/src/org-mode/lisp/org-lint hides /usr/share/emacs/26.1/lisp/org/org-lint
~/src/org-mode/lisp/ob-sql hides /usr/share/emacs/26.1/lisp/org/ob-sql
~/src/org-mode/lisp/ob-latex hides /usr/share/emacs/26.1/lisp/org/ob-latex
~/src/org-mode/lisp/org-table hides /usr/share/emacs/26.1/lisp/org/org-table
~/src/org-mode/lisp/org-loaddefs hides /usr/share/emacs/26.1/lisp/org/org-loaddefs
~/src/org-mode/lisp/ob-fortran hides /usr/share/emacs/26.1/lisp/org/ob-fortran
~/src/org-mode/lisp/ob-core hides /usr/share/emacs/26.1/lisp/org/ob-core
~/src/org-mode/lisp/ob-processing hides /usr/share/emacs/26.1/lisp/org/ob-processing
~/src/org-mode/lisp/ob-python hides /usr/share/emacs/26.1/lisp/org/ob-python
~/src/org-mode/lisp/ob-lisp hides /usr/share/emacs/26.1/lisp/org/ob-lisp
~/src/org-mode/lisp/ob-R hides /usr/share/emacs/26.1/lisp/org/ob-R
~/src/org-mode/lisp/ob-comint hides /usr/share/emacs/26.1/lisp/org/ob-comint
~/src/org-mode/lisp/ob-stan hides /usr/share/emacs/26.1/lisp/org/ob-stan
~/src/org-mode/lisp/ob-matlab hides /usr/share/emacs/26.1/lisp/org/ob-matlab
~/src/org-mode/lisp/ob-scheme hides /usr/share/emacs/26.1/lisp/org/ob-scheme
~/src/org-mode/lisp/ob-sass hides /usr/share/emacs/26.1/lisp/org/ob-sass
~/src/org-mode/lisp/org-duration hides /usr/share/emacs/26.1/lisp/org/org-duration
~/src/org-mode/lisp/ox-org hides /usr/share/emacs/26.1/lisp/org/ox-org
~/src/org-mode/lisp/org-clock hides /usr/share/emacs/26.1/lisp/org/org-clock
~/src/org-mode/lisp/ox-md hides /usr/share/emacs/26.1/lisp/org/ox-md
~/src/org-mode/lisp/ob-ruby hides /usr/share/emacs/26.1/lisp/org/ob-ruby
~/src/org-mode/lisp/ob-maxima hides /usr/share/emacs/26.1/lisp/org/ob-maxima
~/src/org-mode/lisp/ob-plantuml hides /usr/share/emacs/26.1/lisp/org/ob-plantuml
~/src/org-mode/lisp/org-element hides /usr/share/emacs/26.1/lisp/org/org-element
~/src/org-mode/lisp/org-list hides /usr/share/emacs/26.1/lisp/org/org-list
~/src/org-mode/lisp/ob-hledger hides /usr/share/emacs/26.1/lisp/org/ob-hledger
~/src/org-mode/lisp/ob-ebnf hides /usr/share/emacs/26.1/lisp/org/ob-ebnf
~/src/org-mode/lisp/ob-haskell hides /usr/share/emacs/26.1/lisp/org/ob-haskell
~/src/org-mode/lisp/org-mouse hides /usr/share/emacs/26.1/lisp/org/org-mouse
~/src/org-mode/lisp/org-id hides /usr/share/emacs/26.1/lisp/org/org-id
~/src/org-mode/lisp/ob-groovy hides /usr/share/emacs/26.1/lisp/org/ob-groovy
~/src/org-mode/lisp/ob hides /usr/share/emacs/26.1/lisp/org/ob
~/src/org-mode/lisp/ob-lilypond hides /usr/share/emacs/26.1/lisp/org/ob-lilypond
~/src/org-mode/lisp/ob-eval hides /usr/share/emacs/26.1/lisp/org/ob-eval
~/src/org-mode/lisp/ob-forth hides /usr/share/emacs/26.1/lisp/org/ob-forth
~/src/org-mode/lisp/ob-emacs-lisp hides /usr/share/emacs/26.1/lisp/org/ob-emacs-lisp
~/src/org-mode/lisp/ob-shen hides /usr/share/emacs/26.1/lisp/org/ob-shen
~/src/org-mode/lisp/ob-C hides /usr/share/emacs/26.1/lisp/org/ob-C
~/src/org-mode/lisp/org-agenda hides /usr/share/emacs/26.1/lisp/org/org-agenda
~/src/org-mode/lisp/ob-perl hides /usr/share/emacs/26.1/lisp/org/ob-perl
~/src/org-mode/lisp/ob-css hides /usr/share/emacs/26.1/lisp/org/ob-css
~/src/org-mode/lisp/ob-io hides /usr/share/emacs/26.1/lisp/org/ob-io
~/src/org-mode/lisp/org-footnote hides /usr/share/emacs/26.1/lisp/org/org-footnote
~/src/org-mode/lisp/ob-mscgen hides /usr/share/emacs/26.1/lisp/org/ob-mscgen
~/src/org-mode/lisp/org-capture hides /usr/share/emacs/26.1/lisp/org/org-capture
~/src/org-mode/lisp/org-datetree hides /usr/share/emacs/26.1/lisp/org/org-datetree
~/src/org-mode/lisp/org-feed hides /usr/share/emacs/26.1/lisp/org/org-feed
~/src/org-mode/lisp/ob-dot hides /usr/share/emacs/26.1/lisp/org/ob-dot
~/src/org-mode/lisp/org hides /usr/share/emacs/26.1/lisp/org/org
~/src/org-mode/lisp/ox-odt hides /usr/share/emacs/26.1/lisp/org/ox-odt
~/src/org-mode/lisp/ob-ref hides /usr/share/emacs/26.1/lisp/org/ob-ref
~/src/org-mode/lisp/ob-octave hides /usr/share/emacs/26.1/lisp/org/ob-octave
~/src/org-mode/lisp/ob-exp hides /usr/share/emacs/26.1/lisp/org/ob-exp
~/src/org-mode/lisp/ox hides /usr/share/emacs/26.1/lisp/org/ox
~/src/org-mode/lisp/ox-beamer hides /usr/share/emacs/26.1/lisp/org/ox-beamer
~/src/org-mode/lisp/ob-org hides /usr/share/emacs/26.1/lisp/org/ob-org
~/src/org-mode/lisp/ob-coq hides /usr/share/emacs/26.1/lisp/org/ob-coq
~/src/org-mode/lisp/ob-clojure hides /usr/share/emacs/26.1/lisp/org/ob-clojure
~/src/org-mode/lisp/org-timer hides /usr/share/emacs/26.1/lisp/org/org-timer
~/src/org-mode/lisp/ob-awk hides /usr/share/emacs/26.1/lisp/org/ob-awk
~/src/org-mode/lisp/ob-gnuplot hides /usr/share/emacs/26.1/lisp/org/ob-gnuplot
~/src/org-mode/lisp/ox-html hides /usr/share/emacs/26.1/lisp/org/ox-html
~/src/org-mode/lisp/ob-lua hides /usr/share/emacs/26.1/lisp/org/ob-lua
~/src/org-mode/lisp/org-ctags hides /usr/share/emacs/26.1/lisp/org/org-ctags
~/src/org-mode/lisp/org-archive hides /usr/share/emacs/26.1/lisp/org/org-archive
~/src/org-mode/lisp/org-indent hides /usr/share/emacs/26.1/lisp/org/org-indent
~/src/org-mode/lisp/org-attach hides /usr/share/emacs/26.1/lisp/org/org-attach
~/src/org-mode/lisp/org-macs hides /usr/share/emacs/26.1/lisp/org/org-macs
~/src/org-mode/lisp/org-habit hides /usr/share/emacs/26.1/lisp/org/org-habit
~/src/org-mode/lisp/ob-tangle hides /usr/share/emacs/26.1/lisp/org/ob-tangle
~/src/org-mode/lisp/org-inlinetask hides /usr/share/emacs/26.1/lisp/org/org-inlinetask
~/src/org-mode/lisp/ob-picolisp hides /usr/share/emacs/26.1/lisp/org/ob-picolisp
~/src/org-mode/lisp/ob-shell hides /usr/share/emacs/26.1/lisp/org/ob-shell
~/src/org-mode/lisp/org-src hides /usr/share/emacs/26.1/lisp/org/org-src
~/src/org-mode/lisp/ox-latex hides /usr/share/emacs/26.1/lisp/org/ox-latex
~/src/org-mode/lisp/org-macro hides /usr/share/emacs/26.1/lisp/org/org-macro
~/src/org-mode/lisp/ob-calc hides /usr/share/emacs/26.1/lisp/org/ob-calc
~/src/org-mode/lisp/org-version hides /usr/share/emacs/26.1/lisp/org/org-version
~/src/org-mode/lisp/org-plot hides /usr/share/emacs/26.1/lisp/org/org-plot
/home/rwl/.emacs.d/elpa/seq-2.22/seq hides /usr/share/emacs/26.1/lisp/emacs-lisp/seq
/home/rwl/.emacs.d/elpa/let-alist-1.0.6/let-alist hides /usr/share/emacs/26.1/lisp/emacs-lisp/let-alist
Features:
(shadow emacsbug haskell-doc inf-haskell haskell-decl-scan haskell
haskell-completions haskell-load haskell-commands highlight-uses-mode
haskell-modules haskell-sandbox haskell-navigate-imports haskell-repl
haskell-svg haskell-collapse hideshow haskell-debug
haskell-interactive-mode haskell-presentation-mode haskell-compile
haskell-hoogle haskell-process haskell-session haskell-mode
haskell-cabal haskell-utils haskell-font-lock haskell-indentation
haskell-string haskell-sort-imports haskell-lexeme haskell-align-imports
haskell-complete-module haskell-ghc-support flymake-proc flymake
warnings dabbrev haskell-customize epa-file cl-print debug eieio-opt
speedbar sb-image ezimage dframe view org-datetree network-stream
starttls url-cache dired-aux org-clock latexenc mm-archive bug-reference
magit-extras calc-alg calc-ext calc-misc calc-menu calc calc-loaddefs
calc-macs man em-unix em-term term disp-table ehelp em-script em-prompt
em-ls em-hist em-pred em-glob em-dirs em-cmpl em-basic em-banner
em-alias sh-script smie executable cal-move ledger-mode ledger-check
ledger-texi ledger-test ledger-sort ledger-report ledger-reconcile
ledger-occur ledger-fonts ledger-fontify ledger-state ledger-complete
ledger-schedule ledger-init ledger-xact ledger-post ledger-exec
ledger-navigate esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg
esh-groups eshell esh-module esh-mode esh-util ledger-context
ledger-commodities ledger-regex cal-china lunar solar cal-dst cal-bahai
cal-islam cal-hebrew holidays hol-loaddefs cal-iso face-remap quail
timezone shr-color mailalias sendmail sort mail-extr orgalist
company-oddmuse company-keywords company-etags etags company-gtags
company-dabbrev-code company-dabbrev company-files company-clang
company-capf company-cmake company-semantic company-template
company-bbdb company ido misearch multi-isearch tex-mode recentf
tree-widget tabify elfeed-link elfeed-show elfeed-search elfeed-csv
elfeed elfeed-curl elfeed-log xml-query magit-bookmark bookmark pp
elfeed-db elfeed-lib org-capture vc-git pandoc-mode pandoc-mode-utils
hydra lv ol-eww eww mm-url url-queue shr svg dom ol-rmail ol-mhe ol-irc
ol-info ol-gnus nnir gnus-sum gnus-group gnus-undo gnus-start gnus-cloud
nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range
gnus-win gnus nnheader ol-docview doc-view jka-compr image-mode
ol-bibtex bibtex ol-bbdb ol-w3m markdown-mode edit-indirect ffap
solarized-gruvbox-dark-theme solarized-palettes solarized
solarized-faces ediff-merg ediff-wind ediff-diff ediff-mult ediff-help
ediff-init ediff-util ediff magit-submodule magit-obsolete magit-blame
magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch
magit-clone magit-remote magit-commit magit-sequence magit-notes
magit-worktree magit-tag magit-merge magit-branch magit-reset
magit-files magit-refs magit-status magit magit-repos magit-apply
magit-wip magit-log which-func imenu magit-diff smerge-mode magit-core
magit-autorevert autorevert filenotify magit-margin magit-transient
magit-process magit-mode git-commit transient magit-git magit-section
magit-utils log-edit pcvs-util add-log with-editor async-bytecomp async
server dash subr-x two-column notmuch hl-line notmuch-message
notmuch-hello notmuch-tree notmuch-show notmuch-print notmuch-crypto
notmuch-mua notmuch-draft notmuch-maildir-fcc notmuch-address
notmuch-company notmuch-parser notmuch-wash diff-mode coolj
notmuch-query goto-addr notmuch-tag crm notmuch-lib notmuch-version
notmuch-compat message rfc822 mml mailabbrev gmm-utils mailheader
mm-view mml-smime mml-sec gnus-util rmail rmail-loaddefs mail-utils
smime dig mm-decode mm-bodies mm-encode ob-R ob-python python tramp-sh
tramp tramp-compat tramp-loaddefs trampver ucs-normalize parse-time json
map ob-ledger org-caldav icalendar diary-lib diary-loaddefs org-id
url-dav url-http tls gnutls url url-proxy url-privacy url-expand
url-methods url-history mailcap url-auth mail-parse rfc2231 rfc2047
rfc2045 mm-util ietf-drums mail-prsvr url-cookie url-domsuf url-gw nsm
rmc puny url-util xml ox-odt rng-loc rng-uri rng-parse rng-match rng-dt
rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex
ox-icalendar ox-html table ox-ascii ox-publish ox org-element avl-tree
generator org-agenda org-refile org ob ob-tangle ob-ref ob-lob ob-table
ob-exp org-macro org-footnote org-src ob-comint org-pcomplete org-list
org-entities noutline outline org-version ob-emacs-lisp ob-core ob-eval
org-table org-keys org-loaddefs find-func cal-menu calendar cal-loaddefs
ol-notmuch ol org-compat org-macs format-spec org-install org-faces
use-package-bind-key bind-key easy-mmode evil-surround evil
evil-keybindings evil-integration evil-maps evil-commands reveal
flyspell evil-jumps evil-command-window evil-types evil-search evil-ex
shell pcomplete evil-macros evil-repeat evil-states evil-core
evil-common windmove thingatpt rect evil-digraphs evil-vars epa derived
epg browse-url help-fns+ pcase wid-edit help-fns radix-tree counsel xdg
xref project dired dired-loaddefs compile comint ansi-color swiper ivy
delsel ring ivy-faces ivy-overlay colir color edmacro kmacro elec-pair
ispell ace-jump-mode advice cl cl-extra help-mode use-package-ensure
use-package-core finder-inf rx slime-autoloads 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 dbusbind inotify lcms2 dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)
Memory information:
((conses 16 1235815 131624)
(symbols 48 67994 1)
(miscs 40 7578 9268)
(strings 32 221056 20031)
(string-bytes 1 6994626)
(vectors 16 112398)
(vector-slots 8 2421641 124362)
(floats 8 1252 1408)
(intervals 56 46442 2465)
(buffers 992 141))
--
Best,
Richard
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#51320: 26.1; kill-region does not ignore its first two args if region is active
2021-10-21 12:29 bug#51320: 26.1; kill-region does not ignore its first two args if region is active Richard Lawrence
@ 2021-10-21 16:56 ` Eli Zaretskii
2021-10-21 18:57 ` Richard Lawrence
0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2021-10-21 16:56 UTC (permalink / raw)
To: Richard Lawrence; +Cc: 51320
> From: Richard Lawrence <rwl@recursewithless.net>
> Date: Thu, 21 Oct 2021 14:29:11 +0200
>
>
> In a function I'm writing, I tried to call kill-region like this:
>
> (and (use-region-p) (kill-region nil nil t))
>
> with its first two arguments being nil, because the docstring says:
>
> "Supply two arguments, character positions BEG and END indicating the
> stretch of text to be killed. If the optional argument REGION is
> non-nil, the function ignores BEG and END, and kills the current
> region instead."
>
> But in fact, if both BEG and END are nil as in my function call,
> kill-region doesn't ignore them but throws an error, since its first two
> lines are:
>
> (unless (and beg end)
> (user-error "The mark is not set now, so there is no region"))
>
> This was surprising to me, since I expected these values to be ignored.
The error is thrown because there's no region in the buffer where you
invoke this. The fact that you pass BEG and END nil is not the reason
for the error.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#51320: 26.1; kill-region does not ignore its first two args if region is active
2021-10-21 16:56 ` Eli Zaretskii
@ 2021-10-21 18:57 ` Richard Lawrence
2021-10-21 19:15 ` Eli Zaretskii
0 siblings, 1 reply; 5+ messages in thread
From: Richard Lawrence @ 2021-10-21 18:57 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 51320
>> From: Richard Lawrence <rwl@recursewithless.net>
>> Date: Thu, 21 Oct 2021 14:29:11 +0200
>>
>> In a function I'm writing, I tried to call kill-region like this:
>>
>> (and (use-region-p) (kill-region nil nil t))
>>
>> with its first two arguments being nil, because the docstring says:
>>
>> "Supply two arguments, character positions BEG and END indicating the
>> stretch of text to be killed. If the optional argument REGION is
>> non-nil, the function ignores BEG and END, and kills the current
>> region instead."
>>
>> But in fact, if both BEG and END are nil as in my function call,
>> kill-region doesn't ignore them but throws an error, since its first two
>> lines are:
>>
>> (unless (and beg end)
>> (user-error "The mark is not set now, so there is no region"))
>>
>> This was surprising to me, since I expected these values to be ignored.
Eli Zaretskii <eliz@gnu.org> writes:
> The error is thrown because there's no region in the buffer where you
> invoke this. The fact that you pass BEG and END nil is not the reason
> for the error.
Forgive me, I'm no expert, but that doesn't sound right to me, for two
reasons:
1) In my example, kill-region is only called if use-region-p returns t.
(I also checked that (point) and (mark) return non-nil in this
context with the debugger.)
2) Literally the first and only thing that kill-region does before
throwing the error is check whether BEG and END are non-nil. The error I
see is the one in the unless clause quoted above.
Am I missing something?
--
Best,
Richard
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#51320: 26.1; kill-region does not ignore its first two args if region is active
2021-10-21 18:57 ` Richard Lawrence
@ 2021-10-21 19:15 ` Eli Zaretskii
2021-10-22 9:34 ` Richard Lawrence
0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2021-10-21 19:15 UTC (permalink / raw)
To: Richard Lawrence; +Cc: 51320
> From: Richard Lawrence <rwl@recursewithless.net>
> Cc: 51320@debbugs.gnu.org
> Date: Thu, 21 Oct 2021 20:57:17 +0200
>
> 2) Literally the first and only thing that kill-region does before
> throwing the error is check whether BEG and END are non-nil. The error I
> see is the one in the unless clause quoted above.
Ah, I see. The function tests BEG and END being non-nil, but
interactively they never are nil, due to the 'interactive' form.
So yes, this is a bug, and I've now fixed it on the emacs-28 branch.
Thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#51320: 26.1; kill-region does not ignore its first two args if region is active
2021-10-21 19:15 ` Eli Zaretskii
@ 2021-10-22 9:34 ` Richard Lawrence
0 siblings, 0 replies; 5+ messages in thread
From: Richard Lawrence @ 2021-10-22 9:34 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 51320
Eli Zaretskii <eliz@gnu.org> writes:
> Ah, I see. The function tests BEG and END being non-nil, but
> interactively they never are nil, due to the 'interactive' form.
>
> So yes, this is a bug, and I've now fixed it on the emacs-28 branch.
Great, thank you!
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-10-22 9:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-21 12:29 bug#51320: 26.1; kill-region does not ignore its first two args if region is active Richard Lawrence
2021-10-21 16:56 ` Eli Zaretskii
2021-10-21 18:57 ` Richard Lawrence
2021-10-21 19:15 ` Eli Zaretskii
2021-10-22 9:34 ` Richard Lawrence
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.