elpher.git
16 months agoSpeed up rendering of large gemini pages.
plugd [Fri, 30 Jul 2021 22:20:49 +0000 (00:20 +0200)]
Speed up rendering of large gemini pages.

16 months agoAdd declaration to avoid compiler warning.
plugd [Fri, 30 Jul 2021 22:20:01 +0000 (00:20 +0200)]
Add declaration to avoid compiler warning.

16 months agoSet default max width and height of images.
plugd [Fri, 30 Jul 2021 12:35:44 +0000 (14:35 +0200)]
Set default max width and height of images.

16 months agoAdded Abhiseck Paira to the list of contributors.
plugd [Thu, 29 Jul 2021 11:22:05 +0000 (13:22 +0200)]
Added Abhiseck Paira to the list of contributors.

16 months agoMerge.
plugd [Thu, 29 Jul 2021 10:08:05 +0000 (12:08 +0200)]
Merge.

16 months agolet elpher handle gemini, gopher links in eww buffer
Abhiseck Paira [Thu, 29 Jul 2021 07:08:46 +0000 (12:38 +0530)]
let elpher handle gemini, gopher links in eww buffer

In a eww buffer, clicking on gemini, gopher, finger links will give
error "Unknown url scheme" as eww would try to open it itself.

Eww calls browse-url if a link matches regexp as defined in
`eww-use-browse-url' variable. Elpher has already defined
`elpher-browse-url-elpher' handler to handle gemini links, so browse-url
would open those links in elpher appropriately.

16 months agoVersion bump. v3.1.0
plugd [Wed, 28 Jul 2021 19:34:46 +0000 (21:34 +0200)]
Version bump.

16 months agoReplaced eval-with-clean-buffer debug declaration.
plugd [Wed, 28 Jul 2021 19:26:08 +0000 (21:26 +0200)]
Replaced eval-with-clean-buffer debug declaration.

16 months agoReplaced missing check for elpher bookmark handler.
plugd [Wed, 28 Jul 2021 19:00:27 +0000 (21:00 +0200)]
Replaced missing check for elpher bookmark handler.

16 months agoFixed indenting of history page headers.
plugd [Wed, 28 Jul 2021 11:17:57 +0000 (13:17 +0200)]
Fixed indenting of history page headers.

16 months agoDelinting, fixed indenting in start page.
plugd [Wed, 28 Jul 2021 09:51:08 +0000 (11:51 +0200)]
Delinting, fixed indenting in start page.

16 months agoUpdated manual.
plugd [Tue, 27 Jul 2021 20:01:22 +0000 (22:01 +0200)]
Updated manual.

16 months agoAnother text correction.
plugd [Tue, 27 Jul 2021 16:35:25 +0000 (18:35 +0200)]
Another text correction.

16 months agoSpelling correction.
plugd [Tue, 27 Jul 2021 16:33:30 +0000 (18:33 +0200)]
Spelling correction.

16 months agoAdded missing call to bookmark-maybe-load-default-file.
plugd [Tue, 27 Jul 2021 14:13:30 +0000 (16:13 +0200)]
Added missing call to bookmark-maybe-load-default-file.

16 months agoSimplified bookmark page code: thanks Alex!
plugd [Tue, 27 Jul 2021 13:51:40 +0000 (15:51 +0200)]
Simplified bookmark page code: thanks Alex!

16 months agoChanged some wording on bookmark page.
plugd [Tue, 27 Jul 2021 12:29:39 +0000 (14:29 +0200)]
Changed some wording on bookmark page.

16 months agoMerge.
plugd [Tue, 27 Jul 2021 12:19:27 +0000 (14:19 +0200)]
Merge.

16 months agoBetter grouping of text processing procedures.
plugd [Tue, 27 Jul 2021 12:18:47 +0000 (14:18 +0200)]
Better grouping of text processing procedures.

16 months agoCleaned up elpher bookmark page, made optional.
plugd [Tue, 27 Jul 2021 12:07:33 +0000 (14:07 +0200)]
Cleaned up elpher bookmark page, made optional.

