Re: [O] calendar view

2011-12-08 Thread sergio
On 12/08/2011 11:43 AM, Tassilo Horn wrote:

>> Am I right, that orgmode doesn't have a calendar view
> Only the agenda.
I mean, that agenda can't display month as calendar.


-- 
sergio.



Re: [O] No LaTeX preview if non-ASCII chars included

2011-12-08 Thread suvayu ali
Hi Andreas,

On Wed, Dec 7, 2011 at 22:29, Andreas Domberg  wrote:
> Is it possible to link the preview-latex machinery with the export one, or
> modify it accordingly?
>

I have similar issues. I think org just uses the preview machinery for
auctex. So asking for a preview just uses the auctex defaults. I
haven't yet had the time to look into what to customise to resolve
this. Hopefully my comments will help you arrive at a solution. If you
do, I would be interested to know.

Thanks and GL

-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] calendar view

2011-12-08 Thread Tassilo Horn
sergio  writes:

Hi!

>>> Am I right, that orgmode doesn't have a calendar view
>> Only the agenda.
> I mean, that agenda can't display month as calendar.

If a month calendar is a a big square containing a line for each week
which in turn contains little square for the days, then the answer is
no.  However, you can display a usual agenda for one month (or the next
X days) using `org-agenda-custom-commands'.

For the nice visual overview, just go with calfw.

Bye,
Tassilo




Re: [O] calendar view

2011-12-08 Thread sergio
On 12/08/2011 01:41 PM, Tassilo Horn wrote:

> For the nice visual overview, just go with calfw.

Thank you.


-- 
sergio.



Re: [O] [bug] Code blocks (in a LOB) are not ingested anymore

2011-12-08 Thread Sebastien Vauban
Hi Eric,

Eric Schulte wrote:
>> Ingesting a LOB file does not load its code blocks anymore -- as if the file
>> was empty, or if there were no code blocks at all in it!
>
> I *do* get a single code block loaded when running your ECM. What values
> does the `org-babel-src-name-regexp' variable have on your system? If it is
> not equal to
>
>   "^[ ]*#\\+name:[]*"
>
> then my guess is that you have old versions of Org-mode defining this
> variable, and these definitions are not updated when you load the newer
> Org-mode over-top. Please see the bottom of the following commit message for
> an explanation and a workaround.
>
>   
> http://orgmode.org/w/?p=org-mode.git;a=commit;h=7e93b90f8816346a16ad49cee22870b17c05b211
>
> If you are using the development version of Emacs24 this problem will be
> resolved after Org-mode pushes to Emacs in the coming weeks.

Your analysis was 100% correct, and the root cause -- which I did not spot as
quickly -- is explained in
http://osdir.com/ml/emacs-orgmode-gnu/2011-12/msg00111.html.

Thanks for your help. And sorry for the noise.

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] calendar view

2011-12-08 Thread Eric S Fraga
sergio  writes:

> Hello.
>
> Am I right, that orgmode doesn't have a calendar view and emacs-calfw is
> better for this?

If you mean a /graphical/ view of the calendar, then yes, org-mode
doesn't have such a view.  You can, of course, view the agenda by day,
week, month or year (or any period you wish, for that matter).

for a graphical view, calfw is one option.  the other is to export your
calendar entries to something Google's calendar and use that to view.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.90.1
: using Org-mode version 7.7 (release_7.7.624.gda56)



Re: [O] Trying to use a custom face for highlighting tags used in agenda filtering

2011-12-08 Thread Sebastien Vauban
Hi Bastien,

Bastien wrote:
>>> using a better default for the face :)
>>
>> Well, I wouldn't call org-default a better default, but that's fine with
>> me. I mean: if org-default is black for the majority of the people, they
>> won't even see that you can customize that aspect of the modeline (in a
>> light scheme).
>
> Well, org-default is *not* a good default, 'modeline is. I've pushed a fix
> for this:
>
> (defface org-agenda-filter-tags
>   (org-compatible-face 'modeline
> nil)
>   "Face for tag(s) in the mode-line when filtering the agenda."
>   :group 'org-faces)

AFAIK, `modeline' is the facename used in XEmacs. In GNU Emacs, it is
`mode-line'.

>> So, I prefer some color (I chose orange) that everybody can customize, and
>> that makes everybody be aware of the tags used for filtering (in this
>> case). But, as said, I don't mind the default: I'll customize it anyway for
>> my own usage.
>
> One advantage of making the use of a face visible is to let people know they
> can change it. In this case, changing the weight or using a different color
> may be an option -- let's see if people come up with good ideas.

Using `mode-line' as the default face for highlighting the tags is contrary to
my intended goal: the filters simply won't be different from any information
shown in the mode-line. Hence:

- there is no highlighting by default, and
- nobody even knows that it's customizable...

I think the best choice, if you want to use an already existing face, is then
to choose `mode-line-emphasis'. At least, that one is, by default, bold, so
that one sees something different without any specific customization.

What do you think?

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] Minimal overhead Org-mode blogging system

