how to highlight the background of my current paragraph?
How can I set the background of my current paragraph to 'dark gray', i.e. to highlight it, and the highlighting to follow whichever paragraph I'm currently viewing/writing please? I've been googling it but haven't found anything suitable so far. Thanks Sharon. -- A taste of linux = http://www.sharons.org.uk TGmeds = http://www.tgmeds.org.uk DrugFacts = https://www.drugfacts.org.uk Debian 10.1, fluxbox 1.3.7, emacs 26.3, org 9.2.6 signature.asc Description: PGP signature
Re: change to mail-list subject line?
Thanks. Just found that now.
Re: how to highlight the background of my current paragraph?
I use =global-hl-line-mode= from the hl-line package. Highlights only the current line, but I find it quite useful. Here's what I have in my config: (use-package hl-line :defer nil :config (global-hl-line-mode)) Since I use =visual-line-mode= as well in my org documents, the effect is to highlight the whole current paragraph (which is a single line in the file). Hope this helps, --Diego On Thu, Oct 31, 2019 at 8:36 AM Sharon Kimble wrote: > > How can I set the background of my current paragraph to 'dark gray', > i.e. to highlight it, and the highlighting to follow whichever paragraph > I'm currently viewing/writing please? > > I've been googling it but haven't found anything suitable so far. > > Thanks > Sharon. > -- > A taste of linux = http://www.sharons.org.uk > TGmeds = http://www.tgmeds.org.uk > DrugFacts = https://www.drugfacts.org.uk > Debian 10.1, fluxbox 1.3.7, emacs 26.3, org 9.2.6 >
Org mode for meeting minutes
Hi all I'd like to revisit a very old thread[1] where Adam Spiers asks if there is support in Org mode for 1. Allow *fast* production of meeting agendas and minutes, exportable in a good-looking legible format which non-org readers can digest. 2. Allow minutes to be taken as the meeting progresses, minimising the amount of work required after the meeting. 3. Allow actions to be captured and then automatically extracted into a simple tabulated report which clearly shows actions grouped by owner. 4. Track progress of actions *after* the minutes have been issued. He goes on to say that org mode handles (1) and (2) just fine, but he wasn't sure about (3) and (4). His mail is from 2008 and a lot has happened in the mean time. I would suggest that today (1) and (2) can be handled with normal org export or even pandoc. Inline tasks[2] help a lot to add, well inline tasks. For (3) and (4) he mentions a dynamic block that could collect all action items. I never found that dynamic block he mentions, so I hacked one up (which was suprisingly easy). I haven't packaged it but the gist of it is below: ``` elisp (require 'org) (require 'dash) (defun org-actionitems-extract-entry () (-let* ((entries (org-entry-properties)) ((&alist "ITEM" "TODO" "DEADLINE") entries)) (list ITEM TODO DEADLINE))) (defun org-dblock-write:actionitems (params) (let ((match (or (plist-get params :match) "/+TODO"))) (insert-before-markers "| What | Who | When |\n") (insert-before-markers "|-\n") (let* ((tasks (org-map-entries 'org-actionitems-extract-entry match)) (rows (-map (lambda (task) (->> task (-map (lambda (item) (or item ""))) (apply 'format "| %s | %s | %s |"))) tasks)) (table (string-join rows "\n"))) (insert-before-markers table)) (org-table-align))) ``` The idea is that you use type todos using the people involved at the meeting. Below is an example how this could look: ``` org #+title: Meeting minutes #+TYP_TODO: Fred Sara Lucy Mike | DONE ** Present at meeting - [X] Fred - [X] Sara - [X] Lucy ** Agenda - Reports from the sub teams - Discussion ** Notes *** Reports from the sub teams - The order has arrived *** Fred Check if the order is complete DEADLINE: <2019-11-04 Mo> *** END - The next talk is scheduled *** Mike Organize a speaker DEADLINE: <2019-11-12 Di> *** END * Actions #+BEGIN: actionitems :match "/Fred|Sara|Lucy|Mike" | What | Who | When| |+--+-| | Check if the order is complete | Fred | <2019-11-04 Mo> | | Organize a speaker | Mike | <2019-11-12 Di> | #+END: ``` Before I go on with this I'd like to know 1. Is the worg page[3] the state of the art in taking meeting minutes with org mode? 2. Is it worth packaging this code snippet or should I try to submit it to org mode proper? Any thoughts on this or other ideas very welcome! Thanks, Christian Footnotes: [1] https://lists.gnu.org/archive/html/emacs-orgmode/2008-02/msg00117.html [2] https://code.orgmode.org/bzg/org-mode/src/master/lisp/org-inlinetask.el [3] https://orgmode.org/worg/org-tutorials/org-meeting-tasks.html
Re: Anyone use 3rd party search tools w/org-mode?
On Wednesday, 30 Oct 2019 at 23:17, Jean Louis wrote: > Me using `M-x grep' +1 I frequently do find ~ -name '*.org'| xargs grep -l to search all my org files for (and using variants of grep like egrep for full regex). Have never found the need for more than this (for my uses). YMMV, of course. -- Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-552-g8c5a78
Re: Org mode for meeting minutes
On Thursday, 31 Oct 2019 at 15:03, Christian Egli wrote: > His mail is from 2008 and a lot has happened in the mean time. Although a lot has happened in the meantime, I've not seen anything pass by which addresses minutes of meetings and tracking actions. I used to use org to take minutes but haven't done so in a very long time (advantage of having somebody else do it for me now ;-)). What you've done with an active dblock (and TODO states being the names of people!) looks good and should definitely be put on Worg at the very least. -- Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-552-g8c5a78
Re: how to highlight the background of my current paragraph?
On Thursday, 31 Oct 2019 at 08:52, Diego Zamboni wrote: > Since I use =visual-line-mode= as well in my org documents, the effect is > to highlight the whole current paragraph (which is a single line in the > file). In case you find this useful, I found that highlighting the whole paragraph was too much; I want just the actual "physical" line where point is highlighted, whether it continues on or not. I do this: #+begin_src emacs-lisp (defun esf/get-visual-line-range () (let (b e) (save-excursion (beginning-of-visual-line) (setq b (point)) (end-of-visual-line) (setq e (point)) ) (cons b e))) (setq hl-line-range-function #'esf/get-visual-line-range) #+end_src Of course, this is not what the OP wanted so excuse the diversion. -- Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-552-g8c5a78
Re: how to highlight the background of my current paragraph?
Hi Eric, Nice! Thanks for the tip :) --Diego On Thu, Oct 31, 2019 at 4:56 PM Fraga, Eric wrote: > On Thursday, 31 Oct 2019 at 08:52, Diego Zamboni wrote: > > Since I use =visual-line-mode= as well in my org documents, the effect is > > to highlight the whole current paragraph (which is a single line in the > > file). > > In case you find this useful, I found that highlighting the whole > paragraph was too much; I want just the actual "physical" line where > point is highlighted, whether it continues on or not. I do this: > > #+begin_src emacs-lisp > (defun esf/get-visual-line-range () > (let (b e) > (save-excursion > (beginning-of-visual-line) > (setq b (point)) > (end-of-visual-line) > (setq e (point)) > ) > (cons b e))) > (setq hl-line-range-function #'esf/get-visual-line-range) > #+end_src > > Of course, this is not what the OP wanted so excuse the diversion. > > -- > Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-552-g8c5a78 >
Re: how to highlight the background of my current paragraph?
(sorry, further hijacking this thread) Eric: I made a slight improvement to your code (see the =setq e=) so that the empty space at the end of the line gets highlighted as in the default behavior instead of only highlighting the part of the line that contains text: #+begin_src emacs-lisp (defun esf/get-visual-line-range () (let (b e) (save-excursion (beginning-of-visual-line) (setq b (point)) (end-of-visual-line) (setq e (+ 1 (point))) ) (cons b e))) #+end_src --Diego On Thu, Oct 31, 2019 at 5:03 PM Diego Zamboni wrote: > Hi Eric, > > Nice! Thanks for the tip :) > > --Diego > > > On Thu, Oct 31, 2019 at 4:56 PM Fraga, Eric wrote: > >> On Thursday, 31 Oct 2019 at 08:52, Diego Zamboni wrote: >> > Since I use =visual-line-mode= as well in my org documents, the effect >> is >> > to highlight the whole current paragraph (which is a single line in the >> > file). >> >> In case you find this useful, I found that highlighting the whole >> paragraph was too much; I want just the actual "physical" line where >> point is highlighted, whether it continues on or not. I do this: >> >> #+begin_src emacs-lisp >> (defun esf/get-visual-line-range () >> (let (b e) >> (save-excursion >> (beginning-of-visual-line) >> (setq b (point)) >> (end-of-visual-line) >> (setq e (point)) >> ) >> (cons b e))) >> (setq hl-line-range-function #'esf/get-visual-line-range) >> #+end_src >> >> Of course, this is not what the OP wanted so excuse the diversion. >> >> -- >> Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-552-g8c5a78 >> >
Re: how to highlight the background of my current paragraph?
On Thursday, 31 Oct 2019 at 17:10, Diego Zamboni wrote: > Eric: I made a slight improvement to your code (see the =setq e=) so that > the empty space at the end of the line gets highlighted as in the default > behavior instead of only highlighting the part of the line that contains > text: Thanks for this. Interesting effect. I had to add ":extend t" to the hl-line face (which I customized a long time ago now) to get the extension to the end of the window. However, although the background colour now goes to the end, other effects do not (underline and overline). Something for the Emacs development mailing list where I know there has been quite a bit of discussion on the :extend feature. Thanks again, eric PS - I've removed Sharon from the CC list given our hijacking of the thread! :-) -- Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-552-g8c5a78
Re: how to highlight the background of my current paragraph?
So, I updated Emacs to latest git version and the extended face works for all attributes. However, it brings in other edge effects: 1. the extension backwards wraps to the previous line in some cases and 2. my cursor disappears if it is past the last character on the line when using a block cursor in evil mode. So I'm back to what I had before until Emacs stabilises a bit in terms of face extensions. And enough off-topic discussion, I think! Apologies to all for the noise. -- Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-552-g8c5a78
Re: Org mode for meeting minutes
Hello, I think you can achieve that table with existing functionality. (setq org-agenda-overriding-columns-format "%ITEM %TODO %DEADLINE") And then agenda column view (C-c C-x C-c) shows a similar output. I think similar outputs and methods could be used with :property: keywords too for adding follow-up dates to task, team-members, effort estimates, etc. -k.
Re: change to mail-list subject line?
not sure if that works in gmail, however. maybe it's possible to add an "o" tag [or whatever gmail calls it], but i'm not sure if there is a complete and reliable header parser. On 10/31/19, adam wrote: > > Thanks. Just found that now. > > > > > -- The Kafka Pandemic What is misopathy? https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html The disease DOES progress. MANY people have died from it. And ANYBODY can get it at any time.