16 months agoFiddling with bookmarks display.
plugd [Tue, 27 Jul 2021 10:01:14 +0000 (12:01 +0200)]
Fiddling with bookmarks display.

16 months agoOpened issue re timer.
plugd [Mon, 26 Jul 2021 20:14:51 +0000 (22:14 +0200)]
Opened issue re timer.

16 months agoPlay better with bookmark-bmenu-other-window.
plugd [Mon, 26 Jul 2021 19:09:05 +0000 (21:09 +0200)]
Play better with bookmark-bmenu-other-window.

Previous implementation of elpher-bookmark-jump was not
acting properly as a bookmark-handler function, resulting
in strange behaviour.

16 months agoStop xterm-color from removing text properties.
plugd [Mon, 26 Jul 2021 14:56:06 +0000 (16:56 +0200)]
Stop xterm-color from removing text properties.

16 months agoMerge remote-tracking branch 'origin/patch_compiler_warning'
plugd [Mon, 26 Jul 2021 08:22:16 +0000 (10:22 +0200)]
Merge remote-tracking branch 'origin/patch_compiler_warning'

16 months agoAdded news+acknowledgements to manual. v3.0.0
plugd [Sun, 25 Jul 2021 15:16:42 +0000 (17:16 +0200)]
Added news+acknowledgements to manual.

16 months agoMake byte-compiler happy again
Étienne Deparis [Sun, 25 Jul 2021 14:17:40 +0000 (16:17 +0200)]
Make byte-compiler happy again

Also alphabetically sort function and variable names

16 months agoSolved timer issue for socks and non-socks connections.
plugd [Sun, 25 Jul 2021 13:26:19 +0000 (15:26 +0200)]
Solved timer issue for socks and non-socks connections.

16 months agoCleanup.
plugd [Sat, 24 Jul 2021 21:05:08 +0000 (23:05 +0200)]
Cleanup.

16 months agoPrevent corruption of ansi interpreter state.
plugd [Sat, 24 Jul 2021 20:59:18 +0000 (22:59 +0200)]
Prevent corruption of ansi interpreter state.

16 months agoMoved variable closer to use.
plugd [Sat, 24 Jul 2021 20:59:01 +0000 (22:59 +0200)]
Moved variable closer to use.

16 months agoFixed rogue connection timer issue.
plugd [Sat, 24 Jul 2021 20:08:00 +0000 (22:08 +0200)]
Fixed rogue connection timer issue.

16 months agoRemoved unused regexp and fixed spelling error.
plugd [Sat, 24 Jul 2021 20:07:33 +0000 (22:07 +0200)]
Removed unused regexp and fixed spelling error.

16 months agoUpdated bookmarks section of manual.
plugd [Fri, 23 Jul 2021 13:35:24 +0000 (15:35 +0200)]
Updated bookmarks section of manual.

16 months agoAdded automatic importing of legacy bookmarks files.
plugd [Fri, 23 Jul 2021 13:26:11 +0000 (15:26 +0200)]
Added automatic importing of legacy bookmarks files.

16 months agoImproved behaviour of history-all/visited-pages.
plugd [Fri, 23 Jul 2021 12:29:57 +0000 (14:29 +0200)]
Improved behaviour of history-all/visited-pages.

16 months ago(Temporarily?) removed link numbering code.
plugd [Fri, 23 Jul 2021 08:31:27 +0000 (10:31 +0200)]
(Temporarily?) removed link numbering code.

16 months agoREADME edit.
plugd [Fri, 23 Jul 2021 08:17:44 +0000 (10:17 +0200)]
README edit.

16 months agoUpdated issues file.
plugd [Fri, 23 Jul 2021 08:12:52 +0000 (10:12 +0200)]
Updated issues file.

16 months agoBack to original g,o,O bindings.
plugd [Thu, 22 Jul 2021 14:23:31 +0000 (16:23 +0200)]
Back to original g,o,O bindings.

16 months agoEmphasise Alex's contributions in the README.
plugd [Thu, 22 Jul 2021 10:19:16 +0000 (12:19 +0200)]
Emphasise Alex's contributions in the README.

