Re: [O] Show weekday in daily agenda view

2019-05-17 Thread J. David Boyd
Nick Dokos  writes:

> db...@attentigroup.com (J. David Boyd) writes:
>
>> Nick Dokos  writes:
>>
>>> johanna@th-koeln.de writes:
>>>
>>>> maybe I did not search the right way in google alias startpage. But I
>>>> could not figure out how to write next to the date e.g. 2000-04-01 the
>>>> weekday, i.e. the specific day of the week. It would come very handy to
>>>> have the date displayed as 2019-05-14 Tu and 2019-05-15 We and so on. Or
>>>> even have it spelled out as 2019-05-14 Tuesday.
>>>>
>>>
>>> How do you generate that view?
>>>
>>> Doesn't your agenda view already show the day of the week?  With the
>>> recommended keybinding, I get a daily agenda with C-c a a d.
>>>
>>> Mine starts like this:
>>>
>>> ,
>>> | Day-agenda (W20):
>>> | Tuesday14 May 2019
>>> |8:00.. 
>>> |   appts:  10:00-11:30 Tools Meeting
>>> |   10:00.. 
>>> |   12:00.. 
>>> |   14:00.. 
>>> |   16:00.. 
>>> |   18:00.. 
>>> |   20:00.. 
>>> |   work:   Sched.Xx:  TODO Review PR
>>> |   work:   Sched.2x:  TODO Add issue
>>> |   Weather:OpenWeatherMap: light rain, 3-8°C, 1010hpa, 90%, 3m/s
>>> `
>>>
>>> so it definitely shows the weekday, but perhaps you are doing something
>>> different?
>>
>>
>> How do you generate *that* view?  How do you have it creating sub-groups?  
>> All
>> I get is a straight-forward list of days and times, with all items in chrono
>> order
>>
>
> Not sure what you mean by "sub-groups". And I'm pretty sure I don't do
> anything special to get this. The grid is the standard grid - I
> believe that comes "free" with the default settings of
> org-agenda-time-grid and org-agenda-use-time-grid.
>
> The appts:, work: and Weather: thingies are "categories" - the first
> two come from the name of the agenda file where the item originated:
> I have a work.org file for work items and an appts.org file which contains 
> just
> reminders. It actually contains a bit more: there are top-level headlines
> for Anniversaries, Weather and Appointments like this:
>
> ,
> | * Anniversaries
> |:PROPERTIES:
> |:CATEGORY: Anniv
> |:ID:   409062f6-6cb1-467f-b192-2dfcb7b384ca
> |:END:
> | %%(org-bbdb-anniversaries)
> | 
> | * Weather
> |   :PROPERTIES:
> |   :CATEGORY: Weather
> |   :END:
> | %%(org-weather)
> | 
> | * Appointments
> | ** APPT Doctor appt 
> | 
> `
>
> Items in the Appoinments section don't have a defined Category
> so they are labeled with the fill name ("appts"). Anniversaries
> and Weather items have a CATEGORY property so they are labeled
> by  the explicit category.
>
> I don't remember whether I do anything special to sort the items
> (e.g. why the Weather item is always last). If you are interested
> in that, I can dig a little more into my configuration.
>
> Does that answer your question?


That helps immensely, evidently I have some reading to do, so I understand
more of how to change the agenda view around.

And yes please, could/would you check your config and see if anything special
is done?

Thanks very much!

Dave in Hudson, FL




Re: [O] Show weekday in daily agenda view

2019-05-16 Thread J. David Boyd
Nick Dokos  writes:

