Age | Commit message (Collapse) | Author |
|
Handle compilation and removal of graphviz files easily.
* .gitignore: Ignore elpa files that appear out of thin air.
* eshell-conf.el (eshell/gv): Entry point for handling graphviz files.
(vc): Use vc to find the project root.
(eshell-gv): The internal function to handle graphviz files.
|
|
These are some changes when I migrate to emacs version 29.
|
|
theme.el: Modus-themes now uses a great system for customising
faces, and this change in configuration adapts to that update.
eshell-conf.el: Besides adapting to the new Modus-themes, also
add some visual commands for better display.
|
|
* eshell-conf.el (eshell-j): Previously this function does not filter
the candidates according to the user-specified predicate, and
presents the user with a `completing-read' that has only one
candidate. I do not know why this was implemented like that, so I
am trying the approach of jumping immediately when given a predicate
that only matches one candidate. Let us see how this goes then.
|
|
* eshell-conf.el: Load eshell-tramp. I am not sure if this is
necessary, though.
* tramp-conf.el (vc-ignore-dir-regexp): Ignore version control on
remote hosts. Maybe I will change my mind in the future.
* common.el (Info-mode-map): Evaluate this only after info is loaded.
|
|
* eshell-conf.el (durand-eshell-expand-dots): Replace multiple dots by
correct syntax.
(eshell-expand-input-functions): Add to this variable so that Eshell
automatically expands dots.
|
|
|
|
|
|
* eshell-conf.el (durand-eshell-bookmark-jump, eshell-bookmark-jump):
Fix the bookmark handler so that it does not pop to the buffer
automatically, which thus allows to open the bookmark in another
window.
|
|
* eshell-conf.el (eshell-current-command-stop): I shall compare both
the number of seconds and the number of micro-seconds.
Fix other formatting issues as well.
|
|
* eshell-conf.el (eshell-clear): Now it accepts a numeric argument.
This will now preserve NUM many prompts.
|
|
* eshell-conf.el (eshell/yt-url): The function that eshell calls.
(eshell-yt-url): The function that actually does the job. It converts
the name of the video to its corresponding YouTube URL, and either
saves it to the kill-ring or opens it in the default external browser.
|
|
* eshell-conf.el (require 'type-break): This is required by the
function #'timep.
|
|
* eshell-conf.el (eshell-current-command-stop): I forgot to remove a
message statement that was for the debugging purpose only.
(durand-eshell-emit-prompt): Add necessary text properties for eshell
to function normally.
(eshell-clear): Add inhibit-read-only so that we can clear even if the
prompt is not after the last prompt.
|
|
Now eshell will display the elapsed time of the last command at the
beginning of the prompt.
* eshell-conf.el
(eshell-current-command-start-time): the variable to track the start
time of the commands.
(eshell-prompt-time-string): this will be displayed at the prompt, if
non-nil.
(eshell-current-command-start): set an appropriate variable as the
start time of the command.
(eshell-current-command-stop): calculat the elapsed time since the
last command started and convert that into a pretty string to
display.
(eshell-current-command-time-track): add hooks.
(eshell-start-track-command-time):
(eshell-stop-track-command-time): switches of the time-tracking
mechanism.
(#'eshell-emit-prompt):
(durand-eshell-emit-prompt): advice the original function to take into
account the time information.
refactor:
(eshell/marks): add some colors
|
|
* eshell-conf.el (eshell-clear): Now this just clears the screen and
emits a prompt, without messingup with the command history.
|
|
* eshell-conf.el (eshell-clear): Refactor into a standalone function.
|
|
* elfeed-conf.el (durand-eshell-download-sentinel):
(durand-elfeed-download-video):
(elfeed-search-mode-map):
(elfeed-show-mode-map): Add the ability to conveniently download videos.
* eshell-conf.el (eshell/mark): Quote the shell argument properly.
|
|
* elfeed-conf.el (elfeed-feeds): Add some more feeds.
* eshell-conf.el (eshell-j):
(eshell-mark-directory): Use a dedicated variable for better maintainability.
(eshell/mark): Conveniently add marks.
(eshell/marks): List the marks.
|
|
Now TeX and elfeed are roughly configured.
|
|
A lot of improvements.
|