2011-12-08 Thread Karl Voit
* Puneeth Chaganti  wrote:
> Hi Kurt,

Almost :-)

> On Thu, Dec 8, 2011 at 6:01 AM, Karl Voit  wrote:
>> * Puneeth Chaganti  wrote:
>>>
>>> https://github.com/punchagan/blog-files
>>
>> ... I really do like your blog (and found several very interesting
>> entries *g*) but I (can not and) do not want to use Wordpress.
>
> I'm sorry that the repository doesn't have a README, 

You have to add a README.org to the project - it's definitely worth
it :-)

I'd wish for a short description of:
* software requirements
* blog workflow
* limits

It's part of my letter to Santa Claus already *g*

> but this solution doesn't use Wordpress. 

Oh. Sorry, I read something about Wordpress in the workflow in one
of your blog posts. Must have been an older article then.

> It basically uses the publishing mechanism of org-mode and is
> based on ideas (and code) from org-jekyll and reprise.py
> (https://github.com/uggedal/reprise).

So I guess I have to try it by myself in order to estimate its value
to my requirements.

Thanks anyway!

-- 
Karl Voit




[O] org-program-exists not working on osx

2011-12-08 Thread Roberto Huelga
Here is a simple patch for the org-clock.el file to make the function
org-program-exists work on osx


org-clock.el.diff
Description: Binary data


Re: [O] Minimal overhead Org-mode blogging system

2011-12-08 Thread Puneeth Chaganti
On Thu, Dec 8, 2011 at 7:49 PM, Karl Voit  wrote:
> * Puneeth Chaganti  wrote:
>> Hi Kurt,
>
> Almost :-)

Aarrgggh! Really sorry about that! My sleep deprivation showing it's effect. :-)

>
>> On Thu, Dec 8, 2011 at 6:01 AM, Karl Voit  wrote:
>>> * Puneeth Chaganti  wrote:

 https://github.com/punchagan/blog-files
>>>
>>> ... I really do like your blog (and found several very interesting
>>> entries *g*) but I (can not and) do not want to use Wordpress.
>>
>> I'm sorry that the repository doesn't have a README,
>
> You have to add a README.org to the project - it's definitely worth
> it :-)
>
> I'd wish for a short description of:
> * software requirements
> * blog workflow
> * limits
>
> It's part of my letter to Santa Claus already *g*

I've added a short README that tries to include the things that you
are looking for.  But, it's something I wrote up quickly.  Feel free
to ask any specific questions.

Hope that helps,
Puneeth



Re: [O] Emacs Prelude

