org-persist

2021-10-19 Thread Colin Baxter 
After today's pull of org-mode I get the warning that org-persist cannot read its index. This is an entirely new warning (as of today) and I assume is the result of the recent commits in org-persist. Please, can this be corrected. The warning is irritating, especially so since I do not use

Re: nbsp as blank

2021-10-19 Thread Samuel Wales
there exists org-emphasis-regexp-components, fwiw. On 10/19/21, Alexandre Garreau wrote: > Hello, > > nbsp (non-breaking space, #xA0) is not recognized as blank in org-mode, > such that “*text* :” (it’s a nbsp here) doesn’t recognize as emphasized… > > I recall a variable containing such

Re: nbsp as blank

2021-10-19 Thread Mike Gauland
On 20/10/21 12:54 pm, Alexandre Garreau wrote: Hello, nbsp (non-breaking space, #xA0) is not recognized as blank in org-mode, such that “*text* :” (it’s a nbsp here) doesn’t recognize as emphasized… I recall a variable containing such characters but can’t find it again, does anyone know? the

new semantic org-entities

2021-10-19 Thread Alexandre Garreau
I suggest to add this, which I keep adding to my org-user-entities: (("frac23" "\\frac23" t "" "2/3" "⅔" "⅔") ("over" "\\over" t "/" "/" "/" "/") ("iff" "\\iff" t "" "<=>" "<=>" "⇔") ("implies" "\\implies" t "" "=>" "=>" "⇒")) The two first just allow to type simple fractions more readably,

nbsp as blank

2021-10-19 Thread Alexandre Garreau
Hello, nbsp (non-breaking space, #xA0) is not recognized as blank in org-mode, such that “*text* :” (it’s a nbsp here) doesn’t recognize as emphasized… I recall a variable containing such characters but can’t find it again, does anyone know? the manual seems large and that looks non-obvious to

[BUG] require org-macs at compile time [9.5 (9.5-g0a86ad @ /home/phil/.emacs.d/elpa/org-9.5/)]

2021-10-19 Thread Phil Hudson
The macro `org-dlet' is not expanded in file org-agenda.el at compile time when installing Org 9.5 from ELPA. It is plain-top-level require'd. I think that (require 'org-macs) form should be wrapped in an `eval-and-compile' form. Emacs : GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, X toolkit,

Re: the tangled web of org-cite, selectrum, completing-read, ...

2021-10-19 Thread Eric S Fraga
On Tuesday, 19 Oct 2021 at 22:04, Nicolas Goaziou wrote: >> 1. set =org-cite-basic-author-column= to a larger number > > You can ignore this step, which is useful (but is not as you report) > only when using `basic' insert processor. Here, you're using a different > insert processor. yes, I

Re: the tangled web of org-cite, selectrum, completing-read, ...

2021-10-19 Thread Eric S Fraga
On Tuesday, 19 Oct 2021 at 16:02, Bruce D'Arcus wrote: > The cool thing about embark-act in this context is it provides actions > both in the minibuffer and in the buffer at point (in this case, when > on a citation). > > So it's like merging ivy-actions and a hydra. This is roughly what I

Re: the tangled web of org-cite, selectrum, completing-read, ...

2021-10-19 Thread Nicolas Goaziou
Eric S Fraga writes: > For the record, in the end, I needed to do the following: > > 1. set =org-cite-basic-author-column= to a larger number You can ignore this step, which is useful (but is not as you report) only when using `basic' insert processor. Here, you're using a different insert

Re: the tangled web of org-cite, selectrum, completing-read, ...

2021-10-19 Thread Bruce D'Arcus
The cool thing about embark-act in this context is it provides actions both in the minibuffer and in the buffer at point (in this case, when on a citation). So it's like merging ivy-actions and a hydra. On Tue, Oct 19, 2021, 3:54 PM Eric S Fraga wrote: > Nicolas & Bruce, > > thank you for the

Re: the tangled web of org-cite, selectrum, completing-read, ...

2021-10-19 Thread Eric S Fraga
Nicolas & Bruce, thank you for the suggestions. > You can set `org-cite-basic-author-column-end' to a higher value. This alone made no difference but ... >From Bruce: > Eric - since you're using selectrum, any reason why not just use > oc-bibtex-actions? >From Nicolas: > You are using the

[PATCH] c-csl : accept relative CSL filenames

2021-10-19 Thread Emmanuel Charpentier
This (minuscule) patch allows to pass a relative (to the buffer's default directory) file name to denote the CSL style file. Rationale : this allows the use of "one-of" styles for "one-of" projects without overloading a defailt CSL style directory (which may or may not exist on a given system :

Re: Clarification on org-startup-fold behavior vs. docs

2021-10-19 Thread John Hendy
On Tue, Oct 19, 2021 at 12:28 PM Ihor Radchenko wrote: > > John Hendy writes: > The value should be a symbol, not a string: > > (setq org-startup-folded 'overview) > > customise interface even tries to warn you that something is wrong: > > > In addition, M-x customize-variable for

Re: the tangled web of org-cite, selectrum, completing-read, ...

2021-10-19 Thread Bruce D'Arcus
Eric - since you're using selectrum, any reason why not just use oc-bibtex-actions? Performance should be better, and it has a template system like bibtex-completion. On Tue, Oct 19, 2021 at 1:18 PM Eric S Fraga wrote: > > Hello all, > > TL;DR: how can I format the suggestions listed by

Re: the tangled web of org-cite, selectrum, completing-read, ...

2021-10-19 Thread Nicolas Goaziou
Hello, Eric S Fraga writes: > TL;DR: how can I format the suggestions listed by selectrum when I ask > to insert a citation with org-cite-insert? > > Longer version: I use selectrum a my completion engine together with > marginalia. This works very well for most selections I wish to > make.

Re: Clarification on org-startup-fold behavior vs. docs

2021-10-19 Thread Ihor Radchenko
John Hendy writes: > #+begin_example > (add-to-list 'load-path "~/.elisp/org/lisp/") > (add-to-list 'load-path "~/.elisp/org/contrib/lisp/") > (setq org-startup-folded "overview") > #+end_example The value should be a symbol, not a string: (setq org-startup-folded 'overview) customise

the tangled web of org-cite, selectrum, completing-read, ...

2021-10-19 Thread Eric S Fraga
Hello all, TL;DR: how can I format the suggestions listed by selectrum when I ask to insert a citation with org-cite-insert? Longer version: I use selectrum a my completion engine together with marginalia. This works very well for most selections I wish to make. However, for org-cite, the

Clarification on org-startup-fold behavior vs. docs

2021-10-19 Thread John Hendy
Greetings, I was surprised to open a file and find it in a fully expanded state. I took a moment to try and figure out what one should do on a global level. I searched "orgmode startup folded" and got here: https://orgmode.org/manual/Initial-visibility.html This points me to org-startup-folded,

Re: Could a .bib file be edited and organized in an "org-mode" way and still work as a .bib file?

2021-10-19 Thread Eric S Fraga
On Tuesday, 19 Oct 2021 at 22:09, Ihor Radchenko wrote: > By the way, do I understand correctly that oc-csl.el requires > citeproc-el to be installed? It is not clearly stated in the commentary. That's my understanding. -- : Eric S Fraga via Emacs 28.0.60, Org release_9.5-149-g781080 : Latest

Re: Could a .bib file be edited and organized in an "org-mode" way and still work as a .bib file?

2021-10-19 Thread Ihor Radchenko
András Simonyi writes: >> The processor relies on the external Citeproc Emacs library, which must be >> available prior to loading this library. > > Should we add something to this? If yes, what is missing in your opinion? I saw this comment, but I was not sure which library it referred to.

Re: Could a .bib file be edited and organized in an "org-mode" way and still work as a .bib file?

2021-10-19 Thread András Simonyi
On Tue, 19 Oct 2021 at 16:08, Ihor Radchenko wrote: > By the way, do I understand correctly that oc-csl.el requires > citeproc-el to be installed? It is not clearly stated in the commentary. Yes, oc-csl.el uses citeproc-el for formatting the citations and the bibliography. I'm not entirely sure

Re: Could a .bib file be edited and organized in an "org-mode" way and still work as a .bib file?

2021-10-19 Thread Eric S Fraga
I've been using org-bibtex for this: each headline is an item in your bibliography and you export the contents to a bib file. So, not quite what you want as it's not working with a bib file per se. However, you can read BiBTeX entries (using org-bibtex-read), for instance from a bib file

Re: Could a .bib file be edited and organized in an "org-mode" way and still work as a .bib file?

2021-10-19 Thread Ihor Radchenko
András Simonyi writes: > ... An added benefit could be that the org-cite CSL > export processor has recently gained (admittedly rather experimental) > support for directly using org-bibtex bibliographies, although insert > and follow functionality is missing at the moment. By the way, do I

Re: Could a .bib file be edited and organized in an "org-mode" way and still work as a .bib file?

2021-10-19 Thread András Simonyi
Dear Ypo, I also think that the org-bibtex format is pretty close to what you are looking for. An added benefit could be that the org-cite CSL export processor has recently gained (admittedly rather experimental) support for directly using org-bibtex bibliographies, although insert and follow

Re: Could a .bib file be edited and organized in an "org-mode" way and still work as a .bib file?

2021-10-19 Thread Ihor Radchenko
Ypo writes: > I have a .bib file with references, and a .org file with annotations. Like: > ... > Could I write on the .bib file using the orgmode power? Something like > this could work as a .bib file, or is it a no-no? M-x org-bibtex (you need a special format for Org headings). org-bibtex

Could a .bib file be edited and organized in an "org-mode" way and still work as a .bib file?

2021-10-19 Thread Ypo
I have a .bib file with references, and a .org file with annotations. Like: .bib file: @book{Saul.2013.DoctorYourselfNaturalHealing,   title = {Doctor yourself: natural healing that works},   shorttitle = {Doctor yourself},   author = {Saul, Andrew W},   year = {2013},   publisher = {Basic

[PATCH] updating manual: visibility of ARCHIVEd subtrees

2021-10-19 Thread Giovanni Ridolfi
Hallo everyone, please find attached a patch updating the documentation file: 08e9d34907e8c50da22f2981b3965a7b3fedda3a/doc/org-manual.org showing the correct sequence of keystrokes to force cycling of archived subtrees. From: "You can force cycling archived subtrees  with           ‘C-’, " to:  

[mostly solved] Re: Unable to configure emacs 27.2 to use org 9.5

2021-10-19 Thread Detlef Steuer
Am Mon, 18 Oct 2021 22:28:42 + schrieb Juan Manuel Macías : > Hi Detlef, > > Detlef Steuer writes: > > > I have installed 9.5 with package-install in a clean emacs session, > > it is shown as installed, too, but whatever I try, my org-version is > > shown as 9.4.6, which is included in

Re: Unable to configure emacs 27.2 to use org 9.5

2021-10-19 Thread Eric S Fraga
On Monday, 18 Oct 2021 at 22:37, Detlef Steuer wrote: > I have installed 9.5 with package-install in a clean emacs session, > it is shown as installed, too, but whatever I try, my org-version is > shown as 9.4.6, which is included in 27.2. You might like to try configuring and initializing the

Re: [PATCH] [BUG] Org 9.5: org-goto UI seems broken

2021-10-19 Thread Eric S Fraga
On Monday, 18 Oct 2021 at 23:53, Max Nikulin wrote: > I was trying to say that even with such *user* setup, behavior of Org > should be reasonable. Ah, okay. I agree. I also do not know what should be the default behaviour but I do know that I don't like the current default behaviour! I would,