16 months agoSwitched version number to 3.0.0.
plugd [Thu, 22 Jul 2021 10:14:06 +0000 (12:14 +0200)]
Switched version number to 3.0.0.

16 months agoMore delinting.
plugd [Thu, 22 Jul 2021 09:20:44 +0000 (11:20 +0200)]
More delinting.

16 months agoReplaced link to bookmarks on start page.
plugd [Thu, 22 Jul 2021 08:32:54 +0000 (10:32 +0200)]
Replaced link to bookmarks on start page.

16 months agoMore de-linting.
plugd [Wed, 21 Jul 2021 22:36:46 +0000 (00:36 +0200)]
More de-linting.

16 months agoImproved keybinding compatibility between evil/non-evil.
plugd [Wed, 21 Jul 2021 21:36:51 +0000 (23:36 +0200)]
Improved keybinding compatibility between evil/non-evil.

16 months agoRefactored and expanded link factoring to apply to non-gemini pages.
plugd [Wed, 21 Jul 2021 20:08:59 +0000 (22:08 +0200)]
Refactored and expanded link factoring to apply to non-gemini pages.

16 months agoSome linting.
plugd [Wed, 21 Jul 2021 16:49:09 +0000 (18:49 +0200)]
Some linting.

16 months agoMerge patches curated by Alex.
plugd [Wed, 21 Jul 2021 16:19:51 +0000 (18:19 +0200)]
Merge patches curated by Alex.

16 months agoFixed bugs introduced by last commit.
plugd [Tue, 20 Jul 2021 15:20:07 +0000 (17:20 +0200)]
Fixed bugs introduced by last commit.

16 months agoMisplaced url-unhex was causing trouble.
plugd [Mon, 19 Jul 2021 17:15:41 +0000 (19:15 +0200)]
Misplaced url-unhex was causing trouble.

16 months agoVersion bump. v2.10.3
plugd [Sun, 18 Jul 2021 17:52:06 +0000 (19:52 +0200)]
Version bump.

16 months agoAdded edebug specification for a macro.
plugd [Sun, 18 Jul 2021 17:50:54 +0000 (19:50 +0200)]
Added edebug specification for a macro.

16 months agoHeader-wrapping code was broken for terminal emacs.
plugd [Sun, 18 Jul 2021 17:50:26 +0000 (19:50 +0200)]
Header-wrapping code was broken for terminal emacs.

16 months agoReplaced GUS link with geminispace.info link.
plugd [Fri, 16 Jul 2021 14:45:17 +0000 (16:45 +0200)]
Replaced GUS link with geminispace.info link.

16 months agoAdd history documentation to the info manual
Alex Schroeder [Mon, 12 Jul 2021 06:48:06 +0000 (08:48 +0200)]
Add history documentation to the info manual

Added Daniel Semyonov and Alex Schroeder to the copyright notice.

Removed bookmarks from the Elpher features in the introduction.
Mentioned C-u M-x elpher to create multiple Elpher sessions.

Mentioned the two histories Elpher maintains and document h/H.

16 months agoAdd local and global history menus using h/H history
Alex Schroeder [Sun, 11 Jul 2021 21:10:59 +0000 (23:10 +0200)]
Add local and global history menus using h/H

16 months agoReplace Elpher bookmarks with Emacs bookmarks bookmarks
Alex Schroeder [Tue, 29 Jun 2021 12:33:42 +0000 (14:33 +0200)]
Replace Elpher bookmarks with Emacs bookmarks

The keybindings for x and X disappear. M-x elpher-import-bookmarks
imports the old bookmarks into regular Emacs bookmarks. This deletes
all the old code related to bookmarks! This is a big change.

Update the manual to reflect this.

Add Makefile rules to make HTML and PDF files. Fix the texinfo file.
For the PDF output, we cannot use @kbd inside @keycmd, so the entry
for elpher-prev-link cannot use @keycmd, in order to typeset Shift-TAB
correctly.

