summaryrefslogtreecommitdiff
path: root/hload-path.el
AgeCommit message (Collapse)Author
2023-06-27hyperbole-autoloads.el: Remove needless definitionsStefan Monnier
* hversion.el (hyperb:mouse-buttons): * hload-path.el (hyperb:microsoft-os-p, hyperb:wsl-os-p): Don't needlessly predefine internal variables. (load-path): Don't add `test` to the `load-path`.
2023-06-27* hload-path.el (hyperb:dir): Use `macroexp-file-name`Stefan Monnier
2023-06-25Revert Stefan set-buffer and macroexp-file-name (not in Emacs 27.1)Robert Weiner
2023-06-25Remove FIXME commentsMats Lidell
2023-06-24hyperbole-autoloads.el: Remove needless definitionsStefan Monnier
* hversion.el (hyperb:mouse-buttons): * hload-path.el (hyperb:microsoft-os-p, hyperb:wsl-os-p): Don't needlessly predefine internal variables. (load-path): Don't add `test` to the `load-path`.
2023-06-24* hversion.el (hyperb:path-being-loaded): Delete functionStefan Monnier
* hload-path.el (hyperb:dir): Don't use it as fallback because it's too hackish and too rarely useful.
2023-06-24* hload-path.el (hyperb:dir): Use `macroexp-file-name`Stefan Monnier
2023-05-21Fix a number of hsys-org issues to match latest Org releasesBob Weiner
2023-02-04Add SPDX-License-Identifier (#301)Mats Lidell
* Add SPDX-License-Identifier * Adjust test due to lines inserted in files also used as test data
2022-10-23Silence warning about reference to free variable (#283)Mats Lidell
2022-10-21Use defvar for hyperb:dir (#285)Mats Lidell
2022-10-03Doc strings within 80 char limit for hload-path.el (#239)Mats Lidell
2022-08-14Use loaddefs-generate when available (#271)Mats Lidell
Autoload.el is obsolete since 29.1.
2022-06-14Fix some package lint messages (#199)Mats Lidell
* Closing parens should not be wrapped onto new lines * Not needed defalias for functions marked obsolete since 25.1 * Available since 2003 so no need to provide alternative * Use cl-lib to remove package-lint warning Warning is related to running under 24.2 or older, which we do not support, so only cosmetics!? * Use defalias for compatibility function See "(elisp)Coding conventions" * ChangeLog and copyright year update * Fix spelling
2022-06-04Fix so no fatal errors and pass all tests when natively compiledBob Weiner
2022-05-12Initial 8.0.1pre changes and fixes for async nativecomp errorsBob Weiner
2022-01-24Add Last-Mod date header lineBob Weiner
2022-01-01Fix and improve many issues with path link and argument handlingRobert Weiner
2021-09-13Pieces of patch set from Stefan (#116)Mats Lidell
2020-06-28hload-path.el - Use any symlink to Hyperbole root dir in load-pathBob Weiner
2020-02-12Org-mode local binding of M-RET activates Hyperbole implicit buttonsBob Weiner
2019-08-20Apply some easy to fix flycheck suggestionsMats Lidell
Use "? " at end of y-or-n-p Remove "." at end of error messages Use imperative voice in docs strings This fixes the bulk of flycheck messages. There are things left to correct but they will require more work and that will have to be dealt with later.
2019-01-10Merge tag 'hyperbole-7.0.2a' into externals/hyperboleStefan Monnier
2017-12-127.0.2a test update:Bob Weiner
company completion support; ripgrep match handling; directional movement of buffers across windows; hkey-{drag, replace, swap, throw} commands integrated with ace-window; hmouse-click commands to perform cross-window drags, replacements and throws with 3 mouse clicks; * hversion.el: Pushed 7.0.2a test update. * hmouse-drv.el (hkey-throw): Modified to show a message if the frame of release is different than the frame of depress, since this frame is typically hidden by the depress frame. * hmouse-tag.el (smart-lisp-mode-p): Added change-log-mode since such files often contain Lisp references. * hypb.el (hypb:select-window-frame): Added and used in hmouse-item-to-window. (hypb:save-selected-window-and-input-focus): Added and used in hkey-throw. * kotl/kotl-mode.el (kotl-mode): Fixed setq close paren error that skipped 4 settings of paragraph-start, selective-display, selective-display-ellipses and track-eol. 2017-12-10 Bob Weiner <rsw@gnu.org> * man/hyperbole.texi (Menu Commands, HyRolo Menu): Documented how to invoke the Koutliner and HyRolo popup menus in Emacs. * hyrolo-menu.el (hyrolo-menubar-menu): kotl/kmenu.el (kotl-menubar-menu): For GNU Emacs, use standard binding of C-mouse-3 to popup mode-specific menu instead of mouse-3. 2017-12-08 Bob Weiner <rsw@gnu.org> * hmouse-drv.el (hkey-ace-window-setup): Autoloaded since might be added to an init file before Hyperbole is loaded. * hycontrol.el (hycontrol-quit-frames-mode, hycontrol-quit-windows-mode): Added conditionals to allow for quitting from help buffers with {q} while remaining in HyControl, e.g. if display a key binding help window. Added {Q} binding to unconditionally quit from HyControl. * hmouse-drv.el (hkey-buffer-move): Added directional movement commands that call this function. hkey-buffer-move-left, hkey-buffer-move-right, hkey-buffer-move-down and hkey-buffer-move-up. 2017-12-07 Bob Weiner <rsw@gnu.org> * hload-path.el (hyperb:emacs-p): Removed Emacs19 test. (hyperb:kotl-p): Removed since all versions of Emacs in use now support the Koutliner. * hlvar.el - Removed this since colons are now handled by Emacs 26 in local variable names. * hypb.el (hypb:rgrep): Added support for ripgrep. hibtypes.el (ripgrep-msg): Added implicit button support for ripgrep (rg) messages where the associated pathname is output once before all mataching lines. See "https://github.com/BurntSushi/ripgrep". 2017-12-04 Bob Weiner <rsw@gnu.org> * hmouse-drv.el (hmouse-alist): Reload the def of this variable if its value is null. (hkey-mouse-click-to-replace): Added to allow moving buffers with the mouse by clicking on the from and to windows. (hmouse-click-to-drag, hmouse-click-to-drag-to, hmouse-click-to-replace, hmouse-click-to-throw, hmouse-choose-windows): Added to perform cross-window drags, replacements and throws with 3 mouse clicks. 2017-12-03 Bob Weiner <rsw@gnu.org> * hui-treemacs.el: Removed replacements for treemacs functions; as of Treemacs 1.14, all needed changes are included. 2017-12-01 Bob Weiner <rsw@gnu.org> * hmouse-drv.el (hkey-drag-stay, hkey-replace): Added for use as ace-window commands. (hkey-throw): Rewrote so if not on an item, then throws the current buffer. hkey-replace is the inverse, it grabs the specified buffer and places it into the selected window ({p} command key for ace-window). hkey-drag-stay does a drag but leaves point in the originally selected window. (hmouse-click-to-drag, hmouse-click-to-drag-stay, hmouse-click-to-drag-to) hmouse-click-to-replace, hmouse-click-to-swap, hmouse-click-to-throw): Added to click with the mouse twice on two different windows to select the windows using hmouse-choose-windows. (hkey-drag, hkey-drag-stay, hkey-drag-to, hkey-replace, hkey-swap, hkey-throw): Added and made interactive with ace-window window parameter selection. (hkey-buffer-to): Added to copy a buffer from-window to-window, using ace-window to select the windows. (hkey-swap-buffers): Added to swap buffers between from-window and to-window, using ace-window to select the windows. * hui-treemacs.el (smart-treemacs): Added standard Hyperbole end-of-line scrolling support. * hui-mouse.el (smart-company-to-definition, smart-company-help): Added to support company completion mode. hmouse-sh.el (hmouse-shifted-setup, hmouse-unshifted-setup): Added Action and Assist Key local bindings for company-mode for GNU Emacs. 2017-11-30 Bob Weiner <rsw@gnu.org> * man/hyperbole.texi (Glossary): Added Jedi item with link to its home page. Added link to the OO-Browser home page in its item. * hmouse-tag.el (smart-python-jedi-to-definition-p): Added and called in smart-python to use the Jedi package when its server is running. It jumps to the proper definition of multi-level module references definitions, e.g. a.b.c. Also fixed error where the default action was not jumping to a tag definition at point because it was testing that the identifier parameter was non-nil (no identifier is sent in such usage). * hui-mouse.el (hkey-alist): Moved smart-python prior to Imenu for more advanced definition lookups * hyperbole.el (temp-buffer-show-hook, temp-buffer-show-function): Added Hyperbole hkey-help-show function rather than replacing any existing hook values. 2017-11-29 Bob Weiner <rsw@gnu.org> * hibtypes.el (markdown-internal-link): Rewrote (and added support functions) to handle markdown infile links properly. Previous use of markdown-do was removed because that now does things other than following links. 2017-11-28 Bob Weiner <rsw@gnu.org> * hmouse-drv.el (hkey-help-show): Added conditionals to support org-mode org-goto *Org Help* buffer properly. 2017-11-27 Bob Weiner <rsw@gnu.org> * hmouse-drv.el (hkey-ace-window-setup): Made new ace-window frames (window id = z) inherit the size of the prior selected frame; same as HyWindow. * hui-window.el (hmouse-kill-and-yank-region, hmouse-yank-region): Added select-frame-set-input-focus in case released in a different frame. 2017-11-26 Bob Weiner <rsw@gnu.org> * hmouse-drv.el (hkey-throw): Restored input focus to start-win rather than just making it the selected window. (hkey-drag-to): Fixed predicate test to call hmouse-at-item-p instead of hmouse-drag-item-to-display and set input focus to release-window if dragging an item.
2017-12-06Drop support for (X)Emacs-19Stefan Monnier
* hload-path.el (hyperb:emacs-p): Remove. When used as a boolean, equivalent to (not (featurep 'xemacs)), so replace all uses with it. (hyperb:kotl-p): Remove. Always non-nil, so replace with t. * hlvar.el (hack-local-variables): Assume emacs-version is not 19. * hmouse-sh.el (hmouse-get-bindings, hmouse-get-unshifted-bindings): Avoid unneeded use of `eval'. (hmouse-shifted-setup, hmouse-unshifted-setup): Remove dead code. * hyperbole.el (hkey-set-bindings): Use dolist.
2017-10-02Added hmouse-pulse-flag and more pulsing; fixed many small internal ↵Bob Weiner
Hyperbole button handling functions. Replicated hui:link-directly user message for use whenever ebuttons are interactively created or modified. 2017-10-02 Bob Weiner <rsw@gnu.org> * hui-window.el (hmouse-pulse-flag): Added to allow disabling visual pulsing in Action Mouse Key buffer/file window placement. Used in hmouse-pulse-buffer and hmsoue-pulse-line. * hload-path.el (stringp): Forced use of hyperb:dir truename (after resolving pathname links). * hbdata.el (hbdata:build): Modified to ensure that but-sym or hbut:current (if but-sym is nil) is updated with all modified button attributes. This is used after interactive explicit button creation or modification to display current attributes. * hui.el (hui:ebut-operate): Removed as this was obsoleted long ago; use ebut:operate instead. * hbut.el (ebut:operate): Updated documentation to clarify that this modified button properties, notably its action's argument list. hbut.el (hattr:copy, hattr:set): hpath.el (hpath:substitute-var): Clarified documentation. * hui.el (hui:ebut-message): Added message for use when creating and modifying explicit buttons. (hui:ebut-create, hui:ebut-modify): Called hui:ebut-message after interactively creating or modifying an explicit button (just as hui:link-directly already did). (hui:link-directly): Modified to call hui:ebut-message. * hact.el (actype:param-list): Added. hui.el (hui:action): Fixed to handle parameter lists with keywords such as &optional. * hactypes.el (link-to-file): When modifying a link, changed to handle a variable in the pathname and also to maintain any prior in-file location as a default when prompting for changes even if the linked-to file is not yet loaded in a buffer. * hact.el (action:params-emacs): Added to use doc strings and autoload functions to get calling signatures for Emacs25 byte-coded functions. Previously, functions with bit-coded integer argument parameter placeholders were not supported. (action:params): Called action:params-emacs on byte-coded objects. Also, rewrote to handle indirect byte-coded actions as well. 2017-10-01 Bob Weiner <rsw@gnu.org> * hui-window.el (hmouse-item-to-window): When drag from fixed menu header line, pulse the menu buffer and move the menu buffer itself to the drag release window.
2016-07-27* hload-path.el (hyperb:dir): If the Emacs Package Manager has already added ↵Bob Weiner
this to load-path without a trailing directory separator, don't add it with one.
2016-07-24Patch from Stefan Monnier. Thank you Stefan.Mats Lidell
.gitignore: Add *-autoloads.el and *-pkg.el to ignored set. hyperbole.el: Use autoload. hload-path.el (load-path): Use regular quote. hib-social.el (hbut): properly compile the defib.
2016-07-22* hui-menu.el (infodock-hyperbole-menu): Commented out InfoDock manual ↵Bob Weiner
reference out until InfoDock is modernized for Emacs 25.
2016-07-21* hib-social.el (social-reference):Bob Weiner
hibtypes.el (mail-address-at-p): Let case-fold-search be t since mail-addresses are case-insensitive. * Various Files: Small copyright fixes and formatting adjustments. Replaced hyperb:xemacs-p with (featurep 'xemacs) for byte-compiler optimization purposes and made small fixes throughout suggested by Stefan Monnier.
2016-07-17Release candidate for version 6.0.Mats Lidell
The starting point of development of GNU Hyperbole 6.0 in git. For earlier versions see the mercurial repo.