meedstrom

joined 11 months ago
[–] meedstrom@alien.top 1 points 10 months ago

Maybe if Magit contained the following form?

;;;###autoload
(autoload #'project-switch-project "magit")

i.e. autoloading an autoload :)

[–] meedstrom@alien.top 1 points 10 months ago

I have to correct you: their example is more about making sure Magit will be loaded so it configures project-switch-commands, before they call project-switch-project. And don't "solve" it by just loading Magit on init. I suppose naively it could be solved with

 (autoload #'project-switch-project "magit")

and I'm not sure what's the equivalent use-package expression. You have to be careful not to lose the usual guarantees of use-package wrt. graceful degradation (we don't want an error "unknown file magit" -- which is the whole point of use-package, otherwise you may as well just write the above form).

[–] meedstrom@alien.top 1 points 10 months ago

For what it's worth, I collaborate with 1 other person, and for me it'd be sufficient if you simply alerted the user that someone else is currently editing the notes, locking them until the other user is done. What's a much bigger problem is if someone edits the notes offline tries to sync them later!

[–] meedstrom@alien.top 1 points 10 months ago

I do collaborate on org notes with a partner! I agree with you that true simultaneous editing is unnecessary, but it'd be nice if the app flagged that someone else is currently editing the notes and locked them until the other person is done.

[–] meedstrom@alien.top 1 points 11 months ago

Wow, Google actually will take down IMAP. I wouldn't have taken your concern seriously, but I looked it up.

Changes to Gmail syncing with other email clients

To keep your account more secure, Gmail no longer supports third-party apps or devices that require you to share your Google username and password. Sharing your account credentials with third parties makes it easier for hackers to gain access to your account.

Instead, look for the option to 'Sign in with Google', which is a safer way to sync your emails to other apps. Learn about Sign in with Google.

Gmail users with a personal Google Account

In the coming weeks, the option to 'Enable IMAP' or 'Disable IMAP' will no longer be available. IMAP access is always enabled in Gmail, and your current connections to other email clients aren't affected. You don't need to take any action.

https://support.google.com/mail/answer/7126229?visit_id=638336166820267774-2369444182&hl=en-GB&rd=1

[–] meedstrom@alien.top 1 points 11 months ago

You're one of today's lucky 10,000.

[–] meedstrom@alien.top 1 points 11 months ago (1 children)

I see anki-helper-request lets the user make their own AnkiConnect request, so I see it's totally customizable (for programmers). Which is a good idea, but I'm also interested in automating some default syntaxes. I'm curious how you personally would do it? Let's say you have note text that's open to change, and you still don't want a headline.

[–] meedstrom@alien.top 1 points 11 months ago (4 children)

You beautiful bastard. Starred.

Yes, org emphasis makes it easy with the regexp org-emph-re :-)

From your source code, I infer that the note ID is saved in a property ANKI_NOTE_ID, which always goes in a property drawer, correct? Or did you find a way to skip recording the ID in some cases? Or detach property drawers from headlines?