Remove file to original state after org-capture-kill?

2021-04-14 Thread arozbiz
I have an org-capture template that looks like this: '(("j" "Journal" entry (file+headline find-file-function "Journal") "* %?") (I create separate Org files for each day, which the find-file-function returns the path for.) If I call org-capture "j" on a file that doesn't have a "Journal"

[PATCH] Add 'simple option to org-fast-tag-selection-single-key.

2021-04-14 Thread tumashu
Hello I have added 'simple option to org-fast-tag-selection-single-key, please try and comment :-) (setq org-use-fast-tag-selection t) (setq org-fast-tag-selection-single-key 'simple) ;; better use vertico or selectrum :-) ;; (require 'vertico) ;; (vertico-mode 1)

Re: [Patch] to correctly sort the items with emphasis marks in a list

2021-04-14 Thread Juan Manuel Macías
Hello again, Since I have an old Emacs version (24.5.1) on my Raspberry, I've done a few more tests. The situation is the following: 1. On Arch Linux and Emacs 27.2: - The system locales are set to "es_ES.UTF-8". When, inside Emacs, I do M-x getenv RET LANG RET, I get "es_ES.UTF-8".

Re: [Patch] to correctly sort the items with emphasis marks in a list

2021-04-14 Thread Juan Manuel Macías
Hi Maxim, Thanks again. In my case, I keep getting the wrong result. In addition to the test I did in a virtual machine with Fedora, I use Arch Linux in my every day computers, with locales correctly (I hope) configured as es_ES.UTF-8 (there was a typo in my previous mail, sorry: 'en_ES.UTF-8').

Re: [Patch] to correctly sort the items with emphasis marks in a list

2021-04-14 Thread Maxim Nikulin
On 14/04/2021 22:42, Maxim Nikulin wrote: I have generated es_ES.UTF-8 locale using     dpkg-reconfigure locales Depending on linux distribution you run, the locale may be ready to use or not. I tend to think that in minimal environment of virtual machine it was missed. I forgot to add a

Re: [Patch] to correctly sort the items with emphasis marks in a list

2021-04-14 Thread Maxim Nikulin
On 14/04/2021 02:08, Juan Manuel Macías wrote: The situation is that with locales configured for Spanish from Spain (en_ES.UTF-8) the list is not ordered correctly, unless those three spaces from org-sort-remove-invisible are removed. But I couldn't say why or if that would be appropriate as a

About completion-ignore-case in org-tags-completion-function

2021-04-14 Thread tumashu
In org-tags-completion-function, completion-ignore-case force nil, what about set it to t? tags are case-sensitive, wile this function is used to search tag. (defun org-tags-completion-function (string _predicate flag) "Complete tag

TexInfo export: Using org-manual.org's `kbd' macro problematic for C-{ and C-} keys

2021-04-14 Thread Ramesh Nedunchezian
As you already know, I am working on creating a info manual for Emacs' Helm library. I ran in to a new issue today. TexInfo export: Using org-manual.org's `kbd' problematic for C-{ and C-} keys It may not be a problem with the macro as much. It is possible that I am using it wrongly. How

Re: Is it possible to #+include: src blocks and tangle them too?

2021-04-14 Thread Greg Minshall
Rama, thanks for your explanation. Arne Babenhauserheide suggested [M-x org-babel-detangle]; i've not used it myself, but it seems a possible direction. cheers, Greg

Re: Is it possible to #+include: src blocks and tangle them too?

2021-04-14 Thread Dr. Arne Babenhauserheide
Rama writes: > Ultimately I have just decided that I will develop my code as normal and then > finally just copy and paste it into orgmode especially since now we can > select a region and and create a source block around it. Do you know M-x insert-file? That could simplify your workfloww a