Re: ol-plo.el --- Orgmode Link type for navigating Ordered Plain Lists

2021-01-12 Thread Daniele Nicolodi
On 12/01/2021 21:21, TRS-80 wrote: > Hello *, > > I just banged out a bit of Elisp implementing a new Orgmode link type > for navigating Ordered (i.e., numbered/lettered) Plain Lists.[0] How do you deal with the lists being re-numbered when you edit them? Cheers, Dan

Re: accounting

2021-01-04 Thread Daniele Nicolodi
On 04/01/2021 21:04, Uwe Brauer wrote: >>>> "DN" == Daniele Nicolodi writes: > >> On 04/01/2021 09:54, Uwe Brauer wrote: >>> Hi >>> >>> https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-ledger.html >

Re: accounting

2021-01-04 Thread Daniele Nicolodi
On 04/01/2021 09:54, Uwe Brauer wrote: > Hi > > https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-ledger.html > > Points out how to use ledger within org mode. > > Is there any simpler solution? As other pointed out, you are not describing what you want to accomplish, thus is

Re: what do do when multiple functions store a link

2021-01-02 Thread Daniele Nicolodi
On 02/01/2021 14:49, John Kitchin wrote: > Recently I have had an issue where multiple functions may store a link, > e.g. to a bibtex entry.  >   > In this case, org-mode seems to prompt me to ask which function to store > the link with, with an initial input of the first function, which masks >

Re: Microsoft Excel spreadsheet editing directly from within emacs.

2020-12-28 Thread Daniele Nicolodi
On 28/12/2020 20:36, Jean Louis wrote: > * Hongyi Zhao [2020-12-28 18:19]: >> Is it possible for me to edit Microsoft Excel spreadsheet directly >> from within emacs, especially utilizing the powerful capabilities of >> orgmode? > > You have high expectations but Emacs Org mode does not nearly

Re: org-mime: markdown not html

2020-12-20 Thread Daniele Nicolodi
On 19/12/2020 21:27, Uwe Brauer wrote: > > Hi > > Does anybody know a package which would allow, using say gnus, to > markdown-ise an email, that would be useful for sending email to github > issues. As far as I know, GitHub does not interpret Mardown in comments added to issues via the email

Re: Release Org 9.4.2

2020-12-15 Thread Daniele Nicolodi
On 15/12/2020 14:58, Pankaj Jangid wrote: > Eric S Fraga writes: > >> On Monday, 14 Dec 2020 at 20:49, Pankaj Jangid wrote: >>> I like testing Emacs on the trunk and I ‘git pull’ and ‘make bootstrap’ >>> daily and use it without any external packages. This is just to make >>> sure that any

Re: [PATCH] doc/org-manual.org: Extend table formulas Lisp form documentation

2020-11-25 Thread Daniele Nicolodi
On 25/11/2020 05:37, Kyle Meyer wrote: > Daniele Nicolodi writes: > >> Hello, >> >> I always found the description of Lisp forms in Org table formulas not >> extremely clear, especially in regard to the use of mode flags. The >> attached patch tries to c

Re: [PATCH] org-table: Add mode flag to enable Calc units simplification mode

2020-11-24 Thread Daniele Nicolodi
Thank you for the review, Kyle. Another updated patch set is attached. Cheers, Dan On 24/11/2020 06:35, Kyle Meyer wrote: > Daniele Nicolodi writes: > >> Subject: [PATCH 1/3] org-table: Remove unused org-tbl-calc-modes variable >> declaration > > Looks good. >

Re: [PATCH] org-table: Add mode flag to enable Calc units simplification mode

2020-11-23 Thread Daniele Nicolodi
An updated patch series is attached. Thank you. Cheers, Dan From d2ab4d06e19620c0347425861e4534cde8656543 Mon Sep 17 00:00:00 2001 From: Daniele Nicolodi Date: Mon, 23 Nov 2020 23:44:51 +0100 Subject: [PATCH 1/3] org-table: Remove unused org-tbl-calc-modes variable declaration * org-table.el

Re: [PATCH] org-table: Add mode flag to enable Calc units simplification mode

