[O] [Bug Report] wrong item is modified when multiple frames are open

2017-07-22 Thread Anders Papitto
I have org version 9.0.3 (and I've been noticing this the whole time I've
used org - only just now reporting it), and this is 100% consistent for me.

I often have two client frames open, connected to the same emacs daemon.
One frame will be displaying the org agenda (I'll call this Frame 1), while
the other (Frame 2) displays one of the backing org files (e.g. ~/org/
todo.org in my case).

When both are open, and I attempt to reschedule an entry through the agenda
view (so, I have Frame 1 focused, and I enter all my commands there - in
this case, with M-x org-agenda-schedule), everything initially appears to
be working. I get the minibuffer prompt to enter a new time, which is
correctly defaulted to the time of the entry I'm on (in Frame 1). However,
once I hit Enter to complete the action, it's applied as though I had Frame
2 focused. Whichever line my cursor is on in the todo.org buffer in Frame 2
is rescheduled, while the entry my cursor is on in Frame 1 is unmodified.

If I close Frame 2, everything works perfectly.

I assume that there's some logic that figures out where in the actual
backing org files to apply modifications that the user makes to entries in
the agenda view, and that logic is broken when the backing file is
displayed in another (unfocused) emacs frame.

I run emacs on a Linux (NixOS) system, using i3 4.13 as a window manager.

- Anders Papitto


Re: [O] Update to org-protocol-capture-html

2017-07-22 Thread Nikolay Kudryavtsev

Sorry for kind of resurrecting this thread.

I've been trying to get this working and I noticed that bookmarklets 
only work with a single slash after org-protocol.


Does not work:

javascript:location.href = 'org-protocol://capture-html ...

Does work:

javascript:location.href = 'org-protocol:/capture-html ...

Is this a bug in org-protocol-capture-html documentation or // before 
protocol should actually work?


Another somewhat minor thing of note and this applies to generic 
org-protocol documentation too - we probably want to give emacsclient 
with -n flag in all protocol documentation. There's no point in 
stockpiling client processes, right?


--
Best Regards,
Nikolay Kudryavtsev




[O] clocktable - can we display lower headline items alone?

2017-07-22 Thread Bala Ramadurai
Hello all,
  I have looked at many invoicing solutions in org-mode. I find them to be
a bit tedious for my needs.

I really like clocktable's simplicity. However, I would like to display,
say the 3rd level headline alone.

* foo 1
** foo 2
*** bar 1
:LOGBOOK:
CLOCK: [2017-07-21 Fri 12:00]--[2017-07-21 Fri 13:00] => 01:00
:END:


The corresponding clocktable is

#+TBLNAME: clocktable
#+BEGIN: clocktable :maxlevel 3 :scope ("todo.org") :block 2017-07
#+CAPTION: Clock summary at [2017-07-22 Sat 23:24], for July 2017.

| File | Headline | Time|   |   |
|--+--+-+---+---|
|  | ALL *Total time* | *01:00* |   |   |
|--+--+-+---+---|
| todo.org | *File time*  | *01:00* |   |   |
|  | foo 1| 01:00   |   |   |
|  | \_  foo2 | | 01:00 |   |
|  | \_bar 1  | |   | 01:00 |
#+END:

Is it possible for just the "bar 1" entry alone to show up on the table
without the higher level headlines in my org clocktable?

Thanks and have a great day!
Bala
-- 
http://balaramadurai.net


Re: [O] ANN: org-web-tools

2017-07-22 Thread Adam Porter
Eric S Fraga  writes:

> On Saturday, 22 Jul 2017 at 00:33, Grant Rettke wrote:
>> https://github.com/alphapapa/org-web-tools
>
> Thanks.  Installed it but realised I don't have pandoc on the system I'm
> currently using.  Back later when I get a chance to try this!

Thanks, I would appreciate any feedback.  It's based on
org-protocol-capture-html and some code from my personal config.  I
figured it was about time to refactor and share it, so I'm sure it needs
more work.




Re: [O] ANN: org-web-tools

2017-07-22 Thread Adam Porter
Eric S Fraga  writes:

> Sounds very useful.  Thanks.  Where have you uploaded this to?

LOL, all that effort to be thorough in the description and I forgot the
URL.  Thanks to Grant for covering for me.  :)