16 months agoRevert "Remove an unused local variable"
Alex Schroeder [Wed, 7 Jul 2021 21:26:46 +0000 (23:26 +0200)]
Revert "Remove an unused local variable"

This reverts commit 914f190a3d33214d43d0d1014e65ae022460299b.

fill-prefix is required for adaptive-fill-mode to work correctly when
filling list items that are more than one line.

16 months agoAllow elpher-go to work without an Elpher ebuffer
Alex Schroeder [Tue, 6 Jul 2021 17:31:32 +0000 (19:31 +0200)]
Allow elpher-go to work without an Elpher ebuffer

If elpher-go is the first thing you do, and no *elpher* buffer exists,
you run into an error. Wrapping elpher-visit-page in
elpher-with-clean-buffer fixes this, as this sets up the *elpher*
buffer, and sets elpher-mode.

Alternatively, we could also just set elpher-mode. The key is that we
must do it before elpher-visit-page is called, otherwise this is what
happens: elpher-go → elpher-visit-page → elpher-render-gemini via
elpher-type-map → elpher-render-gemini-map → elpher-with-clean-buffer
which now calls elpher-mode, wiping all the local variables. If,
however, we make sure elpher-mode is active before all of this,
elpher-with-clean-buffer when called from elpher-render-gemini-map
will not call elpher-mode and the local variables remain set.

16 months agoAdd defun to make the start page
Alex Schroeder [Tue, 6 Jul 2021 17:30:44 +0000 (19:30 +0200)]
Add defun to make the start page

Change the two places where a start-page is made to use it.

16 months agoChange browse-url advice for older releases
Alex Schroeder [Fri, 2 Jul 2021 07:31:33 +0000 (09:31 +0200)]
Change browse-url advice for older releases

package does not offer browse-url-default-handlers, but if you set
The code used to advise browse-url-default-browser if your browse-url
browse-url-browser-function to something else, like eww-browse-url,
then that advice did not apply. The code now advises the function set
in the browse-url-browser-function variable, meaning that it should
advise the right function.

Also added a small doc string to the lambda used as advice.

17 months agoSmall documentation fixes
Daniel Semyonov [Wed, 30 Jun 2021 22:47:08 +0000 (01:47 +0300)]
Small documentation fixes

17 months agoAdd missing auto-generated files to .gitignore
Daniel Semyonov [Wed, 30 Jun 2021 23:13:09 +0000 (02:13 +0300)]
Add missing auto-generated files to .gitignore

17 months agoRemove 'with-eval-after-load' block for 'browse-url'
Daniel Semyonov [Wed, 30 Jun 2021 23:09:45 +0000 (02:09 +0300)]
Remove 'with-eval-after-load' block for 'browse-url'

It is not necessary (tested with 'emacs -Q').

17 months agoOrganize integrations section
Daniel Semyonov [Wed, 30 Jun 2021 22:48:33 +0000 (01:48 +0300)]
Organize integrations section

Mark different sections with comments.
Move all declarations for byte compilation to 'eval-when-compile'
blocks at the start of the appropriate sections.

17 months agoBackfill read-answer for Emacs 26.1
Alex Schroeder [Wed, 30 Jun 2021 13:11:05 +0000 (15:11 +0200)]
Backfill read-answer for Emacs 26.1

17 months agoEnable adaptive-fill-mode
Alex Schroeder [Wed, 30 Jun 2021 12:30:45 +0000 (14:30 +0200)]
Enable adaptive-fill-mode

When filling long list items or quotes, all lines except for the first
one should be indented by two spaces. Adaptive fill mode handles that.

17 months agoFix browse-url for not up-to-date Emacs version
Étienne Deparis [Wed, 30 Jun 2021 07:54:02 +0000 (09:54 +0200)]
Fix browse-url for not up-to-date Emacs version

On archlinux, even with Emacs 27.2, browse-url package still does not have
browse-url-default-handlers variable.

17 months agoAnother whitespace/indent cleaning
Étienne Deparis [Wed, 30 Jun 2021 07:22:22 +0000 (09:22 +0200)]
Another whitespace/indent cleaning