2011-12-08 Thread Kenny Meyer
>    (mapcar (lambda (state)
>           (evil-declare-key state org-mode-map
>             (kbd "M-l") 'org-metaright
>             (kbd "M-h") 'org-metaleft
>             (kbd "M-k") 'org-metaup
>             (kbd "M-j") 'org-metadown
>             (kbd "M-L") 'org-shiftmetaright
>             (kbd "M-H") 'org-shiftmetaleft
>             (kbd "M-K") 'org-shiftmetaup
>             (kbd "M-J") 'org-shiftmetadown))
>         '(normal insert))

This feels soo good! Thank you for sharing this.

I've only quite recently discovered Evil, which feels quite better
than Viper and is being actively maintained.



[O] Time tracking with MobileOrg

2011-12-08 Thread Tobias Kniep
A year ago, there has been a discussion on this list about tracking time
with MobileOrg (http://article.gmane.org/gmane.emacs.orgmode/31486) but
I couldn't find any more recent information. I'm using the Android
version of MobileOrg and would really like to do time tracking for my
orgmode tasks from my mobile. Is there any working solution out there?

Best regards,
Tobias







Re: [O] Batch export to html

2011-12-08 Thread Achim Gratz
Vikas Rawal  writes:
> I would like to export an org file to html using a batch command. This
> is the command I tried.
>
> emacs --batch --load=$HOME/lisp/org-7.01/lisp/org.el --eval "(setq
> org-export-headline-levels 1)" --visit=$HOME/file.org --funcall 
> org-export-as-html-batch

That won't work.  At least you will need to load org-install.el, which
conatains all the autoload stuff that org-mode needs.  The export will
likely require some more customization of org-mode variables, so you'll
probably want to load a startup file that includes those customizations
and then a (require 'org-install).

> But I get an error which says: 
>
> Symbol's function definition is void: org-in-block-p
>
> Could anyone explain what this could mean?

It means the function isn't already defined and emacs doesn't know any
way to find that definition.  Which is exactly what you prevented by not
loading org-install.


HTH,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf rackAttack V1.04R1:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada




Re: [O] Minimal overhead Org-mode blogging system

2011-12-08 Thread Karl Voit
* Puneeth Chaganti  wrote:
> On Thu, Dec 8, 2011 at 7:49 PM, Karl Voit  wrote:
>> * Puneeth Chaganti  wrote:
>>> Hi Kurt,
>>
>> Almost :-)
>
> Aarrgggh! Really sorry about that! My sleep deprivation showing it's effect. 
> :-)

*g* No worries. I by myself mix up names all the time.

 * Puneeth Chaganti  wrote:
>
> https://github.com/punchagan/blog-files

>> You have to add a README.org to the project - it's definitely worth
>> it :-)
>
> I've added a short README that tries to include the things that you
> are looking for.  But, it's something I wrote up quickly.  Feel free
> to ask any specific questions.

Quickly reading your README.org already gives me *way* more ideas on
how your system works! Thank you *very* much for that. 

Now I know that I definitely have to set up a test installation of
your system since it sound really close to my imaginary optimum
solution.

-- 
Karl Voit




Re: [O] Time tracking with MobileOrg

2011-12-08 Thread Kenny Meyer
> A year ago, there has been a discussion on this list about tracking time> 
> with MobileOrg (http://article.gmane.org/gmane.emacs.orgmode/31486) but> I 
> couldn't find any more recent information. I'm using the Android> version of 
> MobileOrg and would really like to do time tracking for my> orgmode tasks 
> from my mobile. Is there any working solution out there?

MobileOrg for Android doesn't support Time tracking, it is also not
yet planned AFAICS [1]

[1] https://github.com/matburt/mobileorg-android/wiki/

--
Kenny Meyer



On Thu, Dec 8, 2011 at 4:40 PM, Tobias Kniep  wrote:
> A year ago, there has been a discussion on this list about tracking time
> with MobileOrg (http://article.gmane.org/gmane.emacs.orgmode/31486) but
> I couldn't find any more recent information. I'm using the Android
> version of MobileOrg and would really like to do time tracking for my
> orgmode tasks from my mobile. Is there any working solution out there?
>
> Best regards,
> Tobias
>
>
>
>
>



[O] Hackish CUA support

2011-12-08 Thread Matthew Fidler
All,

I have advised CUA-mode to support shift-selection-mode allowynd
org-support-shift-select to work.  The code is at:

https://github.com/mlf176f2/org-cua-dwim.el/blob/master/org-cua-dwim.el

Let me know if it works for you.

Reply to me directly if you have comments since I rarely check the org-mode
digest.

Matt.


Re: [O] babel: tblname not being expanded into function/var

2011-12-08 Thread Nathan Neff
On Wed, Dec 7, 2011 at 10:31 AM, Thomas S. Dye  wrote:
> Hi Nathan,
>
> I believe #+srcname: is changed to #+name: now.  I don't know if this is
> contributing to your problem.

Yes indeed!!!  Thank you very much.  I changed
#+srcname: to #+name: below, and this fixed the problem.  I checked
the org-babel-src-name variable and it is now "^[]*#\\+name:[
  ]*"


Thanks,
--Nate

>> #+srcname: map-nav(shortcut-definition-list=shortcut-definition-list)
>> #+begin_src emacs-lisp
>> (require 'cl)
>> (defun map-navigation-shortcuts(shortcut-def)
>> (global-set-key (read-kbd-macro (nth 1 shortcut-def))
>>                  (lexical-let ((shortcut-def shortcut-def))
>>                    (lambda ()
>>                      (interactive)
>>                      (org-id-goto (nth 2 shortcut-def))
>> (mapcar #'map-navigation-shortcuts shortcut-definition-list)
>> #+end_src
>>
>> -- end snippets ---
>> I've found that the babel-generated "org-mode-config.el" does *not* contain
>> a variable called "shortcut-definition-list" on my new OS (Arch
>> Linux).  On my Mac,
>> the org-mode-config.el *does* contain a variable called
>> "shortcut-definition-list".
>>
>> On my new OS, I'm using Emacs version 23.3.1 and org-mode version 7.7 
>> (latest).
>> I've run make clean && make && sudo make install in my src/org
>> directory, so I'm pretty
>> sure I'm using the right code.
>>
>> I had this same problem when I ran Ubuntu 11.11, and I was pulling my
>> hair out trying to
>> get this problem fixed, and it suddenly went away!  This indicates to
>> me that it could be a
>> transient problem like having some temp files laying around or
>> something like that.
>>
>> Any advice or help is appreciated!!
>>
>> Thanks,
>> --Nate
>>
>>
>
> --
> Thomas S. Dye
> http://www.tsdye.com