[O] bug#18870: bug#18870: \emsp and alignment in org clock report

2015-03-19 Thread Leo Ufimtsev
Interesting, I didn't know that. Thank you for pointing it out.

Maybe then just go along with the variable that would give people the choice, 
(I wouldn't mind '\emsp' being the default, so long as it can be changed to 
something else).

Thoughts?

Leo Ufimtsev | Intern Software Engineer @ Eclipse Team

- Original Message -
From: Subhan Michael Tindall subh...@familycareinc.org
To: Leo Ufimtsev lufim...@redhat.com, Nicolas Goaziou 
m...@nicolasgoaziou.fr
Cc: Ben Finney ben+em...@benfinney.id.au, 18...@debbugs.gnu.org
Sent: Thursday, March 19, 2015 12:48:40 PM
Subject: [O] bug#18870: \emsp and alignment in org clock report

Agendas can  do get exported.  Current agenda buffer can be exported using 
org-agenda-write to several formats. Custom agendas can be assigned file 
name(s) and automatically export to one or more file types. 

See: http://orgmode.org/manual/Exporting-Agenda-Views.html


 -Original Message-
 From: emacs-orgmode-bounces+subhant=familycareinc@gnu.org
 [mailto:emacs-orgmode-bounces+subhant=familycareinc@gnu.org] On
 Behalf Of Leo Ufimtsev
 Sent: Wednesday, March 18, 2015 2:10 PM
 To: Nicolas Goaziou
 Cc: Ben Finney; 18...@debbugs.gnu.org
 Subject: [O] bug#18870: bug#18870: \emsp and alignment in org clock report
 
 I can't speak for the technical details,
 
 but I get the sense that \emsp isn't the right thing to be displayed on an
 *agenda clock report* because agenda clock reports don't get exported
 (afaik).
 
 Even \__ is more preffered than an \emsp, as \emsp is not 'easy to read' per
 se.
 
 Since there are clearly difference in opinions, maybe a solution is to have a
 variable like 'org-clockreport-indentation-character' which defaults to \emsp
 for correct export, but could be changed to spaces or '\__' by the user. This
 would give people the choice between better export or better text-buffer
 display.
 
 Thoughts?
 
 Leo Ufimtsev | Intern Software Engineer @ Eclipse Team
 
 - Original Message -
 From: Nicolas Goaziou m...@nicolasgoaziou.fr
 To: Ben Finney ben+em...@benfinney.id.au
 Cc: 18...@debbugs.gnu.org
 Sent: Tuesday, March 17, 2015 6:07:03 PM
 Subject: [O] bug#18870: \emsp and alignment in org clock report
 
 Ben Finney ben+em...@benfinney.id.au writes:
 
  The behaviour described – displaying “\emsp” instead of space
  characters – is a regression. That's what is being reported in this
  bug.
 
 There wasn't space characters in the first place, but \___ constructs.
 See commit bacfe5b4f7244eaf151f4e26a1d94dd8f66c1d19.
 
 Also, the bug is about table alignment when `org-pretty-entities' is used.
 
  Having some space character is not desirable as it would just move
  the problem the other way around (i.e., indentation would not appear
  during export)
 
  So the U+2003 EM SPACE character should be translated *during export*,
  and not be literally in the displayed text.
 
 No, because it means this character should be treated specially by Org (e.g.,
 LaTeX just ignores it so it needs to be turned into a space there).
 
 This is not a good idea, especially considering it is an invisible character.
 
  IS the above suggestion an acceptable solution?
 
 No, it isn't.
 
 An acceptable solution would be a character or a string that looks decent
 both in the buffer and in an exported document, without further processing.
 
  Note that this is not LaTeX-specific markup. This is called an
  entity, and is correctly exported in various back-ends.
 
  But not for display, which is the bug to be fixed here.
 
 Actually, it works more or less correctly for display on GUI with a non-nil 
 `org-
 pretty-entities', or calling `org-toggle-pretty-entities'.
 
 Regards,
 
 
 
 
 


This message is intended for the sole use of the individual and entity to which 
it is addressed and may contain information that is privileged, confidential 
and exempt from disclosure under applicable law. If you are not the intended 
addressee, nor authorized to receive for the intended addressee, you are hereby 
notified that you may not use, copy, disclose or distribute to anyone the 
message or any information contained in the message. If you have received this 
message in error, please immediately advise the sender by reply email and 
delete the message.  Thank you.





Re: [O] Internal Links with Spaces

2015-03-09 Thread Leo Ufimtsev
On the side, if of any help: 

I generally use ID's for linking to headings. 
The benefit is that headings can be re-named safley and links still work. 

There is an org-module called 'org-id', which when enabled in conjunction with 
the variable 
below allows you to automatically generate a unique id for the heading when you 
press C-c l and link to it with C-c C-l. 

This exports nicley also. E.g here is a unique anchor link to one of those 
unique ID's: 
http://leoufimtsev.github.io./org/swt-dev.html#ID-a636a35d-6100-4f6a-974c-6bbeedc0f2a2
 

(org-id-link-to-org-use-id (quote create-if-interactive-and-no-custom-id)) 

