If I could I would refactor org-clock-put-overlay into a function that
puts overlays on the current headline but I am not able to do so.
Hi Paul,
Paul Sexton psex...@xnet.co.nz writes:
The process of contributing to Worg is too complicated for me.
You can clone the Worg.git repository with
$ git clone git://repo.or.cz/Worg.git
Then make some edit on Worg.
Then commit your changes with
$ git commit -a -m Your message
Out of curiosity, has anybody compared the results that this provides
with exporting to HTML, rendering with a browser (including
emacs-w3m), and counting words that way?
--
The Kafka Pandemic:
http://thekafkapandemic.blogspot.com/2010/12/welcome-to-kafka-pandemic-two-forces_9182.html
I support
Bastien bastien.guerry at wikimedia.fr writes:
#+begin_src emacs-lisp
(when (looking-at org-bracket-link-analytic-regexp)
(match-string-no-properties 5))
#+end_src emacs-lisp
Thanks. Here is version 3 if the function, which is now able to count
words in link descriptions.
The code to
Hi,
I don't agree with changing '(match-end 0)' to '(match-beginning 2)'
however. For most latex macros, I don't want to count the words inside
the macro's arguments.
Maybe you're right. I rarely use latex, so I can't think of a use case
off the top of my head. Default no, optional yes
Samuel Wales samologist at gmail.com writes:
This looks great.
How hard do you think it would be to show how many words there are for
every subtree in a similar way to how clock durations are summed in
c-c c-x c-d and displayed in the subtree itself in reverse video?
I might leave that
Hi Paul,
Sounds useful to me. Is it appropriate to use the existing org function
`org-in-regexps-block-p'? Or `org-context'? (Not speaking from any
experience of using these functions I just noticed them.)
Dan
Christian Moe m...@christianmoe.com writes:
Hi,
This would be really neat to have
Hi Paul,
I have a small emacs project that creates a word-count mode and function
for use. It currently does not ignore sections like your proposal, but I think
that would be interesting functionality.
Mine does keep a running tally of adds/delete in the mode line. It also
lets you set a goal
Hi Benjamin,
Benjamin Beckwith bnbeckw...@gmail.com writes:
You can find it at:
https://github.com/bnbeckwith/wc-mode
Nice. How hard would it be to make it org-aware (i.e. don't count
syntactic elements in an org buffer)?
--
Bastien
___
Nice. How hard would it be to make it org-aware (i.e. don't count
syntactic elements in an org buffer)?
I use the how-many function to get the search. I'm not sure off the
top of my head, but there would be some rework required to make it
work properly and ignore those items.
I'll gladly
Christian Moe mail at christianmoe.com writes:
Forgot to add the code.
#+begin_src emacs-lisp
;; Adapted from code posted by Paul Sexton 2011-02-16 Wed 4:51am
;; - Everything now contained in one function
;; - Will count correct number of words inside Latex macro
(defun
Thanks for all the suggestions. Here is version 2.
Improvements:
- ignores source code blocks
- ignores tags and TODO keywords in headings
- ignores footnotes by default (option to force counting them)
- skips any sections tagged as not for export
- option to count words in latex macro arguments
That looks really good. My suggestion would be to modify it so that
'wc-count' can be redefined on a per-major-mode or per-buffer basis,
eg via a buffer-local variable 'wc-count-function'.
Then my org-word-count function could be slotted in fairly easily -
I would just have to modify it so that
13 matches
Mail list logo