Skip to main content

Questions tagged [scope]

Filter by
Sorted by
Tagged with
1 vote
1 answer
395 views

I have written a function snippet that copies a paragraph to the kill-ring. I try to collect different point positions and corresponding line numbers: bop - begin of paragraph blnum - line umber of ...
huckfinn's user avatar
  • 135
0 votes
2 answers
254 views

I need to retrieve a local, lexical, runtime variable from a function, but I'm unable to modify the function to return it because it is from an external library. The variable I'm unable to reach is ...
sextrism's user avatar
0 votes
1 answer
106 views

I would like to define an function using org-roam's capture system. However, I want to create a new function, not use the variable org-roam-capture-templates and the related function org-roam-capture. ...
jrasband's user avatar
3 votes
3 answers
450 views

A lot of emacs configurations shared publicly have this format: ;; 01-something.el (provide 'something) ;; init.el (require 'something) Suppose I'm writing a defun named "s-join" inside 01-...
american-ninja-warrior's user avatar
0 votes
1 answer
88 views

Emacs 26.1 In my file custom_functions.el (defun increment-number-by-one-at-point() (interactive) (increment-number-at-point-private 1)) ;; Increment number at point (defun increment-number-at-...
a_subscriber's user avatar
  • 4,386
4 votes
2 answers
424 views

While it's possible to highlight a block using the character under the cursor, is there a way to highlight the scope of the current cursor? I'm interested in something like QtCreator's block-...
ideasman42's user avatar
  • 9,513
2 votes
1 answer
388 views

I am new to Emacs-Lisp and I was surprised to learn a curious variable scoping rule in Emacs that any variables which are intended to be used locally must be explicitly declared with let. Otherwise ...
smilingbuddha's user avatar