Age | Commit message (Collapse) | Author |
|
|
|
* bookmark-conf.el ("durand"): Use types of bookmark handlers as group
headings.
(pdf-view-bookmark-jump-handler): Give it the type "PDF".
(durand-external-jump): Give it the type "External".
* eww-conf.el: Give the handler for EWW the type "EWW".
|
|
* eww-conf.el: ("elpher", eww-open-elpher, #'eww-browse-url, #'eww):
Add integration with Elpher. So far it seems nice.
|
|
* eww-conf.el (durand-eww-bookmark-jump): Check if an existing EWW
buffer is a live buffer before we determine that an EWW buffer
already exists. But in my experiments this does not change
anything, so...
|
|
* common.el (durand-display-in-one-window)
(durand-completion-scroll-up-or-go-to-minibuffer)
(intentionally-disabled-bind):
* completion-conf.el (durand-completion-toggle-display):
* eww-conf.el (global-map): defalias has the advantage that one can
find the file of the definition from the help buffer while fset
cannot.
|
|
* eww-conf.el (durand-eww-download): eww-download-directory might be a
function.
|
|
* eww-conf.el (durand-eww-bookmark-jump): Using stringp to check if a
variable is really a string, so that the function that depends on it
being a string won't fail unexpectedly (to the user).
|
|
* eww-conf.el (eww-after-render-hook, durand-eww-bookmark-jump): make
sure this hook is added after the hook that sets the readable mode
to nil, so that the readable mode is correctly set to t after a
jump.
|
|
* eww-conf.el (durand-eww-readable-p): a variable that records if the
current buffer is in the readable mode.
(eww-non-readable-h, eww-readable-h): set the buffer to the correct
readable mode.
(eww-after-render-hook): add a hook to set the buffer to non-readable
mode.
(#'eww-readable): add an advice to set the buffer to readable mode.
(durand-eww-bookmark-make-record): record the readability status of
the buffer.
(durand-eww-bookmark-jump): if the bookmark records a readable buffer,
enter readable mode when opening it.
* org-conf.el (durand-org-publish-sitemap): fix a small typo
|
|
* eww-conf.el (browse-url-browser-function): Use my own custom browser
function.
(durand-browse-url): Has the ability to open URL in an external
browser if given a non-nil second argument, just like
`shr-browse-url'. This is more convenient since some links cannot be
properly opened in EWW.
|
|
* eww-conf.el (durand-pop-to-buffer-advice, durand-eww-bookmark-jump):
A temporary advice is better than a temporary re-definition: at
least we don't have to do all those unnecessary extra work to load
window.el now. But this approach is still risky, as we override the
basic function `pop-to-buffer', which might lead to unpredictable
consequences. For now, it seems to work, though.
|
|
* eww-conf.el (durand-eww-bookmark-jump): Now we don't have to copy
the definition of eww. This is much more future-compatible. Instead
we use a giant hack that re-defines the built-in function
pop-to-buffer, and then restores its definition later, by loading the
window.el file. This may be viewed as even uglier. Haha.
|
|
* eww-conf.el (durand-eww-bookmark-jump): I forgot to give the
bookmark handler the saved position, so it might jump to weird
positions. Now this is fixed.
|
|
* bookmark-conf.el (blist-eww-p): Group EWW bookmarks together.
* eww-conf.el (durand-eww-bookmark-make-record)
(durand-eww-set-bookmark-record-function, eww-mode-hook): Make records
for EWW buffers.
(durand-eww-bookmark-jump): Jump to EWW bookmarks.
|
|
|
|
* eww-conf.el (browse-url-browser-function)
(browse-url-secondary-browser-function): Now the default is EWW, and
the secondary is the external browser.
(eww-mode-map): Bind my download function.
(durand-eww-download-callback, durand-eww-download): Customized
download function that suits my needs.
|
|
The original search engine I use was the instance of searx by Luke
Smith, which went down for some reason.
|
|
* eww-conf.el (mailcap-prefer-mailcap-viewers):
(mailcap-user-mime-data): Set the user-data since otherwise this
should be set via a dedicated mailcap file, which is cumbersome to
specify pdf-view-mode in Emacs, as far as I know.
|
|
* eww-conf.el (eww):
(eww-search-prefix):
(global-map):
(durand-eww-map):
(eww-link-keymap):
(eww-mode-map):
(dired-mode-map):
(eww-buffers-mode-map):
(eww-bookmark-mode-map):
(shr-use-colors):
(shr-use-fonts):
(shr-max-image-proportion):
(shr-image-animate):
(shr-width):
(shr-discard-aria-hidden):
(shr-cookie-policy):
(eww-name-separator):
(eww-rename-buffer):
(eww-after-render-hook):
(eww-back-url):
(eww-forward-url):
(eww-visited-history):
(eww-record-history):
(eww-dwim):
(eww-visit-bookmark):
(eww-visit-url-on-page):
(eww-jump-to-url-on-page):
(eww-occur-feed-regexp):
(eww-find-feed):
* view-conf.el (durand-view-map):
(durand-open-targets):
|
|
* eww-conf.el : It is faster to download pages using wget. But
emacs-28 is still unusable for me at this moment.
|
|
This seems to be both faster and to produce more results.
|
|
This is supposed to be faster.
|
|
* basic.el (auto-fill-function): Hide auto-fill-function from the mode line.
(auto-revert-mode): Hide auto-revert-mode from the mode line.
* common.el (durand-hide-minor-mode): Use a simple macro to facilitate
hiding.
* elisp.el (eldoc-mode): Use a macro to hide instead.
* eww-conf.el (eww-bookmarks-directory): Start Configuring EWW.
* init.el ("durand-simple"): My simple utilities.
("search-conf.el"): Configuring searching.
* search-conf.el (search-whitespace-regexp): White space as wild cards
(isearch-lax-whitespace): as above
(isearch-lazy-count): Count the matches
(isearch-allow-scroll): Scrolling while searching
(durand-search-replace-symbol): For quick refactoring
* text-conf.el (assq): Hide using the macro instead.
|