Questions tagged [cl]
The cl tag has no summary.
24 questions
2 votes
2 answers
81 views
Let-binding of function
(First time poster here; I tried to follow guidelines, but please tell me if I should do something differently.) How does one go about "let-binding" a function as to temporarily replace a ...
1 vote
1 answer
80 views
symbols function definition is void: copy-list
I am trying to setup a package named cnfonts, in which below lines is required in .emacs initail file: (defvar my-line-spacing-alist '((9 . 0.1) (10 . 0.9) (11.5 . 0.2) (12.5 . 0.2) (14 ....
0 votes
0 answers
51 views
When using `cl-labels` or `cl-flet` shouldn't the compiler catch signature msmatches
I was expecting a compilation error for the snippet below... unfortunately compilation goes through without any errors, but it errors during runtime. Run-time error is expected, so no surprise there. ...
0 votes
0 answers
376 views
Problem with remove-if and cl-remove-if
I have a very useful bit of code in my .emacs file which closes all buffers except the current one, and scratch and TeX_snippets.org buffers: (defun my/kill-all-buffers-except-toolbox () "Kill ...
2 votes
4 answers
360 views
Reading Common Lisp Source Code Inside Emacs?
I think emacs is just brilliant. The help functionality with C-h is extremely useful. Recently, I started coding in SB Common Lisp. It would be very useful if I could search the definitions of ...
1 vote
1 answer
147 views
How to override read-only slot of cl-defstruct?
I'm dealing with a third-party package that uses Structures - cl-defstructs. One of the slots is :read-only t. I need to override that. I need to find a way to change the value in that slot and then ...
0 votes
3 answers
325 views
How did `cl-flet` got circumvented?
I want to slightly alter the behavior of counsel-fzf by locally changing the definition of counsel-fzf-action, which activates in the end of the definition of the former. See the source code of ...
0 votes
0 answers
151 views
Org-journal: keeping LOGBOOK drawers when TODO items are carried over
I use org-journal to keep track of my taks (using org-clock). Org-journal has the option to carry over TODO items from previous dates. For example, lets say that on Monday I work on my report, and I ...