17 months agoAdd targets in Makefile to build compile lisp file and autoloads
Étienne Deparis [Wed, 30 Jun 2021 07:20:30 +0000 (09:20 +0200)]
Add targets in Makefile to build compile lisp file and autoloads

17 months agoBig refactoring of org related functions
Étienne Deparis [Wed, 30 Jun 2021 07:14:45 +0000 (09:14 +0200)]
Big refactoring of org related functions

17 months agoSupport elpher in mu4e
Étienne Deparis [Mon, 28 Jun 2021 17:01:27 +0000 (19:01 +0200)]
Support elpher in mu4e

17 months agoAdd back with-eval-after-load
Étienne Deparis [Wed, 30 Jun 2021 07:03:30 +0000 (09:03 +0200)]
Add back with-eval-after-load

- It avoid non-mandatory requirements
- Use feature instead of filename for with-eval-after-load, compared to the
  historic implementation

17 months agoCleanup 'thing-at-point' integration
Daniel Semyonov [Tue, 29 Jun 2021 15:31:33 +0000 (18:31 +0300)]
Cleanup 'thing-at-point' integration

Don't use 'with-eval-after-load'.

17 months agoCleanup Org integration
Daniel Semyonov [Tue, 29 Jun 2021 15:07:54 +0000 (18:07 +0300)]
Cleanup Org integration

Remove uses of 'with-eval-after-load'.
Remove compatibility with old versions of Org (also bump required
Emacs version to 27.1 accordingly).

17 months agoCleanup 'browse-url' integration
Daniel Semyonov [Tue, 29 Jun 2021 15:02:51 +0000 (18:02 +0300)]
Cleanup 'browse-url' integration

Rename 'browse-url-elpher' to 'elpher-browse-url-elpher'.
Autoload 'elpher-browse-url-elpher'.

17 months agoCleanup various parts of the package
Daniel Semyonov [Tue, 29 Jun 2021 14:59:02 +0000 (17:59 +0300)]
Cleanup various parts of the package

Add more places which need version bumps in RELEASE.
Ensure most warnings and errors reported by the byte compiler,
checkdoc and package-lint are fixed (only cosmetic changes).
Small fixes to the manual.

17 months agoDouble or drop single non-escape regexp backslashes
F. Jason Park [Wed, 3 Mar 2021 09:47:32 +0000 (01:47 -0800)]
Double or drop single non-escape regexp backslashes

17 months agoAdd a RELEASE file
Alex Schroeder [Tue, 29 Jun 2021 06:47:22 +0000 (08:47 +0200)]
Add a RELEASE file

What do I need to remember when releasing a new version? Step 1 is to
remember to increase the version number in all the right places.

17 months agoAdd Daniel to contributors, rename makefile
Alex Schroeder [Tue, 29 Jun 2021 06:40:32 +0000 (08:40 +0200)]
Add Daniel to contributors, rename makefile

The GNU Make documentation says "We recommend 'Makefile' because it
appears prominently near the beginning of a directory listing, right
near other important files such as 'README'." Thus the renaming.

17 months agoAdd a makefile
Daniel Semyonov [Tue, 29 Jun 2021 00:40:11 +0000 (03:40 +0300)]
Add a makefile

Contains three targets - info, package and clean:
- info creates the info manual for the package.
- package creates an installable (via 'M-x package-install-file')
  package archive.
- clean cleans any "build artefacts".
The default (all) target is equivalent to the clean target followed by
the package target.
Add 'config.mk' for build configuration.
Add 'elpher-pkg.el' (could possibly be generated in the future),
required to install as a package.

17 months agoMerge remote-tracking branch 'etienne/fix-various' into main
Alex Schroeder [Mon, 28 Jun 2021 16:44:25 +0000 (18:44 +0200)]
Merge remote-tracking branch 'etienne/fix-various' into main

17 months agoUpdate contributors list on README to reflect header of lisp file
Étienne Deparis [Mon, 28 Jun 2021 16:31:31 +0000 (18:31 +0200)]
Update contributors list on README to reflect header of lisp file

