CZSJGDAI7T3MYGDHJ26Q5ZR3BVOA2UTKTZE6GLTFACDQ2E3B52MQC
RCALBFMGJ7GNSUTTTQEC7DBHYCPFDNP7NMC5OQKA44WMBRXLCAVAC
NBJFXQNG6YLIEL6HK7VZDEQZTXK2QJZ43AKNLXIIBX5K3MOX6WCQC
DZ6GQN2ERJAZG3PWZC34EN32YZOAPVFNGVCMJQNMFZVK4TR57UTAC
6L4IQC5W6DQMRGOGMGAPBQ3LS3MLFVK6ELHJPWSTT6F2RWYGUD3QC
JGMCSDW663DQSK7XSWDBPVYQE57ZBP7ZVZLSEXUJOQVE7KY6BB4QC
PDH2BEBXR6WCCO2GRS3L6HMLQNCC2JU5BOKZLV4DLFPQD2UZFJKQC
ORKQ5SEYZULGUEW77EL3XBLKU7VAJP7TDPULU7VKTOQFWD2YI4LQC
F7ZOM4ZVXTE2TIAAYM5UVYKDVCGTAFP6ZRTUNDZYNA2UJIVKE6DQC
A3FC7VEV2TUSRJOBAEBV2HZA7I4XWIBWKP4ZE3CR5BPUQTKVRRGAC
#+filetags: emacs mail
A bit slow with imap Offline usage : notmuch does not work ... See
But works well with news !
In the end, slower than notmuch inside emacs (start + search) but I
prefer it to read news. Trying it at the moment
Mairixrc
Warning: not recursive !
Initially, I wanted a copy in a maildir folder. It turns out it\'s
already on Gmail server in both all mail and sent mail. I\'m not sure
anymore to need a specific \"sent\" folder for gmail. So I only sync the
\"sent\" folder on my Free account
# KILL What about sent mails
(setq mm-text-html-renderer 'gnus-w3m)
(setq gnus-inhibit-images nil)
```
;; Does not work
;;(setq nnir-search-engine 'notmuch)
;; This start a notmuch request but with the wrong arguments...
;; "(push (cons 'nnmaildir 'notmuch) nnir-method-default-engines)
;;
(setq message-send-mail-function 'message-send-mail-with-sendmail)
(setq sendmail-program "/usr/bin/msmtp")
(setq gnus-select-method '(nnnil ""))
(setq gnus-secondary-select-methods
;; Reading FSS feeds (not all of them works)
'((nntp "news.gwene.org")
;; Too slow, we prefer notmuch
(nnmaildir "free"
(directory "~/Mail/free/"))
(nnmaildir "gmail"
(directory "~/Mail/gmail/")))))
``` example
(setq user-mail-address#"XX"
user-full-name#"Alexis Praga")
Follow the manual instruction. Important: do not answer \"no\" for
hidden folder (maildir++) !
``` example
base=~/Mail/
maildir=gmail/inbox:gmail/archive:free/inbox:free/archive:archive
mformat=maildir
database=~/.mairix/database
mfolder=~/.mairix/mfolder
```
# KILL Mairix config
<https://emacs.stackexchange.com/questions/38739/how-can-i-subscribe-to-se-rss-feed-using-gnus>
<https://ding.gnus.narkive.com/kJo5yKca/nnir-and-notmuch> We have to use
mairix
```
# KILL Global
```{=org}
---
title: Gérer sa bibliographie
tags: bibliography research productivity
---
- git-annex
- git-lfs
- git-lfs
- rclone
### Google drive
- Create a rclone google drive remote
- Copy the executable git-annex-remote-rclone here into \$PATH
<https://github.com/DanielDent/git-annex-remote-rclone>
- Add a remote
```
### Git LFS
- Add a remote
### Emacs
Set citar-library-paths \'(\"\~/papers/bisonex\")
## Usage
### Clone the repo and get the data
``` {.bash org-language="sh"}
git-annex init
git-annex enableremote lfs
git-annex enableremote gdrive
git-annex sync --content
```
### Management
Show where files are
``` {.bash org-language="sh"}
git annex list
```
Synchronize content across remotes
git annex sync --content
Copy data from or to a special remote
``` {.bash org-language="sh"}
git annex get . --from gdrive
git annex copy . --to lfs
```
### Open a pdf
Open files directly with citar-open-files if there are named as
\$key.pdf
# Annotated bibliography
## KILL V1
Instead of using citar and have notes scatter across multiple files, we
try a single org-file like [this
setup](http://www.cachestocaches.com/2020/3/org-mode-annotated-bibliography/)
The bib file is then generated with org-tangle
## V2: org-roam + citar
With SPC m @, you can
- either create a org-roam note for a paper
- open the pdf if it is store in citar-library-paths and is named
according to the bibtex key
```sh
git annex initremote lfstest type=git-lfs url=git@github.com:apraga/papers.git encryption=none
```
- Create a git repo and set it up for git-lfs (apraga/papers) <https://git-lfs.github.com/>
```sh
git annex initremote gdrive type=external externaltype=rclone target=gdrive encryption=shared
## Configuration
On utilise git-annex. Il faut
# Synchronisation des pdfs