Re: [O] How to wavy/double underline an org-mode link?

2017-07-22 Thread Rasmus
Sharon Kimble  writes:

> I'm writing a document that is available in two formats, one a pdf file
> and the other a paper copy of it, and its been pointed out to me that
> some sentences don't seem to make sense in the paper copy. When I've
> looked at that particular sentence in the source document, an org-mode
> file, I see that the relevant section is actually an org-mode link.
>
> So what I'm looking for is something like a wavy underline under each of
> the org-mode links which will appear in both versions. But how do I do
> it please? It will need to be a generalised command, meaning that it can
> very easily be applied as there are 387 links to be adjusted!
>
> I've found that I can underline each org-mode link by putting '_' before
> and after each link, which is then exported to a latex file and built
> into the pdf and does work. But, I am already underlining each glossary
> entry in the main body of the text, so to differentiate I would like
> either a wavy underline, or a double underline. But how please?

Is the paper copy a printed version of the pdf (i.e. generated via latex)?
If so, I would guess that you could customize the way links are printed by
hyperref.  There are various ways to do this.  Wavy underlines might be a
fair bit of work, but normal underlines should be doable.  This is what I
use, possibly with a thinner line (<1).  I am not sure it will show when
printed, though.  There might be an option to keep them.

\hypersetup{pdfborderstyle={/S/U/W 1}}

Otherwise, you might be able to use something like the command in this
post.

https://tex.stackexchange.com/a/311143

Hope it helps,
Rasmus

-- 
May the Force be with you




Re: [O] How to wavy/double underline an org-mode link?

2017-07-22 Thread Eric S Fraga
On Saturday, 22 Jul 2017 at 10:35, Sharon Kimble wrote:

[...]

> I've found that I can underline each org-mode link by putting '_' before
> and after each link, which is then exported to a latex file and built
> into the pdf and does work. But, I am already underlining each glossary
> entry in the main body of the text, so to differentiate I would like
> either a wavy underline, or a double underline. But how please?

Have a look at org-link-parameters variable and this page for LaTeX
suggestions on how to double-underline:

http://tex.stackexchange.com/questions/249616/ddg#249617

-- 
: Eric S Fraga via Emacs 26.0.50, Org release_9.0.9-573-g09e612


signature.asc
Description: PGP signature


[O] How to wavy/double underline an org-mode link?

2017-07-22 Thread Sharon Kimble

I'm writing a document that is available in two formats, one a pdf file
and the other a paper copy of it, and its been pointed out to me that
some sentences don't seem to make sense in the paper copy. When I've
looked at that particular sentence in the source document, an org-mode
file, I see that the relevant section is actually an org-mode link.

So what I'm looking for is something like a wavy underline under each of
the org-mode links which will appear in both versions. But how do I do
it please? It will need to be a generalised command, meaning that it can
very easily be applied as there are 387 links to be adjusted!

I've found that I can underline each org-mode link by putting '_' before
and after each link, which is then exported to a latex file and built
into the pdf and does work. But, I am already underlining each glossary
entry in the main body of the text, so to differentiate I would like
either a wavy underline, or a double underline. But how please?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk  
Debian 9.0, fluxbox 1.3.5-2, emacs 25.1.1, org-mode 9.0.9


signature.asc
Description: PGP signature


Re: [O] ANN: org-web-tools

2017-07-22 Thread Eric S Fraga
On Saturday, 22 Jul 2017 at 00:33, Grant Rettke wrote:
> https://github.com/alphapapa/org-web-tools

Thanks.  Installed it but realised I don't have pandoc on the system I'm
currently using.  Back later when I get a chance to try this!

-- 
: Eric S Fraga via Emacs 26.0.50, Org release_9.0.9-573-g09e612


signature.asc
Description: PGP signature