Re: [O] [RFC] Remove Org Struct mode
Hi all, I'm in a similar situation - I only use Org-struct for my init.el, I'm fine with dropping it. On 2017-08-21, at 07:47, Jarmo Hurri wrote: > Eric S Fraga writes: > >> I have no issues with org-struct-mode being removed. I used to use >> it, especially for emails. I now simply change the mode to org, write >> whatever content I want, and then switch back to message mode to send >> my email. Works fine and gives me the full power of org. > > This is a neat idea. After hearing this, I also have no issue with > org-struct-mode being phased out. Out of curiosity: did anyone consider using lentic (https://github.com/phillord/lentic) for that? Best, -- Marcin Borkowski
Re: [O] Word-counting in a subtree
On Monday, August 21, 2017 2:09:25 PM EDT Eric S Fraga wrote: > On Monday, 21 Aug 2017 at 13:21, Jacopo De Simoi wrote: > > tl;dr > > > > Is there a way to create a token on a subtree header that would count > > words in the subtree and [optionally] mark a maximum allowed number of > > words? > I cannot help you directly but what I do is: narrow the region to the > sub-tree while writing and then simply execute M-x count-words RET every > now and again. this has the drawback that it also counts words in the header line; except this, could work as a temporary solution, but I'd still like to cook up some tag integrated with org > > There is a wc-mode which displays the number of words/chars in the > modeline but my modeline is already too busy for this... Indeed modelines are crowded these days…
[O] migrating to the snapshot api
Hi all, I maintain a fork of an org-mode backend for a markdown based publishing format https://github.com/fommil/dotfiles/blob/master/.emacs.d/lisp/ox-leanpub.el Which works great for the org-mode that ships with emacs 25.2. However, when I use the latest org-mode from the snapshots on even the most simple of files, e.g. the one line == Wibble wibble I'm a fish == I get a stacktrace like this (huge amount of data elided) == Debugger entered--Lisp error: (wrong-type-argument sequencep :back-end) mapc(#[ mapc(#[ org-element-map( org-export--footnote-reference-map( org-export-collect-footnote-definitions( org-leanpub-inner-template( org-export-as(leanpub nil nil nil nil) org-export-to-buffer(leanpub "*Org LEANPUB Export*" nil nil nil nil nil (lambda nil (text-mode))) org-leanpub-export-as-markdown() funcall-interactively(org-leanpub-export-as-markdown) call-interactively(org-leanpub-export-as-markdown record nil) command-execute(org-leanpub-export-as-markdown record) execute-extended-command(nil "org-leanpub-export-as-markdown" nil) funcall-interactively(execute-extended-command nil "org-leanpub-export-as-markdown" nil) call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) == >From reading http://orgmode.org/Changes.html#org1e55804 I can see that I am supposed to remove the :export-block, which I have done locally. Can anybody see what else I need to change to be compatible with the latest version? Best regards, Sam
Re: [O] Word-counting in a subtree
On Monday, 21 Aug 2017 at 13:21, Jacopo De Simoi wrote: > tl;dr > > Is there a way to create a token on a subtree header that would count words > in > the subtree and [optionally] mark a maximum allowed number of words? I cannot help you directly but what I do is: narrow the region to the sub-tree while writing and then simply execute M-x count-words RET every now and again. There is a wc-mode which displays the number of words/chars in the modeline but my modeline is already too busy for this... -- : Eric S Fraga via Emacs 26.0.50, Org release_9.0.9-787-g197c58 signature.asc Description: PGP signature
Re: [O] Bug: markdown export errors on headers [9.0.9 (9.0.9-82-gb862c2-elpaplus @ /home/fommil/.emacs.d/elpa/org-plus-contrib-20170814/)]
By running this (cl-delete-if (lambda (el) (string-match-p "/usr/share/.*org" el)) load-path) I'm able to hide org and now the org-plus-contrib loads up, yay! Thanks for the hints. On 21 August 2017 at 01:40, Kaushal Modi wrote: > On Sun, Aug 20, 2017, 4:25 PM Nicolas Goaziou > wrote: >> >> >> > then I can try to investigate what could be causing the Emacs org >> > to load. I cannot see how that is possible since it is not even >> > available on the elisp path anymore. >> > >> > Is there a way to check which elisp files have been loaded? Then I can >> > grep for anything from the emacs org install instead of my local >> > install. >> >> `locate-library' may help. Also, `load-path' can give a clue. Try with >> a bare configuration, i.e., with just >> >> (require 'package) >> (package-initialize) >> >> It can be tricky to find out what is loading bundled Org too early. >> Enjoy the Frankenorg. > > > :) > > M-x list-load-path-shadows will also help. Pay attention to shadows on org > packages. > > -- > > Kaushal Modi
[O] Word-counting in a subtree
tl;dr Is there a way to create a token on a subtree header that would count words in the subtree and [optionally] mark a maximum allowed number of words? Long question I am preparing an application and filling out many forms; each section of the form (that I rewrote as a subtree-header) has a maximum number of allowed words. It would be nice to have some kind of token to add to the subtree header which would count the number of words in the corresponding paragraph in a semi- automatic way. As a bonus, one could also set a maximum number of words, and the token would switch to alert face when the maximum is reached. Is there a reasonable way to accomplish this? Thanks __J
Re: [O] [RFC] Remove Org Struct mode
Nicolas Goaziou writes: I would like to remove Org Struct minor mode from Org code base. Like others, I only use Org Struct mode to get some Org-like list handling and such when I'm writing email, and as Nicolas observes, it barely works. So I'm OK with this, especially if it makes Org easier to maintain! -- Best, Richard
Re: [O] [RFC] Remove Org Struct mode
Hello. I have no issues with org-struct-mode being removed. I used to use it, especially for emails. I now simply change the mode to org, write whatever content I want, and then switch back to message mode to send my email. [...] I do exactly as Eric says here. Actually, I didn't knew about org-struct-mode. -- eduardo mercovich Donde se cruzan tus talentos con las necesidades del mundo, ahí está tu vocación. (Anónimo)
Re: [O] [RFC] Remove Org Struct mode
Hi all If I understand correctly orgstruct-mode has much more convenient key bindings like TAB and its variants for cycling than outshine.el or outline-minor-mode which is a big advantage for me. When point is on a heading also the other key bindings are just the same as in Org mode. This was my reason to give up outshine.el and to stick with headings where orgstruct-mode does a good job and to not use lists. If it is an option that someone reduces orgstruct-mode to only cycle and navigate headings, without all the rest like for example heading structure editing or lists, I would continue to use it instead of outshine.el, outorg.el or even Org Babel for sometimes shared source code files. Michael