diff options
| -rw-r--r-- | README.org | 18 | ||||
| -rw-r--r-- | local/bibli-paris/bibli-paris.el | 2 | ||||
| -rw-r--r-- | packages.el | 5 |
3 files changed, 16 insertions, 9 deletions
@@ -27,13 +27,15 @@ The following commands are available. | Command | Shortcut | Description | |---------------------------------+----------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| ~bibli-paris/mode~ | ~SPC mb~ | Enable the shortcuts described in this table. | -| ~bibli-paris/import-from-csv~ | ~SPC mi~ | Import entries from the CSV file downloaded on https://bibliotheques.paris.fr/. The first argument is the path to the CSV file, and the second and third (optional) arguments are the tags and state to set the imported entries to. | -| ~bibli-paris/sort~ | ~SPC ms~ | Sort the entries by their quotes. | -| ~bibli-paris/update-entry~ | ~SPC mu~ | Asynchronously update the availability status and quote of the entry at point. | -| ~bibli-paris/update-entries~ | ~SPC mU~ | Asynchronously update all the availabity status and quotes of all entries in parallel. | -| ~bibli-paris/archive-all-read~ | ~SPC mA~ | Archive all entries in the ~DONE~ state. | -| ~bibli-paris/number-of-entries~ | ~SPC m?~ | Display the number of entries in the current buffer. | +| ~bibli-paris/mode~ | ~SPC mb~ | Enable the shortcuts described in this table. | +| ~bibli-paris/import-from-csv~ | ~SPC mi~ | Import entries from the CSV file downloaded on https://bibliotheques.paris.fr/. The first argument is the path to the CSV file, and the second and third (optional) arguments are the tags and state to set the imported entries to. | +| ~bibli-paris/sort~ | ~SPC ms~ | Sort the entries by their quotes. | +| ~bibli-paris/update-entry~ | ~SPC mu~ | Asynchronously update the availability status and quote of the entry at point. | +| ~bibli-paris/update-entries~ | ~SPC mU~ | Asynchronously update all the availabity status and quotes of all entries in parallel. | +| ~bibli-paris/archive-all-read~ | ~SPC mA~ | Archive all entries in the ~DONE~ state. | +| ~bibli-paris/number-of-entries~ | ~SPC m?~ | Display the number of entries in the current buffer. | +| ~bibli-paris/previous-entry~ | ~SPC mk~ | Move the cursor to and put forward the previous entry. | +| ~bibli-paris/next-entry~ | ~SPC mj~ | Move the cursor to and put forward the next entry. | * Customization @@ -43,4 +45,4 @@ The following variables may be customized. |------------------------------------------+---------+--------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ~bibli-paris/default-library~ | string | ~75013 - Jean-Pierre Melville~ | The library from which to fetch updates. | | ~bibli-paris/max-asynchronous-processes~ | integer | ~500~ | The maximum number of asynchronous requests that should be launched in parallel. The default value was determined experimentally to be the maximum allowed by Emacs. | -| ~bibli-paris/default-path-to-csv | string | ~~/Downloads/Export.csv~ | The default path of a CSV file to import. | +| ~bibli-paris/default-path-to-csv~ | string | ~~/Downloads/Export.csv~ | The default path of a CSV file to import. | diff --git a/local/bibli-paris/bibli-paris.el b/local/bibli-paris/bibli-paris.el index bbab2b2..5083885 100644 --- a/local/bibli-paris/bibli-paris.el +++ b/local/bibli-paris/bibli-paris.el @@ -416,10 +416,12 @@ STATE (string)." (defun bibli-paris/previous-entry () "Move to and put forward the previous entry." + (interactive) (bibli-paris/change-entry 'outline-get-last-sibling)) (defun bibli-paris/next-entry () "Move to and put forward the next entry." + (interactive) (bibli-paris/change-entry 'outline-get-next-sibling)) diff --git a/packages.el b/packages.el index 9081fd3..1262aac 100644 --- a/packages.el +++ b/packages.el @@ -15,5 +15,8 @@ "mu" 'bibli-paris/update-entry "mU" 'bibli-paris/update-entries "mA" 'bibli-paris/archive-all-read - "mi" 'bibli-paris/import-from-csv)) + "mi" 'bibli-paris/import-from-csv + "mk" 'bibli-paris/previous-entry + "mj" 'bibli-paris/next-entry + )) )) |
