Hi,
I have been using mark-sexp often because =
I am working with Common Lisp. Until now, the binding C-M-SPC has worked ou=
t pretty well.
For some reason that I do not understand, the binding=
has changed. Now, emacs says mark-sexp is bounded to C-M-@ (which does not=
really work using the keyboard, by the way).
This is my humble
config=
file. I am not sure why this has happened. As you see, I have not touc=
hed on this specific point.
I can only use mark-sexp with the `M-x m=
ark-sexp` which is not very handy. I wish the keybinding worked out.
Is this some side-effect from another modification? Why did this happen? A=
nd how can I fix it?
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;=
;;;;;;;;;;;
Recipe using "emacs -Q"
1 - Create an emacs lisp file, could be .emacs;
2 =
- Insert any valid s-expression, could be
(load (expand-file-name "=
;~/.quicklisp/slime-helper.el"))
3 - Put the cursor =
-!- in the beginning of the s-expression
-!-(load (expand-fil=
e-name "~/.quicklisp/slime-helper.el"))
4 - Try=
using `C-M-SPC` or `C-M-@` to achieve mark-sexp. It does NOT work (and it =
should work).
5 - Press M-x and execute `mark-sexp` it DO=
ES work. Thus, all the s-expression is selected.
=
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Information automaticall=
y extracted:
In GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, G=
TK+ Version 3.24.14)
=C2=A0of 2020-03-26, modified by Debian built on lc=
y01-amd64-020
Windowing system distributor 'The X.Org Foundation'=
;, version 11.0.12011000
System Description: =C2=A0 =C2=A0Ubuntu 20.04.2=
LTS
Recent messages:
<left> is undefined
<up> is =
undefined
Mark set
Saved text until "dhardt")
=C2=A0 =C2=
=A0 =C2=A0 =C2=A0(:li "18 anonymous")))))"
Mark set
In=
denting region...done
Undo!
Type C-x 1 to delete the help window, C-M=
-v to scroll help.
Configured using:
=C2=A0'configure --b=
uild x86_64-linux-gnu --prefix=3D/usr
=C2=A0--sharedstatedir=3D/var/lib =
--libexecdir=3D/usr/lib
=C2=A0--localstatedir=3D/var/lib --infodir=3D/us=
r/share/info
=C2=A0--mandir=3D/usr/share/man --enable-libsystemd --with-=
pop=3Dyes
=C2=A0--enable-locallisppath=3D/etc/emacs:/usr/local/share/ema=
cs/26.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/26.3/si=
te-lisp:/usr/share/emacs/site-lisp
=C2=A0--with-sound=3Dalsa --without-g=
conf --with-mailutils --build
=C2=A0x86_64-linux-gnu --prefix=3D/usr --s=
haredstatedir=3D/var/lib
=C2=A0--libexecdir=3D/usr/lib --localstatedir=
=3D/var/lib
=C2=A0--infodir=3D/usr/share/info --mandir=3D/usr/share/man =
--enable-libsystemd
=C2=A0--with-pop=3Dyes
=C2=A0--enable-locallisppa=
th=3D/etc/emacs:/usr/local/share/emacs/26.3/site-lisp:/usr/local/share/emac=
s/site-lisp:/usr/share/emacs/26.3/site-lisp:/usr/share/emacs/site-lisp
=
=C2=A0--with-sound=3Dalsa --without-gconf --with-mailutils --with-x=3Dyes=C2=A0--with-x-toolkit=3Dgtk3 --with-toolkit-scroll-bars 'CFLAGS=3D-g=
-O2
=C2=A0-fdebug-prefix-map=3D/build/emacs-mEZBk7/emacs-26.3+1=3D. -fs=
tack-protector-strong
=C2=A0-Wformat -Werror=3Dformat-security -Wall'=
; 'CPPFLAGS=3D-Wdate-time
=C2=A0-D_FORTIFY_SOURCE=3D2' 'LDFL=
AGS=3D-Wl,-Bsymbolic-functions -Wl,-z,relro''
Configured fea=
tures:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS G=
LIB
NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZL=
IB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS LIBSYSTEMD LCMS2
Important settings:
=C2=A0 value of $LC_CTYPE: pt_BR.UTF-8
=C2=A0 va=
lue of $LC_MONETARY: pt_BR.UTF-8
=C2=A0 value of $LC_NUMERIC: pt_BR.UTF-=
8
=C2=A0 value of $LC_TIME: pt_BR.UTF-8
=C2=A0 value of $LANG: en_US.=
UTF-8
=C2=A0 value of $XMODIFIERS: @im=3Dibus
=C2=A0 locale-coding-sy=
stem: utf-8-unix
Major mode: Lisp
Minor modes in effect:
=
=C2=A0 shell-dirtrack-mode: t
=C2=A0 helm--remap-mouse-mode: t
=C2=A0=
async-bytecomp-package-mode: t
=C2=A0 diff-auto-refine-mode: t
=C2=
=A0 paredit-mode: t
=C2=A0 rainbow-delimiters-mode: t
=C2=A0 delete-s=
election-mode: t
=C2=A0 global-wakatime-mode: t
=C2=A0 wakatime-mode:=
t
=C2=A0 disable-mouse-global-mode: t
=C2=A0 ido-everywhere: t
=
=C2=A0 show-paren-mode: t
=C2=A0 slime-trace-dialog-minor-mode: t
=C2=
=A0 slime-autodoc-mode: t
=C2=A0 slime-mode: t
=C2=A0 tooltip-mode: t=
=C2=A0 global-eldoc-mode: t
=C2=A0 eldoc-mode: t
=C2=A0 electric-=
indent-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-loc=
k-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=
=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 au=
to-compression-mode: t
=C2=A0 line-number-mode: t
=C2=A0 auto-fill-fu=
nction: do-auto-fill
=C2=A0 transient-mark-mode: t
Load-path shad=
ows:
~/.emacs.d/elpa/slime-20210512.1220/slime-tests hides /home/pedro/.=
quicklisp/dists/quicklisp/software/slime-v2.26.1/slime-tests
~/.emacs.d/=
elpa/slime-20210512.1220/slime-autoloads hides /home/pedro/.quicklisp/dists=
/quicklisp/software/slime-v2.26.1/slime-autoloads
~/.emacs.d/elpa/slime-=
20210512.1220/slime hides /home/pedro/.quicklisp/dists/quicklisp/software/s=
lime-v2.26.1/slime
Features:
(shadow sort mail-extr emacsbug mess=
age rmc puny dired dired-loaddefs
rfc822 mml mml-sec epa epg gnus-util r=
mail rmail-loaddefs mm-decode
mm-bodies mm-encode mail-parse rfc2231 mai=
labbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums mm-util=
mail-prsvr mail-utils
eieio-opt speedbar sb-image ezimage dframe find-f=
unc help-fns radix-tree
winner helm-command helm-elisp helm-eval edebug =
helm-info helm-mode
helm-files filenotify tramp tramp-compat tramp-loadd=
efs trampver
ucs-normalize shell pcomplete parse-time helm-buffers helm-=
occur
helm-tags helm-locate helm-grep helm-regexp format-spec helm-utils=
helm-types helm-help helm async-bytecomp helm-global-bindings
helm-e=
asymenu helm-source helm-multi-match helm-lib async vc-git
diff-mode map=
cus-edit wid-edit paredit rainbow-delimiters delsel
centeredpoint wakat=
ime-mode disable-mouse wombat-theme wheatgrass-theme
ido cus-start cus-l=
oad paren slime-sbcl-exts slime-asdf grep slime-fancy
slime-indentation =
slime-cl-indent cl-indent slime-trace-dialog
slime-fontifying-fu slime-p=
ackage-fu slime-references
slime-compiler-notes-tree slime-scratch slime=
-presentations advice
bridge slime-macrostep macrostep slime-mdot-fu sli=
me-enclosing-context
slime-fuzzy slime-fancy-trace slime-fancy-inspector=
slime-c-p-c
slime-editing-commands slime-autodoc slime-repl elp slime-p=
arse slime
derived cl-extra help-mode edmacro kmacro elec-pair lisp-mnt =
gud apropos
compile etags xref project arc-mode archive-mode noutline ou=
tline
easy-mmode pp comint ansi-color ring hyperspec thingatpt browse-ur=
l cl
finder-inf slime-autoloads info package easymenu epg-config url-han=
dlers
url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loadde=
fs
password-cache url-vars seq byte-opt gv bytecomp byte-compile cconvcl-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 r=
eplace newcomment text-mode elisp-mode lisp-mode
prog-mode register page=
menu-bar rfn-eshadow isearch timer select
scroll-bar mouse jit-lock fon=
t-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham g=
eorgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean=
japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european e=
thiopic indian cyrillic
chinese composite charscript charprop case-table=
epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preload=
ed nadvice loaddefs
button faces cus-face macroexp files text-properties=
overlay sha1 md5
base64 format env code-pages mule custom widget hashta=
ble-print-readable
backquote threads dbusbind inotify lcms2 dynamic-sett=
ing
system-font-setting font-render-setting move-toolbar gtk x-toolkit x=
multi-tty make-network-process emacs)
Memory information:
((c=
onses 16 586759 22158)
=C2=A0(symbols 48 41619 4)
=C2=A0(miscs 40 176=
0 174)
=C2=A0(strings 32 125152 3746)
=C2=A0(string-bytes 1 3499967)<=
br>=C2=A0(vectors 16 59198)
=C2=A0(vector-slots 8 1067848 18426)
=C2=
=A0(floats 8 143 476)
=C2=A0(intervals 56 2144 0)
=C2=A0(buffers 992 =
16))