Age | Commit message (Collapse) | Author |
|
* eshell-conf.el: A custom `fs` command was added and then commented
as that is not really needed.
|
|
I recently found this tool, which offers better experience than 'htop'
in my opinion.
|
|
* eshell-conf.el (eshell-gv): Now gv uses `make-process` to
asynchronously compile GraphViz files to image files. Moreover, it
reports the progress in the echo area as well, as a quality-of-life
improvement.
|
|
* eshell-conf.el (dereference-links, dired-flag): Eshell uses locally
bound variables for some reason, so we need to provide definitions
for those variables in order to avoid errors.
|
|
* eshell-conf.el (pcomplete/gv): This function will be called by
pcomplete to provide completions for the gv command, in Eshell.
(gv-complete-switches): This function provides completions for the
switches of the gv command.
(gv-complete-files): This function provides completions for source
files that are valid for the gv command.
|
|
* eshell-conf.el: Fix a typo in the documentation string of the
function eshell/dl, and add some more sections for better
structures.
|
|
* eshell-conf.el (eshell-list-files-after-cd): I used to set this
variable to call ls after cd. But I want to use my dl command now.
(eshell-directory-ls, eshell-directory-change-hook): Call "dl
--group-directories-first" after cd.
|
|
* eshell-conf.el (em-term, dir-literal, show-recursive, sort-method)
(show-all, show-almost-all, listing-style, human-readable)
(numeric-uid-gid, block-size, reverse-list, show-size, insert-func)
(flush-func, error-func): Just variables that are needed by Eshell
implementation of ls.
(eshell/l): Equivalent with calling `eshell/dl` with "-glah" in front
of arguments.
(durand-eshell-group-entries-by-directory): Obsolete function.
(durand-eshell-ls-dirs-first): A variable that controls whether to
group directories first.
(durand-eshell-ls-sort-entries, eshell-ls-sort-entries): An advice
around the original sorting function, which groups directories into a
separate list, to be sorted before the rest. This approach respects
the original sorting method, and performs no extra sorting, as opposed
to the previous approach.
|
|
* eshell-conf.el: Add an advice to `eshell-ls-sort-entries` so that
directories always come before non-directories.
|
|
* eshell-conf.el (eshell/gv, eshell-gv): Now a star in the filename
will trigger the wildcard expansion. This is much more flexible and
convenient when dealing with many files.
|
|
* eshell-conf.el (eshell/gv, eshell-gv): Now we can set the directory
that contains the output directory explicitly in the command line.
It used to be hard-coded to be the root of the project. It is more
flexible now.
|
|
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.
|