Commit Graph

1288 Commits (5e4125cba31545d30f328b131b839044cf4d6b56)

Author SHA1 Message Date
Daniel Borchmann 5e4125cba3
Run elpa update 2020-11-14 15:17:00 +01:00
Daniel Borchmann 18b90d758e
Do not use ivy for completion in regions
This makes eshell completion use drop down menues instead of the standard
complete-until-ambiguous style I am used to.  Moreover, in Org Babel shell
source blocks, ivy completion in region causes a drop down menu of possible
commands to appear after a block has been created and entered for the first
time, which not only is annoying, but also sometimes causes to cursor to
disappear (set `cursor-type' to 'bar to revert).
2020-11-14 11:50:31 +01:00
Daniel Borchmann 2622b048b6
Do not enable company completion in Org Mode buffers by default
It's rather annoying, from my point of view.  The original use case was to
complete file names in links, and this can be done by calling `company-complete'
2020-11-14 11:39:31 +01:00
Daniel Borchmann 0f4262044a
Remove obsolete configuration for dired+ 2020-11-14 11:32:29 +01:00
Daniel Borchmann a7ea15df00
Fix possible cyclic face definition in custom themes
This might render Emacs unresponsive when trying to display text formatted with
those faces, as happened on Emacs 27.1 and Windows 10.
2020-11-14 10:06:25 +01:00
Daniel Borchmann a7fea93b81
Allow automatic display of HTML email messages
They are getting more and more common, and their text counterparts are often
unreadable.  Pity.
2020-11-07 13:18:57 +01:00
Daniel Borchmann 1aaa7a003a
Allow signing mails with sender IDs
Before Emacs 27.1, setting those variables wasn't necessary, but apparently it
is now.
2020-11-07 12:10:20 +01:00
Daniel Borchmann 5924bb32e3
Set default value for eshell history size
The builtin default of 128 is too low, resulting in recently used commands to be
forgotten quickly, so let's use a more conservative (in the literal sense of the
word) value.  Customization still takes precendence over this new default,
2020-11-07 09:01:17 +01:00
Daniel Borchmann ea9afe72d7
Delay initialization of Gnus' registry
Apparently, with the advent of Emacs 27.1, Gnus clears up everything before
startup.  Sadly, this also removes any initialized registry, such that we are
left with an uninitialized registry on startup.  To remedy this, let's postpone
the registry setup right after Gnus has started.
2020-11-06 21:25:18 +01:00
Daniel Borchmann 44c23b7a28
Do not partially fetch articles
This leads to errors when forgetting to fetch the complete article before
forwarding it.  Moreover, redisplaying the article sometimes leads to a
completely fetched article to be displayed only partially again, resulting in
repeated fetched.  Finally, the performance gain is not worth the effort in my
setup, so let's just disable it.
2020-11-06 20:20:36 +01:00
Daniel Borchmann 75ce3481b1
Remove obsolete ldap package configuration 2020-10-31 14:57:31 +01:00
Daniel Borchmann 4ecafaa411
Allow to refile under periodic tasks
Sometimes an instance of a periodic tasks requires individual subtasks.  In this
case, refiling there is very helpful.  In other cases, the extra entries should
not be disturbing too much, I think … I hope.
2020-10-12 16:28:43 +02:00
Daniel Borchmann 6fe33daf17
Allow for fine-grained effort estimation for tasks
There are often small tasks that do not require the former minimum of
15 minutes, resulting in effort estimations that are too high.  Conversely,
larger tasks are often hard to estimate correctly, which is why the higher
numbers are now further apart.
2020-10-03 10:35:23 +02:00
Daniel Borchmann 1d89551f1b
Add missing autoload specification 2020-10-02 19:52:57 +02:00
Daniel Borchmann 9907b1b2ae
Allow remote links and backling search for more headlines
Include all headlines in Org agenda files and as well as all extra text search
files in interactive selections.  To make this more managable, introduce a
dedicated function to query the user for a target item.
2020-09-28 19:37:58 +02:00
Daniel Borchmann 669ecb6e4f
Trying to make backling searching work for custom-id links 2020-09-26 18:16:43 +02:00
Daniel Borchmann 4efb8cfe18
Use org-store-link for adding links to other items 2020-09-26 18:10:34 +02:00
Daniel Borchmann 68c6423cae
Fix docstring 2020-09-26 18:07:57 +02:00
Daniel Borchmann e45d23ce8e
Merge branch 'db/org-backlink-searcher' into master 2020-09-26 16:50:29 +02:00
Daniel Borchmann ff184ec47a
Check whether we are in Org Mode before inserting remote link 2020-09-26 16:48:02 +02:00
Daniel Borchmann 9994a3ac82
Update key bindings for handling Org Mode links
F9 is a comparably prominent key binding, and we now bind it to the more
important `db/org-add-link-to-other-item'.  The formar binding to
`db/org-find-links-to-current-item' is bound to F11 now, since it will still be
used often, but not more often then inserting links (I think).  The old binding
for F11 to `org-capture' has not been used much, and so we can dispense of it.
2020-09-26 16:46:34 +02:00
Daniel Borchmann 1c065bb46b
Add simple function to insert links to other items at point 2020-09-26 16:44:40 +02:00
Daniel Borchmann f7ddab7696
Fix error message 2020-09-26 16:29:50 +02:00
Daniel Borchmann d8aa748c1c
Merge branch 'db/org-backlink-searcher' into master 2020-09-26 15:31:27 +02:00
Daniel Borchmann 48d9979fbd
Add default key binding for backlink searching in Org Mode buffers 2020-09-26 15:24:29 +02:00
Daniel Borchmann dd30d5d7be
Set default buffer when querying for Org Mode headlines
Apparently, if the current buffer is not associated with a file, things break.
2020-09-26 15:24:07 +02:00
Daniel Borchmann b0a36749e6
Refactor Org Mode link finder function
The main entry point is now `db/org-find-links-to-current-item', which decides
how to obtain the ID and CUSTOM_ID of the item to look for.  The main work is
done by `db/org-find-items-linking-to-id', which does some checks, build the
query, and then calls `org-search-view' (which, indeed, does the actual work).
Users should call `db/org-find-links-to-current-item' only.
2020-09-26 15:20:11 +02:00
Daniel Borchmann c219d77ab9
Query for headline in link finder function when outside of Org Mode 2020-09-26 15:12:49 +02:00
Daniel Borchmann 994be97397
Fix consistency check for link finder function 2020-09-26 15:12:28 +02:00
Daniel Borchmann cde56c819e
Extend backward link searching function
Now support CUSTOM_ID as well, and check arguments for plausibility.
2020-09-26 15:00:34 +02:00
Daniel Borchmann a6f77f8d71
Add simple helper function to find items linking to the current one
Only ID links are supported by now.
2020-09-26 14:14:45 +02:00
Daniel Borchmann b1d82f875f
Do not let org-roam change matching data when determining the face
It is not clear what function really changes the matching data, but it's called
by `org-roam--id-link-face', and this is where we save the matching data now.