> johanna@th-koeln.de writes:
>
>> maybe I did not search the right way in google alias startpage. But I
>> could not figure out how to write next to the date e.g. 2000-04-01 the
>> weekday, i.e. the specific day of the week. It would come very handy to
>> have the date displayed as 2019-05-14 Tu and 2019-05-15 We and so on. Or
>> even have it spelled out as 2019-05-14 Tuesday.
>>
>
> How do you generate that view?
>
> Doesn't your agenda view already show the day of the week?  With the
> recommended keybinding, I get a daily agenda with C-c a a d.
>
> Mine starts like this:
>
> ,
> | Day-agenda (W20):
> | Tuesday14 May 2019
> |8:00.. 
> |   appts:  10:00-11:30 Tools Meeting
> |   10:00.. 
> |   12:00.. 
> |   14:00.. 
> |   16:00.. 
> |   18:00.. 
> |   20:00.. 
> |   work:   Sched.Xx:  TODO Review PR
> |   work:   Sched.2x:  TODO Add issue
> |   Weather:OpenWeatherMap: light rain, 3-8°C, 1010hpa, 90%, 3m/s
> `
>
> so it definitely shows the weekday, but perhaps you are doing something
> different?


How do you generate *that* view?  How do you have it creating sub-groups?  All
I get is a straight-forward list of days and times, with all items in chrono
order

Dave in Hudson, FL




Re: [O] [RFC] org-style

2019-05-10 Thread J. David Boyd
I like it, and I'll be using it.  I like a certain amount of whitespace in my
files, and your code works great for me. Thanks!




Re: [O] Warning (bytecomp): ‘((symbol-function (quote message)) (symbol-function (quote ignore)))’ is a malformed function

2018-08-01 Thread J. David Boyd
dbo...@mmm.com (J. David Boyd) writes:

> Sorry, wrong location.  Tried to cancel it, don't seem to be able to.

And look like the message I tried to cancel really was cancelled.   :-)




Re: [O] Warning (bytecomp): ‘((symbol-function (quote message)) (symbol-function (quote ignore)))’ is a malformed function

2018-08-01 Thread J. David Boyd
Sorry, wrong location.  Tried to cancel it, don't seem to be able to.





[O] Warning (bytecomp): ‘((symbol-function (quote message)) (symbol-function (quote ignore)))’ is a malformed function

2018-08-01 Thread J. David Boyd


Starting yesterday, I see this warning in my Emacs when I start.   I've
started with 'emacs --debug-init', but get no errors.

It looks like it is happening when byte compiling something on the fly.  I
have made no changes to any of my configs, but I have updated from melpa.

How do I track this down and get rid of it?  I don't see any flag for Emacs
like --debug-warning or anything.  Ideas please?

Dave in Hudson, FL




Re: [O] Make target "card"

2017-03-07 Thread J. David Boyd
Thomas Rikl  writes:

> Hello,
>
> "make help" doesn't display the card target.
>
> "make doc"  doesn't make the orgcards.
>
> Is this behaviour intended?
>
> Thanks.


Does on mine.  You seeing any errors go by?




[O] BUG: disparity between popup menu and pulldown menu for Agenda viewing mode

2017-02-27 Thread J. David Boyd
When I'm viewing the agenda, if I press v, I get a popup menu that states that
I can get to the for[t]night view, with a 't', which works.

But I if look in the pulldown menu, it tells me that Fortnight View is
accomplished with v f.  This actually puts the Agenda into follow mode, not at
all what I wanted to do...

Thanks for everyone's efforts at making Org better each and every day.  I
couldn't get my daily work done without it!

Dave in Hudson, FL




Re: [O] Help checking orgcard.pdf

2017-02-14 Thread J. David Boyd

Thanks very much.  orgcard_letter printed just fine.  I didn't even know that
was there.  Perhaps it is new?  Anyway, orgcard still too far to right, but
orgcard_letter is perfect, and since letter sized is what I'm printing on, I'm
happy.

Thanks for the info, made my day!

Dave




Re: [O] Help checking orgcard.pdf

2017-02-14 Thread J. David Boyd

I'm not sure what got changed, but now when I compile and print the orgcard, I
get a left margin that is too big, and text is pushed off the card to the
right.

Any idea where to set margins in tex files?  Or is that something I should
never have to deal with?  It was printing fine in prior version, back when it
said (for version 8.2) on the card...





Re: [O] Do you like to have your TODOs at the same headline level?

2015-08-26 Thread J. David Boyd
Sebastien Vauban  writes:

> William Denton  writes:
>> I'm trying to spend more time in a sparse tree view where I just see
>> TODOs (C-c / t).  I didn't like having the TODOs at different levels
>> of indentation, though.  I prefer seeing them all lined up, so I moved
>> them all to be fourth-level headline.  It's visually pleasing, and
>> I don't care if a second-level headline has a fourth-level child
>> without a third-level one.
>>
>> Do other people do this?
>
> No, and I don't think that's sane.  It would be logical to expect
> problems at export time (to LaTeX, among others) and in Org-lint.
>
> I try to put all the tasks at the 2nd level, the 1st level being
> reserved for big sections such as "Administration", "Tasks", "Team",
> etc.
>
> I'm very rigorous about expecting that all my "project management"
> documents can be exported (without loosing subtrees or generating error)
> to HTML (as the very first goal) and to LaTeX (as the second one).
>
> OTOH, I don't deny your wish to get things aligned; that's why I've
> opted to 4-char todo states only!
>
> Best regards,
>   Seb

4-char todo states?  How about a list? I can't picture how to abbreviate some
things...

Dave




Re: [O] Time-zone in dates

2015-06-26 Thread J. David Boyd
Eric S Fraga  writes:

> On Friday, 26 Jun 2015 at 16:40, Oleg Sivokon wrote:
>> Hello, list.
>>
>> I was looking for a way to add time-zone to the date recrod, something
>> like: <2015-07-05 Sun 20:00 GMT+0>.  I was told that it's very likely
>> that the functionality isn't there, so I wonder if it's really so, and
>> if indeed so, then what would it take to add it?
>
> It is indeed so.  What would it take?  Somebody to program the
> functionality in but this is a major challenge as time stamps are a
> fundamental building block of org and it would likely need to be upwards
> compatible...

I can see that being a real pain.  The simple way would 'just' be to convert
everything to UTC in the background for comparison.

Nothing I want to do!

Dave




Re: [O] New maintainance team

2015-05-26 Thread J. David Boyd
dbo...@mmm.com (J. David Boyd) writes:

> Bastien  writes:
>
>> Hi all,
>>
>> thanks for the quick answers on helping me with the maintaince.
>>
>> Here is the new maintainance team:
>>
>>   Kyle Meyer will watch Emacs development and merge changes there into
>>   the local Org repository.
>>   
>>   Elwood151 will be the contact for people who want to contribute and
>>   have their keys added to the server.
>>   
>>   Robert Klein will help maintaining the orgmode.org server and keep
>>   an eye on the Worg publishing process.
>>   
>>   Rasmus will handle the merge from Org into Emacs after each release.
>>   
>> I will continue to release Org for now.
>>
>> THANKS a lot to everyone!
>>
>> I'm really glad we can move forward like this.
>
>
> Thanks to all!  My work life would be much more difficult with Org mode to
> keep track of everything...
>
> Dave in Hudson, FL, USA

Oops!  Sory, "without Org mode"




Re: [O] New maintainance team

2015-05-26 Thread J. David Boyd
Bastien  writes:

> Hi all,
>
> thanks for the quick answers on helping me with the maintaince.
>
> Here is the new maintainance team:
>
>   Kyle Meyer will watch Emacs development and merge changes there into
>   the local Org repository.
>   
>   Elwood151 will be the contact for people who want to contribute and
>   have their keys added to the server.
>   
>   Robert Klein will help maintaining the orgmode.org server and keep
>   an eye on the Worg publishing process.
>   
>   Rasmus will handle the merge from Org into Emacs after each release.
>   
> I will continue to release Org for now.
>
> THANKS a lot to everyone!
>
> I'm really glad we can move forward like this.


Thanks to all!  My work life would be much more difficult with Org mode to
keep track of everything...

Dave in Hudson, FL, USA




Re: [O] Resolving conflicts with ediff and folding

2015-04-23 Thread J. David Boyd
"Charles C. Berry"  writes:

> On Tue, 21 Apr 2015, Suvayu Ali wrote:
>
>> Hi,
>>
>> Something that has been bugging me for many years now, everytime I
>> resolve conflicts in Org files with ediff, it's a pain.  All the buffers
>> keep folding the outlines, hiding the conflicts.  I keep going to the
>> buffers manually (which can be somewhat of a pain in a text terminal),
>> and unfolding them manually.  But of course the PROPERTY drawers,
>> LOGBOOKs, and other DRAWERs are still folded!
>>
>> And then after I have jumped through hoops, and resolved the conflicts,
>> I realise I could have just switched to text-mode before invoking ediff!
>>
>> Is there a way where I don't have to remember to switch the major mode
>> before invoking ediff[1]?  Or maybe an ediff experience where the
>> buffers are forced to unhide text.  I guess it should be possible to
>> just temporarily remove all overlays or invisible properties.
>>
>> Any thoughts, ideas?
>
> Did you see this thread:
>
> http://lists.gnu.org/archive/html/emacs-orgmode/2013-04/msg00400.html
>
> ??
>
> HTH,
>
> Chuck

That't what I was going to say.  I added that to my setup long ago, and it has
been working fine since then.  I don't ediff all that often, but when I do it
certainly helps.

Dave




Re: [O] Define Keyboard Shortcut for "Open in Emacs"

2015-04-03 Thread J. David Boyd
John Kitchin  writes:

> I find C-u RET on a link will open a pdf in emacs. or C-u C-c C-o
>
> Rainer M Krug writes:
>
>> Hi
>>
>> I would like to open pdfs in emacs (using pdf-viewer) but there is only
>> a shortcut (C-c C-o) to open a pdf externally, and no shortcut for the
>> menu item below "Open in Emacs" in the context menu.
>>
>> How can I define a shortcut for this command (or re-use C-c C-o)?
>> Thanks
>>
>> Rainer
>
> --
> 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

It's too bad there's not some way to find out all the different things C-u
does to commands when used...

Dave




Re: [O] org-drill problem: questions are blank

2015-03-26 Thread J. David Boyd
Peter Westlake  writes:

> From time to time Org-drill shows me a blank window instead of a
> question. The frame, mode line and prompt to answer are visible, but
> there's nothing in the window at all. As a workaround I can type "t" to
> edit the tags, and the question will appear.
>
> A sample file is enclosed. It's a new file without any of the org-drill
> property drawers just to keep the example short and to avoid having to
> wait for the question to be scheduled to be shown again, but the problem
> *does* still happen when the drawers are present.
>
> To reproduce the bug, run org-drill in drillbug.org; the question "MC"
> gives a blank screen.
>
> I'm using org-drill with the latest version of Org-mode, git commit
> 2f58e3c011ec84f621905332d8df68b83da580d9, on Emacs 24.3.1, 2014-09-30.
>
> Peter.

There's no attached file...




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

2015-03-23 Thread J. David Boyd
Nicolas Goaziou  writes:

> Nicolas Goaziou  writes:
>
>> The trick could be to use an Org entity which is as large as its
>> overlay. Even better if that entity is readable without that overlay.
>> I'll look into it soon.
>
> This should now be fixed. The markup used is more readable and doesn't
> alter table alignment.

Thanks very much, I feel this is much better.  I can read the columns ok, and
they export fine too.

Thanks for all your efforts in Org-mode!

Dave in Hudson, FL




Re: [O] fontenc makes pdf non-searchable

2015-03-23 Thread J. David Boyd
Stefan Nobis  writes:

> Martin Leduc  writes:
>
>> You can find a minimal example here[1], with the org file, and the
>> tex and pdf files generated from it. Firts try to search within the
>> pdf. It does not work (at least on my side) To solve the problem,
>> remove the line with \usepackage[T1]{fontenc}
>
> Your PDF is not generated with pdflatex (or a newer engine like
> lualatex), but with dvips and Ghostscript. Thus the fonts are not PS
> Type 1 fonts, but Type 3 fonts (bitmap instead of vector; therefore
> scaling/zooming will result in bad quality).
>
> I'm not quite sure if this is also the root cause of the inability to
> search. But if i recompile your tex-file (from [1]) with pdflatex, I
> get Type 1 fonts and have no problems with searching.
>
> Therefore I would suggest to switch the engine to pdflatex.
>
> Another hint: You should try the Latin Modern font (put a
> "\usepackage{lmodern}" after loading fontenc) -- it's the
> (technically) modern variant of Computer Modern (the old TeX default
> font). Lati Modern is available as OpenType font and has less problems
> with Unicode and special characters like german umlauts (ä, ü,...) or
> other non-ASCII letters.
>
> And maybe you should also have a look at biblatex[2] (as a much more
> flexible alternative to natbib).
>
> [1] https://www.dropbox.com/sh/7s6di4en5ljbkcq/AAAzyQeg6VkMHnC1X9dQTg6ua?dl=0
> [2] http://ctan.org/pkg/biblatex

And how did you determine that please?   And how would it be switched?

Dave




Re: [O] Org to mindmap and back

2015-03-17 Thread J. David Boyd
Marcelo de Moraes Serpa  writes:

> Hi,
>
> While searching for mind mapping tools that already had some
> integration with orgmode, I found this video:
> https://www.youtube.com/watch?v=93cqGFu3B-g, which shows a simple (but
> seemingly powerful) mindmapping tool that integrates well with org.
>
> Unfortunately the link to the code / app is nowhere to be found in the
> video description and the video is pretty old. It'd be unfortunate to
> not share such an interesting project. I'm very interested in
> using/testing/extending it. I'm wondering if the author still lurks
> around this mailing list? *ping*
>
> Either way, it's a great idea and someone else (even myself) could get
> some inspiration out off it and create something similar (and share!) -
> I've been wanting a way to visualize my org files in the form of a
> mindmap and keep both representations synced so I could just switch
> when I wanted, and this seems to be the gist of it.
>
> Cheers,
>
> -- Marcelo

There is a connection to Freemind in the source tree.  Not near my computer
right now.  The name is something like ox-freemind.el...

Dave




Re: [O] automatically follow symlink to other folder when loading agenda

2015-03-16 Thread J. David Boyd
jorge.alfaro-muri...@yale.edu (Jorge A. Alfaro-Murillo) writes:

> J. David Boyd writes:
>
>> I don't need the level of versioning that git provides for the few
>> config files and org files that I have there.
>
> Have you check this: https://git-annex.branchable.com/assistant/ ? It
> is as easy as dropbox, it just keeps directories synchronized, but it
> has all the power of git in case you ever need it, you are not limited
> to the 2GB of dropbox, and it automatically encrypts your data in the
> remote.

Interesting, never heard of that.  I'll have to look into it.  Thanks for the
info!

Dave




Re: [O] automatically follow symlink to other folder when loading agenda

2015-03-16 Thread J. David Boyd
Ken Mankoff  writes:

> On 2015-03-16 at 12:05, J. David Boyd  wrote:
>> I have 4 files I use for work in my main org folder.  And I have a
>> personal.org in another folder, that is inside of Dropbox.
>>
>> I created a symlink to personal.org in my main org folder.  When I start 
>> emacs
>> and load the agenda, it asks me
>>
>> Symbolic link to Git-controlled source file; follow link? (y or n)
>>
>> Is there some setting (that I can't seem to find) that will always just allow
>> this, rather than querying me?
>
> I don't know of that setting, but you can have your Agenda use a main org
> folder + files elsewhere without symlinks. I have:
>
> (setq org-agenda-files (quote ("~/Documents/Org/" 
> "~/Dropbox/shared/file.org")))
>
>   -k.
>   


Thanks!  I didn't realize I could mix paths and explicit filenames at the same
time.

You learn something new every day!

Dave




Re: [O] automatically follow symlink to other folder when loading agenda

2015-03-16 Thread J. David Boyd
jorge.alfaro-muri...@yale.edu (Jorge A. Alfaro-Murillo) writes:

> J. David Boyd writes:
>
>> I have 4 files I use for work in my main org folder.  And I have 
>> a personal.org in another folder, that is inside of Dropbox. 
>> 
>> I created a symlink to personal.org in my main org folder. When 
>> I start emacs and load the agenda, it asks me 
>> 
>> Symbolic link to Git-controlled source file; follow link? (y or 
>> n) 
>> 
>> Is there some setting (that I can't seem to find) that will 
>> always just allow this, rather than querying me?
>  
> #+BEGIN_SRC emacs-lisp
>   (setq vc-follow-symlinks t)
> #+END_SRC
>
> BTW, I think that using dropbox in a git controlled directory 
> might not be a good idea: if there are conflicts of files inside 
> of the .git directory between two machines, you will never notice 
> them because dropbox doesn't report them, so the actual git repos 
> might be different between the two machines. I you are using git, 
> why don't you clone the main org directory in the other machine 
> and pull changes when you use the other machine?
>
> Best,


Thanks for the warning.  Git is actually going to go away on a few of those
folders.  I was using that to keep synced between a few linux machines, but am
going to use dropbox instead.  I don't need the level of versioning that git
provides for the few config files and org files that I have there.

Dave




[O] automatically follow symlink to other folder when loading agenda

2015-03-16 Thread J. David Boyd

I have 4 files I use for work in my main org folder.  And I have a
personal.org in another folder, that is inside of Dropbox.

I created a symlink to personal.org in my main org folder.  When I start emacs
and load the agenda, it asks me

Symbolic link to Git-controlled source file; follow link? (y or n)

Is there some setting (that I can't seem to find) that will always just allow
this, rather than querying me?

Thanks,

Dave




[O] Hotkeys don't match menu for 'view as fortnight'

2015-03-05 Thread J. David Boyd

The Agenda menu says, to view the agenda as a fortnight, use 'vf'.

That puts my agenda into follow mode.

But if I press 'v' and wait, I am shown that fortnight mode is 't'.

So the menu should say to view fortnight use 'vt'.

Dave





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

2015-03-04 Thread J. David Boyd
Rainer Stengele  writes:

> 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

This was changed a while back so that the clocktable exports correctly.

I was fighting this for a while by modifying the source code every release,
but then I gave up.  

If you look in org-clock.el, you'll see what causes it.

This is a bit of a diff I have that shows what it now, and what it used to be 
like.


< (let ((str " "))
<   (dotimes (k (1- level) str)
<   (setq str (concat "\\emsp" str))
---
> (let ((str "\\__"))
>   (while (> level 2)
>   (setq level (1- level)
> str (concat str "__")))
>   (concat str " "
> 

Hope this helps!

Dave





Re: [O] Missing OpenDocument schema files and ODT file corruption

2015-03-03 Thread J. David Boyd
"Monroe, Will"  writes:

> David,
>
> On 3/2/15 2:25 PM, J. David Boyd wrote:
>
> "Monroe, Will"  writes:
>
> 
> Hello,
>
> I'm using Emacs 24.4, Org-mode version 8.2.10 and I've run into a
> problem with missing OpenDocument schema files. Upon startup, I see
> these messages:
>
> ,
> | Debug (ox-odt): Searching for OpenDocument styles files...
> | Debug (ox-odt): Trying /usr/share/emacs/etc/org/styles/... [2 times]
> | Debug (ox-odt): Trying /Users/wmonro1/.emacs.d/etc/styles/...
> | Debug (ox-odt): Trying
> /Users/wmonro1/.emacs.d/elpa/org-20150223/etc/styles/...
> | Debug (ox-odt): Using styles under
> /Users/wmonro1/.emacs.d/elpa/org-20150223/etc/styles/
> | Debug (ox-odt): Searching for OpenDocument schema files...
> | Debug (ox-odt): Trying /usr/share/emacs/etc/org/schema/... [2 times]
> | Debug (ox-odt): No OpenDocument schema files installed
> `
>
> I think I've had these errors for some time but I haven't paid much
> attention to them. However, I recently started exporting to
> OpenDocument formats (e.g., ODT) and I've encountered frequent
> problems with "file corruption" and some ODT files that won't even
> open. I want to find out what's happening so I can use the
> export/publishing functions for ODT more reliably.
>
> I searched the org-mode listerv and found a recommendation to check
> the values of org-odt-styles-dir and org-odt-schema-dir. I got the
> following values:
>
> ,
> | org-odt-styles-dir:
> | "/Users/wmonro1/.emacs.d/elpa/org-20150223/etc/styles/"
> | 
> | org-odt-schema-dir
> | nil
> `
>
> There is documentation for `org-odt-schema-dir' the explains the
> following:
>
> ,
> | Documentation:
> | Directory that contains OpenDocument schema files.
> | 
> | This directory contains:
> | 1. rnc files for OpenDocument schema
> | 2. a "schemas.xml" file that specifies locating rules needed
> | for auto validation of OpenDocument XML files.
> | 
> | Use the customize interface to set this variable. This ensures
> | that `rng-schema-locating-files' is updated and auto-validation
> | of OpenDocument XML takes place based on the value
> | `rng-nxml-auto-validate-flag'.
> | 
> | The default value of this variable varies depending on the
> | version of org in use and is initialized from
> | `org-odt-schema-dir-list'. The OASIS schema files are available
> | only in the org's private git repository. It is *not* bundled
> | with GNU ELPA tar or standard Emacs distribution.
> | 
> | You can customize this variable.
> | 
> | This variable was introduced, or its default value was changed, in
> | version 24.1 of Emacs.
> `
>
> So, now I understand why the error messages are occuring but, given
> that the value seems to be `nil' by default, I'm not sure if I need to
> change anything. Again, I'm experiencing some problems with org-mode
> export to ODT and I'd like to clear those up. Would it help to obtain
> the "rnc" and "schemas.xml" files and then point `org-odt-schema-dir'
> to them? 
>
> Will 
>
> 
> If I recall correctly, I was getting errors also until I added these files in.
>
> I found the files schemas.xml, OrgOdtContentTemplate.xml, and OrgOdtStyles.xml
> in the git repository for Org mode, in the etc/schema and
> etc/styles directories.
>
> I then copied the etc/schema/schemas.xmls and etc/styles/OrgOdt*.xml files to 
> my
> /usr/share/emacs/etc/org/styles directory, and the errors went away.
>
> That must be where org-odt-schema-dir defaults to, as I don't have it set
> anywhere.
>
> Thanks for your reply. That helped.
>
> I wasn't sure if it was wise to change the default setting for
> `org-odt-schema-dir' but I went ahead and did so; just chose a
> directory in ~/Dropbox that my other Emacs instances can also access.
>
> Will


I only ever use one instance of Emacs, so that is never a problem.  Glad I was
able to help.

Dave




Re: [O] Missing OpenDocument schema files and ODT file corruption

2015-03-02 Thread J. David Boyd
"Monroe, Will"  writes:

> Hello,
>
> I'm using Emacs 24.4, Org-mode version 8.2.10 and I've run into a
> problem with missing OpenDocument schema files. Upon startup, I see
> these messages:
>
> ,
> | Debug (ox-odt): Searching for OpenDocument styles files...
> | Debug (ox-odt): Trying /usr/share/emacs/etc/org/styles/... [2 times]
> | Debug (ox-odt): Trying /Users/wmonro1/.emacs.d/etc/styles/...
> | Debug (ox-odt): Trying
> /Users/wmonro1/.emacs.d/elpa/org-20150223/etc/styles/...
> | Debug (ox-odt): Using styles under
> /Users/wmonro1/.emacs.d/elpa/org-20150223/etc/styles/
> | Debug (ox-odt): Searching for OpenDocument schema files...
> | Debug (ox-odt): Trying /usr/share/emacs/etc/org/schema/... [2 times]
> | Debug (ox-odt): No OpenDocument schema files installed
> `
>
> I think I've had these errors for some time but I haven't paid much
> attention to them. However, I recently started exporting to
> OpenDocument formats (e.g., ODT) and I've encountered frequent
> problems with "file corruption" and some ODT files that won't even
> open. I want to find out what's happening so I can use the
> export/publishing functions for ODT more reliably.
>
> I searched the org-mode listerv and found a recommendation to check
> the values of org-odt-styles-dir and org-odt-schema-dir. I got the
> following values:
>
> ,
> | org-odt-styles-dir:
> | "/Users/wmonro1/.emacs.d/elpa/org-20150223/etc/styles/"
> | 
> | org-odt-schema-dir
> | nil
> `
>
> There is documentation for `org-odt-schema-dir' the explains the
> following:
>
> ,
> | Documentation:
> | Directory that contains OpenDocument schema files.
> | 
> | This directory contains:
> | 1. rnc files for OpenDocument schema
> | 2. a "schemas.xml" file that specifies locating rules needed
> | for auto validation of OpenDocument XML files.
> | 
> | Use the customize interface to set this variable. This ensures
> | that `rng-schema-locating-files' is updated and auto-validation
> | of OpenDocument XML takes place based on the value
> | `rng-nxml-auto-validate-flag'.
> | 
> | The default value of this variable varies depending on the
> | version of org in use and is initialized from
> | `org-odt-schema-dir-list'. The OASIS schema files are available
> | only in the org's private git repository. It is *not* bundled
> | with GNU ELPA tar or standard Emacs distribution.
> | 
> | You can customize this variable.
> | 
> | This variable was introduced, or its default value was changed, in
> | version 24.1 of Emacs.
> `
>
> So, now I understand why the error messages are occuring but, given
> that the value seems to be `nil' by default, I'm not sure if I need to
> change anything. Again, I'm experiencing some problems with org-mode
> export to ODT and I'd like to clear those up. Would it help to obtain
> the "rnc" and "schemas.xml" files and then point `org-odt-schema-dir'
> to them? 
>
> Will 