2020-11-23 Thread Daniele Nicolodi
On 23/11/2020 23:25, Kyle Meyer wrote: > Daniele Nicolodi writes: > >> On 23/11/2020 04:14, Kyle Meyer wrote: >>> You already mentioned that you plan to add documentation. It'd also be >>> good to add a test to test-org-table.el and a NEWS entry. >> >>

Re: [PATCH] org-table: Add mode flag to enable Calc units simplification mode

2020-11-23 Thread Daniele Nicolodi
On 23/11/2020 04:14, Kyle Meyer wrote: > You already mentioned that you plan to add documentation. It'd also be > good to add a test to test-org-table.el and a NEWS entry. By the way, have you seen my other patch with some documentation updates for Org tables? Cheers, Dan

Re: [PATCH] org-table: Add mode flag to enable Calc units simplification mode

2020-11-23 Thread Daniele Nicolodi
Hello Kyle, thank you for the review. It is much appreciated as lisp (and Emacs lisp in particular) is not the language I am most fluent in. On 23/11/2020 04:14, Kyle Meyer wrote: > Daniele Nicolodi writes: > >> Subject: [PATCH 1/4] org-table: Fix table formula mode string handling

Re: [PATCH] org-table: Add mode flag to enable Calc units simplification mode

2020-11-19 Thread Daniele Nicolodi
On 19/11/2020 06:58, Kyle Meyer wrote: > Daniele Nicolodi writes: > >> Hello, >> >> I don't think this is what is holding up review of these patches, but, I >> recently completed the paperwork for copyright assignment to the FSF. > > Thanks for this series

Re: Ignored bugs

2020-11-17 Thread Daniele Nicolodi
On 17/11/2020 21:15, Boruch Baum wrote: > On 2020-11-17 20:51, Daniele Nicolodi wrote: >> Please complain with the Emacs maintainers about their handling of the >> bugs on the Emacs bug tracking system, > > How do I know it was "their handling" and not "your ha

Re: Ignored bugs

2020-11-17 Thread Daniele Nicolodi
On 17/11/2020 19:41, Boruch Baum wrote: > A little over a month ago, I submitted several bug reports related to > org-mode, and sor most of them haven't seen any action whatsoever, not > even an indication that they were noticed. In many cases, I provided > either a total solution or a suggested

Re: [PATCH] doc/org-manual.org: Extend table formulas Lisp form documentation

2020-11-16 Thread Daniele Nicolodi
On 16/11/2020 11:25, Eric S Fraga wrote: > Daniele, > > this looks good. One minor pedantic point: I think you mean > "interpreted" when you say "interpolated" (several times in the > text). Otherwise, this is a very useful addition to the manual. Thank you for reading and for the comment.

[PATCH] doc/org-manual.org: Extend table formulas Lisp form documentation

2020-11-14 Thread Daniele Nicolodi
aad5ba2217c30ff219069afbfdd8c65851f899d2 Mon Sep 17 00:00:00 2001 From: Daniele Nicolodi Date: Sat, 14 Nov 2020 18:33:41 +0100 Subject: [PATCH] doc/org-manual.org: Extend table formulas Lisp form documentation Be more explicit about how fields are interpolated into the Lisp forms, clarify the use of mode

Re: How is org-sbe supposed to work?

2020-11-13 Thread Daniele Nicolodi
On 13/11/2020 15:39, Daniele Nicolodi wrote: > How are variables passed to the code block supposed to be handled? The > macro docstring does not mention anything particular, thus I would > imagine they are handled just like in any other lisp code. However, this > does not seem to

How is org-sbe supposed to work?

2020-11-13 Thread Daniele Nicolodi
Hello, I am trying to use the org-sbe macro to execute a code block with input from an org table, however it does not work as I would expect it to work and the code is cryptic enough for me to not being able to understand what the intent was when it was written. I searched for tests in the

Re: official orgmode parser

