Comments (5)
Thank you @vedang! I will merge your PR, subject to a stylistic change noted there.
Finally,
denote-org-capture
usesdenote-prompts
, but I didn't look at this bit of the code deeply.
I have not tested it lately, but I believe everything is okay with it.
If we have any other cases, let's discuss them here and proceed accordingly.
I will continue work on the rename-honours-denote-prompts
branch as soon as possible. Then merge everything into main
.
from denote.
This is so cool @protesilaos ! I looked at the code and tested the following scenarios successfully:
- Rename a note with
M-x denote-rename-file
- Rename a note with point on filename Dired buffer
- Rename a note with using front-matter (check that
denote-prompts
is not invoked)
Post that, I checked to see which code-paths could be changed to respect denote-prompts
.
The following paths already call denote
or other commands interactively and therefore respect denote-prompts
correctly:
denote-region
denote-open-or-create
denote-link-or-create
denote-link-after-creating
The following commands use a fixed list, and therefore overwrite denote-prompts
:
denote-type
denote-date
denote-subdirectory
denote-template
denote-signature
All of these can be modified to use denote-prompts
, which is a change I am submitting on top of the current commit (see #248).
Finally, denote-org-capture
uses denote-prompts
, but I didn't look at this bit of the code deeply.
from denote.
I just merged everything into main
. I made lots of changes/refinements to ancillary functions as well.
from denote.
Sorry, I mean I merged the branch rename-honours-denote-prompts
. I will take care to delete it before the new release.
from denote.
I think we are done with this for now. If there is any command we missed, we can always update it later. Thanks!
from denote.
Related Issues (20)
- Hacking `denote-rename-file` to allow changing the ID HOT 9
- Enhancing `denote-rename-file` to handle not-yet-saved visiting buffer HOT 2
- Denote file names... without ID (cue ominous music) HOT 6
- Path in `denote-backlinks` buffer is wrong (extra directory in the link) HOT 5
- A `denote-filetype-heuristics` variant to help other code HOT 5
- sort by title outside of denote-directory HOT 5
- I use `denote-rename-file` as my main file renaming UI HOT 6
- `denote--edit-front-matter-p` docstring vs behavior HOT 1
- Possible to create a denote file outside denote-directory? HOT 5
- markdown links HOT 3
- Commit 232bd90 does not only apply to signatures HOT 13
- is it possible to create single tag with multiple words seperated by delimter? HOT 3
- Backlink buffer aware of org heading HOT 2
- Can't add link to file from within org-capture: "The current file type is not recognized by Denote" HOT 8
- Problem due to overloading `no-confirm` for "save" HOT 7
- How can I figure out which version of denote is currently used? HOT 4
- Templates are not working in denote-org-capture-with-prompts HOT 5
- Cannot add a denote link in `org-add-log-note` HOT 2
- update the link description if the target title is changed HOT 7
- Announcement: Some upcoming features available in my fork HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from denote.