If I recall correctly, I was getting errors also until I added these files in.

I found the files schemas.xml, OrgOdtContentTemplate.xml, and OrgOdtStyles.xml
in the git repository for Org mode, in the etc/schema and
etc/styles directories.

I then copied the etc/schema/schemas.xmls and etc/styles/OrgOdt*.xml files to my
/usr/share/emacs/etc/org/styles directory, and the errors went away.

That must be where org-odt-schema-dir defaults to, as I don't have it set
anywhere.

Good luck!

Dave








Re: [O] org.texi error

2015-02-05 Thread J. David Boyd
Nicolas Goaziou  writes:

> Hello,
>
> dbo...@mmm.com (J. David Boyd) writes:
>
>> I haven't seen this reported by anyone, but it's been getting me for a month
>> or more now.
>>
>> org.texi has an error at the @orgcmd line for org-timer-pause-or-continue
>>
>> The keystroke is listed as 'C-c C-x \,,' which fails to compile on my system.
>>
>> I have to change it to 'C-c C-x \\,' everytime for it to work.
>>
>> Is this something strange on my system, or is everyone making this change and
>> not mentioning it?
>
> I made the change. It was an error, but it didn't prevent compilation on
> my system.
>
> Thank you.
>
>
> Regards,

Thank you!  Now I don't need to rename, merge, and then compile every time.

I wonder why it failed on mine, and not others.  Oh well, no big deal, thanks
again!

Dave in Hudson, FL




[O] org.texi error

2015-02-05 Thread J. David Boyd
I haven't seen this reported by anyone, but it's been getting me for a month
or more now.

org.texi has an error at the @orgcmd line for org-timer-pause-or-continue

The keystroke is listed as 'C-c C-x \,,' which fails to compile on my system.

I have to change it to 'C-c C-x \\,' everytime for it to work.

Is this something strange on my system, or is everyone making this change and
not mentioning it?

Dave





Re: [O] Newbie question: how to get a report of DONE items

2015-01-23 Thread J. David Boyd
Pete Siemsen  writes:

> I'm a newbie, just switching to org-mode.
>
> For work, I have to produce quarterly reports that list what I've
> done. I want a report of all the items that were closed within a given
> date range.
>
> I could write some code to do this, but I suspect org-made comes with
> something close :-)
>
> -- Pete


Look on the screen after you hit Ctl-c a.

Dave




Re: [O] "constellations" Re: relative deadlines

2014-12-12 Thread J. David Boyd
Tom Baker  writes:

> Date: Tue, 09 Dec 2014 12:05:39 -0500
> From: dbo...@mmm.com (J. David Boyd)
> To: emacs-orgmode@gnu.org
> Subject: Re: [O] relative deadlines
>
> J. David Boyd < dbo...@mmm.com > wrote on Dec 9:
>> Jeffrey Brent McBeth  writes:
>> > From time to time (each time I delve into using org-mode for
> deadlines
>> > before my habits fall apart), I find the desire to have some form
> of
>> > relative deadlines. By this I mean, that there are often sequences
> of
>> > tasks that I know the time required to complete and when things
> are
>> > due. These tasks may repeat (usually do).
>> >
>> > It would be awful helpful to me, but I would guess few others, as
> a
>> > search didn't find much, for there to be some annotation like this
>> > (example is farcical, notation is notional)
>> >
>> > * Go on date
>> > DEADLINE: <2014-12-25>
>> > ** Ask Girl #<-3w>#
>> > ** Wash Hair #<-2w>#
>> > ** Make Money #<-1w2d>#
>> > ** Get in Car #<-0d>#
>> > ** Call her back #<+1w>#
>> >
>> > that in the agenda view would show as a sequence of tasks with the
> following dates
>> > Go on date <2014-12-25>
>> > Ask Girl <2014-12-04>
>> > Wash Hair <2014-12-11>
>> > Make Money <2014-12-16>
>> > Get in Car <2014-12-25>
>> > Call her back <2015-01-01>
>> >
>> > I have a python function that can take a stripped down org file
> and
>> > places an active date after each ## (or inactive after
>> > #[block]#), that I hacked up today to see if it would really be as
>> > useful as I thought, but I keep thinking that someone somewhere
> must
>> > have scratched this itch elsewhere, and having to partially parse
> org
>> > in python and modify the text rather than having my agenda smart
>> > enough to figure it out gives me pause...
>> >
>> > If nobody have better ideas, are the block delimiters I'm using
> going
>> > to conflict with some other feature in org that I'm just not using
>> > yet?
>> >
>> > The main functuionality I'm stumbling toward is having an easily
>> > moveable end date (so replacing the block with absolute dates is a
>> > nono).
>> >
>> > Thanks for your attention,
>> > Jeffrey McBeth
>> 
>> I think like that as well. I know when some _thing_ has to be done.
> Then I
>> start thinking of all the support items in relative terms to the
> main one.
>> 
>> You should add this to org mode, if able. It would be a nice
> addition...
>> 
>> Dave
>
> The relative deadline part should be implemented, I agree.
>
> I also like the collection of intermediate tasks. Does Emacs have a
> name for that? Because I used to call that a "constellation" of
> deadlines, and if we have the relative timestamps, the constellation
> would be easy to implement on the fly.
>
> This addresses Jeffrey's original intention, you see, if I explain. If
> I have an appointment at 4pm and I know it is a 40m drive AND I may
> need to get dressed formally (that takes 30m), then I really can't
> tell the Org system "Notify me at 4pm". Instead, I *need* to have it
> say, "Get me driving by 320pm, and if I need to dress up, then get
> that started by 250pm". Really, for me, the "appointment at 4" starts
> much earlier. Also, keep track of the fact that I will probably come
> right back, so if the appointment ends at 530, then I won't get back
> until 610pm.
>
> Now if Jeffrey wants to schedule something like this BUT needs to take
> into account that he already has a 6pm appointment, then his request
> for an "easily movable" end is reasonable. When he is setting up the
> appointment, Org needs to tell him, as soon as possible, that there is
> a conflict, and so when they suggest "330pm instead of 4pm?" he can
> try that.
>
> Tom

Yup, exactly what I would like.  I hate modern appointment calendars, as they
have no means of accomplishing this...

Dave




Re: [O] /emsp in clock tables

2014-12-12 Thread J. David Boyd
dbo...@mmm.com (J. David Boyd) writes:

>
> I just looked through the git logs, and this is what I see:
>
>
> commit bacfe5b4f7244eaf151f4e26a1d94dd8f66c1d19
> Author: Nicolas Goaziou 
> Date:   Fri Jul 25 11:02:55 2014 +0200
>
> org-clock: Update syntax for indentation in clock tables
> 
> * lisp/org-clock.el (org-clocktable-indent-string): Use "\emsp"
>   instead of "\__", which is not supported anymore since Org 8.0.
> 
> Thanks to Buddy Butterfly for reporting it.
> http://permalink.gmane.org/gmane.emacs.orgmode/88842
>
>
> Can't believe it was all the way back in July when this changed, guess I
> haven't done any clocktables in a while.
>
> So I guess the problem is 'how do I keep the \emsp from displaying on the
> screen."
>
> Is there anyway, or do I just live with it...
>
> Dave


So, I put the old code back into my org-clock.el, I'm running Org version
"8.3beta", and it now works fine in my clocktables.


Now I get lines like:

| Tasks  | 1:18   |  |  |  |
| \__ Infrastructure || 0:31 |  |  |
| \ WAITING Email||  | 0:07 |  |
| \__ WAITING - respond to Bill  ||  |  | 0:01 |
| \ WAITING Research - Gnus  ||  | 0:14 |  |
| \ WAITING Research - Web   ||  | 0:04 |  |