'(org-modules 
(quote 
(org-id ... 

Leo Ufimtsev | Intern Software Engineer @ Eclipse Team 


- Original Message -

From: Jacob Gerlach jacobgerl...@gmail.com 
To: Org-mode emacs-orgmode@gnu.org 
Sent: Monday, March 9, 2015 9:05:40 AM 
Subject: [O] Internal Links with Spaces 

Hi List, 

I'd like to re-raise the issue discussed here . In short, storing and inserting 
an internal link to a headline containing spaces using org-store-link and 
org-insert-link causes export to fail because the space is hexified into %20. 

It seems like the thread died because hexifying links to support external URL's 
conflicted with internal links containing spaces with no clear path forward. 

Am I missing further discussion where this was resolved? 

If not, is a fix still possible or is this a won't fix because of the clash 
with external links? 

If it's won't fix, is it possible for me to advise org-insert-link (or some 
other function) or configure some other individual hack to work around the 
problem? I never use org-insert-link for URL's, so I'd be glad to blindly stop 
hexifying even if it breaks that functionality. 

Regards, 
Jake 



Re: [O] lots of CLOCK lines displayed when opening a TODO

2015-03-12 Thread Leo Ufimtsev
.


 
- [X] investigate pre-launch warning messages?
  - [X] Seem to occur. Try running snippet without printing messages.

- [X] pass criteria:
  - [X] All text is red on gtk2/gtk3. 

- [ ] weed out PRE_GTK3 and styleIsReadOnly








Let me know if you have any questions.


Leo Ufimtsev | Intern Software Engineer @ Eclipse Team

- Original Message -
From: Xavier Maillard xav...@maillard.im
To: Leo Ufimtsev lufim...@redhat.com
Cc: Rainer Stengele rainer.steng...@online.de, emacs-orgmode@gnu.org
Sent: Thursday, March 12, 2015 1:47:32 AM
Subject: Re: [O] lots of CLOCK lines displayed when opening a TODO

Hello Leo,

Leo Ufimtsev lufim...@redhat.com writes:

 I log everything into the logbook. Clocktimes, state changes, dated notes 
 when I put an item on hold.
 I found it too tedious to move things around.

Would you mind producing a typical TODO to see how it looks like ?
This is a topic where I am not (yet) very comfortable with. I tend to
put notes and so on here and there in my TODOs and my todo list is
slowly going crappy :)

 (org-drawers
(quote
 (FURTHER_READING THEORY TASKS INFO TIP NOTE EG LINKS 
 APPENDIX DETAILS PROPERTIES CLOCK LOGBOOK RESULTS TASKARCHIVE 
 SOURCE TROUBLESHOOTING)))

OMG ! All of them are used ?

Regards
-- Xavier.



[O] Data format for keeping track of weekly yearly stats?

2015-03-12 Thread Leo Ufimtsev
Hello, 

I'm new to Tables/formulas.

I started using a table with formulas to keep track of productivity, # of hours 
of sleep etc.. 

I have something like this:
| Day  |  Dev |  Leo |@ 9 | Sleep |
|--+--+--++---|
| [2015-03-04 Wed] | 3:01 | 3:55 |  1 |  8:00 |
| [2015-03-05 Thu] | 4:00 | 0:52 |  0 |  7:39 |
| [2015-03-06 Fri] | 4:03 | 0:00 | .5 |  8:00 |
| [2015-03-09 Mon] | 5:09 | 0:00 |  0 |  8:15 |
| [2015-03-10 Tue] | 3:14 | 1:12 | .5 |  7:25 |
| [2015-03-11 Wed] | 4:55 | 0:53 | .5 |  7:30 |
| [2015-03-12 Thu] |  |  |  0 |  7:24 |
| [2015-03-13 Fri] |  |  ||   |
|--+--+--++---|
| March|  3.0 |  3.9 | 0.42857143 |   7.8 |
#+TBLFM: 
@$4=vmean(@I..@II)::@$5=vmean(@I..@II);t%.1f::@$2=vmean(@I$2);t%.1f::@$3=vmean(@I$3);t%.1f

At the bottom I have averages for each column. (in the future I'd like to make 
a correlation analysis between sleep and productivity).

Now, I would like weekly *and* yearly totals. I can't seem to come up with a 
solution that wouldn't involve a lot of hard-coding or insertion of formulas by 
hand.

Any ideas? Do you think org-collector with two collector tables might be a 
better solution for this sort of requirement?

Thank you

Leo Ufimtsev | Intern Software Engineer @ Eclipse Team





Re: [O] lots of CLOCK lines displayed when opening a TODO

2015-03-12 Thread Leo Ufimtsev
I've been down this road before,

I tried to add a hook to org-cycle to make it expand log-book drawers, but 
wasn't very successful in the past:
http://emacs.stackexchange.com/questions/9743/expand-logbook-on-2nd-tab-press-hook-for-2nd-org-cycle

If anyone has working hack for this, it'd be cool :-)

Leo Ufimtsev | Intern Software Engineer @ Eclipse Team

- Original Message -
From: Nick Dokos ndo...@gmail.com
To: emacs-orgmode@gnu.org
Sent: Thursday, March 12, 2015 8:14:09 AM
Subject: Re: [O] lots of CLOCK lines displayed when opening a TODO

Loris Bennett loris.benn...@fu-berlin.de writes:


 If I jump from the agenda entry 'Fun', I get something like the
 following:

 * Stuff
 ** Fun...
 ** Boring...

 If I press 'tab', I get

 * Stuff
 ** Fun
:LOGBOOK:...
:OLDLOGS:...
 ** Boring

 If I press 'tab' again, nothing happens.  If I press 'tab' a third time,
 the heading fold back and I get

 * Stuff
 ** Fun...
 ** Boring...

 again.  I'm not sure why the second press performs no action.

Only because there is no subheading under Fun: if you had one, the
second tab would open it.

 In any
 case, I only see the contents of the LOGBOOK draw if I move onto it and
 then press 'tab' again.  So quite different from the behaviour you get.

This is the behaviour I would expect.

-- 
Nick





Re: [O] Data format for keeping track of weekly yearly stats?

2015-03-13 Thread Leo Ufimtsev
This looks like the promised land here. SQL aggregation in org-mode omg X-D!!

Pretty much what I was looking for. Thank you so much for the link.

Leo Ufimtsev | Intern Software Engineer @ Eclipse Team

- Original Message -
From: Thierry Banel tbanelweb...@free.fr
To: emacs-orgmode@gnu.org
Sent: Friday, March 13, 2015 3:06:18 AM
Subject: Re: [O] Data format for keeping track of weekly  yearly stats?

Hi Leo

You may want to have a look at org-aggregate
It provides partial sums, means, and so on,
and also correlation between two columns.

Source code and documentation here:
  https://github.com/tbanel/orgaggregate

Also available as an Emacs package on Melpa:
  (require 'package)
  (add-to-list 'package-archives
'(melpa . http://melpa.milkbox.net/packages;)
t)
  (package-initialize)
  M-x package-list-packages
  install orgtbl-aggregate

Thierry 


Le 12/03/2015 15:24, Leo Ufimtsev a écrit :
 Hello, 

 I'm new to Tables/formulas.

 I started using a table with formulas to keep track of productivity, # of 
 hours of sleep etc.. 

 I have something like this:
   | Day  |  Dev |  Leo |@ 9 | Sleep |
   |--+--+--++---|
   | [2015-03-04 Wed] | 3:01 | 3:55 |  1 |  8:00 |
   | [2015-03-05 Thu] | 4:00 | 0:52 |  0 |  7:39 |
   | [2015-03-06 Fri] | 4:03 | 0:00 | .5 |  8:00 |
   | [2015-03-09 Mon] | 5:09 | 0:00 |  0 |  8:15 |
   | [2015-03-10 Tue] | 3:14 | 1:12 | .5 |  7:25 |
   | [2015-03-11 Wed] | 4:55 | 0:53 | .5 |  7:30 |
   | [2015-03-12 Thu] |  |  |  0 |  7:24 |
   | [2015-03-13 Fri] |  |  ||   |
   |--+--+--++---|
   | March|  3.0 |  3.9 | 0.42857143 |   7.8 |
   #+TBLFM: 
 @$4=vmean(@I..@II)::@$5=vmean(@I..@II);t%.1f::@$2=vmean(@I$2);t%.1f::@$3=vmean(@I$3);t%.1f

 At the bottom I have averages for each column. (in the future I'd like to 
 make a correlation analysis between sleep and productivity).

 Now, I would like weekly *and* yearly totals. I can't seem to come up with a 
 solution that wouldn't involve a lot of hard-coding or insertion of formulas 
 by hand.

 Any ideas? Do you think org-collector with two collector tables might be a 
 better solution for this sort of requirement?

 Thank you

 Leo Ufimtsev | Intern Software Engineer @ Eclipse Team









Re: [O] org-insert-subheading doesn't work well with colons

2015-03-24 Thread Leo Ufimtsev
Thank you for fix.

Leo Ufimtsev | Intern Software Engineer @ Eclipse Team

- Original Message -
From: Nicolas Goaziou m...@nicolasgoaziou.fr
To: Leo Ufimtsev lufim...@redhat.com
Cc: emacs-orgmode@gnu.org
Sent: Monday, March 23, 2015 6:41:04 PM
Subject: Re: [O] org-insert-subheading doesn't work well with colons

Hello,

Leo Ufimtsev lufim...@redhat.com writes:

 When I have a plain list entry like this and issue org-insert-heading:

 - Meaning of life ::

 I expect something like this:

 - Meaning of life ::
 - 

It depends on where point is. It should be so past the colons, indeed.
Before them, it is

  - |:: 
  - Meaning of life ::

where | is the point.

This should be fixed in 5a550938ce806ee88f62e6df774af47df83312a4. Thank
you


Regards,

-- 
Nicolas Goaziou




Re: [O] refiling with helm

2015-03-02 Thread Leo Ufimtsev
I found that changing the default refiling targets made refiling useful for me. 

By default, only first level headings show up. 

I have a customized config so that all my org files show up: 



(setq myvar/org-dir ~/git/LeoUfimtsev.github.io/org/) 

(setq myvar/org-files (file-expand-wildcards (concat myvar/org-dir *.org))) 
...customize..: 


'(org-refile-targets 
(quote 
((org-agenda-files :maxlevel . 10) 
(nil :maxlevel . 10) 
(myvar/org-files :maxlevel . 10 







My notes are somewhat cryptic, but here is a link if of use: 

http://leoufimtsev.github.io./org/emacs.html#sec-14-16-3 



Leo Ufimtsev | Intern Software Engineer @ Eclipse Team 

- Original Message -

From: Xebar Saram zelt...@gmail.com 
To: org mode emacs-orgmode@gnu.org 
Sent: Saturday, February 28, 2015 1:19:17 AM 
Subject: [O] refiling with helm 

Hi guys 

I was wondering if anyone uses helm for refiling org capture data. and if so 
can anyone share his methods/setup? 

googling for it didnt yield to many results (especially for people like me who 
dont know to code :)) 

thx 

Z 



[O] Notifications-notify for org-mode scheduled items?

2015-03-02 Thread Leo Ufimtsev
Hello folks,

I would like to receive desktop notifications (1* e.g below) for scheduled 
items. 
E.g if I schedule like this:

* Make Coffee 
  SCHEDULED: 2015-03-02 Mon 01:30

Then I would like a desktop notification to pup up at 1:30 telling me to make 
coffee.

I saw the org-notify package, but besides this post:
http://permalink.gmane.org/gmane.emacs.orgmode/59339
I didn't see any documentation on it, making it somewhat tricky to configure. 

I'd be willing to spend time figuring out the package, but I'm wondering, has 
someone got something like this to work already?
And if so, would you be willing to share a 'high-level' overview? (I'd be happy 
to figure out the details).

Thank you


1* I get a desktop notification if I run this command:
(notifications-notify
   :title Title
   :body This is bimportant/b.
   :actions '(Confirm I agree Refuse I disagree)
   :on-action 'my-on-action-function
   :on-close 'my-on-close-function)
ref:
https://www.gnu.org/software/emacs/manual/html_node/elisp/Desktop-Notifications.html


Leo Ufimtsev | Intern Software Engineer @ Eclipse Team



Re: [O] clocktables include \emsp - how to get rid of that?

2015-03-05 Thread Leo Ufimtsev
Hello Rainer, 

I think this should be customiziable. 

I hacked around it using an advise function:

; remove the emsp from clock reports 
; 
http://emacs.stackexchange.com/questions/9528/is-it-possible-to-remove-emsp-from-clock-report-but-preserve-indentation/9544#9544
(defun my-org-clocktable-indent-string (level)
  (if (= level 1)
  
(let ((str -)) ;first char, e.g can be |
  (while ( level 2)
(setq level (1- level)
  str (concat str -))) ;fillers, e.g can be ---
  (concat str   ;end e.g can be 

(advice-add 'org-clocktable-indent-string :override 
#'my-org-clocktable-indent-string)


Now my reports look like this:
| leo.org | *File time* 
 | *11:20* |  |  |
| | [#C] 1 Hour Leo work
 |0:12 |  |  |
| | [#C] Emacs  
 |   10:45 |  |  |
| | - [#B] Emacs notification system
 | | 0:30 |  |
| | - [#B] Figure out capture + refiling.   
 | | 1:25 |  |
| | - [#B] Babel / dynamic language (ditaa/Grahviz/plantUML) execution  
 | | 0:55 |  |
| | - [#A] Appending time for pomodoros doesn't function properly in 
LOGBOOK drawers.| | 0:44 |  
|
| | - EFin  
 | | 3:47 |  |
| | -- [#A] Investigate diary logging. (find blog entry on this).   
 | |  | 1:35 |
| | -- [#B] Pomodoro: add title of current task to menu. Fix spacing.   
 | |  | 0:37 |
| | Learning
 |0:23 |  |  |
| | - UML   
 | | 0:23 |  |

Hope it helps.

Leo Ufimtsev | Intern Software Engineer @ Eclipse Team

- Original Message -
From: Rainer Stengele rainer.steng...@online.de
To: emacs-orgmode@gnu.org
Sent: Wednesday, March 4, 2015 11:42:20 AM
Subject: [O] clocktables include \emsp - how to get rid of that?

Hi,

I am getting \emsp in my clocktable reports.
I use

#+BEGIN: clocktable :maxlevel 4 :fileskip0 t :tcolumns 0 :level nil :scope 
agenda-with-archives :timestamp nil :block 2015-03 :step day :link t  
:stepskip0 t
#+END:

to create these clocktable


Daily report: [2015-03-02 Mo]
| File  | Headline  
   |   Time |
|---+--+|
|   | ALL *Total time*  
   | *9:00* |
|---+--+|
| Projectmanagement.org | *File time*   
   | *2:45* |
|   | \emsp [[..][Project Managament: Weekly meetings 
etc.]]   |   2:45 |
|   | \emsp\emsp [[..][TODO *00 - Project Managament -...]] 
   |   2:45 |

Anybody has an idea where this comes from and how to get rid of it?

Thank you.
Regards, Rainer




Re: [O] refiling with helm

2015-03-05 Thread Leo Ufimtsev
Hello Xebar, 

I had the same issue. I used the file-expand-wildcards function to make a list 
of all my org-mode files. 

The only thing is that I have to reload my .emacs when adding org files for 
refile to work properly. 



(setq myvar/org-dir ~/git/LeoUfimtsev.github.io/org/) 

(setq myvar/org-files (file-expand-wildcards (concat myvar/org-dir *.org))) 
...customize..: 


'(org-refile-targets 
(quote 
((org-agenda-files :maxlevel . 10) 
(nil :maxlevel . 10) 
(myvar/org-files :maxlevel . 10 





Leo Ufimtsev | Intern Software Engineer @ Eclipse Team 

- Original Message -

From: Xebar Saram zelt...@gmail.com 
To: Stefan-W. Hahn stefan.h...@s-hahn.de 
Cc: Kyle Meyer k...@kyleam.com, org mode emacs-orgmode@gnu.org 
Sent: Thursday, March 5, 2015 12:50:29 AM 
Subject: Re: [O] refiling with helm 

thank you all, most of the code here was overkill for me (im very un-technical 
:)) but i found the last bit of code: 
 (setq org-outline-path-complete-in-steps nil) 
 
 (require 'helm) 
 (require 'helm-config) 
 (helm-mode 1) 

to work great for me 

the only problem remaining is that it seems it does not give me refile option 
for all my agenda files just a few (which i cant understand why it chooses 
these). i have this in my refile config: 

(setq org-goto-max-level 10) 

also i have this in my config 

(setq org-agenda-files '(~/org/files/agenda/)) 

what am i missing here? 

thx alot! 

z 



On Wed, Mar 4, 2015 at 4:54 PM, Stefan-W. Hahn  stefan.h...@s-hahn.de  wrote: 


Mail von Kyle Meyer, Sun, 01 Mar 2015 at 11:17:47 -0500: 
 Stefan-W. Hahn  stefan.h...@s-hahn.de  wrote: 

 So, given the default values, I think the only setup needed to get 
 generic helm completion is 
 
 (setq org-outline-path-complete-in-steps nil) 
 
 (require 'helm) 
 (require 'helm-config) 
 (helm-mode 1) 

Yes, you are right. I tested it and it worked. 

Thanks 
Stefan 

-- 
Stefan-W. Hahn It is easy to make things. 
It is hard to make things simple. 







Re: [O] lots of CLOCK lines displayed when opening a TODO

2015-03-05 Thread Leo Ufimtsev
My Log book drawers are hidden when entries expand. 

But I mapped my C-S-TAB to expand logbook drawers so I can peak into them. 
(see snippet below).

I log everything into the logbook. Clocktimes, state changes, dated notes when 
I put an item on hold.
I found it too tedious to move things around. 

Since the logbook is hidden by default, it doesn't get into the way of the rest 
of the task.

(defun my/expand-logbook-drawer ()
 Expand the closest logbook drawer
 (interactive)
 (search-forward :LOGBOOK:)
 (org-cycle)
)

(global-set-key (kbd C-iso-lefttab) 'my/expand-logbook-drawer)


-- Other drawer related configs:
(local-set-key (kbd C-:) 'org-insert-drawer)
(org-clock-into-drawer LOGBOOK)
(org-log-into-drawer t)

(org-drawers
   (quote
(FURTHER_READING THEORY TASKS INFO TIP NOTE EG LINKS 
APPENDIX DETAILS PROPERTIES CLOCK LOGBOOK RESULTS TASKARCHIVE 
SOURCE TROUBLESHOOTING)))

Leo Ufimtsev | Intern Software Engineer @ Eclipse Team

- Original Message -
From: Rainer Stengele rainer.steng...@online.de
To: emacs-orgmode@gnu.org
Sent: Wednesday, March 4, 2015 10:46:08 AM
Subject: [O] lots of CLOCK lines displayed when opening a TODO

Hi!

I have lots of weekly reoccuring meetings and do collect the clocked time for 
each meeting.
After a while I have lots of CLOCK lines. Opening the TODO shows all the CLOCK 
lines shown, but my focus is on text below the CLOCK lines.
I started to use multiple LOGBOOK blocks in order to hide older CLOCK lines. 
Seems to work fine with clocking etc.
My requirement would be to only open the first LOGBOOK block when opening the 
headline (TODO).
That way I could hide older entries from using screen space and instead see the 
text below immediately.

Anybody else uses multiple LOGBOOK blocks that way? Other ideas how to work?
Any chance to get this regarded as an enhancement idea?

Thank you.
Regards, Rainer


* TODO [#A] Weekly Services - Action Items
:LOGBOOK:
CLOCK: [2015-03-04 Mi 10:15]--[2015-03-04 Mi 11:30] =  1:15
CLOCK: [2015-03-02 Mo 11:00]--[2015-03-02 Mo 12:15] =  1:15
:END:
:LOGBOOK:
CLOCK: [2015-02-25 Mi 10:00]--[2015-02-25 Mi 11:00] =  1:00
CLOCK: [2015-02-16 Mo 10:00]--[2015-02-16 Mo 11:15] =  1:15
CLOCK: [2015-02-06 Fr 09:30]--[2015-02-06 Fr 09:45] =  0:15
CLOCK: [2015-02-06 Fr 10:00]--[2015-02-06 Fr 11:00] =  1:00
CLOCK: [2015-01-23 Fr 13:45]--[2015-01-23 Fr 14:00] =  0:15
CLOCK: [2015-01-22 Do 14:30]--[2015-01-22 Do 14:45] =  0:15
CLOCK: [2015-01-22 Do 13:45]--[2015-01-22 Do 14:00] =  0:15
CLOCK: [2015-01-21 Mi 09:45]--[2015-01-21 Mi 10:45] =  1:00
CLOCK: [2015-01-20 Di 09:45]--[2015-01-20 Di 10:00] =  0:15
CLOCK: [2015-01-19 Mo 16:30]--[2015-01-19 Mo 16:45] =  0:15
CLOCK: [2015-01-19 Mo 13:15]--[2015-01-19 Mo 15:00] =  1:45
CLOCK: [2015-01-19 Mo 10:00]--[2015-01-19 Mo 11:15] =  1:15
CLOCK: [2014-12-15 Mo 10:00]--[2014-12-15 Mo 10:30] =  0:30
CLOCK: [2014-12-03 Mi 10:30]--[2014-12-03 Mi 11:15] =  0:45
CLOCK: [2014-12-01 Mo 09:45]--[2014-12-01 Mo 10:45] =  1:00
CLOCK: [2014-11-03 Mo 10:00]--[2014-11-03 Mo 11:00] =  1:00
CLOCK: [2014-11-10 Mo 09:45]--[2014-11-10 Mo 10:45] =  1:00
CLOCK: [2014-11-19 Mi 10:30]--[2014-11-19 Mi 11:15] =  0:45
CLOCK: [2014-11-24 Mo 10:00]--[2014-11-24 Mo 11:00] =  1:00
CLOCK: [2014-11-25 Di 08:00]--[2014-11-25 Di 10:45] =  2:45
:END:

- text I would like to see without having to scroll over all the CLOCK lines




Re: [O] Bug: org-mouse.el breaks footnote jumping (Reference to definition doesn't work) [8.2.10 (8.2.10-33-g880a2b-elpaplus @ /home/lufimtse/.emacs.d/elpa/org-plus-contrib-20150216/)]

2015-02-25 Thread Leo Ufimtsev
Thank you for testing. Perhaps I could compile the latest development version 
and see if it occurs there for me.
(as currently  I'm using 24.4.1 from Fedora 21 repo).

I'll try it out and let you know.

Leo Ufimtsev | Intern Software Engineer @ Eclipse Team

- Original Message -
From: Nicolas Goaziou m...@nicolasgoaziou.fr
To: Leo Ufimtsev lufim...@redhat.com
Cc: emacs-orgmode@gnu.org
Sent: Tuesday, February 24, 2015 3:05:07 PM
Subject: Re: [O] Bug: org-mouse.el breaks footnote jumping (Reference to
definition doesn't work) [8.2.10 (8.2.10-33-g880a2b-elpaplus@ 
/home/lufimtse/.emacs.d/elpa/org-plus-contrib-20150216/)]

Hello,

Leo Ufimtsev lufim...@redhat.com writes:

 I define a footnote via : kbd C-c  C-x f /kbd as described in the 
 [manual][1].  
 Then I have something like:  

 - [ ] Leo once said [fn:1]  (reference)
 ..
 ..
 ..
 * Footnotes 
   [fn:1] To make the world a better place, one should use Emacs. 
 (definition)

[fn:1] needs to be at column 0 for a definition.

 I have org-mouse enabled with all org-Mouse-Features

 Now clicking on the definition `[fn:1] To make ..` jumps back to the 
 reference.  
 But clicking on the reference doesn't jump me to the definition.

 This works if org-mouse is disabled.

I cannot reproduce it on development version. Clicking on the definition
jumps me to the reference.


Regards,

-- 
Nicolas Goaziou




Re: [O] hiding the PROPERTIES drawer

2015-03-27 Thread Leo Ufimtsev
I think he meant completely hiding the property drawer, so it wouldn't even be 
a one-liner.

Leo Ufimtsev | Intern Software Engineer @ Eclipse Team


- Original Message -
From: Richard Lawrence richard.lawre...@berkeley.edu
To: emacs-orgmode@gnu.org
Cc: Randomcoder randomcod...@gmail.com
Sent: Wednesday, March 25, 2015 10:18:32 AM
Subject: Re: [O] hiding the PROPERTIES drawer

Hi Randomcoder,

Randomcoder randomcod...@gmail.com writes:

 Is there an easier solution to hiding the :PROPERTIES: drawer by default ?

I'm not sure that a solution is needed.  In my setup (Org master branch,
Emacs 23), the PROPERTIES drawer is always folded by default.  I've
never done anything to make this happen; as far as I know, it's the
default behavior in Org.

So: is there something in your setup that's causing the drawer NOT to be
folded?  (Try loading Org in emacs -Q, then see if property drawers are
folded by default or not.)

If you need help finding out what's responsible, send us more specific
information about your Org version and configuration.

 (I need the ID to be there, but I don't want to see it, and so I would
 prefer the drawer to be hidden/folded)

Do you need the drawer to be hidden, or is having it folded enough?  
 
Best,
Richard





[O] bug#18870: bug#18870: \emsp and alignment in org clock report

2015-03-18 Thread Leo Ufimtsev
I can't speak for the technical details, 

but I get the sense that \emsp isn't the right thing to be displayed on an 
*agenda clock report* because 
agenda clock reports don't get exported (afaik). 

Even \__ is more preffered than an \emsp, as \emsp is not 'easy to read' per se.

Since there are clearly difference in opinions, maybe a solution is to have a 
variable like 'org-clockreport-indentation-character' which defaults to \emsp 
for correct export, but could be changed to spaces or '\__' by the user. This 
would give people the choice between better export or better text-buffer 
display.

Thoughts?

Leo Ufimtsev | Intern Software Engineer @ Eclipse Team

- Original Message -
From: Nicolas Goaziou m...@nicolasgoaziou.fr
To: Ben Finney ben+em...@benfinney.id.au
Cc: 18...@debbugs.gnu.org
Sent: Tuesday, March 17, 2015 6:07:03 PM
Subject: [O] bug#18870: \emsp and alignment in org clock report

Ben Finney ben+em...@benfinney.id.au writes:

 The behaviour described – displaying “\emsp” instead of space
 characters – is a regression. That's what is being reported in this
 bug.

There wasn't space characters in the first place, but \___ constructs.
See commit bacfe5b4f7244eaf151f4e26a1d94dd8f66c1d19. 

Also, the bug is about table alignment when `org-pretty-entities' is
used.

 Having some space character is not desirable as it would just move
 the problem the other way around (i.e., indentation would not appear
 during export)

 So the U+2003 EM SPACE character should be translated *during export*,
 and not be literally in the displayed text.

No, because it means this character should be treated specially by Org
(e.g., LaTeX just ignores it so it needs to be turned into a space
there). 

This is not a good idea, especially considering it is an invisible
character.

 IS the above suggestion an acceptable solution?

No, it isn't. 

An acceptable solution would be a character or a string that looks
decent both in the buffer and in an exported document, without further
processing.

 Note that this is not LaTeX-specific markup. This is called an entity,
 and is correctly exported in various back-ends.

 But not for display, which is the bug to be fixed here.

Actually, it works more or less correctly for display on GUI with
a non-nil `org-pretty-entities', or calling
`org-toggle-pretty-entities'.

Regards,








[O] org-insert-subheading doesn't work well with colons

2015-03-23 Thread Leo Ufimtsev
When I have a plain list entry like this and issue org-insert-heading:

- Meaning of life ::

I expect something like this:

- Meaning of life ::
- 

Instead, it is inserted above the current item, like:

- :: 
- Meaning of life

I'm running emacs 25.0.50.3

Thoughts?

Leo Ufimtsev | Intern Software Engineer @ Eclipse Team





Re: [O] Melpa and Marmalade, can they co-exist well?

2015-04-13 Thread Leo Ufimtsev
I see. Thank you for answer.

Leo Ufimtsev | Intern Software Engineer @ Eclipse Team

- Original Message -
From: Phillip Lord phillip.l...@newcastle.ac.uk
To: Leo Ufimtsev lufim...@redhat.com
Cc: Org-mode emacs-orgmode@gnu.org
Sent: Friday, April 10, 2015 1:00:20 PM
Subject: Re: [O] Melpa and Marmalade, can they co-exist well?

Leo Ufimtsev lufim...@redhat.com writes:

 In post below [*1] there is a comparison between Melpa/Marmalade and other 
 repos.

 I added both to my list:
 (add-to-list 'package-archives '(melpa . http://melpa.org/packages/;) t)
 (add-to-list 'package-archives '(marmalade . 
 http://marmalade-repo.org/packages/;))

 Now I wonder, I get two sets of packages. Now I wonder what to pick. 
 - Would melpa generally be newer than Marmalade?

Because of the way the version numbers work out, melpa packages will
always appear to be newer than marmalade. So where these two overlap,
you will always get the melpa version.


 - Is it ok to have some packages from melpa and some from marmalade?

Yes, in general.


 Does anyone have experience having both repos?

 Thank you

 On the side, there is a related post:
 http://emacs.stackexchange.com/questions/2969/is-it-possible-to-use-both-melpa-and-melpa-stable-at-the-same-time


In more recent versions (24.4) of package.el you can pin particular packages to
particular repos. So you could load all your packages from MELPA-stable
and just take one from MELPA.

package-pinned-packages does the work here. In the scenario above, you
need to pin ALL of the packages in to melpa-stable except for the one in
MELPA. I wish they changed MELPA version numbers to all be very low
versions but that's how it is at the moment.

Phil




Re: [O] Best practices to get reminders?

2015-04-13 Thread Leo Ufimtsev
I haven't read all of the replies, but I use todochiku (cross platform) with 
some configs:


** Notification snystem
*** About
Get libnotify notifcations for  Org-dates. 
I.e anthying that is scheduled/has deadline or 
just has a date time stamp like: 2011-03-13 Fri 10:10
Will generate a popup.

I have it set to not-time out. The reason is sometimes I go to get tea
and want to see the notifcation when I get back.

It works with repeating dates like  2011-03-13 Fri 20:00 .+1d
Note, while it works with org-habit, it doesn't work with
org-habit ranges in the repeat intervals, like: 2011-03-13 Fri 21:00 +1d/5d
For such situations, add an extra time stamp with repeater.

*Required Packages:* 
 - appt [build-in]
 - todochiku (I should remove this guy, generates an annoying popup).
*** Code
#+begin_src emacs-lisp
  ; Configure package requirements:
  (require 'appt)
  (require 'todochiku)

  ; Configure what goes into appt:
  (setq org-agenda-include-diary t)

  ;interval is bigger than warning time so that notification appears only once.
  (setq appt-display-interval 3)  
  (setq appt-message-warning-time 1)

  ; (setq appt-display-duration 1)  ;Seconds. ; NOTE: this doesn't 
override todochiku
  (setq todochiku-timeout 36000) ;in seconds. ~10 hours or till clicked-away.

  ; Refresh function.
  ; (called also by hooks below)
  ; This includes only entries on a given day. It doesn't schedule days in 
advance.
  (defun my/refresh-org-agenda-appts ()
Clear previous appt list and update it with new entries. Note this is 
per-day/on-the-day
(interactive)
(setq appt-time-msg-list nil)
(org-agenda-to-appt) 
  )

  ; Refresh appoinments Under various situations.
  ; This is needed for proper scheduling.
  ; To check if your appointments were re-scheduled properly, 
  ; check the appt-time-msg-list variable.

  ; run when starting Emacs 
  (my/refresh-org-agenda-appts)

  ;  everyday at 12:05am
  (run-at-time 12:05am (* 24 3600) 'my/refresh-org-agenda-appts)

  ; Upon reloading of agenda with 'r'
  (defadvice  org-agenda-redo (after org-agenda-redo-add-appts)
Pressing `r' on the agenda will also add appointments.
 (my/refresh-org-agenda-appts)
  )
  (ad-activate 'org-agenda-redo) ;activate the advice. 

  ; Upon loading of agenda initially
  (add-hook 'org-finalize-agenda-hook 'my/refresh-org-agenda-appts)
#+end_src

Leo Ufimtsev | Intern Software Engineer @ Eclipse Team


- Original Message -
From: Nikolaus Rath nikol...@rath.org
To: emacs-orgmode@gnu.org
Sent: Monday, April 6, 2015 10:52:43 PM
Subject: [O] Best practices to get reminders?

Hello,

I'm just starting to use org-mode. The first thing I'd like to use it
for is to keep track of stuff that I need to do. Writing things up and
calling up the agenda is easy enough, and I really like how-much
functionality is available in what's essentially a plain text document.

However, there's one thing where I feel lost. I don't expect to be
editing my orgmode files on a daily basis (at least not yet), so how can
I make sure that I don't miss an important deadline? It seems to me that
it doesn't help much if instead of worrying to forget a deadline I now
have to worry about forgetting to check my org-mode agenda...

How do other people handle this? Is everyone else opening and working on
their org files daily so that this becomes a non-issue?


Best,
-Nikolaus
-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

 »Time flies like an arrow, fruit flies like a Banana.«




Re: [O] How to exclude completed daily tasks from the agenda view

2015-04-13 Thread Leo Ufimtsev
I've been down the same road as you. 

You may want to try org-habits and set the variable:
org-habit-show-habits-only-for-today t

I.e, 
1. customize org-modules, enable 'org-habit'
2. Read org-habit docu
  ( A habit has a property  :STYLE: habit )

Now these repeating tasks will  only show once in the agenda.

One thing to note, if you use notifications for scheduled tasks, they don't 
work with org-habbit's 'range'  like +3d/5d. But if you don't care about 
notifications, you should be good.

Please feel free to ask me questions about this.

Leo Ufimtsev | Intern Software Engineer @ Eclipse Team

- Original Message -
From: Marcin Borkowski mb...@wmi.amu.edu.pl
To: Org-Mode mailing list emacs-orgmode@gnu.org
Sent: Sunday, April 12, 2015 4:52:29 AM
Subject: [O] How to exclude completed daily tasks from the agenda view

Hi list,

I have a number of TODO items that should be done *every day*.  I do not
use Org-mode for them, since in the two-week agenda they tend to clutter
all days, not only today; if I complete such task, I want it not to be
visible in the agenda /at all/.

Is there a way to overcome this?  One way would be to gather these tasks
in a subtree, give it a special tag (or preferably, a category), and
define a custom agenda view /excluding/ this particular tag/category.
Is that possible?  I tried this

(setq org-agenda-custom-commands
  '((X agenda -mytag)))

but it didn't work as expected.  I also saw somewhere the
`org-agenda-skip-function' variable; would this be a good way?  If yes,
how to use it?  Do I get it correctly that it is a parameterless
function, called with point at some entry?  Also, I saw the
`org-agenda-skip-regexp' variable; maybe this is the way to go?  Or
maybe I should put `org-agenda-skip-if' into `org-agenda-skip-function'?

TIA,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University




Re: [O] How to deal with conflicting org-toc?

2015-04-20 Thread Leo Ufimtsev
I've contacted the author about it. In the mean time I pulled the repo, renamed 
all org-toc to org-dyn-toc and got it to work. It would be nice to have a 
long-term fix for it I guess.

Leo Ufimtsev | Intern Software Engineer @ Eclipse Team


- Original Message -
From: Rasmus ras...@gmx.us
To: emacs-orgmode@gnu.org
Sent: Friday, April 17, 2015 11:52:40 AM
Subject: Re: [O] How to deal with conflicting org-toc?

Leo Ufimtsev lufim...@redhat.com writes:

 Is three any way to resolve this without forking and renaming the variables?

Not that I know of.  Perhaps you can fix the github package?

—Rasmus

-- 
Lasciate ogni speranza o voi che entrate: siete nella mani di'machellaio





Re: [O] navigate between source code blocks

2015-04-30 Thread Leo Ufimtsev
There are some build in things also, 

E.g you can name source code blocks:
#+name: EDE Config
#+begin_src emacs-lisp
(require 'ede)
(global-ede-mode)
(load-file (concat user-emacs-directory my/cedet-projects.el))
#+end_src

And then with Helm + org-babel-goto-named-src-block you can search your named 
source code blocks. 

You can also go to the next source code block via org-babel-next-src-block etc. 
Just to hop around. There is also a command for marking blocks.

Worf I think is a bit on the vi side of things. Helm is more generic.

I usually do things like append 'src' to the title of a heading and then do a 
helm-heading search to find my source code.

Leo Ufimtsev | Intern Software Engineer @ Eclipse Team


- Original Message -
From: Zhihao Ding zhihao.d...@imm.ox.ac.uk
To: Oleh Krehel ohwoeo...@gmail.com
Cc: emacs-orgmode@gnu.org
Sent: Wednesday, April 29, 2015 4:20:06 AM
Subject: Re: [O] navigate between source code blocks

Thanks very much Oleh. 

Best,
Zhihao


 On 28 Apr 2015, at 08:22, Oleh Krehel ohwoeo...@gmail.com wrote:
 
 Hi Zhihao,
 
 I’ve got a simple question: how to speed up jumping
 between code blocks?
 
 You might be interested in https://github.com/abo-abo/worf.
 It allows you to traverse anything that starts with * or #+ with
 just hjkl keys.
 See the docs here: http://oremacs.com/worf/README.html.
 
 regards,
 Oleh




Re: [O] navigate between source code blocks

2015-05-01 Thread Leo Ufimtsev
And it's got the best Helm implementation for navigating to
headings.

Well, when I hear someone use the word 'best', I see it as a challenge X-D.

I used worf-goto for a while. It's certainly amazing and on the odd occasion I 
still use it, but lately I've switched over to: helm-org-in-buffer-headings

The difference is that worf-goto only looks at the specific headings (e.g the 
line it self), where as helm-org-in-buffer-headings searches the whole 
hierarchy. 

E.g if I have a structure like this:

* Gdb 
** Break 
*** on line  (1)
*** on function 
* Eclipse
** Break
*** on line
*** on function 

And I search for gdb break line, then I will not get a match with worf-goto, 
but helm-org-in-buffer-headings does do a match on (1).

For example in the attached screenshot I search for gdb cmd break. It's also 
smart enough to trim long headings.

This is particularly useful for finding the deeply nested sub-items.

from what I gather, worf doesn't have an equivalent:
https://github.com/abo-abo/worf/blob/master/worf.el
Imho it would benefit from having something of that sort in the package. 

 It just takes vi-style hjkl arrows, because
Emacs-style bnpf arrows aren't convenient.

Well, I use the Colemak layout, so hjkl is actually not very convenient for me 
:-/. Meh. 

Leo Ufimtsev | Intern Software Engineer @ Eclipse Team


- Original Message -
From: Oleh Krehel ohwoeo...@gmail.com
To: Leo Ufimtsev lufim...@redhat.com
Cc: emacs-orgmode@gnu.org, Zhihao Ding zhihao.d...@imm.ox.ac.uk
Sent: Thursday, April 30, 2015 1:25:45 PM
Subject: Re: [O] navigate between source code blocks

Leo Ufimtsev lufim...@redhat.com writes:

 Worf I think is a bit on the vi side of things. Helm is more generic.

Worf is as much on the vi side of things, as `org-use-speed-commands'
are. Almost not at all. It just takes vi-style hjkl arrows, because
Emacs-style bnpf arrows aren't convenient.

And it's got the best Helm implementation for navigating to
headings. I've just added named blocks to this list as well.
Screenshot: http://oremacs.com/download/worf-goto.png.
The command to call is M-x `worf-goto' or g while in `worf-mode'.

Oleh



Re: [O] navigate between source code blocks

2015-05-04 Thread Leo Ufimtsev


- Original Message -
 From: Oleh Krehel ohwoeo...@gmail.com
 To: Leo Ufimtsev lufim...@redhat.com
 Cc: emacs-orgmode@gnu.org, Zhihao Ding zhihao.d...@imm.ox.ac.uk
 Sent: Friday, May 1, 2015 11:13:28 AM
 Subject: Re: [O] navigate between source code blocks
 
 Leo Ufimtsev lufim...@redhat.com writes:
 
 And it's got the best Helm implementation for navigating to
  headings.
 
  Well, when I hear someone use the word 'best', I see it as a challenge X-D.
 
  I used worf-goto for a while. It's certainly amazing and on the odd
  occasion I still use it, but lately I've switched over to:
  helm-org-in-buffer-headings
 
  The difference is that worf-goto only looks at the specific headings (e.g
  the line it self), where as helm-org-in-buffer-headings searches the whole
  hierarchy.
 
  E.g if I have a structure like this:
 
  * Gdb
  ** Break
  *** on line  (1)
  *** on function
  * Eclipse
  ** Break
  *** on line
  *** on function
 
  And I search for gdb break line, then I will not get a match with
  worf-goto, but helm-org-in-buffer-headings does do a match on (1).
 
  For example in the attached screenshot I search for gdb cmd break. It's
  also smart enough to trim long headings.
 
  This is particularly useful for finding the deeply nested sub-items.
 
  from what I gather, worf doesn't have an equivalent:
  https://github.com/abo-abo/worf/blob/master/worf.el
  Imho it would benefit from having something of that sort in the
  package.
 
 Thanks for the feedback, Leo. It's doable, but then it would be pretty
 much identical to helm-org-in-buffer-headings.  If you or anyone else is
 interested, post at https://github.com/abo-abo/worf/issues.
 
  It just takes vi-style hjkl arrows, because
  Emacs-style bnpf arrows aren't convenient.
 
  Well, I use the Colemak layout, so hjkl is actually not very
  convenient for me :-/. Meh.
 
 Well, it's always something, isn't it :)
 
 By the way, I'm trying to go with general-purpose tools these days.
 Here's a link to the search that you mentioned using swiper:
 http://oremacs.com/download/org-mode-swiper.png.
 
 Swiper is an isearch replacement, so I could just:
 
 1. C-s break - see 38 matches.
 2. C-a \* SPC - see 9 matches.
 3. C-n repeatedly to navigate to the one that I want.

I've been meaning to try swiper for a while, I've sort of been waiting for it 
to mature a bit. 
I'll try the suggestion above sometime, maybe on a thursday evening after work 
X-D.


 As you see, I kind of stole your notes and the org-bullets
 customization, so thanks for that:)

I am impressed at your finding-emacs-configs-online skills =).

 Oleh
 

-- 
Leo Ufimtsev | Intern Software Engineer @ Eclipse Team



Re: [O] navigate between source code blocks

2015-05-04 Thread Leo Ufimtsev


- Original Message -
 From: Sebastien Vauban sva-n...@mygooglest.com
 To: emacs-orgmode@gnu.org
 Sent: Monday, May 4, 2015 6:08:02 AM
 Subject: Re: [O] navigate between source code blocks
 
 Leo Ufimtsev wrote:
  There are some build in things also,
 
  E.g you can name source code blocks:
  #+name: EDE Config
  #+begin_src emacs-lisp
  (require 'ede)
  (global-ede-mode)
  (load-file (concat user-emacs-directory my/cedet-projects.el))
  #+end_src
 
  And then with Helm + org-babel-goto-named-src-block you can search
  your named source code blocks.
 
 Would you mind sharing your config for the above
 (Helm + org-babel-goto-named-src-block)?
 

This is my .emacs.d folder, which I soft symlink:
ln -s ~/git/ldts/.emacs.d ~/.emacs.d
https://github.com/LeoUfimtsev/ldts/tree/master/.emacs.d

Of Some interest:
- init loader and customizations: (not so intresting)
https://github.com/LeoUfimtsev/ldts/blob/master/.emacs.d/init.el

- legacy .emacs file which I haven't fully moved to my orgdotemacs (not as 
interesting)
https://github.com/LeoUfimtsev/ldts/blob/master/.emacs.d/my/.emacs

- my org-babel-config:
https://github.com/LeoUfimtsev/ldts/blob/master/.emacs.d/my/orgdotemacs.org#org-babel-configuration

But truth be told, my config is somewhat messy with things all over the place. 
You may want to go with norangs's org-babel config, (I got my stuff from there 
also)
http://doc.norang.ca/org-mode.html#OrgBabel

Let me know if you have questions.

Thank you.

 Best regards,
   Seb
 
 --
 Sebastien Vauban
 
 
 

-- 
Leo Ufimtsev | Intern Software Engineer @ Eclipse Team



Re: [O] Better inline image scrolling

2015-05-05 Thread Leo Ufimtsev


- Original Message -
 From: Brice Waegenire brice@gmail.com
 To: emacs-orgmode@gnu.org
 Sent: Tuesday, May 5, 2015 9:06:09 AM
 Subject: [O] Better inline image scrolling
 
 Scrolling of inline images in org-mode is cumbersome, especially when
 you have several of it in sequence, on a small screen. For example
 when you are in a buffer after a image, not visible at the moment, and
 you scroll up with either the C-p or your mouse wheel, it get
 displayed entirely instead of bit by bit, from it's bottom to it's
 top.
 
 Could it be possible to display images as several lines, instead of a
 unique one, with insert-sliced-image
 (http://www.gnu.org/software/emacs/manual/html_node/elisp/Showing-Images.html)
 like emacs-ipython-notebook
 (https://github.com/tkf/emacs-ipython-notebook) do when (setq
 ein:slice-image t) is set?
 
 

I asked about this on emacs.stackexchange 
http://emacs.stackexchange.com/questions/10354/smooth-mouse-scroll-for-inline-images
It seems there is no native support for this in emacs :-/ 

I've tried a a lot of scroll options with no success. Eventually I turned off 
inline images and set them to open in eye of gnome (as it's good with 
refreshing images upon changes on disk). 
 '(org-file-apps
   (quote
((auto-mode . emacs) 
 ...
 (\\.png\\' . eog \%s\

Making (displayed) inline images use multiple lines sounds like a great idea. 

 

-- 
Leo Ufimtsev | Intern Software Engineer @ Eclipse Team



[O] Bug: org-toggle-heading breaks with double colon '::' list items.

2015-05-06 Thread Leo Ufimtsev
Hello, 

If I have a list with colons like:

- List a ::
  Cheese 
  Bannana 
- List b :: 
  Pineapples 
  Tomatoes 

If I then select the entire list and call org-toggle-headings, then I would 
*expect* this:

* List a 
  Cheese 
  Bannana
* List b 
  Pineapples 
  Tomatoes

But instead the first item is placed on the same line as the heading:
* List a Cheese 
  Bannana
* List b Pineapples 
  Tomatoes

This is happens only with items that have colons. A workaround is not to use 
colons or add a dot after the colons, e.g
- List a :: .
  Cheese 

The use case is that I often start making lists, but as things grow turn them 
into headings.

I'm on Emacs 25.0.50.4 (~3 weeks old) and my org-mode is from this morning 
(8.3beta). 

Please advise.

Thank you

Leo




Re: [O] Bug: org-return-indent does not work properly with description lists (i.e ending with double colon)

2015-05-07 Thread Leo Ufimtsev
Hello, 

If I have a list item with a double colon, with the cursor at the end:like:

- Hello World :: |


And press C-c (org-return-indent), then the cursor is at position 0 on the next 
line:

- Hello World :: 
|

But based on the behavior of a regular list item, one would expect it to be on 
position 2 like:

- Hello World :: 
  |

The current workaround is to have something after the colon. 
- Hello World :: . |
then it indents correctly.

Using Emacs 25.0.50.4 w/ org-mode from this morning.

Thank you

Leo




Re: [O] Bug: org-return-indent does not work properly with description lists (i.e ending with double colon)

2015-05-08 Thread Leo Ufimtsev


- Original Message -
 From: Nicolas Goaziou m...@nicolasgoaziou.fr
 To: Leo Ufimtsev lufim...@redhat.com
 Cc: Org Mode emacs-orgmode@gnu.org
 Sent: Friday, May 8, 2015 4:12:35 AM
 Subject: Re: [O] Bug: org-return-indent does not work properly with   
 description lists (i.e ending with double colon)
 
 Hello,
 
 Leo Ufimtsev lufim...@redhat.com writes:
 
  If I have a list item with a double colon, with the cursor at the end:like:
 
  - Hello World :: |
 
 
  And press C-c (org-return-indent), then the cursor is at position 0 on the
  next line:
 
  - Hello World ::
  |
 
 This should be fixed in 4980a9dbb8ff1690abb54066da0827e1c37378c8. Thank you.

Verified fixed. Now works much better. 

Thank you so much for the quick fix ! :-).

 
 Regards,
 
 --
 Nicolas Goaziou
 
 

-- 
Leo Ufimtsev | Intern Software Engineer @ Eclipse Team



Re: [O] Redefine key for sorting

2015-05-08 Thread Leo Ufimtsev
My C-c ^ doesn't appear to be mapped to sorting of the list. 

But if you press C-h k, then your key-combo, then it shows you which function 
is being called. e.g org-sort-list.

You can then re-map via a function like:
(define-key 'org-mode-map (kbd C-c n) 'org-sort-list)

Which you could add to your .emacs file.

This article provides a more comprehensive keyboard remapping guide:
https://www.masteringemacs.org/article/mastering-key-bindings-emacs

- Original Message -
 From: Igor Sosa Mayor joseleopoldo1...@gmail.com
 To: emacs-orgmode@gnu.org
 Sent: Friday, May 8, 2015 6:01:52 AM
 Subject: [O] Redefine key for sorting
 
 Hi,
 
 in the last time, I'm using very often the sort function of lists.
 Unfortunately it is bound to a key combination (C-c ^) which is rather
 uneasy. I would like to change it to C-c ñ. Which is the best method to
 redefine it?
 
 Many thanks in advance!
 
 --
 :: Igor Sosa Mayor :: joseleopoldo1...@gmail.com ::
 :: GnuPG: 0x1C1E2890   :: http://www.gnupg.org/  ::
 :: jabberid: rogorido  ::::
 
 
 

-- 
Leo Ufimtsev | Intern Software Engineer @ Eclipse Team



Re: [O] bug:? org babel updating images (C-c C-c) triggers show as text (C-c C-c) in imagemagick buffer.

2015-05-11 Thread Leo Ufimtsev


- Original Message -
 From: Sebastien Vauban sva-n...@mygooglest.com
 To: emacs-orgmode@gnu.org
 Sent: Sunday, May 10, 2015 4:37:39 PM
 Subject: Re: [O] bug:? org babel updating images (C-c C-c) triggers show as  
 text (C-c C-c) in imagemagick buffer.
 
 Eric S Fraga wrote:
  On Friday,  8 May 2015 at 15:22, Leo Ufimtsev wrote:
  I use org-babel to make graphviz diagrams in my notes.
 
  I open resulting images in the side panel via C-u C-c C-o (or right-click
  image).
  (See 20 screen shot)
 
  Now it shows the image fine at first.
 
  Then I run org-babel in the text buffer (on the left) to update the image
  on disk (C-c C-c).
  But for some reason, this also calls 'show as text' 'C-c C-c'
  (image-toggle-display) in the side panel and causes the image to look
  like bits of text.
 
  I then have to constantly go to the side panel to return it back to image.
  (C-c C-c).
 
  Sometimes I it happens after the 2nd update of the image. But eventually
  I'll see text.
 
  this happens to me all the time so it's nothing unique in your
  configuration.  I also find it very annoying and would love to see a
  solution.
 
 IIUC, you should retrain yourselves to use other key bindings than the
 do-it-all C-c C-c.
 
 For executing code, that's C-c C-v C-e (or e on the beginning of the
 code block -- speed key).

Thank you for the suggestion.

Unfortunately the C-c C-v C-e produces the same effect. 

It seems there's something else going on there :-/

Hmmm.

 For images, that's C-c C-x C-v.
 
 In fact, I never use C-c C-c in Org. I've even customized:
 
   (setq org-babel-no-eval-on-ctrl-c-ctrl-c t)
 
 to be sure to unlearn C-c C-c.
 
 Best regards,
   Seb
 
 --
 Sebastien Vauban
 
 
 

-- 
Leo Ufimtsev | Intern Software Engineer @ Eclipse Team



Re: [O] Bug: org-toggle-heading breaks with double colon '::' list items.

2015-05-07 Thread Leo Ufimtsev


- Original Message -
 From: Nicolas Goaziou m...@nicolasgoaziou.fr
 To: Leo Ufimtsev lufim...@redhat.com
 Cc: Org Mode emacs-orgmode@gnu.org
 Sent: Wednesday, May 6, 2015 7:18:55 PM
 Subject: Re: [O] Bug: org-toggle-heading breaks with double colon '::' list   
 items.
 
 Hello,
 
 Leo Ufimtsev lufim...@redhat.com writes:
 
  If I have a list with colons like:
 
  - List a ::
Cheese
Bannana
  - List b ::
Pineapples
Tomatoes
 
  If I then select the entire list and call org-toggle-headings, then I would
  *expect* this:
 
  * List a
Cheese
Bannana
  * List b
Pineapples
Tomatoes
 
  But instead the first item is placed on the same line as the heading:
  * List a Cheese
Bannana
  * List b Pineapples
Tomatoes
 
 This should be fixed in 9aa69058bc4cbe3be088df9e96b18caf5359a3a8. Thank
 you.

I downloaded  tested. The fix works well. 
Thank you for the quick fix ^_^, life is much better now :-D.

 Regards,
 
 --
 Nicolas Goaziou
 
 

-- 
Leo Ufimtsev | Intern Software Engineer @ Eclipse Team



[O] How to deal with conflicting org-toc?

2015-04-17 Thread Leo Ufimtsev
Hello, 

There is a build-in org-toc in contrib, that shows a dynamic toc on right side.
And there is org-toc that generates a toc from an org file: 
https://github.com/snosov1/org-toc

They have a name conflict. 

Is three any way to resolve this without forking and renaming the variables?

Thank you

Leo Ufimtsev | Intern Software Engineer @ Eclipse Team





Re: [O] Function that jumps to an entry with a certain CUSTOM_ID

2015-04-06 Thread Leo Ufimtsev
+1

* Non-technical feedback ::
 - Thank you so much for sharing. I've been looking for something like this for 
a while.
 - I hope it'll make it into org-mode some way or another, it seems like a 
valuable addition. 
 - imho the HELM integration is essential.

Leo Ufimtsev | Software Engineer @ Eclipse Team

- Original Message -
From: Christoph LANGE math.semantic@gmail.com
To: emacs-orgmode@gnu.org
Sent: Tuesday, March 31, 2015 12:36:45 PM
Subject: [O] Function that jumps to an entry with a certain CUSTOM_ID

Hi all,

the following function has served me well for a few years, so I thought 
I'd share it.  I would even be happy to contribute it to the codebase of 
org-mode (core or contrib); however in this case someone would have to 
point me to a fool-proof guide for how to do this.  I know that for 
contributing code I will have to sign some FSF copyright forms, and I 
know how to use git, but I don't know the exact org-mode specific steps 
of doing so.

--- % --- % --- % --- % --- % --- % --- % --- % --- % --- % ---
(defun org-jump-to-id ()
   Asks for an identifier and searches for the first entry in the 
current file that has this identifier as a CUSTOM_ID property.
   (interactive)
   (let* ((property CUSTOM_ID)
  (custom-id (org-icompleting-read CUSTOM_ID of entry: 
   (mapcar 'list 
(org-property-values property)
   (org-link-search (concat # custom-id

(define-key org-mode-map (kbd \C-cj) 'org-jump-to-id)
--- % --- % --- % --- % --- % --- % --- % --- % --- % --- % ---

This implementation works efficiently in a 4 MB org file with 100 IDs. 
Together with ido or helm I find it a very user-friendly way of jumping 
to frequently used headlines.

I noticed that org-babel-ref-goto-headline-id does something similar, so 
maybe some code could be shared among the two functions.

Cheers,

Christoph

-- 
Dr. Christoph Lange, Enterprise Information Systems Department
Applied Computer Science @ University of Bonn; Fraunhofer IAIS
http://langec.wordpress.com/about, Skype duke4701

→ Semantic Publishing Challenge: Assessing the Quality of Scientific Output
   ESWC, 31 May–4 June 2014, Portorož, Slovenia. 
https://tinyurl.com/SPChallenge15
   Submission deadline 27 March (abstracts: 20 March)




[O] Helm and multiple-tags in org mode issues

2015-04-08 Thread Leo Ufimtsev
Hello, 

I noticed helm doesn't work that well for multiple tags in org mode.

e.g if you use org-set-tag and want to append multiple tags, it shows 
predictions only for the first tag, or for used 'combinations', but it does not 
show predictions for 'mix-and-match'.

E.g from my tag list:
http://i.imgur.com/SEruztY.png

If I want to type:
RELENG:REDHAT
Then there is no auto-predict help with 'REDHAT'.

Is there any fix for this or any improved way of setting tags?

Thank you.

Leo Ufimtsev | Intern Software Engineer @ Eclipse Team



Re: [O] New papers published on using org-mode in scientific publishing

2015-05-19 Thread Leo Ufimtsev
Nice.

- Original Message -
 From: John Kitchin jkitc...@andrew.cmu.edu
 To: emacs-orgmode@gnu.org
 Sent: Sunday, May 17, 2015 2:40:42 PM
 Subject: [O] New papers published on using org-mode in scientific publishing
 
 Hi All,
 
 I recently had two perspectives published on using org-mode to write
 scientific papers, and on reusing the data that is embedded in them! One
 was published in an American Chemical Society journal:
 
 http://kitchingroup.cheme.cmu.edu/blog/2015/05/17/New-publication-in-ACS-Catalysis-on-data-sharing-practices/
 
 and another in an Elsevier journal:
 
 http://kitchingroup.cheme.cmu.edu/blog/2015/05/17/New-publication-in-Surface-Science-on-data-sharing/
 
 This is pretty exciting for me, and a testament to what org-mode
 enables! Thanks to everyone who has contributed to this great project.
 This makes about a dozen peer-reviewed papers we have written in
 org-mode now.
 
 --
 Professor John Kitchin
 Doherty Hall A207F
 Department of Chemical Engineering
 Carnegie Mellon University
 Pittsburgh, PA 15213
 412-268-7803
 @johnkitchin
 http://kitchingroup.cheme.cmu.edu
 
 

-- 
Leo Ufimtsev | Intern Software Engineer @ Eclipse Team



Re: [O] Help needed on delegating some maintainance tasks (was: Org maintainance)

2015-05-29 Thread Leo Ufimtsev
If you send out this email again next year when I have graduated from 
university, I'd be down with helping out with things ^_^.

- Original Message -
 From: Robert Klein rokl...@roklein.de
 To: Bastien b...@gnu.org
 Cc: emacs-orgmode@gnu.org
 Sent: Saturday, May 23, 2015 2:56:32 PM
 Subject: Re: [O] Help needed on delegating some maintainance tasks (was: Org 
 maintainance)
 
 On Sat, 23 May 2015 10:47:49 +0200
 Bastien b...@gnu.org wrote:
 
  Hi all,
  
  I need help on these maintainance tasks :
  
  1. Watching the emacs-diffs mailing list and backport changes on Org
 in the local Org repository (2 hours per month).
  
  2. Adding public keys on the orgmode.org server for org-mode and worg
 contributers (1 hour per month).
  
  3. Maintaining the orgmode.org server and taking care of errors when
 updating Worg (1 hour per month).
  
  4. Merging the last stable release into Emacs repository.  (1 hour
 every release).
  
  5. Releasing Org (.5 hour every release).
  
 
 I'd like to help with 3 but would need an introduction.
 
 Best regards
 Robert
 
 

-- 
Leo Ufimtsev | Intern Software Engineer @ Eclipse Team



Re: [O] org-notmuch: how to open-link-at-point in other window?

2015-05-21 Thread Leo Ufimtsev
I usually use my mouse and right click on the link. 

C-c C-o opens things in a new application. E.g a picture is opened in my image 
editing application. 

Right clicking opens in the right window. C-u C-c C-o also opens images in the 
right side window.

In emacs, Window and Frame mean something different. By window, are you 
specifically referring to a new plane, split screen style, on the right hand 
side?

As a note, http://emacs.stackexchange.com/ is often a good place for questions 
that have a specific, usually straight forward answer.

Thank you

Leo 

- Original Message -
 From: Gregor Zattler telegr...@gmx.net
 To: emacs-orgmode emacs-orgmode@gnu.org
 Sent: Thursday, May 21, 2015 9:09:13 AM
 Subject: [O] org-notmuch: how to open-link-at-point in other window?
 
 Dear org-moders,
 
 I want to open-link-at-point (C-c C-o) in other window.  With
 file links this is standard behaviour (at least with my
 configuration).  But I don’t know how to do so with notmuch:
 links.  Universal argument won’t help.
 
 Any ideas?
 
 I think there should be key bindings for opening in same window,
 other window, other frames regardless of the type of link opened.
 Is this doable?
 
 How about:
 
 | open in same window  |   C-c C o |
 | open in other window | C-c 4 C-c C o |
 | open in other frame  | C-c 5 C-c C o |
 
 ?
 
 Ciao, Gregor
 --
  -... --- .-. . -.. ..--.. ...-.-
 
 

-- 
Leo Ufimtsev | Intern Software Engineer @ Eclipse Team