2020-11-11 Thread Daniele Nicolodi
On 11/11/2020 10:15, Bastien wrote: > Hi Daniele, > > Daniele Nicolodi writes: > >> Would it make sense to have one "official" (or a set of) org-mode test >> files and the corresponding syntax tree as parsed by org-elements (maybe >> in a format easier

Caching answer to prompt for code block execution

2020-11-09 Thread Daniele Nicolodi
Hello, I am trying to use the org-sbe macro to compute values in an org table. This results in a (well, actually two, see my other recent email to the mailing list) prompt for execution of the relevant code block. This is unpractical when there are more than an handful of cells to be evaluated.

Re: Thoughts on the standardization of Org

2020-11-09 Thread Daniele Nicolodi
On 09/11/2020 15:04, Maxim Nikulin wrote: > 2020-11-08 Jean Louis wrote: >> That is right, I am using it since years in ~/.mailcap that works well >> for mutt email client. >> >> text/org;emacsclient %s; nametemplate=%s.org; >> text/x-org; emacsclient %s; nametemplate=%s.org; > > Just for

org-sbe results in two prompts for each evaluated cell

2020-11-09 Thread Daniele Nicolodi
Hello, using the org-sbe macro to evaluate a code block with table cells as input results in two prompts for each cell evaluated: one to confirm the evaluation of the code block passed as an argument to org-sbe and one to confirm evaluation of the code block dynamically generated by org-sbe. Is

Re: [PATCH] org-table: Add mode flag to enable Calc units simplification mode

2020-11-07 Thread Daniele Nicolodi
Hello, I don't think this is what is holding up review of these patches, but, I recently completed the paperwork for copyright assignment to the FSF. Cheers, Dan On 24/10/2020 17:33, Daniele Nicolodi wrote: > Hello, > > attached there are a few patches reworking the parsing of

Re: Thoughts on the standardization of Org

2020-11-02 Thread Daniele Nicolodi
On 02/11/2020 10:02, TEC wrote: > I think there are absolutely some benefits for Org users. I am > personally interested in registering Org as an IANA MIME type. I don't think that registering Org as IANA MIME type will have the consequences you hope it has. > What will this do? Well, for

Re: Thoughts on the standardization of Org

2020-11-02 Thread Daniele Nicolodi
On 02/11/2020 00:10, Dr. Arne Babenhauserheide wrote: > > Daniele Nicolodi writes: >> Maybe the standardization should cover only the "static" parts of Org >> (ie no table formulas, no babel, no agenda, no exporters, etc). However, >> in this case, what

Re: Thoughts on the standardization of Org

2020-11-01 Thread Daniele Nicolodi
On 01/11/2020 17:13, Russell Adams wrote: > On Sat, Oct 31, 2020 at 08:22:01PM -0400, Asa Zeren wrote: >> First, I would like to repeat the importance of developing standards >> for org-mode. If we want to expand the influence of org, tooling must >> expand beyond Emacs. > > I disagree. There are

Re: Bug: headline folding broken by whitespace

2020-10-31 Thread Daniele Nicolodi
On 31/10/2020 17:49, Kyle Meyer wrote: > Daniele Nicolodi writes: > >> Hello, >> >> i saw a few reports of bugs related to folding and unfolding of >> headlines recently, but I think this is not a duplicate. > > I think you're referring to > > http

Re: Bug: headline folding broken by whitespace

2020-10-31 Thread Daniele Nicolodi
On 31/10/2020 17:28, Russell Adams wrote: > On Sat, Oct 31, 2020 at 04:06:22PM +0100, Daniele Nicolodi wrote: >> I just noticed that with the latest release (Org mode version 9.4 >> (9.4-27-g47bf60-elpa @ /Users/daniele/.emacs.d/elpa/org-20201026/) >> unfolding of headlines is

Bug: headline folding broken by whitespace

2020-10-31 Thread Daniele Nicolodi
Hello, i saw a few reports of bugs related to folding and unfolding of headlines recently, but I think this is not a duplicate. I just noticed that with the latest release (Org mode version 9.4 (9.4-27-g47bf60-elpa @ /Users/daniele/.emacs.d/elpa/org-20201026/) unfolding of headlines is broken by

Re: Inconsistency between code and manual: org-lowest-priority or org-priority-lowest

2020-10-30 Thread Daniele Nicolodi
On 30/10/2020 05:57, Kyle Meyer wrote: > Daniele Nicolodi writes: > >> Hello, >> >> I found an inconsistency between the manual and implementation: the >> Priorities section says that the range of valid priorities can be set >> modifying the `org-pri

Inconsistency between code and manual: org-lowest-priority or org-priority-lowest

2020-10-29 Thread Daniele Nicolodi
Hello, I found an inconsistency between the manual and implementation: the Priorities section says that the range of valid priorities can be set modifying the `org-priority-highest', `org-priority-lowest' and `org-priority-default' variables. However, in the code the variables names are

Re: New website - back to the old unicorn!

2020-10-28 Thread Daniele Nicolodi
On 28/10/2020 17:59, TEC wrote: > > Let's do two at once: > > Daniele Nicolodi writes: > >> Great work! it looks very nice and informative at the same time. > That's the idea! :D > >> If I can bikeshed a bit more: I like the lighter page background

Re: New website - back to the old unicorn!

2020-10-28 Thread Daniele Nicolodi
On 28/10/2020 13:25, TEC wrote: > > Daniele Nicolodi writes: > >> - (minor) I would add a background to the example in the home >> page to >> make it stand out more as an example org-mode syntax buffer >> >> - (very minor) why does the example on the

Re: New website - back to the old unicorn!

2020-10-26 Thread Daniele Nicolodi
On 26/10/2020 15:26, TEC wrote: > > Daniele Nicolodi writes: > >> I like the new design. Thank you for your work! > > Thanks for the kind words! > >> Two things: > *cough, Three  Indeed, I thought about the third one while writing the first two... &

Re: New website - back to the old unicorn!

2020-10-26 Thread Daniele Nicolodi
On 26/10/2020 14:54, Daniele Nicolodi wrote: > On 26/10/2020 11:27, TEC wrote: >> >> TEC writes: >> >>> there are a few teething issues that have appeared when >>> deploying the >>> site on orgmode.org. >> >> These issues have now b

Re: New website - back to the old unicorn!

2020-10-26 Thread Daniele Nicolodi
On 26/10/2020 11:27, TEC wrote: > > TEC writes: > >> there are a few teething issues that have appeared when >> deploying the >> site on orgmode.org. > > These issues have now been fixed! Go wild :P > > I've taken the liberty of making a post on reddit: >

Re: official orgmode parser

2020-10-24 Thread Daniele Nicolodi
On 23/09/2020 10:09, Bastien wrote: > I disagree that a parser is too difficult to maintain because Org is > a moving target. Org core syntax is not moving anymore, a parser can > reasonably target it. That's what is done with the Ruby parser, in > use in this small project called github.com :)

[PATCH] org-table: Add mode flag to enable Calc units simplification mode

2020-10-24 Thread Daniele Nicolodi
c7434974897d932fe3acd182f06a98a61719e208 Mon Sep 17 00:00:00 2001 From: Daniele Nicolodi Date: Tue, 20 Oct 2020 11:03:14 +0200 Subject: [PATCH 1/4] org-table: Fix table formula mode string handling * lisp/org-table.el (org-table-eval-formula): Move mode lookup table from org-table--set-calc-mode to here

Re: [PATCH] org-table: Add mode flag to enable Calc units simplification mode

2020-10-21 Thread Daniele Nicolodi
/2020 15:30, Daniele Nicolodi wrote: > Hello, > > attached there are a few patches reworking the code, fixing the bug, and > introducing a new mode flag to enable Calc's units simplification mode > as discussed in a recent thread on the mailing list. I haven't updated > the doc

Re: [PATCH] org-table: Add mode flag to enable Calc units simplification mode

2020-10-20 Thread Daniele Nicolodi
On 20/10/2020 16:32, Daniele Nicolodi wrote: > On 20/10/2020 16:19, Eric S Fraga wrote: >> Hello again, >> >> Following up on myself. I'm seeing some strange behaviour although unit >> calculations are working nicely. For instance, this table: >>

Re: [PATCH] org-table: Add mode flag to enable Calc units simplification mode

2020-10-20 Thread Daniele Nicolodi
On 20/10/2020 16:19, Eric S Fraga wrote: > Hello again, > > Following up on myself. I'm seeing some strange behaviour although unit > calculations are working nicely. For instance, this table: > > #+begin_src org > | stream | a| b| c| total| >

Re: [PATCH] org-table: Add mode flag to enable Calc units simplification mode

2020-10-20 Thread Daniele Nicolodi
On 20/10/2020 15:44, Eric S Fraga wrote: > Just to say that I have done a quick test with this and I really like > it. Simple calculations with units of mol/s and mol/min work perfectly. Thank you for testing Eric. To cover the use case of monetary quantities discussed in the other thread I

[PATCH] org-table: Add mode flag to enable Calc units simplification mode

2020-10-20 Thread Daniele Nicolodi
idea. Cheers, Dan On 19/10/2020 17:38, Daniele Nicolodi wrote: > Hello, > > I am hacking org-table-eval-formula (see thread about monetary values in > org-tables) which uses this inline function: > > (defsubst org-table--set-calc-mode (var value) > (if (stringp var) >

Specification for org-table formula mode string

2020-10-19 Thread Daniele Nicolodi
Hello, I am looking at the parsing of org-table formula mode strings and I find it quite confusing and I have an hard time understanding if it works the way it does by design or by accident. Formula mode strings are documented here

Bug in org-table--set-calc-mode?

2020-10-19 Thread Daniele Nicolodi
Hello, I am hacking org-table-eval-formula (see thread about monetary values in org-tables) which uses this inline function: (defsubst org-table--set-calc-mode (var value) (if (stringp var) (setq var (assoc var '(("D" calc-angle-mode deg) ("R"

Re: org-tables with monetary amounts

2020-10-15 Thread Daniele Nicolodi
On 12/10/2020 10:22, Christian Moe wrote: > > Hi, Daniele, > > Good that it's working for you. I'll try to explain the unclear parts. > > Daniele Nicolodi writes: > >> On 24/09/2020 11:17, Christian Moe wrote: >> >>> Now, with the Calc comm

Re: org-tables with monetary amounts

2020-10-09 Thread Daniele Nicolodi
Hello Christian, thank you for your input. calc support for units indeed covers the basics of working with currencies. I gave it a spin on some notes I have been working on recently. While some things work very nicely, other are a bit ugly. It is a good start and I'll explore this approach more.

Re: org-tables with monetary amounts

2020-09-25 Thread Daniele Nicolodi
On 25/09/2020 11:25, Neil Jerram wrote: > Aside: Perhaps I'm misunderstanding them, but none of the open source > tools, including (h)ledger, seem to be of much help here. > - They focus on data entry and reconciliation, which I don't need as I'm > happy to download and use OFX files from my bank.

Re: org-tables with monetary amounts

2020-09-25 Thread Daniele Nicolodi
On 23/09/2020 18:55, Eric S Fraga wrote: > Not answering your question directly but, depending on why and how you > are using org tables for monetary calculations, you may wish to look at > ledger [1]. There is support in org for ledger via babel (ob-ledger.el, > distributed with org). Hello

org-tables with monetary amounts

2020-09-22 Thread Daniele Nicolodi
Hello, I often use org-tables to work with monetary amounts. It would be very nice to have a couple of functionalities common in this domain: - fixed precision arithmetic, namely derive the precision of the results from the precision of the arguments (I think that calc can do this), - support

Link to source file location with content preview

2020-07-02 Thread Daniele Nicolodi
Hello, I would like to create links from an org-mode file to source file locations that display a preview of the link destination in the form of a source code block or similar with a few lines of the file content. Is this doable with org-store-link and org-insert-link? A related question: does

Bug in identification of links?

2020-06-11 Thread Daniele Nicolodi
Hello, org-mode fails to recognize https://doi.org/10.1016/0370-1573(89)90087-2 as a valid URL, it breaks it after the closing parenthesis ). I don't understand why this is the case as I would imagine that if the ) character is not allowed in URLs the link would be broken before it and not after.

Re: [ANN] faster org-table-to-lisp

2020-04-30 Thread Daniele Nicolodi
Hello, On 30-04-2020 14:28, tbanelwebmin wrote: > * Version 9.4 (not yet released) > ** Miscellaneous > *** Faster org-table-to-lisp > > The new implementation can be more than 100 times faster. This enhances > responsiveness of Babel or Gnuplot blocks handling thousands long tables.

Re: org-ref: xxx-add-bibtex-entry with an org-capture like interface

2020-04-14 Thread Daniele Nicolodi
On 09-04-2020 13:43, John Kitchin wrote: > This is basically what doi-add-bibtex-entry does. There isn't one > function that does arxiv too, but there is arxiv-add-bibtex-entry. Those > are both commands in org-ref. These don't pop up a buffer for approval, > that is something you would have to

org-ref: xxx-add-bibtex-entry with an org-capture like interface

2020-04-09 Thread Daniele Nicolodi
Hello John, sorry for the cryptic subject but I was unable to come up with something better. I am revamping my workflow to take notes about articles I read or that I save to be read later and I decided to explore if org-ref and the related utility packages fit what I would like to be able to do.

Re: [PATCH] support colorful blocks display on org-agenda

2020-02-23 Thread Daniele Nicolodi
On 20/02/2020 00:15, Bastien wrote: > Days for the "contrib/" directory are counted: before Org 9.5, I will > extract it from Org's repository, make it an independant repository on > code.orgmode.org and make it available through Org ELPA. This is an excellent plan! Cheers, Dan

Re: change to mail-list subject line?

2019-10-30 Thread Daniele Nicolodi
On 30/10/2019 23:03, adam wrote: > > Has the emacs-orgmode  mail-list ceased including a  [O]  in the subject  > line of its mails?  Or, what has changed here? Yes, as announced on the list a couple of days ago. > I was using  [O]  as a filter for my incoming mails, now they are  > turning up

Re: [O] Insert time in Org-mode

2019-06-26 Thread Daniele Nicolodi
On 25/06/2019 22:54, Spenser Truex wrote: > "Fraga, Eric" writes: > >> On Tuesday, 25 Jun 2019 at 18:41, gmx wrote: >>> How to insert the current time? >> >> Easiest immediate way is to insert an inactive time stamp by C-u C-c ! >> RET. > > Robert Pluim writes: > >> C-u M-x org-time-stamp >>

Re: [O] [ANN] Changes to link syntax

2019-03-11 Thread Daniele Nicolodi
On 11-03-2019 10:35, Nicolas Goaziou wrote: > Hello, > > Daniele Nicolodi writes: > >> On 10/03/2019 11:19, Nicolas Goaziou wrote: >>> When in doubt, use the function ~org-link-escape~ in order to turn >>> a link string into its properly escaped

Re: [O] [ANN] Changes to link syntax

2019-03-10 Thread Daniele Nicolodi
On 10/03/2019 11:19, Nicolas Goaziou wrote: > When in doubt, use the function ~org-link-escape~ in order to turn > a link string into its properly escaped form. > > The old ~org-link-escape~ and ~org-link-unescape~ functions have > been renamed into ~org-link-encode~ and

[O] Styling header stats for collapsed trees

2018-10-20 Thread Daniele Nicolodi
Hello, there is a feature of Orgzly that I like: when a headline containing sub-haedlines is folded, the leading star (bullet in Orgzly interface) changes to signal that subheadings are hidden below. I've tried to see if org allows to easily achieve something similar, but the face of the

[O] Refile to datetree

2018-10-14 Thread Daniele Nicolodi
Hello, I'm not always very systematic in my note taking and sometimes I find the need to refile entries into a datetree. Unfortunately `org-refile` does not provide facilities for doing that easily. `org-archive` kind of does, but it does not allow to easily specify the target date. I saw a

Re: [O] Clean up org-faces.el

2018-04-08 Thread Daniele Nicolodi
On 08/04/2018 11:33, Rasmus wrote: > Daniele Nicolodi <dani...@grinta.net> writes: > >> On 08/04/2018 07:27, Rasmus wrote: >>> I have been wanting to clean up org-faces.el for a couple of years. >> >> Only tangentially related: is there a way to have

Re: [O] Clean up org-faces.el

2018-04-08 Thread Daniele Nicolodi
On 08/04/2018 07:27, Rasmus wrote: > I have been wanting to clean up org-faces.el for a couple of years. Only tangentially related: is there a way to have a different face for tables content and tables structure (ie the grid)? The default blue hurts my eyes :-) Cheers, Dan

Re: [O] Insert datetree entry

2017-04-05 Thread Daniele Nicolodi
On 4/5/17 3:40 PM, Bruce V Chiarelli wrote: > > Daniele Nicolodi writes: > >> On 4/4/17 1:25 PM, Bruce V Chiarelli wrote: >>> >>> Daniele Nicolodi <dani...@grinta.net> writes: >> Hi Bruce, >> >> I modified your code as follow to be ab

Re: [O] Insert datetree entry

2017-04-04 Thread Daniele Nicolodi
On 4/4/17 1:25 PM, Bruce V Chiarelli wrote: > > Daniele Nicolodi <dani...@grinta.net> writes: > >> >> thanks for the hint, but I don't understand what `subtree-at-point` is >> in your code, it does not seem to be defined in my emacs and >> `org-datetree-

Re: [O] Insert datetree entry

2017-04-04 Thread Daniele Nicolodi
On 4/4/17 1:25 PM, Bruce V Chiarelli wrote: > > Daniele Nicolodi <dani...@grinta.net> writes: > >> >> thanks for the hint, but I don't understand what `subtree-at-point` is >> in your code, it does not seem to be defined in my emacs and >> `org-datetree-

Re: [O] Insert datetree entry

2017-04-04 Thread Daniele Nicolodi
On 4/3/17 5:37 PM, Bruce V Chiarelli wrote: > > Daniele Nicolodi writes: > >> Hello, >> >> there is a way in org-mode to insert a datetree entry without going >> through the org-capture? Ideally the function would jump to the >> datetree and inser

[O] Insert datetree entry

2017-04-03 Thread Daniele Nicolodi
Hello, there is a way in org-mode to insert a datetree entry without going through the org-capture? Ideally the function would jump to the datetree and inser an headline for the current day if one is not present, or move to the end of it if one is present. I haven't found anything like this in

Re: [O] org-link interface

2016-10-13 Thread Daniele Nicolodi
ot possible with org-insert-link. I may propose a patch to add this. Cheers, Daniele > > Daniele Nicolodi writes: > >> On 10/13/16 8:14 AM, John Kitchin wrote: >>> In org8, this is not that easy to do, but not impossible. >>> >>> Why do not you wan

Re: [O] [RFC] Change visibility for bracket links

2016-10-13 Thread Daniele Nicolodi
On 10/13/16 6:07 AM, Nicolas Goaziou wrote: > Daniele Nicolodi <dani...@grinta.net> writes: > >> Does this solve your problem? :) > > Not really. It makes my example more bearable, but using C-a is still > a workaround, and there are also many other dances to perform i

Re: [O] org-link interface

2016-10-13 Thread Daniele Nicolodi
rg-insert-link to derive a default value for the description from the path? I had a look at the code, and it does not seem so. Thanks! Cheers, Daniele > Daniele Nicolodi writes: > >> Hello, >> >> I would like to add a new link type to org-mode. Following the example &

Re: [O] [RFC] Change visibility for bracket links

2016-10-12 Thread Daniele Nicolodi
On 10/12/16 4:37 AM, Nicolas Goaziou wrote: > Hello, > > Daniele Nicolodi <dani...@grinta.net> writes: > >> I use org-insert-link [C-c C-l] to edit links. I think this solved your >> problem with the difficulty in editing the link description. > > No,

Re: [O] [RFC] Change visibility for bracket links

2016-10-12 Thread Daniele Nicolodi
On 05/10/16 09:40, Nicolas Goaziou wrote: > Hello, > > I'd like to make the following change to bracket links display (i.e., > when `org-highlight-links' contains `bracket', which is the default). > > Basically, I want to leave a visible pair of brackets around the link, I don't like the

[O] org-link interface

2016-10-11 Thread Daniele Nicolodi
Hello, I would like to add a new link type to org-mode. Following the example in the manual it is a very easy task. However I would like to customize how the link is visualized, specifically I would like a link like "[[foo:bar]]" to be visualized simply as "bar" where the protocol type has been

Re: [O] Enginnering notation in tables exported to LaTeX

2016-04-07 Thread Daniele Nicolodi
On 4/7/16 1:15 AM, Nicolas Goaziou wrote: > Hello, > > Daniele Nicolodi <dani...@grinta.net> writes: > >> when exporting to LaTeX, numbers expressed in engineering notation >> contained in tables are transformed into a quite confusing notation: >> 1.234e5

[O] Enginnering notation in tables exported to LaTeX

2016-04-06 Thread Daniele Nicolodi
Hello, when exporting to LaTeX, numbers expressed in engineering notation contained in tables are transformed into a quite confusing notation: 1.234e5 becomes 1.234\,(5) which is rendered by LaTeX as 1.234 (5) with the space being a very narrow one. This notation is confusing because it is

Re: [O] Org-mode exporters licensing

2015-07-27 Thread Daniele Nicolodi
On 27/07/15 14:42, Greg Troxel wrote: Daniele Nicolodi dani...@grinta.net writes: On 27/07/15 13:52, Marcin Borkowski wrote: I disagree. Licensing a tutorial with GPL is a stupid thing to do. A tutorial may contain code which people naturally mimic (or even copy). Such things should

Re: [O] Org-mode exporters licensing

2015-07-27 Thread Daniele Nicolodi
On 27/07/15 14:25, Oleh Krehel wrote: Rasmus ras...@gmx.us writes: Oleh Krehel ohwoeo...@gmail.com writes: If anywhere in your code there's (require 'org), you have to release your code under GPL. Are you sure about that? By this logic, *any* .el file should be GPL as they use (defun

Re: [O] Org-mode exporters licensing

2015-07-27 Thread Daniele Nicolodi
On 27/07/15 13:52, Marcin Borkowski wrote: I disagree. Licensing a tutorial with GPL is a stupid thing to do. A tutorial may contain code which people naturally mimic (or even copy). Such things should definitely be in PD. As yourself pointed out in one of your emails, in many legal

Re: [O] How to make a non-GPL Org-mode exporter?

2015-07-27 Thread Daniele Nicolodi
Hello Marcin, On 27/07/15 14:10, Marcin Borkowski wrote: Assume that (for some reason) I want to write an Org-mode exporter which won't be GPL'd. (Use-case: having written a few custom exporters, I'm writing a tutorial on them, and I consider publishing a *tutorial* with GPL'd code a Bad

Re: [O] Org-mode exporters licensing

2015-07-27 Thread Daniele Nicolodi
On 27/07/15 19:42, Marcin Borkowski wrote: That I've already learned. OTOH, one of the reasons to use PD might be that I explicitly state that I object the legal system I live in. (Mind you: I'm not an anarchist, and I'm very far from that. But this system is almost unbearable.) This

Re: [O] How to make a non-GPL Org-mode exporter?

2015-07-27 Thread Daniele Nicolodi
On 27/07/15 18:59, Marcin Borkowski wrote: On 2015-07-27, at 14:39, Daniele Nicolodi dani...@grinta.net wrote: Therefore, the only extensions to org-mode that can exist (and be distributed, if you write code and keep it for yourself you are not affected by the licensing terms) must be GPL

Re: [O] Org-mode exporters licensing

2015-07-27 Thread Daniele Nicolodi
On 27/07/15 20:20, Marcin Borkowski wrote: On 2015-07-27, at 20:02, Daniele Nicolodi dani...@grinta.net wrote: On 27/07/15 19:42, Marcin Borkowski wrote: That I've already learned. OTOH, one of the reasons to use PD might be that I explicitly state that I object the legal system I live