which is exactly what I wanted.

I read the linked message above from Buddy Butterfly. Was the problem only for
latext exporting?  I personally look at the screen more than export...

Dave




Re: [O] /emsp in clock tables

2014-12-12 Thread J. David Boyd
dbo...@mmm.com (J. David Boyd) writes:

> I don't remember reading about this here, so hopefully I haven't just missed
> it.
>
> I've found some reference to it on the web, but no resolution.
>
> Sometime in the last few releases, clock tables have changed the display.
>
> I now see
>
> | *Total time*  | *2:17* |  |  |
> |---++--+--|
> | Tasks | 2:17   |  |  |
> | \emsp Infrastructure  || 0:27 |  |
> | \emsp\emsp WAITING Email  ||  | 0:06 |
>
>
> How can I remove the \emsp artifact and get back the old behavior?
>
> Advance apologies if this is somewhere in a README that I didn't...
>
> Dave in Hudson, FL


I just looked through the git logs, and this is what I see:


commit bacfe5b4f7244eaf151f4e26a1d94dd8f66c1d19
Author: Nicolas Goaziou 
Date:   Fri Jul 25 11:02:55 2014 +0200

org-clock: Update syntax for indentation in clock tables

* lisp/org-clock.el (org-clocktable-indent-string): Use "\emsp"
  instead of "\__", which is not supported anymore since Org 8.0.

Thanks to Buddy Butterfly for reporting it.
http://permalink.gmane.org/gmane.emacs.orgmode/88842


Can't believe it was all the way back in July when this changed, guess I
haven't done any clocktables in a while.

So I guess the problem is 'how do I keep the \emsp from displaying on the
screen."

Is there anyway, or do I just live with it...

Dave




Re: [O] /emsp in clock tables

2014-12-12 Thread J. David Boyd
>>>>>> "J" == J David Boyd  writes:
>  > From: J. David Boyd 
>  > To: emacs-orgmode@gnu.org
>  > Subject: [O] /emsp in clock tables
>  > Date: 2014-12-11T17:52:27+0100
>
>  > I don't remember reading about this here, so hopefully I haven't just 
> missed
>  > it.
>
>  > I've found some reference to it on the web, but no resolution.
>
>  > Sometime in the last few releases, clock tables have changed the display.
>
>  > I now see
>
>  > | *Total time*  | *2:17* |  |  
> |
>  > 
> |---++--+--|
>  > | Tasks | 2:17   |  |  
> |
>  > | \emsp Infrastructure  || 0:27 |  
> |
>  > | \emsp\emsp WAITING Email  ||  | 0:06 
> |
>
>
>  > How can I remove the \emsp artifact and get back the old behavior?
>
>  > Advance apologies if this is somewhere in a README that I didn't...
>
>  > Dave in Hudson, FL


Joost Helberg  writes:

> Dave,
>
> the customizable org-pretty-entities screws up the alignment in the
> table. I don't know where the problem lies, but it's fixed by hitting
> C-c C-c in the table for re-aligning stuff.
>
> I don't know why you see the '\emsp' code, as it's supposed to be
> translated into a blank on screen. 
>
> unset org-pretty-entities to avoid \emsp stuff.
>
> regards,
>
> Joost
>

Thanks, that works...




[O] /emsp in clock tables

2014-12-11 Thread J. David Boyd

I don't remember reading about this here, so hopefully I haven't just missed
it.

I've found some reference to it on the web, but no resolution.

Sometime in the last few releases, clock tables have changed the display.

I now see

| *Total time*  | *2:17* |  |  |
|---++--+--|
| Tasks | 2:17   |  |  |
| \emsp Infrastructure  || 0:27 |  |
| \emsp\emsp WAITING Email  ||  | 0:06 |


How can I remove the \emsp artifact and get back the old behavior?

Advance apologies if this is somewhere in a README that I didn't...

Dave in Hudson, FL





Re: [O] relative deadlines

2014-12-09 Thread J. David Boyd
Jeffrey Brent McBeth  writes:

> From time to time (each time I delve into using org-mode for deadlines
> before my habits fall apart), I find the desire to have some form of
> relative deadlines.  By this I mean, that there are often sequences of
> tasks that I know the time required to complete and when things are
> due.  These tasks may repeat (usually do).
>
> It would be awful helpful to me, but I would guess few others, as a
> search didn't find much, for there to be some annotation like this
> (example is farcical, notation is notional)
>
> * Go on date
>  DEADLINE: <2014-12-25>
>  ** Ask Girl #<-3w>#
>  ** Wash Hair #<-2w>#
>  ** Make Money #<-1w2d>#
>  ** Get in Car #<-0d>#
>  ** Call her back #<+1w>#
>
> that in the agenda view would show as a sequence of tasks with the following 
> dates
> Go on date <2014-12-25>
> Ask Girl <2014-12-04>
> Wash Hair <2014-12-11>
> Make Money <2014-12-16>
> Get in Car <2014-12-25>
> Call her back <2015-01-01>
>
> I have a python function that can take a stripped down org file and
> places an active date after each ## (or inactive after
> #[block]#), that I hacked up today to see if it would really be as
> useful as I thought, but I keep thinking that someone somewhere must
> have scratched this itch elsewhere, and having to partially parse org
> in python and modify the text rather than having my agenda smart
> enough to figure it out gives me pause...
>
> If nobody have better ideas, are the block delimiters I'm using going
> to conflict with some other feature in org that I'm just not using
> yet?
>
> The main functuionality I'm stumbling toward is having an easily
> moveable end date (so replacing the block with absolute dates is a
> nono).
>
> Thanks for your attention,
>  Jeffrey McBeth

I think like that as well.  I know when some _thing_ has to be done.   Then I
start thinking of all the support items in relative terms to the main one.

You should add this to org mode, if able.  It would be a nice addition...

Dave




Re: [O] Bernt Hansen's

2014-11-22 Thread J. David Boyd
Sebastien Vauban  writes:

> Hello Rene,
>
> rene wrote:
>>> Indeed - Bernt's writeup has been the source of inspiration for lots of
>>> people on this list.
>
> For sure.
>
>> I find his code pretty close to what GTD should look like.  There are a few
>> things though that could be twicked a bit in order to comply with David
>> Allen's new book on Getting Things Done.
>
> Can you detail them, for our own information, please?
>
> Best regards,
>   Seb

I'd like to see these as well, please!

Dave




Re: [O] Scheduled tasks: total time since last DONE

2014-07-16 Thread J. David Boyd
Fletcher Charest  writes:

> Dear all,
>
> I'm sorry if this is a common question but I had trouble finding the
> right keywords.
>
> I am a little puzzled by the way scheduled tasks work. I will give an
> example. Let's have this task:
>
> * TODO Clean the kitchen
> SCHEDULED: <2014-07-20 jeu. .+1w>
>
> If I'm lazy and don't do it for one whole week, on 2014-07-27 I will
> see this in my agenda:
>
> Scheduled: TODO Clean the kitchen
>
> But I would really like to see this instead:
>
> Sched. 7x: TODO Clean the kitchen
>
> This way I could see it's been 7 days I didn't do it, and tasks would
> be better organized in the agenda. RIght now, a task that I have to do
> on a weekly basis never has a number greater than '6x', and even if it
> hasn't been done for months, it still appears on the bottom of the
> list in the agenda, with a small number.
>
> So is there a way to correct this? How do you proceed?
>
> Thank you very much for your help!
>
> Regards,
>
> FC


Hmm, I think that is how mine does work.   Sorry, everything is up to date at
the moment, but I'll let one run over and see what it looks like.

Dave




Re: [O] current task being worked in agenda time grid

2014-05-09 Thread J. David Boyd
Eric S Fraga  writes:

> On Friday,  9 May 2014 at 08:46, J. David Boyd wrote:
>> Eric S Fraga  writes:
>>
>>> On Thursday,  8 May 2014 at 09:45, J. David Boyd wrote:
>>>> Is there any way to do that?
>>>>
>>>> It would be beneficial if, when I did C-a a, the time grid could show, at
>>>> the current time, what I am currently clocking time against.
>
> [...]
>
>> That's an idea.  In the meantime, I guess I'll just widen my emacs window
>> out wider.
>
> Of course, you *could* change the mode line so that clocking information
> comes earlier in the line... but playing with the mode line can be a real
> time sink, and I speak from experience!  My mode line bears little
> resemblance to the default and the changes were motivated by my using Emacs
> on very small systems such as the OpenPandora.
>
> but definitely getting off-topic here :-)

I could also make my TODO topics a little shorter, so they aren't so long they
wrap around the other side of the room!

Dave




Re: [O] current task being worked in agenda time grid

2014-05-09 Thread J. David Boyd
Eric S Fraga  writes:

> On Thursday,  8 May 2014 at 09:45, J. David Boyd wrote:
>> Is there any way to do that?
>>
>> It would be beneficial if, when I did C-a a, the time grid could show, at
>> the current time, what I am currently clocking time against.
>
> Not quite what you want but "v c" in agenda view will display all clocked
> tasks, including current one.  It may be possible to define a custom view
> that includes both appointments and clocking info.

That's an idea.   In the meantime, I guess I'll just widen my emacs window out
wider.

Thanks!




[O] current task being worked in agenda time grid

2014-05-08 Thread J. David Boyd


Is there any way to do that?

It would be beneficial if, when I did C-a a, the time grid could show, at the
current time, what I am currently clocking time against.

I know that it shows up in the mode line, but my emacs window is seldom wide
enough for me to read that, actually.

Thanks for any pointer to the way to do this.

Dave in New Port Richey, FL




Re: [O] Agenda view in Fortnight mode

2014-05-01 Thread J. David Boyd
Charles Millar  writes:

> Dave,
>
> J. David Boyd wrote:
>>
>> I've searched the docs, and looked through my .emacs and custom.el files,
>> but I don't see anywhere that lets me set the default view for the Agenda.
>>
>> I would like it to come up in Fortnight mode as a default.  Is this
>> possible?
>>
>
> I can't recall if there is specific "fortnight" span. I use
>
> (setq org-agenda-span 14)
>
> Charlie Millar

That works!  Thanks,

Dave




Re: [O] Agenda view in Fortnight mode

2014-05-01 Thread J. David Boyd
Sebastien Vauban  writes:

> J. David Boyd wrote:
>> I've searched the docs, and looked through my .emacs and custom.el files,
>> but I don't see anywhere that lets me set the default view for the Agenda.
>>
>> I would like it to come up in Fortnight mode as a default.  Is this
>> possible?
>
> (setq org-agenda-span 'fortnight)
>
> ?
>
> Best regards,
>   Seb

Ah, 'span' Thanks!

Dave




[O] Agenda view in Fortnight mode

2014-05-01 Thread J. David Boyd

I've searched the docs, and looked through my .emacs and custom.el files, but
I don't see anywhere that lets me set the default view for the Agenda.

I would like it to come up in Fortnight mode as a default.  Is this possible?

Thanks.

Dave in New Port Richey, FL




Re: [O] setting left margin in PDF output of ORG file

2014-04-26 Thread J. David Boyd
Achim Gratz  writes:

> J. David Boyd writes:
>> However, how do I get rid of the huge left and right and top and bottom
>> margins?  I like my PDFs to have no more than .75" top, bottom, left and
>> right.
>>
>> I've looked through all the latex, org-latex, org-beamer variables I can
>> find with customize-apropos, but not having any luck.
>
> The scr* family of LaTeX packages (aka KOMA-Script) allow you to change the
> margins with the DIV argument.  Depending on the base font size, something
> like DIV13 or even DIV15 might give result closer to your goal, but .75"
> margins are definitely reader-unfriendly (yes, journals do that all the
> time, but it's still no good).
>
>
> Regards,
> Achim.

Why "reader-unfriendly"?

I prefer to print with .75" margins, gives me plenty of whitespace on the
edges for hole punching and notes.  .5" is too dense on the paper, and 1"
leaves me feeling like I've used up a forest.





Re: [O] setting left margin in PDF output of ORG file

2014-04-23 Thread J. David Boyd
Nick Dokos  writes:

> jdavidb...@adboyd.com (J. David Boyd) writes:
>
>> Bastien  writes:
>>
>>> jdavidb...@adboyd.com (J. David Boyd) writes:
>>>
>>>> I've looked through all the latex, org-latex, org-beamer variables I can
>>>> find with customize-apropos, but not having any luck.
>>>
>>> You can use the LaTeX geometry package:
>>>
>>>   \usepackage[margin=0.25in]{geometry}
>>>
>>> HTH,
>>
>> Thanks, but since my LaTeX-fu and Org-fu are quite weak, where would I use
>> this at?
>>
>> I can put it into the .tex file that is created manually, then run pdflatex 3
>> times like org does, but there must be somewhere to put it into the org
>> config, yes?
>>
>
> In the org file:
>
> #+LATEX_HEADER: \usepackage[margin=0.25in]{geometry}
>
> If you want to make this the default, you can customize
> org-latex-packages-alist:
>
> (add-to-list 'org-latex-packages-alist
>  '("margin=0.25in" "geometry" nil))
>
> Nick

Beautiful!  Thanks very much.  I'll definitely be adding it into my defaults.

Have a great orging day!

Dave




Re: [O] setting left margin in PDF output of ORG file

2014-04-23 Thread J. David Boyd
John Hendy  writes:

> On Wed, Apr 23, 2014 at 11:59 AM, J. David Boyd  wrote:
>> Bastien  writes:
>>
>>> jdavidb...@adboyd.com (J. David Boyd) writes:
>>>
>>>> I've looked through all the latex, org-latex, org-beamer variables I can
>>>> find with customize-apropos, but not having any luck.
>>>
>>> You can use the LaTeX geometry package:
>>>
>>>   \usepackage[margin=0.25in]{geometry}
>>>
>>> HTH,
>>
>> Thanks, but since my LaTeX-fu and Org-fu are quite weak, where would I use
>> this at?
>
> I have a line at the top like so:
>
> #+latex_header: \usepackage[margin=0.25in]{geometry}
>
> (Mine's different, but that's the analog for this case). Anything you
> would normally put in LaTeX straight-up, like commands, settings,
> packages, etc. would go into #+latex_header: lines in Orgmode. Here's
> an example of my default setup:
>
> #+AUTHOR:John Henderson
> #+OPTIONS: *:t TeX:t H:5 creator:nil
> #+latex_header: \usepackage[hmargin=2.5cm,vmargin=2.5cm]{geometry}
> #+latex_header: \usepackage{mathpazo} \usepackage{paralist}
> #+latex_header: \usepackage{enumitem}
> #+latex_header: \setlength{\parskip}{0.5cm} \setlength{\parindent}{0cm}
> #+latex_header: \usepackage{lscape}
> #+latex_header: \usepackage{booktabs}
> #+latex_header: \hypersetup{colorlinks=true,linkcolor=blue,urlcolor=blue}
>
> Just wanted to give an example of how you might setup Org to do what
> you want in LaTeX/PDF output.
>
> To go even further, I don't even have the above in each Org file. I
> keep it in ~/org/aux/setupfile.org. Then in each file I create, I use
> this line:
>
> #+setupfile: "~/org/aux/setupfile.org"
>
> So, for any regularly used options, I just leave them in setupfile.org
> and bring them in with the above line for new files. For things I want
> to set per-file, I'd add a file-specific #+latex_header line, or tweak
> the #+options parameters.
>
>
> John
>

Thanks very much!  Exactly what I was looking for.

Dave




Re: [O] setting left margin in PDF output of ORG file

2014-04-23 Thread J. David Boyd
Bastien  writes:

> jdavidb...@adboyd.com (J. David Boyd) writes:
>
>> I've looked through all the latex, org-latex, org-beamer variables I can
>> find with customize-apropos, but not having any luck.
>
> You can use the LaTeX geometry package:
>
>   \usepackage[margin=0.25in]{geometry}
>
> HTH,

Thanks, but since my LaTeX-fu and Org-fu are quite weak, where would I use
this at?

I can put it into the .tex file that is created manually, then run pdflatex 3
times like org does, but there must be somewhere to put it into the org
config, yes?

Dave





[O] setting left margin in PDF output of ORG file

2014-04-23 Thread J. David Boyd

I can export an org file to a PDF no problem, looks great.

However, how do I get rid of the huge left and right and top and bottom
margins?  I like my PDFs to have no more than .75" top, bottom, left and
right.

I've looked through all the latex, org-latex, org-beamer variables I can find
with customize-apropos, but not having any luck.

Thanks,

Dave




Re: [O] HTML export to just a single file?

2014-04-17 Thread J. David Boyd
"Diez B. Roggisch"  writes:

> Hi,
>
> there was a time (org 7.x) when I was able to use org-mode to write google
> doc documents - by actually composing them in emacs, and then use the
> exported single-page HTML and paste it into a google doc.
>
> Since org 8.x (I'm currently using 8.2.5h), I get this separation in
> navigate able sections.
>
> I unfortunately have no use for that feature.
>
> So - is there a way to get my beloved single page HTML file export back? 
>
> Thanks,
>
> Diez

It sounds like you've got the
 
#+INFOJS_OPT: view:info toc:1 

line in your settings somewhere.  Without that, you get one big file.
With it, you get collapsed sections and navigation.

Dave




Re: [O] copying a folded task expands when pasting

2014-04-17 Thread J. David Boyd
Bastien  writes:

> Hi,
>
> jdavidb...@adboyd.com (J. David Boyd) writes:
>
>> So, I C-w on a folded DONE task, move to the bottom of the file, and S-Ins
>> to place it there.  But every time it unfolds it, leaving the point at the
>> bottom of the entry.  Then I need to move back up and refold it.
>>
>> Minor point yes, but it's the way I like to work.
>
> You can use C-c C-x C-w to kill (cut) a subtree then C-c C-x C-y to yank
> (paste) it again: if the subtree was folded when you cut it, it will be
> pasted and folded.
>
> HTH,

I should have know it was in there somewhere.  Thanks for the info!

Dave




Re: [O] copying a folded task expands when pasting

2014-04-17 Thread J. David Boyd
Thorsten Jolitz  writes:

> jdavidb...@adboyd.com (J. David Boyd) writes:
>
>> Is there anyway to turn this off.
>>
>> I keep my tasks folded, mostly, except for the current one I am working on.
>>
>> Prior to archiving, when I've marked them DONE, I move them to the
>> bottom of
>> the file they are in.
>>
>> So, I C-w on a folded DONE task, move to the bottom of the file, and
>> S-Ins to
>> place it there.  But every time it unfolds it, leaving the point at
>> the bottom
>> of the entry.   Then I need to move back up and refold it.
>>
>> Minor point yes, but it's the way I like to work.
>>
>> So, I haven't found any setting that relates to folding/unfolding on
>> cut and
>> paste.
>>
>> Am I missing something, or is that just the way it works?
>
> As always, it might already exist in Org-mode/Emacs, but its easy to
> implement anyway:
>
> #+begin_src emacs-lisp
>   (defun tj/yank-folded-subtree ()
> (interactive)
> (save-excursion
>   (yank '(4))
>   (hide-subtree)))
> #+end_src
>
> #+results:
> : tj/yank-folded-subtree
>
> or a bit more convenient:
>
> #+begin_src emacs-lisp
> (defun tj/kill-and-append-folded-subtree ()
>   "Kill subtree at point and yank it folded at EOB."
>   (interactive)
>   (save-excursion
> (org-mark-subtree)
> (when (use-region-p)
>   (kill-region (region-beginning) (region-end)))
> (goto-char (point-max))
> (unless (looking-at "^$") (newline))  
> (yank '(4))
> (hide-subtree)))
> #+end_src
>
> #+results:
> : tj/kill-and-append-folded-subtree
>
> ---
> cheers,
> Thorsten

Thanks, I like the idea of moving to the end automatically and pasting it
folded.  That is great!

Dave




Re: [O] (OT) How to follow a mailing list with very high activity (like this one here)?

2014-04-17 Thread J. David Boyd
John Hendy  writes:

> On Apr 16, 2014 2:29 PM, "M"  wrote:
>>
>> This is off-topic, but I hope that someone can give me some good advice:
>>
>> During the last years, I'be become a real org-mode fan and I want to stay
>> current and be active in the great org-mode community.
>> I've subscribed to the orgmode mailinglist about 1,5 years ago and so I have
>> >17.500 mails in my inbox.
>>
>> You really have to be organized very well to deal with so much information!
>> Is there a tutorial somewhere for good approaches, how to participate
>>
>
> [snip]
>
> I must be way simplistic on thus one. I just use gmail.
>
> ..
>
> John
>
>> Kind regards
>>
>> Martin
>>
>>
>>


How do you use Gmail to follow a newsgroup?

Dave




[O] copying a folded task expands when pasting

2014-04-17 Thread J. David Boyd

Is there anyway to turn this off.

I keep my tasks folded, mostly, except for the current one I am working on.

Prior to archiving, when I've marked them DONE, I move them to the bottom of
the file they are in.

So, I C-w on a folded DONE task, move to the bottom of the file, and S-Ins to
place it there.  But every time it unfolds it, leaving the point at the bottom
of the entry.   Then I need to move back up and refold it.

Minor point yes, but it's the way I like to work.

So, I haven't found any setting that relates to folding/unfolding on cut and
paste.

Am I missing something, or is that just the way it works?

Thanks,

Dave in New Port Richey, FL




Re: [O] .emacs (init.el) on Dropbox: Ho to access it?

2014-04-11 Thread J. David Boyd
"Jorge A. Alfaro Murillo"  writes:

> On 1/18/14, 1:44 PM, Renato wrote:
>> Hi,
>> I use org mode on two pc:
>> - windows (from work)
>> - Debian (at home)
>>
>> How can have just one .emacs/init.el file?
>>
>> I would store the file on a Dropbox folder that I access from both
>> devices.
>>
>
> I have several machines and just one .emacs file in Dropbox. I use symbolic
> links to it in each computer in ~/.emacs
>
> From the terminal do:
> ln -s /path/to/your/Dropbox/.emacs ~/.emacs
>
> I assume windows works the same. If not then put in your windows .emacs a
> single line with:
>
> (load-file /path/to/your/Dropbox/.emacs)
>
> Best,
>
> Jorge.


That's exactly what I do as well.   I have 1 .emacs.d folder, 1 .vimrc, 1 gnus
setup, all linked to my different machine home directories from my dropbox
folder.

Works great..

Dave




Re: [O] open in browser after html export?

2014-04-10 Thread J. David Boyd
Matt Price  writes:

> As I understand the manual, when I export to HTMl with C-c C-e h o,
> the .html file thus created should open up in my default browser,
> right?  Instead, it get is being opened in a new window inside Emacs,
> and does not appear in a browser.  i imagine I have some variable set
> to a bad value somewhere -- but what variable should it be? I have
> checked that browse-url and browse-url-firefox both work well on
> in-text url's.  Anyone know how org decides how to open an html file?
>

You need to start with the org variable org-file-apps.  There you can define
the programs that are used to open various files.  In your case, you probably
just need to modify the x?html? entry to point to your browser.

This is not on windows, correct?

just do an Meta-x customize-apropos RET org-file-apps RET

modify it accordingly, and you should be in business.

I'm running org-mode on emacs under Cygwin under Windows 7, and I can open
html files in Chrome, and pdf files in Adobe Reader with no problems, once I
set this variable correctly.

Dave




Re: [O] Tangling Bernt Hansen's Org-Mode.Org file..?

2014-04-08 Thread J. David Boyd
Thorsten Jolitz  writes:

> jdavidb...@adboyd.com (J. David Boyd) writes:
>
>> David Masterson  writes:
>>
>>> ...I then pulled down Bernt Hansen's Org-Mode.org file (amazing piece of
>>> work!!) and ran C-c C-v C-t on it to "tangle it" (is that the right
>>> verb?).  The first time I did this, I get an error about
>>> "org-with-silent-modifications" being an invalid function (from
>>> org-refresh-category-properties).  However, immediately doing the C-c
>>> C-v C-t again correctly tangles the file and produces the expected
>>> Org-Mode.el file
>>>
>>
>> Where did you download this file, please?  I had it a while back, and can't
>> find where I got it, or where I lost it!
>
> http://doc.norang.ca/org-mode.org

Thanks!





Re: [O] Tangling Bernt Hansen's Org-Mode.Org file..?

2014-04-08 Thread J. David Boyd
David Masterson  writes:

> ...I then pulled down Bernt Hansen's Org-Mode.org file (amazing piece of
> work!!) and ran C-c C-v C-t on it to "tangle it" (is that the right
> verb?).  The first time I did this, I get an error about
> "org-with-silent-modifications" being an invalid function (from
> org-refresh-category-properties).  However, immediately doing the C-c
> C-v C-t again correctly tangles the file and produces the expected
> Org-Mode.el file
>

Where did you download this file, please?  I had it a while back, and can't
find where I got it, or where I lost it!

Thanks,

Dave in New Port Richey, FL




Re: [O] So many reading on gmane?

2014-04-04 Thread J. David Boyd
Sebastien Vauban  writes:

> J. David Boyd wrote:
>> Nick Dokos  writes:
>>> jdavidb...@adboyd.com (J. David Boyd) writes:
>>>> Rainer M Krug  writes:
>>>>
>>>>> This seems very strange - but it is the fact that gmane seems to be not
>>>>> available the reason why this list is so quiet today
>>>>
>>>> I was on gmane yesterday.  What time was it not available for you?
>>>
>>> On Wednesday.
>>
>> Maybe it was a regional kind of thing.  I was off and on all day on Wednesday
>> (Central Western Florida), and had no problems of any kind.
>
> I don't think it's a question of server being down. It simply, as I also
> observe it sometimes, that posts received by email aren't always
> available on the Gmane interface at the same time.
>
> It happens like if no post was made for hours, and then, suddenly, all
> of them appear on the newsgroup as well.
>
> Best regards,
>   Seb

Oh, I understand.  I've seen that myself, sometimes.

Dave




Re: [O] So many reading on gmane?

2014-04-04 Thread J. David Boyd
Nick Dokos  writes:

> jdavidb...@adboyd.com (J. David Boyd) writes:
>
>> Rainer M Krug  writes:
>>
>>> This seems very strange - but it is the fact that gmane seems to be not
>>> available the reason why this list is so quiet today
>>>
>>> Rainer
>>
>> I was on gmane yesterday.  What time was it not available for you?
>>
>
> On Wednesday.

Maybe it was a regional kind of thing.  I was off and on all day on Wednesday
(Central Western Florida), and had no problems of any kind.




Re: [O] So many reading on gmane?

2014-04-04 Thread J. David Boyd
Rainer M Krug  writes:

> This seems very strange - but it is the fact that gmane seems to be not
> available the reason why this list is so quiet today
>
> Rainer

I was on gmane yesterday.  What time was it not available for you?

Dave




Re: [O] bullets when exporting a list of checklists

2013-07-19 Thread J. David Boyd
Nick Dokos  writes:

> [I tried following up earlier and I think I messed it up, so I'm
> resending. Apologies if there is a second reply.]
>
> da...@adboyd.com (J. David Boyd) writes:
>
>> da...@adboyd.com (J. David Boyd) writes:
>>
>>> Is there any way to turn off the solid and hollow bullet points when 
>>> exporting
>>> a checklist of checklists?
>>>
>>> I want to make a checklist for my camping trips, and I don't want the bullet
>>> points, just the nice clean list.
>>>
>>> I've seen some options available for formatting, but nothing seems to 
>>> control
>>> the generation of the bullet points.
>>>
>>> Any pointers on where to look in the docs or source for controlling this?
>>>
>>> Thanks,
>>>
>>> Dave in St. Petersburg, FL
>>
>> And sorry, I should have said "When exporting to html,"
>>
>>
>>
> I think this is more up CSS's alley. Try
>
> #+HTML_HEAD: .org-ul {list-style-type: none; } 
> * foo
>
>   - foo
> - bar
>   - foo


Hmm, I'll check that out...





[O] bullets when exporting a list of checklists

2013-07-19 Thread J. David Boyd

Is there any way to turn off the solid and hollow bullet points when exporting
a checklist of checklists?

I want to make a checklist for my camping trips, and I don't want the bullet
points, just the nice clean list.

I've seen some options available for formatting, but nothing seems to control
the generation of the bullet points.

Any pointers on where to look in the docs or source for controlling this?

Thanks,

Dave in St. Petersburg, FL




Re: [O] bullets when exporting a list of checklists

2013-07-19 Thread J. David Boyd
da...@adboyd.com (J. David Boyd) writes:

> Is there any way to turn off the solid and hollow bullet points when exporting
> a checklist of checklists?
>
> I want to make a checklist for my camping trips, and I don't want the bullet
> points, just the nice clean list.
>
> I've seen some options available for formatting, but nothing seems to control
> the generation of the bullet points.
>
> Any pointers on where to look in the docs or source for controlling this?
>
> Thanks,
>
> Dave in St. Petersburg, FL

And sorry, I should have said "When exporting to html,"




Re: [O] Hiding cells in org table

2013-07-18 Thread J. David Boyd
John Rakestraw  writes:

> Hi, David --
>
> On 17.07.2013 14:02, da...@adboyd.com wrote:
>> I've scanned through the manuals, and see no way to do this, but.
>>
>> Is there anyway to block out the contents of a result field in a
>> table, until
>> I export it into an html file?
>>
>> I'm keeping track of my hours worked, with the dollar amounts paid
>> calculated,
>> and I don't want anyone wandering by my desk to be able to see how
>> much I am
>> being paid.
>>
>> Then I want the amount to show in the .html file that I export to
>> have signed
>> off on.
>
> I can't tell you how to hide the contents of a field, but this might
> serve your purpose, assuming that you're paid a regular hourly
> wage. How about setting a constant (see
> http://orgmode.org/org.html#References and search for "Named
> References")? You can do this in a property in the table. Have a
> column formula that multiplies the number of hours worked times the
> constant.
>
> For day-to-day purposes, you'd define the constant as "0" or "1". When
> it's time to export and print your html file, change the constant to
> your actual hourly rate and recalculate.

Hmm, that's not a bad idea for a work around.  Thanks.





[O] Hiding cells in org table

2013-07-17 Thread J. David Boyd

I've scanned through the manuals, and see no way to do this, but.

Is there anyway to block out the contents of a result field in a table, until
I export it into an html file?

I'm keeping track of my hours worked, with the dollar amounts paid calculated,
and I don't want anyone wandering by my desk to be able to see how much I am
being paid.

Then I want the amount to show in the .html file that I export to have signed
off on.

Thanks,

Dave




Re: [O] clock adjustments

2013-07-16 Thread J. David Boyd
da...@adboyd.com (J. David Boyd) writes:

> Are there any keystrokes/functions built in that would let me adjust the time
> between to tasks auto-magically.
>
> I mean, I just worked on task B, after finishing task A, but forgot to clock
> out of task A and into task B.
>
> Is there anything I can do while on task B that would let me incrementally
> steal time from task A?
>
> Dave

Just found my own answer:


S-M-UP/DOWN (org-timestamp-up/down)

On CLOCK log lines, increase/decrease the timestamp at point and the one of
the previous (or the next clock) timestamp by the same duration. For example,
if you hit S-M-UP to increase a clocked-out timestamp by five minutes, then the
clocked-in timestamp of the next clock will be increased by five minutes.






[O] clock adjustments

2013-07-16 Thread J. David Boyd
Are there any keystrokes/functions built in that would let me adjust the time
between to tasks auto-magically.

I mean, I just worked on task B, after finishing task A, but forgot to clock
out of task A and into task B.

Is there anything I can do while on task B that would let me incrementally
steal time from task A?

Dave




Re: [O] org-clock-idle-time

2013-07-12 Thread J. David Boyd
Ivan Andrus  writes:

> Do you have a stale .elc or somewhere?  Those are the bane of my existence.
>
> -Ivan
>
> On Jul 12, 2013, at 9:39 AM, J. David Boyd  wrote:
>
>> Nick Dokos  writes:
>> 
>>> da...@adboyd.com (J. David Boyd) writes:
>>> 
>>>> A while back I set this to 5 minutes, and tried it for a while, and 
>>>> decided I
>>>> didn't like it, and set it back to never.
>>>> 
>>>> ...
>>>> I've grepped all my .el and .org files, and can find no references to that
>>>> variable anywhere.
>>>> 
>>>> However, it still fires off after 5 minutes.  I come back to my emacs 
>>>> window
>>>> to clock out of the current task and into another one, and I get prompted 
>>>> to
>>>> decide what to do with my idle time.
>>>> 
>>>> Any ideas where this setting is hiding?
>>>> 
>>> 
>>> Did you check your customize file?
>>> C-h v custom-file RET
>> 
>> Yes, thanks.  First place I looked.  It's custom.el on my system.
>> 
>> 


Great idea, but, sadly, no...




Re: [O] org-clock-idle-time

2013-07-12 Thread J. David Boyd
Nick Dokos  writes:

> da...@adboyd.com (J. David Boyd) writes:
>
>> A while back I set this to 5 minutes, and tried it for a while, and decided I
>> didn't like it, and set it back to never.
>>
>> ...
>> I've grepped all my .el and .org files, and can find no references to that
>> variable anywhere.
>>
>> However, it still fires off after 5 minutes.  I come back to my emacs window
>> to clock out of the current task and into another one, and I get prompted to
>> decide what to do with my idle time.
>>
>> Any ideas where this setting is hiding?
>>
>
> Did you check your customize file?
> C-h v custom-file RET

Yes, thanks.  First place I looked.  It's custom.el on my system.




[O] org-clock-idle-time

2013-07-12 Thread J. David Boyd

A while back I set this to 5 minutes, and tried it for a while, and decided I
didn't like it, and set it back to never.

It turns out that many times I clock into a task in Emacs, but a lot of the
work I am doing is not in emacs, so the idle timer was annoying me.

Turned it off, if I look at it with customize-apropos org-clock-idle-time, it
says it is set to never.

I've grepped all my .el and .org files, and can find no references to that
variable anywhere.

However, it still fires off after 5 minutes.  I come back to my emacs window
to clock out of the current task and into another one, and I get prompted to
decide what to do with my idle time.

Any ideas where this setting is hiding?

Thanks,

Dave




Re: [O] How to let Org Agenda search all files in a directory *recursively* ?

2013-06-27 Thread J. David Boyd
Nicolas Richard  writes:

> da...@adboyd.com (J. David Boyd) writes:
>> Huh, when I set my org-agenda-files to ~/org/, and have TODO files in
>> ~/org/home and ~/org/work, and press C-c a a, it loads all the todo file,
>> recursed down to all the subdirectories.
>>
>> However, and this is strange, after it loads them all up, it changes
>> org-agenda-files to discrete filepaths, and not just the directory anymore.
>
> It's what happens for me too, but I specifically wrote some elisp to do
> that in my .emacs. Can you reproduce from -Q ?

emacs -Q didn't work at all, so I went digging into my config file.

Here's what recursively loads .org files for me.  I don't remember when I
added this, but it's been a while...

In my emacs-init.org file, I have:


(add-hook 'org-agenda-mode-hook
(lambda ()
(setq org-agenda-files
(find-lisp-find-files "~/org" "\.org$")
)
)
)



So no matter what I might type into the org-agenda-files in customize, this is
what really runs.   And it works fine too.  I think I got this code from Sacha
Chua, but I'm not certain.

Dave




Re: [O] How to let Org Agenda search all files in a directory *recursively* ?

2013-06-27 Thread J. David Boyd
Nicolas Richard  writes:

> chris  writes:
>
>> How to Let [C-c a] to search over all files in a directory *recursively* ?
>
> AFAIK, there's no built in way.
>
> Applying the following patch to the function org-agenda-files gets you
> there, but it's not clean at all, and certainly very unefficient :
>
>   Modified   lisp/org.el
> diff --git a/lisp/org.el b/lisp/org.el
> index 7fd1576..0068c49 100644
> --- a/lisp/org.el
> +++ b/lisp/org.el
> @@ -17797,8 +17797,7 @@ used by the agenda files.  If ARCHIVE is `ifmode', do 
> this only if
>  (setq files (apply 'append
>  (mapcar (lambda (f)
>(if (file-directory-p f)
> -  (directory-files
> -   f t org-agenda-file-regexp)
> +  (find-lisp-find-files f 
> org-agenda-file-regexp)
>  (list f)))
>  files)))
>  (when org-agenda-skip-unavailable-files
>
> Also it might be faster to rely on an external "find" tool but that requires
> modifying the regexp (-regex applies to whole path).
>
> HTH,

Huh, when I set my org-agenda-files to ~/org/, and have TODO files in
~/org/home and ~/org/work, and press C-c a a, it loads all the todo file,
recursed down to all the subdirectories.

However, and this is strange, after it loads them all up, it changes
org-agenda-files to discrete filepaths, and not just the directory anymore.

That seems like a bug to me

Dave




Re: [O] How to let Org Agenda search all files in a directory *recursively* ?

2013-06-27 Thread J. David Boyd
chris  writes:

> I want to set up Org-mode variable "org-agenda-files".
>
> How to Let [C-c a] to search over all files in a directory *recursively* ?

It's in the doc help for org-agenda-files:

   The files to be used for agenda display.
   Entries may be added to this list with M-x org-agenda-file-to-front and 
removed with
   M-x org-remove-file.  You can also use customize to edit the list.
   
   If an entry is a directory, all files in that directory that are matched by
   `org-agenda-file-regexp' will be part of the file list.
   
   If the value of the variable is not a list but a single file name, then
   the list of agenda files is actually stored and maintained in that file, one
   agenda file per line.  In this file paths can be given relative to
   `org-directory'.  Tilde expansion and environment variable substitution
   are also made.

So just set it to be a directory, as I do.

Dave




[O] Formatting a calculated cell entry as currency

2013-06-06 Thread J. David Boyd

I've got a simple cell calculation, =@2 * 40

If @2 contained 10, is there anyway to force this to show as $400.00?  I've
combed through the info file, and if it is there I'm blind.

Dave




Re: [O] Babel blocks not indented

2013-05-09 Thread J. David Boyd
Julien Cubizolles  writes:

> Eric Schulte  writes:
>
>> Julien Cubizolles  writes:
>>
>>> I'm new to babel and I'm experiencing a strange problem. A
>>> src_block created with ">> in. Here is an example:
>>>
>>
>> Try "TAB 
> That's what I was doing but it seems the problem lies with
> org-indent-mode and is also present with regular text. Apparently,
> disabling and re-enabling seems to fix it. I'll investigate further.
>
> Julien.

I change my mode to whatever my src is in when I want indenting to work
properly, then change it back when I want to see it as an org file again.

Dave




Re: [O] getting file properties

2013-05-04 Thread J. David Boyd
John Kitchin  writes:

> Hi everyone,
>
> if I have an org-file with this in it:
>
> #+EMAIL: jkitc...@cmu.edu
>
> is there an org lisp command to get the email address after I have
> opened the file? I am looping through many files to generate a report,
> and would like to do this in emacs-lisp. I had hoped org-entry-get
> would do it, but it does not (it will retrieve it from #+PROPERTY:
> EMAIL jkitc...@cmu.edu).
>
> Is it possible to define other keywords similar to that? E.g.
>
> #+ANDREWID: jkitchin
>
> and then to be able to read them from a lisp command (without writing
> the parsing code myself)? something like (org-entry-get-keyword
> "ANDREWID"). 
>
> I could not find anything like this in the property API
> (http://orgmode.org/manual/Using-the-property-API.html) which is where
> i thought it would be.
>
> Thanks!
>
> John
>
> ---
> John Kitchin
> Associate Professor
> Doherty Hall A207F
> Department of Chemical Engineering
> Carnegie Mellon University
> Pittsburgh, PA 15213
> 412-268-7803
> http://kitchingroup.cheme.cmu.edu


I'm interested in an answer to this as well...




Re: [O] adding images in org

2013-04-13 Thread J. David Boyd
Bastien  writes:

> Hi David,
>
> da...@adboyd.com (J. David Boyd) writes:
>
>> Hmm, then is there any method in Org to auto-download the image, and then
>> inline it?
>
> No.
>
>> Or in other words, do attachments have to be locally available, or will a URL
>> work to attach something?
>
> The former.
>
> HTH,

Thanks, that's what I needed to know!:-)

Dave




Re: [O] adding images in org

2013-04-12 Thread J. David Boyd
Nick Dokos  writes:

>
> I don't think you can inline remote images. The post you link to refers
> only to locally available images.
>
> Nick

Hmm, then is there any method in Org to auto-download the image, and then
inline it?

Or in other words, do attachments have to be locally available, or will a URL
work to attach something?

Dave




Re: [O] js-info problem

2013-04-10 Thread J. David Boyd
Bastien  writes:

> Hi David,
>
> da...@adboyd.com (J. David Boyd) writes:
>
>> I see an error in my message buffer when starting up:
>>
>> Problems while trying to load feature `org-jsinfo'.
>>
>> Any ideas how to fix this?  I can't even find an org-jsinfo in the org
>> source directory.
>
> There is no org-jsinfo.el file in Org 8.0, so you need to remove 
> (require 'org-jsinfo) from your configuration if you use Org 8.0.


Thanks, had a reference in my loaded org modules in custom.el...

Dave




[O] js-info problem

2013-04-10 Thread J. David Boyd
I see an error in my message buffer when starting up:

Problems while trying to load feature `org-jsinfo'.

Any ideas how to fix this?  I can't even find an org-jsinfo in the org source
directory.

Dave




Re: [O] export parameters in ORG file

2013-04-08 Thread J. David Boyd
Nicolas Goaziou  writes:

> Dieter Wilhelm  writes:
>
>> da...@adboyd.com (J. David Boyd) writes:
>>
>>> Back in the day, when I C-x C-e to export from an org file, I could tap
>>> a key and put all the control factors into the top of the file.
>>>
>>> Now I don't see that option when I do this.
>>>
>>> Are they gone?  Or is it still possible to do this?
>>
>> Bastien wants to resurrect it, I hope, at least, for the most often used
>> exporters...
>
> It is resurrected already. Use # key from the dispatcher (with a recent Org).
>
>
> Regards,


! :-)  !

Dave




Re: [O] export parameters in ORG file

2013-04-07 Thread J. David Boyd
Dieter Wilhelm  writes:

> da...@adboyd.com (J. David Boyd) writes:
>
>> Back in the day, when I C-x C-e to export from an org file, I could tap
>> a key and put all the control factors into the top of the file.
>>
>> Now I don't see that option when I do this.
>>
>> Are they gone?  Or is it still possible to do this?
>
> Bastien wants to resurrect it, I hope, at least, for the most often used
> exporters...
>
> --
> Dieter
>
>> Dave

I would like to see it, I used to tweak those occasionally, and miss them...




[O] export parameters in ORG file

2013-03-31 Thread J. David Boyd

Back in the day, when I C-x C-e to export from an org file, I could tap
a key and put all the control factors into the top of the file.

Now I don't see that option when I do this.

Are they gone?  Or is it still possible to do this?

Dave




Re: [O] Org Community

2013-03-15 Thread J. David Boyd

"Loyall, David"  writes:

> FWIW, I believe that the org-mode community should do what we can to
> oblige Jambunathan's request, even if/when we're not legally required
> to do so.  I think that we should do the same for any human who wants
> to withdraw from an endeavor.  (Don't each of you feel that your code
> is a part of you?)
>
> Supposing that the group agrees that the code should be removed
> somehow, then at that point we can think about the most orderly way to
> do it.  What happens, technically, if we mark it all as deprecated?
>

I look at it this way.   If I helped build a house for Habitat for
Humanity, then a while later decided I didn't like what they stand for,
do I have the right to go take out the beams I nailed into the
structure?

Dave




Re: [O] seeing ??? in Ccaa rather than file name

2013-02-27 Thread J. David Boyd
Bastien  writes:

>> I see the same thing. Categories that would normally set to the file
>> name are displayed as "???". Presumably because
>> `org-refresh-category-properties' is called inside
>> `with-silent-modifications', which let-binds `buffer-file-name'.
>
> Thanks for digging this further, I've fixed this now.


Great, so much better!

Thanks,

Dave




Re: [O] seeing ??? in Ccaa rather than file name

2013-02-23 Thread J. David Boyd
Sorry, meant to say 'agenda', not 'Ccaa'

Dave




[O] seeing ??? in Ccaa rather than file name

2013-02-23 Thread J. David Boyd

I'm using Org-mode version 7.9.3e (7.9.3e-1194-g43c8aa @
/home/dave/.emacs.d/org/lisp/), just got the latest pull this morning,
and now when I generate an agenda, I'm getting lines like 

  10:04.. now  - - - - - !
  ???:12:00.. Scheduled:  TODO [#B] Change oil
  12:00.. 
  14:00.. 
  16:00.. 
  18:00.. 
  20:00.. 
  22:00.. 
  24:00.. 
02-24 (Sun) 
02-25 (Mon) 
  ???:12:00.. Scheduled:  TODO Taxes


rather than seeing the files that contain the scheduled items.   It was
fine yesterday, so it has to be something in the git pull from this
morning.

Thought I'd throw that out there and see if anyone else sees this
problem.

I also noticed, and I don't think it ever did this before, when I put
the cursor on a listed item in the agenda, the file name shows up in the
message area.   Has it always done that?  Maybe the two are related.

Dave




Re: [O] Latest versions

2013-01-25 Thread J. David Boyd
Achim Gratz  writes:

> J. David Boyd writes:
>> Sorry, I meant 'git fetch' from inside the org-mode directory.
>
> That doesn't even try to touch your work-tree.  You want "git pull", but
> using the appropriate target from the build system is even better since
> it will ensure that everything else is up-to-date, too.
>
>
> Regards,
> Achim.

I didn't realize 'make update' existed.  That worked great!

Dave




Re: [O] Latest versions

2013-01-25 Thread J. David Boyd
Nick Dokos  writes:

> Jambunathan K  wrote:
>
>> Nick Dokos  writes:
>> 
>> >> 
>> >> How do I get the latest version of org-mode, with git?  
>> >> 
>> >> I got the version I have initially with 
>> >> 'git clone git://orgmode.org/org-mode.git', and I
>> >> 'git refresh' every day, but that keeps me in 7.9.3c.
>> >> 
>> >
>> > You mean ``git pull''? I get
>> >
>> > $ git refresh
>> > git: 'refresh' is not a git command. See 'git --help'.
>> 
>> make update
>
>
> Agreed: the best thing to do is ``make help'' and ``make helpall'', and
> figure out what the proper make target is for one's purposes.
>
> Nick

Sorry, I meant 'git fetch' from inside the org-mode directory.

Dave




Re: [O] How to track down "No heading for this item in buffer or region."?

2013-01-25 Thread J. David Boyd
Nick Dokos  writes:

> Bastien  wrote:
>
>> Nick Dokos  writes:
>> 
>> > to try to reproduce Rainer's problem, when I first construct the agenda,
>> > I get *both* the TODO and the no-heading message: text properties are not
>> > active. If I then visit the file (e.g. RET on the TODO item) and construct
>> > the agenda again, neither the TODO nor the no-heading message
>> > appears.
>> 
>> I see -- it was not obvious to me you were trying without opening the
>> file in a buffer.  With my patch, I can reproduce the error, but only
>> the TODO (which appears instead of being skipped, not with the
>> timestamp line.  Yes, seems related to properties.  I'll digg further.
>> 
>
> Not quite: the file *is* opened in a buffer (the agenda code opens all the
> files, I presume with find-file-noselect), but the text properties are
> not up to date. It's only when I explicitly visit the buffer
> that they get updated.
>
> E.g. if you evaluate
>
> (setq buf (find-file-noselect "/path/to/test.org"))
> (with-current-buffer buf
>   (setq s (buffer-substring 1 2)))
>
> the echo area shows
>
> ,
> | #("#" 0 1 (fontified nil))
> `
>
> But if you visit the buffer with C-x b test.org RET and then
> evaluate the second form again, you get 
>
> ,
> | #("#" 0 1 (fontified t font-lock-fontified t face font-lock-comment-face))
> `
>
> There is a section on lazy properties in the elisp manual but I don't
> know how to use the mechanism described there: there are no examples in
> current emacs code, some half-hearted experiments failed for unknown
> reasons, and googling a bit found only one relevant thread in the emacs
> group from 2004 - quoting Stefan Monnier from that thread:
>
> #+BEGIN_QUOTE
>   I think the lazy text properties that you refer to (i.e. variable
>   buffer-access-fontify-functions) are a sadly perfect example of C code
>   implemented before we knew what we needed.  It's implemented,
>   documented, and 100% unused.
> #+END_QUOTE
>
> AFAICT, nothing has been done in this area since then.
>
> Nick
>
> PS. Here's the trivial test.org again for completeness:
>
> # timestamp: <2013-01-24 Thu>
>
> * TODO foo
> #  SCHEDULED: <2013-01-24 Thu>



There was a message in here a while back about something like this.   I
can't find it at the moment, but the author talked about org mode hooks
that aren't being run when a file is loaded or moved to from the agenda,
only when explicitly loaded.   He had a work around for that, but I
don't recall that either   Sorry for no more help than this




[O] Latest versions

2013-01-25 Thread J. David Boyd

How do I get the latest version of org-mode, with git?  

I got the version I have initially with 
'git clone git://orgmode.org/org-mode.git', and I
'git refresh' every day, but that keeps me in 7.9.3c.

I had to 'wget http://orgmode.org/org-latest.tar.gz' to get to 7.9.3d.

What might I be doing incorrectly?  I presumed that git fetch would keep
me up to the latest version, but it seems not to.

Thanks,

Dave in St. Petersburg, FL





Re: [O] org-mode failing on org-mobile-push with error

2013-01-17 Thread J. David Boyd
Jeffrey Spencer  writes:

> This is the error I receive when running org-mobile-push. I think I
> only see the error when I open an agenda buffer and run the command.
> Then it creates two agenda buffers. The normal and the one labeled
> *SUMO* and I get the error below. What is the reason for this and
> there is a way to run org-mobile-push and alleviate this error?
>
> Saving all Org-mode buffers... done
> Copying files...
> OVERVIEW
> Writing index file...
> Writing checksums...
> Rebuilding agenda buffer...done
> org-mobile-push: Wrong type argument: window-live-p, #
>
> Cheers,
> Jeff

What versions of org and emacs are you using?   I'm using org mode
7.9.3c, and emacs 24.2, and don't get that error you are reporting.

Dave




[O] Org and Habits

2013-01-15 Thread J. David Boyd

I think these are working, but how do I tell for certain.

If I am in the file with the habit, and I changed it from TODO to DONE,
it stays DONE, and I get an entry in PROPERTIES about 'last repeat',
yeah, seems to be fine.

But if I mark it DONE in the agenda, it stays DONE, I think.  I was
interrupted halfway through, and am not certain what I did.

Should it work the same from the agenda that it does from the file?   I
mean, I don't expect to see it say DONE, I expect it to disappear.

What should I see?





Re: [O] Error building org-e-publish

2013-01-13 Thread J. David Boyd
Michael Gauland  writes:

> I'm having trouble building the latest code from git.
>
> I don't normally use 'publish', but it appears to be required for some
> of the exporters I use. I've added it to ORG_ADD_CONTRIB, but it fails
> to build:
>
>   Compiling file /home/mike/elisp/org-mode-clean/lisp/org-e-publish.el
> at Mon Jan 14 11:51:11 2013
>   org-e-publish.el:844:35:Error: Not a lambda list: (quote ignore)
>
> The faulty line is simply
> (org-e-publish-projects project-alist)
>
> Has anyone else run into this?  Any advice would be greatly appreciated.
>
> Kind Regards,
> Mike


Mine builds with no problem at all, using emacs 24.2.92.

You sure you have the latest git source?  I just did an update a moment
ago...




Re: [O] habits don't get re-scheduled

2013-01-13 Thread J. David Boyd
Karl Voit  writes:

> * Bastien  wrote:
>> Hi Karl,
>
> Hi!
>
>> Karl Voit  writes:
>>
>>> I bisected this issue. It resulted in:
>>
>> I should have fixed this now, please let me know!
>
> Fixed, thank you very much - once again! :-)


I must still be doing something wrong.  I'm using org version 7.9.3c,
and my habits are closing when I change TODO to DONE.

Is there something else that has to be changed.   They used to work a
few updates ago.



From users+bounces-82-archive=mail-archive@sv.libreoffice.org Sun Jan 13 
07:32:23 2013
Return-path: 
Envelope-to: arch...@mail-archive.com
Delivery-date: Sun, 13 Jan 2013 07:32:23 -0800
Received: from exprod5mx184.postini.com ([64.18.0.209] helo=psmtp.com)
by mail-archive.com with esmtp (Exim 4.76)
(envelope-from 
)
id 1TuPXq-0001Yw-Rw
for arch...@mail-archive.com; Sun, 13 Jan 2013 07:32:22 -0800
Received: from bilbo.documentfoundation.org ([178.63.91.70]) (using TLSv1) by 
exprod5mx184.postini.com ([64.18.4.10]) with SMTP;
Sun, 13 Jan 2013 10:32:20 EST
Received: from bilbo.documentfoundation.org (localhost [127.0.0.1])
by bilbo.documentfoundation.org (Postfix) with SMTP id E34B51BF2699
for ; Sun, 13 Jan 2013 16:32:18 +0100 (CET)
X-Original-To: us...@sv.libreoffice.org
Delivered-To: sv.libreoffice.org--us...@bilbo.documentfoundation.org
Received: from localhost (localhost [127.0.0.1])
by bilbo.documentfoundation.org (Postfix) with ESMTP id 10A331BF2657
for ; Sun, 13 Jan 2013 16:32:17 +0100 (CET)
X-Virus-Scanned: amavisd-new-2.6.4 (20090625) at bilbo.documentfoundation.org
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=6.31
tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7,
SPF_PASS=-0.001] autolearn=ham
Authentication-Results: bilbo.documentfoundation.org (amavisd-new); dkim=pass
header.i=@gmail.com
Received: from bilbo.documentfoundation.org ([127.0.0.1])
by localhost (bilbo.documentfoundation.org [127.0.0.1]) (amavisd-new,
port 10030)
with ESMTP id uw1dz8B4AClJ for ;
Sun, 13 Jan 2013 16:32:13 +0100 (CET)
Received: from mail-qc0-f175.google.com (mail-qc0-f175.google.com
[209.85.216.175]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
(No client certificate requested)
by bilbo.documentfoundation.org (Postfix) with ESMTPS
for ; Sun, 13 Jan 2013 16:32:13 +0100 (CET)
Received: by mail-qc0-f175.google.com with SMTP id j3so2034476qcs.6
for ; Sun, 13 Jan 2013 07:32:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
h=mime-version:date:message-id:subject:from:to:content-type
:content-transfer-encoding;
bh=knJu94a4xzq2jZ13CYbylBRMeqglUGxPklYmv8HTp3k=;
b=tHIxNRQpTzthRsnr+j4qI5QJQs7sRBbE62T4RNZGbkBt0feQrcnB/yYfDVj/EoXLsn
QSCwBcxQ2EsZa0VpThXR/CtKBJqsqp+Z/RPC7QBvuMv0tCChpE4eImMt69/PGE6C1GYP
lJXx2irqXRgdRwp1gFRl8kFbS6u2ZBGeqZbDY0CzyM0OS7necZRFjdbp2w8SIivKSRUt
qQEX8VIGRpfbW43xGcFLjj2W/79S8lbJWPeYz1DNVBQ0ZFwEha+uiBw6y4R4QteZ4JUi
eub+0AAp+ChrldXyR83psXGVbQ/FmefmRzOYow/wH90jC709pZbNfCRZ+Qte5hqMwaVM
8PhA==
Received: by 10.49.107.4 with SMTP id gy4mr80841594qeb.63.1358091132472; Sun,
13 Jan 2013 07:32:12 -0800 (PST)
Received: by 10.49.72.104 with HTTP; Sun, 13 Jan 2013 07:32:12 -0800 (PST)
Date: Sun, 13 Jan 2013 16:32:12 +0100
Message-ID: 

Subject: [sv-users] =?UTF-8?Q?Mer_om_LibreOffice_Calc=2Dhj=C3=A4lpen=E2=80=A6?=
From: Johnny Rosenberg 
To: "us...@sv.libreoffice.org" 
Archived-At: 
Errors-To: postmas...@documentfoundation.org
Precedence: list
List-Id: 
List-Unsubscribe: 
List-Archive: 
List-Post: 
List-Help: 
List-Subscribe: 
List-Owner: 
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
X-pstn-levels: (S: 5.37599/99.9 CV:99.9000 FC:95.5390 LC:95.5390 
R:95.9108 P:95.9108 M:97.0282 C:98.6951 )
X-pstn-dkim: 1 skipped:not-enabled
X-pstn-settings: 4 (1.5000:1.5000) s cv gt3 gt2 gt1 r p m c 
X-pstn-addresses: from  [294/10] 

TsOkciBkZXQgZ8OkbGxlciBjZWxsZnVua3Rpb25lbiBTw5ZLKCksIHNvbSBzw7ZrZXIgZWZ0ZXIg
ZW4gc3Ryw6RuZyBpbnV0aQplbiBhbm5hbiwgw6RyIGRldCB0eWRsaWdlbiBtZW5pbmdlbiBhdHQg
ZGVuIHNrYSByZXR1cm5lcmEgZXR0CmZlbG1lZGRlbGFuZGUgb20gc3Ryw6RuZ2VuIGludGUgaGl0
dGFzLiBEZXR0YSBmcmFtZ8OlciBkb2NrIGludGUgYXYKaGrDpGxwdGV4dGVuLCBzb20gc2VyIHV0
IHPDpSBow6RyOgoK4oCdU8OWSwpSZXR1cm5lcmFyIHBvc2l0aW9uZW4gZsO2ciBldHQgdGV4dHNl
Z21lbnQgaSBlbiB0ZWNrZW5zdHLDpG5nLiBEdSBrYW4KYW5nZSB2YXIgc8O2a25pbmdlbiBza2Eg
YsO2cmphLiBTw7ZrdGV4dGVuIGthbi

Re: [O] org-mobile-push not generating index.org or checksum

2013-01-09 Thread J. David Boyd
John Hendy  writes:

> I just setup mobileOrg to use Dropbox. Setting up synchronizer in
> mobileOrg worked fine, Dropbox login worked fine, and I chose an
> existing folder named "mobile-org" to sync with.
>
> ...
>
> Thanks,
> John

Bastien fixed this already..   Just get the latest version, you'll be
fine.

Dave




Re: [O] Org-mode release 7.9.3

2013-01-09 Thread J. David Boyd
Nick Dokos  writes:

> J. David Boyd  wrote:
>
>> Bastien  writes:
>> 
>> > da...@adboyd.com (J. David Boyd) writes:
>> >
>> >> Without knowing any elisp, one symptom I see is that while preparing the
>> >> export, the status line says
>> >>
>> >> org-agenda-finalize: Buffer is read-only: #
>> >>
>> >> then the export stops.
>> >
>> > Can you test latest maint or master branch?  I think I've fixed it.
>> >
>> > Thanks...
>> 
>> 
>> Positively, where do I get that?  I normally get my Orgs from
>> git://repo.or.cz/org-mode.git, is that the one you would be speaking of?
>> 
>
> AFAIK, that's a mirror and may be out of date.
>
> The canonical place is
>
> git://orgmode.org/org-mode.git
>
>
> See 
>
> http://thread.gmane.org/gmane.emacs.orgmode/35831/focus=35893
>
> and the thread that it's part of.
>
> Nick

Thanks, that's where I'll go from now on




Re: [O] Org-mode release 7.9.3

2013-01-09 Thread J. David Boyd
da...@adboyd.com (J. David Boyd) writes:

> Bastien  writes:
>
>> da...@adboyd.com (J. David Boyd) writes:
>>
>>> Without knowing any elisp, one symptom I see is that while preparing the
>>> export, the status line says
>>>
>>> org-agenda-finalize: Buffer is read-only: #
>>>
>>> then the export stops.
>>
>> Can you test latest maint or master branch?  I think I've fixed it.
>>
>> Thanks...
>
>
> Positively, where do I get that?  I normally get my Orgs from
> git://repo.or.cz/org-mode.git, is that the one you would be speaking of?
>
> Thanks,
>
> Dave

Turns out that one worked fine, and Org worked fine.  Problem is
resolved, thanks very much for all your efforts!

Dave




  1   2   3   >