Questions tagged [history-variables]
The history-variables tag has no summary.
25 questions
3
votes
1
answer
111
views
Making cd and recentf consistent
The cd command like the shell command of the same name changes directory.
recentf allows to remember file across emacs/OS restarts.
Now cd uses the recentf history on M-p. But non-directory files ...
1
vote
1
answer
90
views
Find out most recently used command (regardless of terminal input)
I previously asked this question about cycling through recently used tabs, and nobody could come up (yet) with something like I was looking for. However, I found that basically all the ingredients to ...
0
votes
1
answer
85
views
Calling a function interactively without adding it to the command history
In some cases, I often run the same command, say my-common-fun, which I call subsequently with M-x M-p RET, and occasionally run another command, such as my-occasional-fun. I want to call the latter ...
1
vote
1
answer
109
views
How can I view the history of what variable I've looked up before with describe-variable?
Whenever I call
(describe-variable)
, there is no history of what variables I've recently viewed. Is there a way to enable it to have some kind of history?;)
0
votes
2
answers
407
views
Make counsel-minibuffer-history persistent over emacs sessions
I want to quickly access recently visited files with ivy/counsel. In my init.el I have:
(use-package counsel
:bind (("M-x" . counsel-M-x)
("C-x b" . counsel-switch-...
0
votes
1
answer
113
views
Erase Duplicates in execute-extended-command
Whilst M-ping back through history in execute-extended-command, I see many commands are ones which have already appeared earlier (ie more recently).
Is there an option which works similar to (setq ...
0
votes
0
answers
87
views
How can we save all the grep searches (using `M-x grep`) into history?
How can we save and retrieve all the grep searches that we do using M-x grep command into history ?
0
votes
0
answers
240
views
How do you avoid pollution of Emacs namespace with "private" variables?
Probably it is misunderstanding of Elisp execution model by I think some variables are only pollute runtime.
For example let's consider read-string argument HISTORY. Probably user don't need to know ...
0
votes
1
answer
195
views
Using `C-n` and `C-p` to iterate as cycle in `find-file` instead of up/down arrow keys
Following answer related to “Open Recent” in Emacs indicates that
After you press C-x C-f, press up and down to navigate the history of
opened files.
I have added following lines but they do not ...
1
vote
3
answers
454
views
Buffer-local input history for read-from-minibuffer
I've been trying to create a command that, when run, calls another function (my-function) which reads from the minibuffer and does some processing on the input. I want the command history for this ...
0
votes
1
answer
72
views
In which variable are past sparse tree queries saved
I'm executing sparse tree queries programmatically, and I'd like to save the search queries in the same history variable that org-mode uses by default. I'm guessing I can/should do this with add-to-...
1
vote
0
answers
52
views
Possible to save winner history winner-ring-alist in savehist or desktop-save to save across sessions
I added in the following command to my .emacs but it doesn't seem to work:
(add-to-list 'savehist-additional-variables 'winner-ring-alist)
Is there a way to get the winner-undo history to save ...
3
votes
3
answers
1k
views
How do I persist M-x calls so they can be displayed in MRU order?
I would like it if my Emacs were to save the M-x calls in most-recently used order and if this order could persist and grow across restarts/other sessions. I am using Helm, so I guess I should be ...
0
votes
1
answer
59
views
Icicles - not show all history commands
Windows 10, Emacs 26.1, Icicles,
In scratch buffer I search text "buffer" by command "I-Search"
2.Open test.txt and run command "replace-string"
Start helm-occur and set pattern hello
Then I want to ...
2
votes
3
answers
3k
views
How show minibuffer's history of commands
windows 10, Emacs 25.1, Helm
I open buffer scratch
and execute 3 commands sequence:
M-x I-search
helm-occur
replace-string
here sreenshots:
Nice. It's work fine.
But now I want to show in list all ...