17 months agoFix thing-at-point-uri-schemes error
Alex Schroeder [Mon, 28 Jun 2021 16:30:53 +0000 (18:30 +0200)]
Fix thing-at-point-uri-schemes error

17 months agoAvoid anoying error message on homepage when using elpher-go-current
Étienne Deparis [Mon, 28 Jun 2021 16:20:46 +0000 (18:20 +0200)]
Avoid anoying error message on homepage when using elpher-go-current

17 months agoAdvertize which search engine is used for gemini and directly call search URL
Étienne Deparis [Mon, 28 Jun 2021 16:20:31 +0000 (18:20 +0200)]
Advertize which search engine is used for gemini and directly call search URL

17 months agoBump version in defconst elpher-version
Étienne Deparis [Mon, 28 Jun 2021 16:20:14 +0000 (18:20 +0200)]
Bump version in defconst elpher-version

17 months agoSmall typos and doc changes
Alex Schroeder [Mon, 28 Jun 2021 11:37:18 +0000 (13:37 +0200)]
Small typos and doc changes

- URL schema → URL scheme
- drop "internal variable containing"
- replace '() with nil as that seems more idiomatic

17 months agoupdate url for gemini search engine
Omar Polo [Mon, 28 Jun 2021 10:35:17 +0000 (10:35 +0000)]
update url for gemini search engine

GUS is long dead, long live geminispace.info!

17 months agoJump to a heading using imenu
Omar Polo [Mon, 28 Jun 2021 10:31:10 +0000 (10:31 +0000)]
Jump to a heading using imenu

17 months agoexplain better the meaning of default-url-type
Omar Polo [Mon, 28 Jun 2021 10:08:28 +0000 (10:08 +0000)]
explain better the meaning of default-url-type

"URL type" may be misleading (even though it's how emacs calls it)
when it's actually the schema.

17 months agoMerge remote-tracking branch 'upstream/patch_better_evil_bindings' into main
Alex Schroeder [Mon, 28 Jun 2021 05:49:31 +0000 (07:49 +0200)]
Merge remote-tracking branch 'upstream/patch_better_evil_bindings' into main

17 months agoMerge remote-tracking branch 'upstream/patch_cache-gemini-page-links' into main
Alex Schroeder [Mon, 28 Jun 2021 05:44:29 +0000 (07:44 +0200)]
Merge remote-tracking branch 'upstream/patch_cache-gemini-page-links' into main

17 months agoUse xterm-color instead of ansi-color, if possible
Alex Schroeder [Thu, 23 Jul 2020 14:10:29 +0000 (16:10 +0200)]
Use xterm-color instead of ansi-color, if possible

xterm-color isn't part of Emacs, so require it but if it can't be
found, require ansi-color instead. Then use two aliases that point
either the xterm-color code or to ansi-color code.

17 months agoIncrease version, add copyright info for all
Alex Schroeder [Sun, 27 Jun 2021 20:02:21 +0000 (22:02 +0200)]
Increase version, add copyright info for all

17 months agoOnly add to browse-url-default-handlers if defined
Alex Schroeder [Sun, 27 Jun 2021 20:01:43 +0000 (22:01 +0200)]
Only add to browse-url-default-handlers if defined

On some systems, browse-url does not define
browse-url-default-handlers.

17 months agoMerge remote-tracking branch 'upstream/patch_integrate_with_browse_url' into main
Alex Schroeder [Sun, 27 Jun 2021 19:44:02 +0000 (21:44 +0200)]
Merge remote-tracking branch 'upstream/patch_integrate_with_browse_url' into main

17 months agoMerge remote-tracking branch 'upstream/patch_org-link-support' into main
Alex Schroeder [Sun, 27 Jun 2021 19:42:34 +0000 (21:42 +0200)]
Merge remote-tracking branch 'upstream/patch_org-link-support' into main

17 months agoMerge remote-tracking branch 'upstream/patch_cert_regexp' into main
Alex Schroeder [Sun, 27 Jun 2021 19:41:58 +0000 (21:41 +0200)]
Merge remote-tracking branch 'upstream/patch_cert_regexp' into main