TODO: check whether this has been reported or even fixed upstream.
2020-09-26 14:12:21 +02:00
Daniel Borchmann a2ce6ebc59
Show current zoom level in corresponding hydra 2020-09-26 11:22:59 +02:00
Daniel Borchmann c11aeb6666
Experimentally enable company completion in Org Mode buffers 2020-09-26 11:12:11 +02:00
Daniel Borchmann f3df40bf40
Add missing autoload for project linting function 2020-09-21 10:39:36 +02:00
Daniel Borchmann b95c401e66
Merge branch 'db/projects-cleanup' into master 2020-09-20 17:08:15 +02:00
Daniel Borchmann 57044376be
Do not treat dotfiles as projects 2020-09-20 16:40:48 +02:00
Daniel Borchmann 2c4cada1da
Also look into org-agenda-files when checking for missing bookmarks 2020-09-20 16:35:33 +02:00
Daniel Borchmann ce9a2f51eb
Add linting function for project management 2020-09-20 16:33:24 +02:00
Daniel Borchmann 66da74d63e
Fix typo 2020-09-20 16:22:29 +02:00
Daniel Borchmann 7a0fbff4c5
Do some cleanup in db-projects 2020-09-20 16:20:23 +02:00
Daniel Borchmann 9822736d8e
Move comment to right position 2020-09-20 16:09:40 +02:00
Daniel Borchmann 69c6a372eb
Add function to check for missing project bookmarks 2020-09-20 15:30:10 +02:00
Daniel Borchmann 9c0d630703
Remove all bookmarks when archiving a project
Not only the one to the project diary.
2020-09-20 15:13:26 +02:00
Daniel Borchmann 297bb6ac6e
Add short description of what db-projects is all about 2020-09-20 14:48:59 +02:00
Daniel Borchmann d9e74f6e54
Allow to list Org Mode files in projects not being searched by default 2020-09-20 14:48:18 +02:00
Daniel Borchmann bdc8a53fe3
Minor reformatting in package signature for db-projects 2020-09-20 14:24:43 +02:00
Daniel Borchmann 96d4f000ca
Add some autoload statements 2020-09-20 14:24:38 +02:00
Daniel Borchmann 4dead43c36
Check that newly created projects have not been archived before 2020-09-20 14:23:52 +02:00
Daniel Borchmann 644d463260
Update some docstrings in db-projects
As suggested by flycheck.
2020-09-20 14:12:50 +02:00