Re: [O] emails written in Org Mode

2014-07-09 Thread Noorul Islam K M
Ken Mankoff mank...@gmail.com writes:

 Hi Thorsten,  On a recent thread you wrote: 

 ... *outorg-edit-buffer* (where I write my message-mode email in full
 org-mode).

 I already write emails in emacs. I'm interested in being able to compose
 emails using Org Mode. I see you use gnus. I use mu4e[1]. I wonder if
 your setup is gnus-specific or might work with other emacs mail
 clients. Will you provide some information about this?


Are you looking for something like this [1] ?

Regards,
Noorul

[1] http://doc.norang.ca/org-mode.html#OrgStructModeForMail 



Re: [O] Setup for switching between 2 org-mode configurations (demo/productive)?

2013-10-13 Thread Noorul Islam K M
Nick Dokos ndo...@gmail.com writes:

 Karl Voit devn...@karl-voit.at writes:

 * M elwood...@web.de wrote:

 Hi,

 Hi!

 I'd like to set up org-mode in a way to separate my personal data from my
 gerenal settings.
 and easily re-enable them later.
 [...]
 I assume that some of you already have something like that or can recommend
 a way for doing so?

 I by myself did chose a manual attempt so far: temporarily modifying
 org-agenda-files to one demo file [1] and sticking to this demo file
 only while showing stuff.

 With my Memacs setup (see sig), I gave up selecting stuff that might
 be private because every daily agenda shows private stuff (in case
 or displaying archive files is enabled).


 It may be worth considering running in a virtual machine.

And RAM and CPU cycles being cheap these days, I second this suggestion. 

Take a look at 

http://docs.vagrantup.com/v2/getting-started/

Thanks and Regards
Noorul



Re: [O] Some documentation suggestions

2013-10-13 Thread Noorul Islam K M
TonyMc af...@btinternet.com writes:

 Dear Bastien et al,

 I have been reading through the Org manual (version 8.2.1) and have
 found a few errors of grammar or places where the English doesn't
 sound right.  I list them below with some suggested replacements
 (separated by -).  I hope this is helpful.

 Best,
 Tony

 * 1.4 Feedback
 If you re - If you are

 * 2.5 Structure Editing
 level than - level as (twice)

 * 2.6 Sparse Trees
 several commands creating - several commands for creating

 * 2.7 Plain Lists
 theirs sub-items - their sub-items

 3.1 Table editor
 region to table - region to a table

 3.5.1 References
 one but last - last but one

 3.5.4 Durations and time values
 [HH:MM[:SS] - HH:MM[:SS]

 3.5.5 Field and range formulas
 column and rows - columns and rows
 To avoid this from happening - To prevent this from happening or
 To avoid this

 3.5.6 Column formulas
 can not - cannot

 4.2 Internal links
 put the line - put in the line

 4.6 Link abbreviations
 text don't - text doesn't

 5.2.3 Multiple keyword sets
 S-right - S-right

 5.3.2 Tracking TODO state changes
 you not only - You not only

 7.1 Property syntax
 activate this changes. - activate this change.

 7.5.2 Using column view
 modified values is - modified value is

 8 Dates and times
 used as indicating - used to indicate

 8.1 Timestamps, deadlines and scheduling
 That order depend - That order depends

 8.3 Deadlines and scheduling
 a specific deadlines - a specific deadline
 task get scheduled - task gets scheduled

 8.4 Clocking work time
 to that you can - so that you can

 8.4.1 Clocking commands
 in inserts it - and inserts it

 8.4.2 The Clock table
 and specify - specifies
 either absolute - either absolutely
 There options - These options

 10.3.3 Matching tags and properties
 one of the tag - one of the tags
 Except the Special properties - In addition to the Special
 properties

 10.4.4 Filtering/limiting agenda items
 _fitlers_ - _filters_
 Filter are - Filters are
 catogories - categories
 that as no effort - that has no effort

 10.6.3 Setting options for custom commands
 an agenda commands - an agenda command

 11 Markup for rich export
 like HTML, LaTeX - like HTML and LaTeX

 Document title
 associated to buffer - associated with the buffer

 11.8 Special blocks
 at a specific back-ends - at a specific back-end

 12.11 Other built-in back-ends
 these export back-end - these export back-ends

 15.3 Speed keys
 Speed keys do not only - Speed keys not only

 15.4 Code evaluation and security issues
  work with the code snippets - work with code snippets

 15.6 Summary of in-buffer settings
 any of those lines - any of these lines

 Appendix A Hacking
 some aspects - some areas

 A.4 Adding export back-ends
 or from deriving them - or by deriving them

 A.8 Special agenda views
 the same than `agenda' - the same as `agenda'

 A.9 Speeding up your agendas
 slowliness caused by accessing to - slowdown caused by accessing

 Appendix B MobileOrg
 It does also allow - It also allows

 B.1 Setting up the staging area
 consider to encrypt - consider encrypting

 B.2 Pushing to MobileOrg
 same name than their - same name as their

Thank you Tony!

I will submit a patch. Right now working on this.

Thanks and Regards
Noorul



[O] [PATCH] doc: Fix grammar and typo

2013-10-13 Thread Noorul Islam K M

* doc/org.texi: Fix grammar and typo.

Based on the patch proposed by TonyMc
---
 doc/org.texi |  109 +-
 1 file changed, 55 insertions(+), 54 deletions(-)

diff --git a/doc/org.texi b/doc/org.texi
index 0271d70..a202af8 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -1011,7 +1011,7 @@ version information of Emacs (@kbd{M-x emacs-version 
@key{RET}}) and Org
 @kbd{M-x org-submit-bug-report RET}
 @end example
 @noindent which will put all this information into an Emacs mail buffer so
-that you only need to add your description.  If you re not sending the Email
+that you only need to add your description.  If you are not sending the Email
 from within Emacs, please copy and paste the content into your Email program.
 
 Sometimes you might face a problem due to an error in your Emacs or Org mode
@@ -1426,7 +1426,7 @@ See also the option @code{org-goto-interface}.
 @table @asis
 @orgcmd{M-@key{RET},org-insert-heading}
 @vindex org-M-RET-may-split-line
-Insert a new heading/item with the same level than the one at point.
+Insert a new heading/item with the same level as the one at point.
 If the cursor is in a plain list item, a new item is created
 (@pxref{Plain lists}).  To prevent this behavior in lists, call the
 command with a prefix argument.  When this command is used in the
@@ -1476,7 +1476,7 @@ of the one just marked.  E.g., hitting @key{M-h} on a 
paragraph will mark it,
 hitting @key{M-h} immediately again will mark the next one.
 @orgcmd{C-c @@,org-mark-subtree}
 Mark the subtree at point.  Hitting repeatedly will mark subsequent subtrees
-of the same level than the marked subtree.
+of the same level as the marked subtree.
 @orgcmd{C-c C-x C-w,org-cut-subtree}
 Kill subtree, i.e., remove it from buffer but save in kill ring.
 With a numeric prefix argument N, kill N sequential subtrees.
@@ -1567,7 +1567,7 @@ variables @code{org-show-hierarchy-above}, 
@code{org-show-following-heading},
 control on how much context is shown around each match.}.  Just try it out
 and you will see immediately how it works.
 
-Org mode contains several commands creating such trees, all these
+Org mode contains several commands for creating such trees, all these
 commands can be accessed through a dispatcher:
 
 @table @asis
@@ -1707,7 +1707,7 @@ blocks can be indented to signal that they belong to a 
particular item.
 If you find that using a different bullet for a sub-list (than that used for
 the current list-level) improves readability, customize the variable
 @code{org-list-demote-modify-bullet}.  To get a greater difference of
-indentation between items and theirs sub-items, customize
+indentation between items and their sub-items, customize
 @code{org-list-indent-offset}.
 
 @vindex org-list-automatic-rules
@@ -2133,7 +2133,7 @@ unpredictable for you, configure the options
 @table @kbd
 @tsubheading{Creation and conversion}
 @orgcmd{C-c |,org-table-create-or-convert-from-region}
-Convert the active region to table.  If every line contains at least one
+Convert the active region to a table.  If every line contains at least one
 TAB character, the function assumes that the material is tab separated.
 If every line contains a comma, comma-separated values (CSV) are assumed.
 If not, lines are split at whitespace into fields.  You can use a prefix
@@ -2533,7 +2533,7 @@ format at least for the first field (i.e the reference 
must start with
 @example
 $1..$3@r{first three fields in the current row}
 $P..$Q@r{range, using column names (see under Advanced)}
-$..$ @r{start in third column, continue to the one but last}
+$..$ @r{start in third column, continue to the last but one}
 @@2$1..@@4$3@r{6 fields between these two fields (same as @code{A2..C4})}
 @@-1$-2..@@-1   @r{3 fields in the row above, starting from 2 columns on the 
left}
 @@I..II@r{between first and second hline, short for @code{@@I..@@II}}
@@ -2794,7 +2794,7 @@ formulas or Elisp formulas:
 @end group
 @end example
 
-Input duration values must be of the form @code{[HH:MM[:SS]}, where seconds
+Input duration values must be of the form @code{HH:MM[:SS]}, where seconds
 are optional.  With the @code{T} flag, computed durations will be displayed
 as @code{HH:MM:SS} (see the first formula above).  With the @code{t} flag,
 computed durations will be displayed according to the value of the option
@@ -2822,9 +2822,9 @@ current field will be replaced with the result.
 Formulas are stored in a special line starting with @samp{#+TBLFM:} directly
 below the table.  If you type the equation in the 4th field of the 3rd data
 line in the table, the formula will look like @samp{@@3$4=$1+$2}.  When
-inserting/deleting/swapping column and rows with the appropriate commands,
+inserting/deleting/swapping columns and rows with the appropriate commands,
 @i{absolute references} (but not relative ones) in stored formulas are
-modified in order to still reference the same field.  To 

Re: [O] How to install recent documentation of org 8.2?

2013-10-03 Thread Noorul Islam K M
Martin Beck martin.b...@macbay.de writes:

 I tried to get a recent documentation in my org-mode:

 I'm using Aquamacs 2.5 on MacOS X, which seems to have org-mode 6.33
 onboard.

 I tried to load the recent documentation with a link to the doc directory
 in my org-mode 8.2 (expanded contents from git repository) in my .emacs.
  
 (add-to-list 'Info-additional-directory-list
  (expand-file-name ~/mypath/org-mode/org_current/doc))

 But this does have no effect. With C-h i, I get displayed a an outdated
 org-manual.

 Is the doc directory the right one or do I have to download the
 documentation separately?
 I had downloaded the zipped version from http://orgmode.org/org-8.2.1.zip .


Here is a thread which discussed this issue extensively.

http://comments.gmane.org/gmane.emacs.orgmode/71129

Thanks and Regards
Noorul



Re: [O] Network Diagram

2013-09-29 Thread Noorul Islam K M
Esben Stien b...@esben-stien.name writes:

 Any way to create something like a network diagram with org-mode?

 I looked in the manual and found state change diagrams and sequence
 diagrams, but nothing that would help me plan a network with routers and
 switches. 

 Any pointers?

You can find example here http://doc.norang.ca/org-mode.html for the
tools others mentioned in this thread.

Thanks and Regards
Noorul



[O] [BUG] Tags matching

2013-09-25 Thread Noorul Islam K M

Hello all,

I use Bernt Hansen's custom Agenda view. Here is a snippet from that

(tags-todo -CANCELLED/+WAITING/!
   ((org-agenda-overriding-header Waiting and Postponed
Tasks)
(org-agenda-skip-function 'bh/skip-stuck-projects)
(org-tags-match-list-sublevels nil)
(org-agenda-todo-ignore-scheduled 'future)
(org-agenda-todo-ignore-deadlines 'future)))

This stopped working with current master. I nailed down the commit
(3e99e9298c534f19bd19f37c196b0850e2c99ca0) which is affecting the
original behavior. With this commit it lists all my todo items under
this heading.

Thanks and Regards
Noorul



Re: [O] [BUG] Tags matching

2013-09-25 Thread Noorul Islam K M
Carsten Dominik carsten.domi...@gmail.com writes:

 On 26.9.2013, at 05:50, Noorul Islam K M noo...@noorul.com wrote:

 
 Hello all,
 
 I use Bernt Hansen's custom Agenda view. Here is a snippet from that
 
(tags-todo -CANCELLED/+WAITING/!

 There should be no slash before the +WAITING.  It is also not present in 
 Bernt's text.

 Does that fix it?


Oh yes! Thank you!

Thanks and Regards
Noorul

 - Carsten

   ((org-agenda-overriding-header Waiting and 
 Postponed
 Tasks)
(org-agenda-skip-function 'bh/skip-stuck-projects)
(org-tags-match-list-sublevels nil)
(org-agenda-todo-ignore-scheduled 'future)
(org-agenda-todo-ignore-deadlines 'future)))
 
 This stopped working with current master. I nailed down the commit
 (3e99e9298c534f19bd19f37c196b0850e2c99ca0) which is affecting the
 original behavior. With this commit it lists all my todo items under
 this heading.
 
 Thanks and Regards
 Noorul
 



Re: [O] babel-load problem

2013-08-21 Thread Noorul Islam K M
Fredrik fred...@jumans.net writes:

 Any idea on what I am doing wrong? I just want to set up my config to be load 
 by
 babel?

 I have my Windows emacs set up with the latest packer for org (20130819) and
 have the following in my .emacs
 ;; setup orgmode babel
 (setq org-babel-load-languages '((emacs-lisp . t)))
 (setq org-confirm-babel-evaluate nil)
 (require 'org-install)
 (require 'org)

 ;; load orgmode organized config
 (org-babel-load-file ~/emacs.org)

 This gives me the follwing error :

 Debugger entered--Lisp error: (file-error Cannot open load file
 c:/Users/fe/Dropbox/emacs/emacs.el)
   load(c:/Users/fe/Dropbox/emacs/emacs.el nil nil t)
   load-file(~/emacs.el)
   org-babel-load-file(~/emacs.org)
   eval-buffer(#buffer  *load* nil c:/Users/fe/Dropbox/emacs/.emacs nil t) 
  ;
 Reading at buffer position 221
   load-with-code-conversion(c:/Users/fe/Dropbox/emacs/.emacs
 c:/Users/fe/Dropbox/emacs/.emacs t t)
   load(~/.emacs t t)
   #[0 \205\262


In emacs.org, are you trying to load
c:/Users/fe/Dropbox/emacs/emacs.el ? or is your $HOME set to
c:/Users/fe/Dropbox/emacs ?

Thanks and Regards
Noorul



Re: [O] problems with continuous clocking

2013-08-02 Thread Noorul Islam K M
Hildegund Mythenmetz hildegund.mythenm...@gmail.com writes:

 Hello,

 I am experiencing some problems with the continuous clocking feature of
 org-mode. I created a question in stackoverflow for this (see
 http://stackoverflow.com/questions/17969129/emacs-org-mode-continuous-clocking-does-not-work
 )

 I would be grateful, if you could help me in resolving this issue..

 Below  is the  description of the problem as asked in stackoverflow


 Thanks you for any help,

 Andreas


 I activated the option org-clock-continuously to recover gaps in my
 clocking and the continuous clocking does not seem to work.

 I am often fixing endtimes for clocked items, because I forgot to clock out
 (using the function org-resolve-clocks and using the K option (keep x
 minutes).

 When I am clocking in afterwards (in the agenda view) after having fixed
 the last clock, org-mode always clocks me in with the current time instead
 of the last time I clocked out (according to the clock resolution).

 Example:

 TODO sample todo

 CLOCK: [2013-07-31 Mi 12:53]

 M-x org-resolve-clocks - K - 5

 CLOCK: [2013-07-31 Mi 12:53]--[2013-07-31 Mi 12:58] = 0:05

 agenda view: clock in on a different task

 (! no question, if I want to clock in now or at last clock out time !)

 ** TODO sample todo 2

 CLOCK: [2013-07-31 Mi 13:22]

 Any ideas how to fix this or what option I have to activate in addition to
 org-clock-continuously?

 I am working on windows 7 Professional with GNU Emacs (GNU Emacs 24.3.1
 (i386-mingw-nt6.1.7601)) and orgmode 8.0.3

I don't think you can work in the past. Usually I fix clock manually.

Thanks and Regards
Noorul



Re: [O] Publishing long jpg urls fails with org-html-handle-links: Wrong type argument: stringp, nil

2013-08-02 Thread Noorul Islam K M
Vijayender kvijayen...@gmail.com writes:

 Hi All

 After the commit of
 http://orgmode.org/w/?p=org-mode.git;a=commitdiff;h=55f4f921835bbf5d7b8e9dd82fe8dcfef2fac4e2
 Looks like long urls for eg, the following doc are failing to html export. It
 happens without any customization on emacs-24.3-3

 * queue to stack
   - 
 http://img22.fansshare.com/celebrity/photos/934_liv-tyler-arwen-lord-of-the-rings-2103158475.jpg


I am not getting this stack trace.

Org-mode version 8.0.6 (release_8.0.6-377-ga3375f @ 
/home/noorul/.emacs.d/site-lisp/org-mode/lisp/)
GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars)
 of 2013-07-18 on noman

Thanks and Regards
Noorul

 Are failing to export to html. The problem disappears on enclosing url with 
 [[]]
 or for a jpg url which is shorter for eg:
 http://img22.fansshare.com/photos/livtyler/jtvr-armageddon-1577984889.jpg

 The debug stack trace is:

 Debugger entered--Lisp error: (wrong-type-argument stringp nil)
   string-match(width= nil)
   org-html-handle-links(#(  - 
 [[http://img22.fansshare.com/celebrity/photos/934_liv-tyler-arwen-lord-of-the-rings-2103158475.jpg][http://img22.fansshare.com/celebrity/photos/934\\_liv-tyler-arwen-lord-of-the-rings-2103158475.jpg]];
  0 3 (list-context nil list-prevs ((18)) list-struct ((18 2 -  nil nil nil 
 119)) list-item 18 fontified t) 3 4 (face org-link fontified t list-item 18 
 list-struct ((18 2 -  nil nil nil 119)) list-prevs ((18)) list-context nil) 
 4 6 (face org-link) 6 10 (face org-link fontified t list-item 18 list-struct 
 ((18 2 -  nil nil nil 119)) list-prevs ((18)) list-context nil 
 org-protected t org-no-description nil) 10 11 (face org-link org-protected t 
 org-no-description nil) 11 100 (face org-link fontified t list-item 18 
 list-struct ((18 2 -  nil nil nil 119)) list-prevs ((18)) list-context nil 
 org-protected t org-no-description nil) 100 101 (face org-link fontified t 
 rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo 
 org-linked-text htmlize-link) list-item 18 list-struct ((18 2 -  nil nil 
 nil 119)) list-prevs ((18)) list-context nil org-protected t 
 org-no-description nil) 101 102 (face org-link fontified t rear-nonsticky 
 (mouse-face highlight keymap invisible intangible help-echo org-linked-text 
 htmlize-link) list-item 18 list-struct ((18 2 -  nil nil nil 119)) 
 list-prevs ((18)) list-context nil org-protected t org-no-description nil) 
 102 103 (face org-link) 103 104 (face org-link) 104 107 (list-context nil 
 list-prevs ((18)) list-struct ((18 2 -  nil nil nil 119)) list-item 18 
 fontified t face org-link) 107 108 (list-context nil list-prevs ((18)) 
 list-struct ((18 2 -  nil nil nil 119)) list-item 18 fontified t face 
 org-link) 108 109 (face org-link) 109 150 (list-context nil list-prevs ((18)) 
 list-struct ((18 2 -  nil nil nil 119)) list-item 18 fontified t face 
 org-link) 150 151 (list-context nil list-prevs ((18)) list-struct ((18 2 -  
 nil nil nil 119)) list-item 18 fontified t face org-link) 151 152 (face 
 org-link) 152 153 (list-context nil list-prevs ((18)) list-struct ((18 2 -  
 nil nil nil 119)) list-item 18 fontified t face org-link) 153 199 
 (list-context nil list-prevs ((18)) list-struct ((18 2 -  nil nil nil 119)) 
 list-item 18 fontified t face org-link) 199 200 (list-context nil list-prevs 
 ((18)) list-struct ((18 2 -  nil nil nil 119)) list-item 18 rear-nonsticky 
 (mouse-face highlight keymap invisible intangible help-echo org-linked-text 
 htmlize-link) fontified t face org-link) 200 201 (list-context nil list-prevs 
 ((18)) list-struct ((18 2 -  nil nil nil 119)) list-item 18 rear-nonsticky 
 (mouse-face highlight keymap invisible intangible help-echo org-linked-text 
 htmlize-link) fontified t face org-link) 201 202 (face org-link) 202 203 
 (face org-link)) (:latex-image-options nil :exclude-tags (noexport) 
 :select-tags (export) :publishing-directory nil :timestamp nil 
 :expand-quoted-html t :html-table-tag table border=\2\ cellspacing=\0\ 
 cellpadding=\6\ rules=\groups\ frame=\hsides\ :xml-declaration 
 ((html . ?xml version=\1.0\ encoding=\%s\?) (php . ?php echo 
 \?xml version=\\\1.0\\\ encoding=\\\%s\\\ ?\; ?)) :html-postamble 
 auto :html-preamble t :html-extension html :inline-images maybe 
 :convert-org-links t :agenda-style nil :style-extra  :style  
 :style-include-scripts t :style-include-default t :table-auto-headline t 
 :tables t :time-stamp-file t :creator-info t :email-info nil :author-info t 
 :email vkarnaty@localhost ...))
   byte-code(\203 .. )
   org-export-as-html(nil)
   call-interactively(org-export-as-html)
   org-export(nil)
   call-interactively(org-export nil nil)



Re: [O] Http pull/clone at orgmode.org is down?

2013-07-18 Thread Noorul Islam K M
John Hendy jw.he...@gmail.com writes:

 When I try to issue git pull (since yesterday, replicated today), I'm
 getting this:

 $ git pull
 error: Unable to find 989923a140695aa87959bdc727666aeec48ec074 under
 http://orgmode.org/org-mode.git
 Cannot obtain needed tree 989923a140695aa87959bdc727666aeec48ec074
 while processing commit 0b770b125ffaed8e21dfea523437f12c35dec334.
 error: Fetch failed.

This is working fine for me.

Thanks and Regards
Noorul



Re: [O] collect info from org files in agenda when open?

2013-07-13 Thread Noorul Islam K M
Gregor Zattler telegr...@gmx.net writes:

 Dear org-mod users and developers,

 I customized my org-agenda-files variable to contain 4 files.
 But I wished I could automatically add org files to the agenda
 simply by opening them.  Is it possible to automagically add
 some files to the agenda iff they are visited or add the contents
 of org-mode buffers?


I am not sure whether you already went through contents of this link.

http://orgmode.org/manual/Agenda-files.html

Thanks and Regards
Noorul



Re: [O] habit-only agenda that doesn't remove tasks when done?

2013-07-13 Thread Noorul Islam K M
Christopher Allan Webber cweb...@dustycloud.org writes:

 Hello,

 I'd like to have a habit-only agenda view, if possible, that looks a bit
 like:


 Morning habits
 --

 life:  TODO Shave   [   * *  ** !]  habit::morning:
 rsi:   TODO morning stretches   [  **   ****   *!]  habit::morning:

 Night habits
 

 life:  TODO Exercise[   * *  ** !]  habit::night:


 ... and maybe an other category for cathing the rest.

 I'd also like to have these habits not drop off the agenda view when I
 move them to DONE if possible.  However, I'm getting the sense that this
 isn't possible... it seems like the habit system works with
 agendas-only, and there's no way to say give me an agenda with only
 these certain things on it.

Did you try the following custom command?

  (h Habits tags-todo STYLE=\habit\
   ((org-agenda-overriding-header Habits)
(org-agenda-sorting-strategy
 '(todo-state-down effort-up category-keep

Thanks and Regards
Noorul



Re: [O] Starting agenda commands fail with error: cond: Wrong type argument: sequencep, :newline

2013-07-11 Thread Noorul Islam K M
Rainer Stengele rainer.steng...@online.de writes:

 Hi,

 since the last pull I cannot start any agenda without getting this message:

 cond: Wrong type argument: sequencep, :newline

 setting debug-on-error to t does not show more info.
 Any idea what could be wrong?


A fix was pushed recently for this. You might be lagging begind.

Thanks and Regards
Noorul



Re: [O] Starting agenda commands fail with error: cond: Wrong type argument: sequencep, :newline

2013-07-11 Thread Noorul Islam K M
Rainer Stengele rainer.steng...@online.de writes:

 Am 11.07.2013 11:45, schrieb Noorul Islam K M:

 Rainer Stengele rainer.steng...@online.de writes:

 Hi,

 since the last pull I cannot start any agenda without getting this message:

 cond: Wrong type argument: sequencep, :newline

 setting debug-on-error to t does not show more info.
 Any idea what could be wrong?

 A fix was pushed recently for this. You might be lagging begind.

 Thanks and Regards
 Noorul
 I am at

 Org-mode version 8.0.5 (release_8.0.5-334-g203f4c)
 That looks pretty current.
 Error is still there!


My bad, it was a patch submitted to the list for verification. Someone
has verified it. Let us wait for this to be committed.

The thread's subject line is: [BUG] org-agenda-list

Thanks and Regards
Noorul



Re: [O] [BUG] org-agenda-list

2013-07-10 Thread Noorul Islam K M
Nick Dokos ndo...@gmail.com writes:

 I just pulled and I get the attached backtrace from org-agenda-list.
 I tried with -q -l minimal.emacs and it's still there.
 It's probably caused by commit 42691788273cecb75ec620d40cc5394d2cd95ed1.
 When I revert that, the agenda comes up properly.

 Org-mode version 8.0.5 (release_8.0.5-334-g1b1469 @
 /home/nick/elisp/org-mode/lisp/)
 (which includes the revert: the real one is -333-)

Is this also causing the newline issue that Charles mentioned?

Thanks and Regards
Noorul



Re: [O] Problem with export

2013-07-08 Thread Noorul Islam K M
Mark Elston melston1...@gmail.com writes:

 I have just upgraded my org to the latest from git.  Now I cannot do an
 export.  I have completely commented out any customization in my .emacs for
 org mode and the problem still remains.  Every time I try to export (C-c
 C-e) I get:

   Debugger entered--Lisp error: (void-function org-export-dispatch)

 Any ideas what is happening?  This was working with an older version of org
 (from mid last year).

I am using the latest version of org and I don't get this error. May be
you can post the output of (org-version) here.

Also see that you do a clean compile. Usually this is what I do

git pull
make clean
make

Thanks and Regards
Noorul



Re: [O] agenda problem or my set up is a problem?

2013-07-08 Thread Noorul Islam K M
Charles mill...@verizon.net writes:

 I just did a clean org mode install (twice)

 * Org-mode version 8.0.5 (release_8.0.5-318-gfdaa99 @
 c:/cygwin/home/Charlie/elisp/Org-Mode/lisp/)
 * emacs GNU Emacs 24.2.1 (i386-mingw-nt6.1.7601) of 2012-08-28 on MARVIN

 emacs on windows 7, home premium

 org on cywin 1.7.20

 I call the agenda dispatcher; however when I attempt to call an agenda command
 the following error is returned

 Wrong type argument: sequencep, newline:


No issues here with 

Org-mode version 8.0.5 (release_8.0.5-318-gfdaa99 @ 
/home/noorul/.emacs.d/site-lisp/org-mode/lisp/)
GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10)
 of 2013-03-11 on noman

Can you send a trace back?

Thanks and Regards
Noorul



Re: [O] agenda problem or my set up is a problem?

2013-07-08 Thread Noorul Islam K M
Charles mill...@verizon.net writes:

 Noorul,

 On 7/8/2013 8:36 AM, Noorul Islam K M wrote:
 Charles mill...@verizon.net writes:

 I just did a clean org mode install (twice)

 * Org-mode version 8.0.5 (release_8.0.5-318-gfdaa99 @
 c:/cygwin/home/Charlie/elisp/Org-Mode/lisp/)
 * emacs GNU Emacs 24.2.1 (i386-mingw-nt6.1.7601) of 2012-08-28 on MARVIN

 emacs on windows 7, home premium

 org on cywin 1.7.20

 I call the agenda dispatcher; however when I attempt to call an agenda 
 command
 the following error is returned

 Wrong type argument: sequencep, newline:


 No issues here with

 Org-mode version 8.0.5 (release_8.0.5-318-gfdaa99 @ 
 /home/noorul/.emacs.d/site-lisp/org-mode/lisp/)
 GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10)
   of 2013-03-11 on noman

 Can you send a trace back?

 Thanks and Regards
 Noorul


 I'll have to try the trace later. I forgot to mention that until this morning
 org worked as advertised with my set up. It was not until I attempted to 
 update
 that the problem surfaced. That is why I did a clean install.


Ok, good.

 I have also discovered that capture no longer works - the same error is
 returned. The same is true for attempts to change the TODO states.

 Could there be a CR/LF mix up in the most recent commit that effects a 
 windows
 set up.


This could be windows specific issue. 

Thanks and Regards
Noorul



Re: [O] agenda problem or my set up is a problem?

2013-07-08 Thread Noorul Islam K M
Charles mill...@verizon.net writes:

 Noorul,

 On 7/8/2013 9:54 AM, Noorul Islam K M wrote:
 Charles mill...@verizon.net writes:

 Noorul,

 On 7/8/2013 8:36 AM, Noorul Islam K M wrote:
 Charles mill...@verizon.net writes:

 I just did a clean org mode install (twice)

 * Org-mode version 8.0.5 (release_8.0.5-318-gfdaa99 @
 c:/cygwin/home/Charlie/elisp/Org-Mode/lisp/)
 * emacs GNU Emacs 24.2.1 (i386-mingw-nt6.1.7601) of 2012-08-28 on MARVIN

 emacs on windows 7, home premium

 org on cywin 1.7.20

 I call the agenda dispatcher; however when I attempt to call an agenda 
 command
 the following error is returned

 Wrong type argument: sequencep, newline:


 No issues here with

 Org-mode version 8.0.5 (release_8.0.5-318-gfdaa99 @ 
 /home/noorul/.emacs.d/site-lisp/org-mode/lisp/)
 GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10)
of 2013-03-11 on noman

 Can you send a trace back?

 Thanks and Regards
 Noorul


 I'll have to try the trace later. I forgot to mention that until this 
 morning
 org worked as advertised with my set up. It was not until I attempted to 
 update
 that the problem surfaced. That is why I did a clean install.


 Ok, good.

 I have also discovered that capture no longer works - the same error is
 returned. The same is true for attempts to change the TODO states.

 Could there be a CR/LF mix up in the most recent commit that effects a 
 windows
 set up.


 This could be windows specific issue.

 Thanks and Regards
 Noorul

 I ran M-x debug-on-entry for org-agenda-list and org-todo-list. Attached are 
 the
 backtraces.


I think the attachment is not an error trace back. You need to do M-: (setq
debug-on-error t) and execute the command. You are supposed to get a
traceback. Please post the same.

Thanks and Regards
Noorul



Re: [O] How do I create an agenda block for entries with a specific tag?

2013-06-28 Thread Noorul Islam K M
Alan Schmitt alan.schm...@polytechnique.org writes:

 Hello,

 I'm trying to find a way to create an agenda bloc (of type agenda) that
 is restricted to a set of tags. I tried using a skip function but (as I
 explained in another mail) I cannot get it to work. If someone has done
 it before, I'd gladly have a look at how to do it.



From the classic document http://doc.norang.ca/org-mode.html

(r Tasks to Refile tags REFILE
   ((org-agenda-overriding-header Tasks to Refile)
(org-tags-match-list-sublevels nil)))

Is this what you are looking for?

Thanks and Regards
Noorul



[O] [PATCH] - Fix org-fast-tag-selection

2012-04-03 Thread Noorul Islam K M

Hello all,

I have the following setup similar to Bernt Hansen.

(setq org-tag-alist (quote ((:startgroup)
(@errand . ?e)
(@office . ?o)
(@home . ?h)
(:endgroup)
(PHONE . ?p)
(WAITING . ?w)
(HOME . ?H)
(CANCELLED . ?c)
(NOTE . ?n)
(ORG . ?O

New when I try to add a new tag with the key press C-c C-q TAB from a
heading, I get following backtrace.

Debugger entered--Lisp error: (wrong-type-argument stringp :endgroup)
  string-match( :endgroup)
  ido-read-internal(list Tag:  nil nil nil nil)
  ido-completing-read(Tag:  (#(REFILE 0 6 (inherited t)) :startgroup 
@errand @office @home :endgroup PHONE WAITING HOME CANCELLED 
NOTE ORG))
  apply(ido-completing-read Tag:  (#(REFILE 0 6 (inherited t)) :startgroup 
@errand @office @home :endgroup PHONE WAITING HOME CANCELLED 
NOTE ORG) nil)
  org-icompleting-read(Tag:  (#(REFILE 0 6 (inherited t)) :startgroup 
@errand @office @home :endgroup PHONE WAITING HOME CANCELLED 
NOTE ORG))
  org-fast-tag-selection(nil (#(REFILE 0 6 (inherited t))) ((:startgroup) 
(@errand . 101) (@office . 111) (@home . 104) (:endgroup) (PHONE . 112) 
(WAITING . 119) (HOME . 72) (CANCELLED . 99) (NOTE . 110) (ORG . 79) 
(#(REFILE 0 6 (inherited t nil)
  org-set-tags(nil nil)
  org-set-tags-command(nil)
  call-interactively(org-set-tags-command nil nil)

I think I nailed down the problem and fixed it in the attached patch.

Changelog:

* lisp/org.el (org-fast-tag-selection): Remove non-string object from 
org-tag-alist.

Thanks and Regards
Noorul

diff --git a/lisp/org.el b/lisp/org.el
index 8ffb6c8..2df860e 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -13756,7 +13756,10 @@ Returns the new tags string, or nil to not change the 
current settings.
 (append (or buffer-tags
 (with-current-buffer buf
   (mapcar 'car 
(org-get-buffer-tags
-(mapcar 'car table)
+(delq nil 
+  (mapcar (lambda (x) 
+(if (stringp 
+ (car x)) x)) 
table))
(quit (setq tg )))
  (when (string-match \\S- tg)
(add-to-list 'buffer-tags (list tg))


[O] [PATCH] Minor doc fix.

2011-06-26 Thread Noorul Islam K M

When compiling from latest pull I got error when generating doc. The
attached patch fixes that.

Log
[[[

* doc/org.texi: Minor doc fix.

]]]

Thanks and Regards
Noorul

diff --git a/doc/org.texi b/doc/org.texi
index a397a7e..9802bc4 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -8951,7 +8951,7 @@ If the syntax for the label format conflicts with the 
language syntax, use a
 -n -r -l ((%s))}.  See also the variable @code{org-coderef-label-format}.
 
 HTML export also allows examples to be published as text areas (@xref{Text
-areas in HTML export}).
+areas in HTML export}.).
 
 Because the @code{#+BEGIN_...} and @code{#+END_...} patterns need to be added
 so often, shortcuts are provided using the Easy Templates facility


[O] Agenda view has no TODO items

2011-04-25 Thread Noorul Islam K M

Recent pull from master changed the behaviour of the default agenda
view. It used to list the TODO items also but now it only displays the
scheduled one. Am I missing something?

Thanks and Regards
Noorul



Re: [Orgmode] Installing org-mode from git without byte-compiling

2011-01-03 Thread Noorul Islam K M
Jeff Horn jrhorn...@gmail.com writes:

 Bernt, Eric Schulte, and others,

 Bernt recently mentioned to me on #org-mode that he doesn't
 byte-compile org-mode, which makes it much easier to read backtraces.
 I'm trying to use Eric Schulte's starter-kit fork, and the
 instructions suggest compiling org-mode.[1]

 Inspecting the Makefile, I see that I probably want to make the info
 documentation and have that installed automatically, I just don't want
 to byte-compile the lisp.

 1) Is there a flag or something I can pass to make in order to skip
 byte-compiling but perform the rest of the script tasks? (The Makefile
 docstring suggests 'make doc' to make html and PDF docs. Will it also
 make the info docs and install them automatically?)

 2) Out of curiosity, is 'make install' ever necessary when the local
 git directory is sourced into the load-path?


make info
make install-info

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] A new server for http://orgmode.org - Jason is its maintainer

2011-01-03 Thread Noorul Islam K M
Bastien bastien.gue...@wikimedia.fr writes:

 Dear all,

 I asked Jason if he could take care of http://orgmode.org and I'm glad
 he kindly accepted.  We've been working on the website migration: it's
 effective since yesterday.

 Links and services like mathjax or org-info-js work as expected.  If 
 you notice anything missing/broken, please tell us.

 On top of his time, Jason also pays for the server cost.


Thank you Jason for supporting this org mode community.

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] How to match tags when no tag present

2010-12-29 Thread Noorul Islam K M
Jeff Horn jrhorn...@gmail.com writes:

 Hey orgsters,

 I'm trying to have agenda show me a list of untagged tasks. Someone in
 #orgmode suggested using the regexp brackets {}, but the following tag
 matches produces nothing:

 1) {}
 2) +{}
 3) -{}

 How would I match all TODOs that are untagged?

 Thanks for any pointers.

For me this works. I am not sure about you.

/+SPACE

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] How to match tags when no tag present

2010-12-29 Thread Noorul Islam K M
Jeff Horn jrhorn...@gmail.com writes:

 On Thu, Dec 30, 2010 at 12:54 AM, Noorul Islam K M noo...@noorul.com wrote:

 Jeff Horn jrhorn...@gmail.com writes:

 Hey orgsters,

 I'm trying to have agenda show me a list of untagged tasks. Someone in
 #orgmode suggested using the regexp brackets {}, but the following tag
 matches produces nothing:

 1) {}
 2) +{}
 3) -{}

 How would I match all TODOs that are untagged?

 Thanks for any pointers.

 For me this works. I am not sure about you.

 /+SPACE


 Noorul,

 Thanks for your help in #org-mode this evening. I'm posting my
 question here in case others have advice between now and morning (on
 my side of the earth).

 Noorul (and others),

 This works when in the agenda view, which is fine if I have scheduled
 tasks. But if I want to catch unscheduled, untagged tasks using a
 custom agenda command, how would I do that?

Why don't you bring unscheduled tasks to Agenda buffer? I always has my
TODOs in Agenda buffer.

- Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Bug: HTML export fails to close list [7.4 (release_7.4.80.g0e5e5)]

2010-12-22 Thread Noorul Islam K M
Nicolas Goaziou n.goaz...@gmail.com writes:

 Hello,

 Bernt Hansen writes:

 If you export the following org file to HTML the list is not
 terminated properly. There is a ORG-LIST-END tag in the source
 instead of the /li /ul tags which results in invalid HTML.

 This should be fixed on master now.

 Thanks for the report.


Actually I did not face this issue as I explained earlier, I am not sure
why.

Thanks and Regards
Noorul

 Regard,

 -- Nicolas

 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Bug: HTML export fails to close list [7.4 (release_7.4.80.g0e5e5)]

2010-12-22 Thread Noorul Islam K M
Nicolas Goaziou n.goaz...@gmail.com writes:

 Hello,

 Noorul Islam K M writes:

 Actually I did not face this issue as I explained earlier, I am not
 sure why.

 Were you selecting the sub-tree before exporting?


No, I was not. Now I can re-produce it.

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Bug: Jumping to a date in the agenda changes view back to 'day' [7.4 (release_7.4.80.g0e5e5)]

2010-12-21 Thread Noorul Islam K M
Bernt Hansen be...@norang.ca writes:

 Hi,

 If you are viewing the agenda with a time span of a week (or anything
 larger than a day) and then use 'J' to jump to a new date the span
 changes back to day.


For me, I have 'J' bound to (org-agenda-clock-goto) by default. I think
you are talking about 'j'.

 I think the span should remain unchanged when moving to a new date.

I think 'j' should not change the span. Or we can have 'C-u j' to keep
the span as it is.

Thanks and Regards 
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Minor bug: org-agenda-holidays

2010-12-21 Thread Noorul Islam K M
Paul Sexton psex...@xnet.co.nz writes:

 In org-agenda.el, the function org-agenda-holidays is coded as:

 (defun org-agenda-holidays ()
   Display the holidays for the 3 months around the cursor date.
   (interactive)
   (org-agenda-execute-calendar-command 'list-calendar-holidays))

 'list-calendar-holidays' does not exist. It should be 
 'calendar-list-holidays'.


Did you  get any error when you executed this function?

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Bug: Bad doc [7.4]

2010-12-19 Thread Noorul Islam K M
Dave Abrahams d...@boostpro.com writes:

 Remember to cover the basics, that is, what you expected to happen and
 what in fact did happen.  You don't know how to make a good report?  See

  http://orgmode.org/manual/Feedback.html#Feedback

 Your bug report will be posted to the Org-mode mailing list.
 

 Th' manual sez:

   9.1.3 Capture templates
   ---

   You can use templates for different types of capture items, and for
   different target locations.  The easiest way to create such templates is
   through the customize interface.

   `C-c c C'
Customize the variable `org-capture-templates'.

 I don't know where that keybinding is supposed to come from, but as
 far as I can tell, it isn't set anywhere.  In fact, if we take the
 manual's suggested `C-c c' binding for org-capture, the `C' above just
 does a self-insert in the capture buffer.


For me it works fine. I have 'C-c r' bound to (org-capture) and when I
hit C-c r C, I get customize frame.

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: #+call ?

2010-10-31 Thread Noorul Islam K M
Thomas S. Dye t...@tsdye.com writes:

 Aloha all,

 I'm expecting to see the file bar.pdf output.

 #+srcname: single-date
 #+begin_src R :results output :file foo.pdf
   library(ggplot2)
   z - read.csv(file = x)
   g -  ggplot(z, aes(x=1950 + cal.BP, y=Posterior.probability))
   g + geom_bar(stat='identity') + xlab(Year AD) +
 ylab(Probability)
 #+end_src

 #+call: single-date(x=alpha-2.csv) :file bar.pdf :height 4

 #+results: single-date(x=alpha-2.csv)
 [[file:foo.pdf]]

 Also, the :height header argument doesn't have any effect.

 I want the single-date source block to be a general function that I
 can call several times from an Org-mode file that I hope to distribute
 as a piece of reproducible research.  There will be separate #+calls
 for each of the graphs in the paper.

 Apologies in advance if the answer is obvious.  I'm using Org-mode
 version 7.02trans (release_7.02.37.g52fb)


I think there was similar discussion already in this list. 

Take a look at

http://www.mail-archive.com/emacs-orgmode@gnu.org/msg32516.html

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Internal links in LaTeX export

2010-10-28 Thread Noorul Islam K M
Carsten Dominik carsten.domi...@gmail.com writes:

 On Oct 29, 2010, at 5:22 AM, Jambunathan K wrote:

 Thomas S. Dye t...@tsdye.com writes:

 Aloha Jambunathan K.,

 Yes, thanks for that suggestion.  It should work on your example, but
 it breaks external links, like this:

 \hyperref[http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/
 ]{KOMA-script}

 External links require the \href{}{} command.  It appears the LaTeX
 export process no longer distinguishes internal and external links,
 as
 I believe it used to do.


 This is the problematic commit:

 commit f5918bdcc05d7924dc204b57307023eb1ef011f0
 parent   df5894cdcb10819560f003c5b94b8f5f2b7d33cf
 Date:   Sun Oct 17 08:29:51 2010 +

LaTeX export: use org-export-latex-hyperref-format

 I have just reverted this commit.

 - Carsten

Looks like time to change the variable name which is actually confusing.

Since href and hyperref are two different things, I renamed the existing
`org-export-latex-hyperref-format' variable as
`org-export-latex-href-format' and introduced a new one
`org-export-latex-hyperref-format'.

* org-latex.el (org-export-latex-hyperref-format): New option.
(org-export-latex-href-format): Renamed the existing variable
`org-export-latex-hyperref-format' as `org-export-latex-href-format'
(org-export-latex-links): Use `org-export-latex-hyperref-format' and 
`org-export-latex-href-format'

Thanks and Regards
Noorul

diff --git a/lisp/org-latex.el b/lisp/org-latex.el
index cdc240c..8f0e0ea 100644
--- a/lisp/org-latex.el
+++ b/lisp/org-latex.el
@@ -295,7 +295,14 @@ markup defined, the first one in the association list will 
be used.
   :group 'org-export-latex
   :type 'string)
 
-(defcustom org-export-latex-hyperref-format \\href{%s}{%s}
+(defcustom org-export-latex-href-format \\href{%s}{%s}
+  A printf format string to be applied to href links.
+The format must contain two %s instances.  The first will be filled with
+the link, the second with the link description.
+  :group 'org-export-latex
+  :type 'string)
+
+(defcustom org-export-latex-hyperref-format \\hyperref[%s]{%s}
   A printf format string to be applied to hyperref links.
 The format must contain two %s instances.  The first will be filled with
 the link, the second with the link description.
@@ -2016,10 +2023,10 @@ The conversion is made depending of STRING-BEFORE and 
STRING-AFTER.
  (insert (format
   (org-export-get-coderef-format path desc)
   (cdr (assoc path org-export-code-refs)
-(radiop (insert (format \\hyperref[%s]{%s}
+(radiop (insert (format org-export-latex-hyperref-format
 (org-solidify-link-text raw-path) desc)))
 ((not type)
- (insert (format \\hyperref[%s]{%s}
+ (insert (format org-export-latex-hyperref-format
  (org-remove-initial-hash
   (org-solidify-link-text raw-path))
  desc)))
@@ -2030,7 +2037,7 @@ The conversion is made depending of STRING-BEFORE and 
STRING-AFTER.
;; a LaTeX issue, but we here implement a work-around anyway.
(setq path (org-export-latex-protect-amp path)
  desc (org-export-latex-protect-amp desc)))
- (insert (format org-export-latex-hyperref-format path desc)))
+ (insert (format org-export-latex-href-format path desc)))
 
 ((functionp (setq fnc (nth 2 (assoc type org-link-protocols
  ;; The link protocol has a function for formatting the link


* lisp/org-latex.el (org-export-latex-links) : Replaced hard coded
hyperref format with custom
  variable `org-export-latex-hyperref-format'

 Note that href is not same as hyperref.

 Jambunthan K.


 All the best,
 Tom

 On Oct 28, 2010, at 3:30 PM, Jambunathan K wrote:


 Thomas

 There was a hint at possible solution (or atleast a partial
 solution) in
 my original post. Did you try it before jumping in to rough waters
 or
 digging deeper?

 Do

 ,
 | M-x customize-variable RET org-export-latex-hyperref-format'
 `

 so that your .emacs has an entry like this

 , [.emacs]
 |
 | (custom-set-variables
 |  '(org-export-latex-hyperref-format \\hyperref[%s]{%s}))
 |
 `

 The above setting solves the problem for me with the following
 simple
 Org file.

 * Heading1
 Make this section as large as possible so that it fills atleast a
 page.

 * Heading2
 Links to [[Heading1]]

 Jambunathan K.

 Thomas S. Dye t...@tsdye.com writes:

 On Oct 28, 2010, at 12:35 PM, Nick Dokos wrote:

 Thomas S. Dye t...@tsdye.com wrote:

 On Oct 28, 2010, at 11:01 AM, Jambunathan K wrote:


  This is a regression. release-7.01h is good. HEAD is bad. I get
 the
  following line with release-7.01h.

   Links to \hyperref[sec-1]{Heading1}

  Jambunathan K.

 Aloha Jambunathan K.,

 Very many thanks for this information.  I have 

[Orgmode] Re: A few questions about how you write e-mails

2010-10-21 Thread Noorul Islam K M
Matt Lundin m...@imapmail.org writes:

 Jeff Horn jrhorn...@gmail.com writes:

 Firstly, I notice some of the regular posters wrap org source in the
 #+ style org wrappers, others use a --8--cut-here---8-- 

 My first question is two-fold: 1) how did you come to use this style
 for quoting code in your replies:

 As others have mentioned, I use C-c M-m (message-mark-inserted-region)
 in message-mode to do the trick.

 Secondly, and somewhat related to the first, are orgsters simply using
 gnus with message-mode hook to utilize org footnotes? I've noticed I
 can style/face the text with a message-mode hook, but I'm wondering
 how everyone deals, in general, with plain text footnotes in e-mail?
 Do you even use footnotes for sharing links?

 I simply have a global binding for org-footnote-action, which enables me
 to insert footnotes anywhere.[1]

 Lastly, are any orgsters using gnus+gmail? I've tried just reading org
 list mails in gnus, but I find switching back and forth to be jarring
 if I read org list e-mails in a browser throughout the day, since I
 end up re-reading a lot of mails. Also, mind sharing how you've mapped
 the cumbersome B m [Gmail]/Trash to a better key? 

 If a message is worth deleting, you might consider B DEL, which
 dispatches it without mercy.


In the case of gmail imap it won't delete the mail completely instead it
archives. 

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Was ...questions about...email - orgmode + email + company firewall

2010-10-21 Thread Noorul Islam K M
John Hendy jw.he...@gmail.com writes:

 Hi,


 I followed the conversation about email writing with org-mode and *loved*
 it. I would absolutely like to live in emacs for email as it offers so many
 neat tricks. My problem has to do with how to set up pop/imap access while
 at work. I can use the web interface just fine, but I've never succeeded in
 using a client trying to access via pop/imap (like Thunderbird) and have
 simply figured it was due to firewall.

 Recently, I was finally able to get Thunderbird working since their webmail
 extension [1] added gmail support. I just succeeded with pop (I'd prefer
 imap, though, but apparently it's not possible).

 My question is whether gnus or some other text-based email program that
 emacs can use has some method of doing whatever this webmail extention is
 doing. I think it's somehow going through port 80 and getting messages that
 way, but I could be mistaken. In the past, I've tried telnet
 imap.gmail.com993 and telnet
 pop.gmail.com 995 and never been able to connect.


It looks like at you work place they are blocking imaps and pops
ports. I think you should be contacting System/Network Admin at your
office for this.

Thanks and Regards
Noorul


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: capture problem

2010-10-20 Thread Noorul Islam K M
Jeff Horn jrhorn...@gmail.com writes:

 Steps so far: Clear pasteboard by killing some text. Confirm that
 org-capture creates capture buffer successfully when pasteboard
 contains text. To reproduce bug:

 1) Find an image online in a modern graphical browser on a modern, GUI
 OS. Linux should do (I'm using Snow Leopard)
 2) Right-click the image, select copy image or similar.
 3) Return to emacs, and visit any buffer.
 4) Call org-capture. Press the key indicating the template you'd like to use.
 5) Observe the mini-buffer complains that the pastboard does not
 contain valid data

Tried to replicate this issue using above steps. My *Messages* buffer
had the following. I did not see the message you mentioned above.

Template key: 
Clipboard pasted as level 1 subtree
Clock stopped at [2010-10-20 Wed 11:34] after HH:MM = 0:01
Clock starts at [2010-10-20 Wed 11:34] - showing entire task time.
Clock stopped at [2010-10-20 Wed 11:34] after HH:MM = 0:00 = LINE REMOVED
Clock starts at [2010-10-20 Wed 11:34] - showing entire task time.
Interrupted clock has been resumed
Wrote /home/noorul/notebook/refile.org
Capture process aborted and target buffer cleaned up

I have debian lenny with enlightenment window manager. Also

Org-mode version 7.01trans (release_7.01h.718.g0cb3c5)
GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12)
 of 2010-01-30 on noorul

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: org-default-notes-file

2010-10-18 Thread Noorul Islam K M
Louis Turk l...@dayspringpublisher.com writes:

  Hi everyone,

 I trying to set up capture to use refile.org as the default notes file.

 lat-a-ws% locate refile.org
 /home/lat/org/refile.org
 lat-a-ws%

 (setq org-default-notes-file ~/org/refile.org)

 But I get:

 Debugger entered--Lisp error: (void-function org-string-nw-p)
   (org-string-nw-p file)
   (or (org-string-nw-p file) org-default-notes-file (error No notes
 file specified, and no default available))
   (setq file (or (org-string-nw-p file) org-default-notes-file (error
 No notes file specified, and no default available)))
   org-capture-target-buffer(~/org/refile.org)
   (set-buffer (org-capture-target-buffer (nth 1 target)))

 How do I fix this?


This function is defined in org-macs.el. I think you should have in your
.emacs.

(require 'org-macs)

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: org-default-notes-file

2010-10-18 Thread Noorul Islam K M
Andreas Röhler andreas.roeh...@easy-emacs.de writes:

 Am 18.10.2010 09:16, schrieb Noorul Islam K M:

 Louis Turkl...@dayspringpublisher.com  writes:

   Hi everyone,

 I trying to set up capture to use refile.org as the default notes file.

 lat-a-ws% locate refile.org
 /home/lat/org/refile.org
 lat-a-ws%

 (setq org-default-notes-file ~/org/refile.org)

 But I get:

 Debugger entered--Lisp error: (void-function org-string-nw-p)
(org-string-nw-p file)
(or (org-string-nw-p file) org-default-notes-file (error No notes
 file specified, and no default available))
(setq file (or (org-string-nw-p file) org-default-notes-file (error
 No notes file specified, and no default available)))
org-capture-target-buffer(~/org/refile.org)
(set-buffer (org-capture-target-buffer (nth 1 target)))

 How do I fix this?


 This function is defined in org-macs.el. I think you should have in your
 .emacs.

 (require 'org-macs)

 Thanks and Regards
 Noorul


 Hi Noorul,

 would this not indicate a bug anyway?
 IMHO functions needed should be available, if org-mode is activated.

 BTW at my machine org-string-nw-p is defined in the git-repo only, not
 in the installed org-macs.el.

 HTH


Strange that org-string-nw-p is not there in org-macs.el.

Which version of orgmode and emacs are you using? Also are you trying to
setup orgmode for the first time? If so do you mind sharing .emacs?

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: org-default-notes-file

2010-10-18 Thread Noorul Islam K M
Louis Turk l...@dayspringpublisher.com writes:

  On 10/18/2010 03:16 PM, Noorul Islam K M wrote:

 Louis Turkl...@dayspringpublisher.com  writes:

   Hi everyone,

 I trying to set up capture to use refile.org as the default notes file.

 lat-a-ws% locate refile.org
 /home/lat/org/refile.org
 lat-a-ws%

 (setq org-default-notes-file ~/org/refile.org)

 But I get:

 Debugger entered--Lisp error: (void-function org-string-nw-p)
(org-string-nw-p file)
(or (org-string-nw-p file) org-default-notes-file (error No notes
 file specified, and no default available))
(setq file (or (org-string-nw-p file) org-default-notes-file (error
 No notes file specified, and no default available)))
org-capture-target-buffer(~/org/refile.org)
(set-buffer (org-capture-target-buffer (nth 1 target)))

 How do I fix this?

 This function is defined in org-macs.el. I think you should have in your
 .emacs.

 (require 'org-macs)

 Thanks and Regards
 Noorul

 Thanks for responding, but that doesn't seem to cure the problem. I
 still get the same error message.


Which version of emacs and org-mode are you using? 

M-x emacs-version
M-x org-version

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: org-default-notes-file

2010-10-18 Thread Noorul Islam K M
Louis Turk l...@dayspringpublisher.com writes:

  On 10/18/2010 05:09 PM, Noorul Islam K M wrote:

 Louis Turkl...@dayspringpublisher.com  writes:

   On 10/18/2010 03:16 PM, Noorul Islam K M wrote:

 Louis Turkl...@dayspringpublisher.com   writes:

Hi everyone,

 I trying to set up capture to use refile.org as the default notes file.

 lat-a-ws% locate refile.org
 /home/lat/org/refile.org
 lat-a-ws%

 (setq org-default-notes-file ~/org/refile.org)

 But I get:

 Debugger entered--Lisp error: (void-function org-string-nw-p)
 (org-string-nw-p file)
 (or (org-string-nw-p file) org-default-notes-file (error No notes
 file specified, and no default available))
 (setq file (or (org-string-nw-p file) org-default-notes-file (error
 No notes file specified, and no default available)))
 org-capture-target-buffer(~/org/refile.org)
 (set-buffer (org-capture-target-buffer (nth 1 target)))

 How do I fix this?

 This function is defined in org-macs.el. I think you should have in your
 .emacs.

 (require 'org-macs)

 Thanks and Regards
 Noorul
 Thanks for responding, but that doesn't seem to cure the problem. I
 still get the same error message.

 Which version of emacs and org-mode are you using?

 M-x emacs-version
 M-x org-version

 Thanks and Regards
 Noorul
 GNU Emacs 23.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.0) of
 2010-05-08 on pidsley.hoetzel.info

 Org-mode version 6.33x (release_7.01h.718.g0cb3c5.dirty)

 also, I'm using archlinux


I think you should use Reply-To All so that everyone in the list can
see your message and help out.

It looks like there is a collision of org-mode versions? Do you have
multiple org-mode installations? 

I think 6.33x is the one that comes with emacs and release 7.01h is the
latest. Ensure that you have the latest version ahead in load path.

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: org-default-notes-file

2010-10-18 Thread Noorul Islam K M
Louis Turk l...@dayspringpublisher.com writes:

  On 10/18/2010 05:20 PM, Noorul Islam K M wrote:
 Louis Turkl...@dayspringpublisher.com  writes:

   On 10/18/2010 05:09 PM, Noorul Islam K M wrote:

 Louis Turkl...@dayspringpublisher.com   writes:

On 10/18/2010 03:16 PM, Noorul Islam K M wrote:

 Louis Turkl...@dayspringpublisher.comwrites:

 Hi everyone,

 I trying to set up capture to use refile.org as the default notes file.

 lat-a-ws% locate refile.org
 /home/lat/org/refile.org
 lat-a-ws%

 (setq org-default-notes-file ~/org/refile.org)

 But I get:

 Debugger entered--Lisp error: (void-function org-string-nw-p)
  (org-string-nw-p file)
  (or (org-string-nw-p file) org-default-notes-file (error No notes
 file specified, and no default available))
  (setq file (or (org-string-nw-p file) org-default-notes-file (error
 No notes file specified, and no default available)))
  org-capture-target-buffer(~/org/refile.org)
  (set-buffer (org-capture-target-buffer (nth 1 target)))

 How do I fix this?

 This function is defined in org-macs.el. I think you should have in your
 .emacs.

 (require 'org-macs)

 Thanks and Regards
 Noorul
 Thanks for responding, but that doesn't seem to cure the problem. I
 still get the same error message.

 Which version of emacs and org-mode are you using?

 M-x emacs-version
 M-x org-version

 Thanks and Regards
 Noorul
 GNU Emacs 23.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.0) of
 2010-05-08 on pidsley.hoetzel.info

 Org-mode version 6.33x (release_7.01h.718.g0cb3c5.dirty)

 also, I'm using archlinux

 I think you should use Reply-To All so that everyone in the list can
 see your message and help out.
 Thanks. I didn't realize I wasn't replying to the list.
 It looks like there is a collision of org-mode versions? Do you have
 multiple org-mode installations?
 Not on purpose, but probably. I think I used git to get the latest
 org-mode.
 I think 6.33x is the one that comes with emacs and release 7.01h is the
 latest. Ensure that you have the latest version ahead in load path.

 Thanks and Regards
 Noorul
 This is my .emacs, if that will help. Perhaps something in my .emacs
 is conflicting. It probably needs a lot of cleaning up.

 (custom-set-variables
   ;; custom-set-variables was added by Custom.
   ;; If you edit it by hand, you could mess it up, so be careful.
   ;; Your init file should contain only one such instance.
   ;; If there is more than one, they won't work right.
  '(canlock-password 129de665b1f8f1c95eaaa9daca897b054d323b2b)
  '(column-number-mode t)
  '(current-language-environment UTF-8)
  '(debug-on-error t)
  '(muse-project-alist (quote ((WikiPlanner (~/plans :default
 index :major-mode planner-mode :visit-link planner-visit-link)
  '(org-agenda-files (quote (~/org/anniversaries.org
 ~/org/schedule.org ~/org/projects.org)))
  '(safe-local-variable-values (quote ((Package . CL-PPCRE) (Syntax
 . COMMON-LISP) (Package . CL-USER) (Base . 10
  '(save-place t nil (saveplace))
  '(scroll-bar-mode (quote right))
  '(show-paren-mode t)
  '(size-indication-mode t)
  '(uniquify-buffer-name-style (quote forward) nil (uniquify))
  '(vc-handled-backends (quote (Git SVN CVS RCS SCCS Arch
 (custom-set-faces
   ;; custom-set-faces was added by Custom.
   ;; If you edit it by hand, you could mess it up, so be careful.
   ;; Your init file should contain only one such instance.
   ;; If there is more than one, they won't work right.
  '(default ((t (:inherit nil :stipple nil :background honeydew
 :foreground black :inverse-video nil :box nil :strike-through nil
 :overline nil :underline nil :slant normal :weight normal :height 136
 :width normal :foundry unknown :family Gentium)
 (global-set-key \C-x\C-m 'execute-extended-command)
 (global-set-key \C-c\C-m 'execute-extended-command)
 ;(setq custom-file ~/.emacs-custom.elc)
 ;(load custom-file)
 (setq inhibit-splash-screen '(t))

 (put 'downcase-region 'disabled nil)
 (put 'upcase-region 'disabled nil)

 
 ;;; Maltron keyboard navagation
 

 ;; Moving down 
 (global-set-key (kbd s-k) 'next-line)
 (global-set-key (kbd s-o) 'forward-char)
 (global-set-key (kbd s-r) 'forward-word)
 (global-set-key (kbd s-') 'forward-sentence)
 (global-set-key (kbd s-l) 'forward-paragraph)
 (global-set-key (kbd s-z) 'forward-page)
 (global-set-key (kbd s-x) 'end-of-buffer)

 ;; Moving up -
 (global-set-key (kbd s-u) 'previous-line)
 (global-set-key (kbd s-t) 'backward-char)
 (global-set-key (kbd s-d) 'backward-word)
 (global-set-key (kbd s-m) 'backward-sentence)
 (global-set-key (kbd s-v) 'backward-paragraph)
 (global-set-key (kbd s-w) 'backward-page)
 (global-set-key (kbd s-;) 'beginning-of-buffer)

 ;; Move to middle 
 (defun goto-middle-of-line ()
   (interactive)
   (let ((begin (progn (beginning-of-line) (point)))
 (end   (progn (end-of-line

[Orgmode] Re: org-default-notes-file

2010-10-18 Thread Noorul Islam K M
Louis Turk l...@dayspringpublisher.com writes:

  On 10/18/2010 06:03 PM, Noorul Islam K M wrote:

 Can you move following line to the beginning for org-mode settings?

 (add-to-list 'load-path ~/org-mode/lisp/)

 Thanks and Regards
 Noorul

 Thanks, you are really trying hard to help me. But I still get the
 same error message.


Try to find out which version of org-mode is actually loaded. May be you
can use M-x find-library org to find which org.el is loaded.

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: org-hide-entry

2010-10-15 Thread Noorul Islam K M
Andreas Röhler andreas.roeh...@easy-emacs.de writes:

 Hi.

 as org-mode knows a command `org-show-entry' looked for
 `org-hide-entry', but couldn't get it.

 So here it is.

 Andreas

 --
 https://code.launchpad.net/~a-roehler/python-mode/python-mode-components


 diff --git a/lisp/org.el b/lisp/org.el
 index a80286f..df9ae99 100644
 --- a/lisp/org.el
 +++ b/lisp/org.el
 @@ -19391,6 +19391,24 @@ Stop at the first and last subheadings of a superior 
 heading.
   (org-end-of-subtree t t))
 nil))
  
 +(defun org-hide-entry ()
 +  Hide the body directly following this heading. 
 +  (interactive)
 +  (save-excursion
 +(condition-case nil
 + (progn
 +   (org-back-to-heading t)
 +   (outline-flag-region
 +(max (point-min) (1- (point)))
 +(save-excursion
 +  (if (re-search-forward
 +   (concat [\r\n]\\( outline-regexp \\)) nil t)
 +  (1- (match-beginning 1))
 +(point-max)))
 +t)
 +   (org-cycle-hide-drawers 'children))
 +  (error nil
 +
  (defun org-show-entry ()
Show the body directly following this heading.
  Show the heading too, if it is currently invisible.

Are you going to use it in org-mode code base in future?

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] [Arik Mitschang] org-mode ASCII export of in-word LaTeX symbols support

2010-10-15 Thread Noorul Islam K M

I am not sure whether this is already forwarded. I am forwarding this
thread from emacs-devel mailing list. Hopefully patchworks picks up this
patch.


Thanks and Regards
Noorul


---BeginMessage---
Hi emacs-devel,

I would like to suggest the following small change to the org-mode
ascii export feature in emacs 23.2. The reason for this is because
org-mode export supports embedded LaTeX in a LaTeX sort of fashion
where a symbol can be placed inside a word provided it is terminated
with '{}'. However in an ascii export the '{}' remains trailing the
converted symbol making it very difficult to seamlessly support these
inlined symbols across multiple export formats.

The manual likewise states:
If you need such a symbol inside a word, terminate it like this: 
‘\Aacute{}stor’.

indicating that this form is (or should be) supported. The fix is
quite simple, the regexp for matching LaTeX symbols to be exported
needs to allow for the terminating '{}' if existing. I have included
the necessary patch below.

Thanks alot,
~Arik

GNU Emacs 23.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.4) of 2010-07-26 
on lacuna

--- org-ascii.el
+++ org-ascii.el
@@ -586,7 +586,7 @@
 (defun org-ascii-replace-entities ()
   Replace entities with the ASCII representation.
   (let (e)
-(while (re-search-forward \\([a-zA-Z]+[0-9]*\\) nil t)
+(while (re-search-forward \\([a-zA-Z]+[0-9]*\\)\\({}\\)? nil t)
   (org-if-unprotected-at (match-beginning 1)
(setq e (org-entity-get-representation (match-string 1)
   org-export-ascii-entities))



---End Message---
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Auto clock-out? [7.01trans]

2010-10-14 Thread Noorul Islam K M
David Abrahams d...@boostpro.com writes:

 When I mark an item DONE, Org clocks me out, fantastic!

 When I switch an item from TODO to WAITING, it doesn't.  Is there a
 way to get it to clock me out of an item when is switched to WAITING?


Did you get a chance to read this http://doc.norang.ca/org-mode.html#Clocking

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: org-insert-heading and inline tasks

2010-10-14 Thread Noorul Islam K M
Matt Lundin m...@imapmail.org writes:

 Hi Carsten,

 The following commit changes the behavior of org-insert-heading within
 the context of inline tasks:

 19d695ef8fd27ac1b1ef1b675c3960b9b7d6abdc

 I find that new headlines are no longer inserted at the same depth as
 inline tasks. A quick skim of the diff suggests that this is the
 intended behavior. While I understand that one would not normally want a
 new headline to derive its depth from an inline task further up in the
 subtree, I often enter a few inline tasks at the same depth in quick
 succession, e.g., when creating a mini project-hierarchy from a single
 inline task.

 Take the following example:

 * My big writing project

 Blah blah blah blah blah blah.

 *** PROJECT Add some variety to the above
  TODO Look up synonyms for blah

 Blah blah blah blah blah blah blah.

 If I hit M-RET at the beginning of the second TODO headline, I get the
 following:

 * My big writing project

 Blah blah blah blah blah blah.

 *** PROJECT Add some variety to the above
 * 

  TODO Look up synonyms for blah

 Blah blah blah blah blah blah blah.

But this is what I get 

* My big writing project

Blah blah blah blah blah blah.

*** PROJECT Add some variety to the above
 I go this one when I hit M-RET at the beginning of line
 TODO Look up synonyms for blah
 I go this one when I hit M-RET at the end of line

I have

Org-mode version 7.01trans (release_7.01h.661.g6803)
GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12)
 of 2010-01-30 on noorul

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Adding tags, grouping tags

2010-10-14 Thread Noorul Islam K M
Karl Maihofer ignora...@gmx.de writes:

 I'd like to define many many tags and use numerics (1-0) as selection
 keys. I want to define tags for different clients, people, gtd-contexts,
 and other contexts. So I had the idea to group the tags (less than ten
 tags per group) to be able to define selection keys for every tag.

 I already use groups for my custom agenda views (see example below). So
 when I hit C-c a, Org only shows the agenda groups (besides the default
 agenda commands) and I do not get to the actual agenda commands until I
 hit Q. This enables me to use the keys 1, 2, 3, 4 several times for
 different agenda commands (in different groups).

 Example:

 (setq org-agenda-custom-commands
'((Q . Custom queries) ;; gives label to Q
  (Q1 Archive search search 
   ((org-agenda-files (file-expand-wildcards ~/archive/*.org
  (Q2 Website search search 
   ((org-agenda-files (file-expand-wildcards ~/website/*.org
  (Q3 Projects and Archive search 
   ((org-agenda-text-search-extra-files (file-expand-wildcards
 ~/archive/*.org
  ;; searches both projects and archive directories
  (Q4 Archive tags search org-tags-view 
   ((org-agenda-files (file-expand-wildcards ~/archive/*.org
  ;; ...other commands here
   ))

 Is something similar possible for adding tags?


I have something like this shamelessly copied from Bernt's doc.

(setq org-tag-alist (quote ((:startgroup)
(@errand . ?e)
(@office . ?o)
(@home . ?h)
(:endgroup)
(PHONE . ?p)
(NEXT . ?n)
(WAITING . ?w)
(HOME . ?H)
(ORG . ?O

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: export

2010-10-12 Thread Noorul Islam K M
Jörg Hagmann joerg.hagm...@unibas.ch writes:

  regarding export to latex:

 When exporting to latex (C-e, l) a new frame opens (it didn't
 before).  There must be a customization option for avoiding that, but
 I can't find it.

 Emacs 23.2.1, recent pull.


I am not able to reproduce this on 

Org-mode version 7.01trans (release_7.01h.661.g6803)
GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12)
 of 2010-01-30 on noorul

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: latex export problem

2010-10-01 Thread Noorul Islam K M
Jörg Hagmann joerg.hagm...@unibas.ch writes:

  Dear list,

 I have an org file named test.org structured as follows (minimal example):

 --minimal example
 * Head
   text

 * Second head
   :PROPERTIES:
   :EXPORT_OPTIONS: H:5 num:nil toc:t \n:nil @:t ::t |:t ^:{} -:t f:t
 *:t skip:nil d:nil tags:nil
   :EXPORT_TITLE: My Title
   :EXPORT_FILE_NAME: scripts/filename
   :END:


 #+begin_src latex
 \input gentium-ge
 #+end_src

 ** section
text
 --end of minimal example---

 I export the second head to a filename.tex file in a subdirectory (and
 convert it later to ConTeXt code, but that shouldn't matter here). I
 swear that this worked -- I have everything pertaining to my lectures
 in this file.
 However, it stopped working recently (without updating org-mode). All
 I get when I export Second Head to latex is:
 No such file: /Users/me/test.org
 The cause is the #+begin_src ... #+end_src block


Can you please tell us which version of emacs and org-mode are you
using? 

M-x org-version
M-x emacs-version

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: latex export problem

2010-10-01 Thread Noorul Islam K M
Jörg Hagmann joerg.hagm...@unibas.ch writes:

  org-version: yesterday's pull
 emacs: 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29)
  of 2010-05-09


I copied your example to a file /tmp/test.org and with the cursor on
Second head I did C-c C-e 1 l. It did generate output file
/tmp/scripts/filename.tex and I did not get any error.

Is it related to Mac? I am not sure though

I have on my machine:

Org-mode version 7.01trans (release_7.01h.609.gc4916)
GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12)
 of 2010-09-29 on noorul

Thanks and Regards
Noorul


 On 10/1/10 9:32 AM, Noorul Islam K M wrote:
 Jörg Hagmannjoerg.hagm...@unibas.ch  writes:

   Dear list,

 I have an org file named test.org structured as follows (minimal example):

 --minimal example
 * Head
text

 * Second head
:PROPERTIES:
:EXPORT_OPTIONS: H:5 num:nil toc:t \n:nil @:t ::t |:t ^:{} -:t f:t
 *:t skip:nil d:nil tags:nil
:EXPORT_TITLE: My Title
:EXPORT_FILE_NAME: scripts/filename
:END:


 #+begin_src latex
 \input gentium-ge
 #+end_src

 ** section
 text
 --end of minimal example---

 I export the second head to a filename.tex file in a subdirectory (and
 convert it later to ConTeXt code, but that shouldn't matter here). I
 swear that this worked -- I have everything pertaining to my lectures
 in this file.
 However, it stopped working recently (without updating org-mode). All
 I get when I export Second Head to latex is:
 No such file: /Users/me/test.org
 The cause is the #+begin_src ... #+end_src block

 Can you please tell us which version of emacs and org-mode are you
 using?

 M-x org-version
 M-x emacs-version

 Thanks and Regards
 Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: POPERTIES Effort and HTML export

2010-10-01 Thread Noorul Islam K M
Rouvinez, Jean-Claude jean-claude.rouvi...@ipi.ch writes:

 Hi,

 I have defined in an org file some entries like that:

 *** TODO Actions
 :PROPERTIES:
 :Effort:   24
 :END:

 I want to export the POPERTIES Effort in an html file but I don't know how.
 I want to export a table view of my file with a summary of POPERTIES Effort 
 (like C-c C-x C-c) but I don't know how.

 Google and FAQ searches didn't help me.


Did you try http://orgmode.org/worg/org-contrib/org-collector.php ?

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: with-parsed-tramp-file-name

2010-09-30 Thread Noorul Islam K M
Austin F. Frank austin.fr...@gmail.com writes:

 Hello!

 Recently I discovered that I can no longer evaluate R source code blocks
 on a file opened using TRAMP.  I've recreated the bug using a minimal
 config.  The process to reproduce this bug is described below.


 Using Org-mode version 7.01trans (release_7.01h.746.g72c5) with the
 following minimal configuration:

 ;; specific to my setup
 (add-to-list 'load-path (expand-file-name ~/src.remote/org-mode/lisp/))
 (add-to-list 'load-path (expand-file-name 
 /usr/local/share/emacs/site-lisp/))

 ;; general instructions
 (require 'tramp)
 (require 'tramp-sh)   ; have to do this to set tramp-remote-path?
 (require 'ess-site)
 (require 'org-install)

 (setq debug-on-error t)

 ;; active Babel languages
 (org-babel-do-load-languages
  'org-babel-load-languages
  '((R . t)))

 ;; required for R to work correctly on my remote server
 (add-to-list 'tramp-remote-path 'tramp-own-remote-path)

 I evaluate the following code block from a file accessed using TRAMP:

 #+source:  R-options
 #+BEGIN_SRC R :cache no :results silent :exports none
 options(digits = 4)
 theme_set(theme_bw(18))
 theme_thesis - theme_update(panel.margin = unit(1.5, lines))
 theme_set(theme_thesis)
 lattice.options(default.args = list(as.table = TRUE))
 dev.new()
 #+END_SRC

 And get the following backtrace:

 #v+
 Debugger entered--Lisp error: (invalid-function with-parsed-tramp-file-name)
   with-parsed-tramp-file-name(/scpc:bcs:/tmp/R-22126Grk nil nil)
   org-babel-local-file-name(/scpc:bcs:/tmp/R-22126Grk)
   org-babel-process-file-name(/scpc:bcs:/tmp/R-22126Grk noquote)
   org-babel-R-evaluate-session(*R* options(digits = 
 4)\ntheme_set(theme_bw(18))\ntheme_thesis - theme_update(panel.margin = 
 unit(1.5, \lines\))\ntheme_set(theme_thesis)\nlattice.options(default.args 
 = list(as.table = TRUE))\ndev.new() value nil nil)
   org-babel-R-evaluate(*R* options(digits = 
 4)\ntheme_set(theme_bw(18))\ntheme_thesis - theme_update(panel.margin = 
 unit(1.5, \lines\))\ntheme_set(theme_thesis)\nlattice.options(default.args 
 = list(as.table = TRUE))\ndev.new() value nil nil)
   org-babel-execute:R(options(digits = 
 4)\ntheme_set(theme_bw(18))\ntheme_thesis - theme_update(panel.margin = 
 unit(1.5, \lines\))\ntheme_set(theme_thesis)\nlattice.options(default.args 
 = list(as.table = TRUE))\ndev.new()\n ((:cache . no) (:comments . ) 
 (:exports . none) (:height . 600) (:hlines . no) (:noweb . no) 
 (:results . silent) (:session) (:shebang . ) (:tangle . no) (:width . 
 1000)))
   org-babel-execute-src-block(nil (R options(digits = 
 4)\ntheme_set(theme_bw(18))\ntheme_thesis - theme_update(panel.margin = 
 unit(1.5, \lines\))\ntheme_set(theme_thesis)\nlattice.options(default.args 
 = list(as.table = TRUE))\ndev.new()\n ((:cache . no) (:comments . ) 
 (:exports . none) (:height . 600) (:hlines . no) (:noweb . no) 
 (:results . silent) (:session) (:shebang . ) (:tangle . no) (:width . 
 1000))  R-options nil 0))
   org-babel-execute-src-block-maybe()
   org-babel-execute-maybe()
   org-babel-execute-safely-maybe()
   run-hook-with-args-until-success(org-babel-execute-safely-maybe)
   org-ctrl-c-ctrl-c(nil)
   call-interactively(org-ctrl-c-ctrl-c nil nil)
 #v-

 But I can see that `with-parsed-tramp-file-name' is a defined function
 by using C-h f, which reports:

 #v+
 with-parsed-tramp-file-name is a Lisp macro in `tramp.el'.

 (with-parsed-tramp-file-name FILENAME VAR rest BODY)
 #v-

 Can anyone help me understand why I can't evaluate R source blocks on a
 remote machine?  Is there further debugging information I can provide?

 Thanks,
 /au

I tried to replicate this and I get the same error. If I manually load
ob.el by M-x load-file with Location as /path/to/ob.el then C-c C-c
works. But (require 'ob) is not working. Am I missing something?

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Compiling multiple times the LaTeX output

2010-09-29 Thread Noorul Islam K M
Sébastien Vauban wxhgmqzgw...@spammotel.com writes:

 Hello,

 I've been taught of a weird observation: the page number indicated in the TOC
 of a PDFLaTeX output is wrong by one page...

 I've re-exported my Org document. Same observation. So, it was not a problem
 during export or so.

 Taking the `.tex' file, and running `pdflatex' on it shows me twice this
 message:

 LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.

 After the 3rd compilation, everything is right in the PDF.

 Is it possible, somehow, that Org does not run `pdflatex' enough times??


Quoting from source code

(defcustom org-latex-to-pdf-process
  '(pdflatex -interaction nonstopmode -output-directory %o %f
pdflatex -interaction nonstopmode -output-directory %o %f)
  Commands to process a LaTeX file to a PDF file.
This is a list of strings, each of them will be given to the shell
as a command.  %f in the command will be replaced by the full file name,
%b
by the file base name (i.e. without extension) and %o by the base
directory
of the file.
The reason why this is a list is that it usually takes several runs of
pdflatex, maybe mixed with a call to bibtex.  Org does not have a clever
mechanism to detect which of these commands have to be run to get to a
stable
result, and it also does not do any error checking.

Alternatively, this may be a Lisp function that does the processing, so
you
could use this to apply the machinery of AUCTeX or the Emacs LaTeX mode.
This function should accept the file name as its single argument.

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: bug with spaces in regexp search

2010-09-26 Thread Noorul Islam K M
Samuel Wales samolog...@gmail.com writes:

 The bug has been fixed, so the following is moot.

 Ah, but he didn't .  :)  Hence my question.  :)

 I appreciated the effort to help, but I was wondering what he was
 trying to say, because he used strings instead of regexps and he used
 different settings for both variables.  The bug was with regexps (i.e.
 {...}) and not strings.


I tried to reproduce it and I think I missed the regexp part. I am sorry
about that. 

 In other words, he did not attempt to reproduce the bug, but instead
 changed 3 conditions back to a known-working state.  It was not a
 surprise that it worked.  :)

 But, again, I appreciated the effort to help.

 I was unable to type more than a few words at the time I asked.  I
 hope this clarifies conclusively.

Your one liner reply to the mail confused me and I again typed in the
same thing. If you could have typed in the first paragraph in this mail
as your initial reply I could have tried with regexp.

Since now that Carsten has fixed the bug and it has not been ignored
because of my mistake, I think you are happy.

Thanks and Regards
Noorul


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: bug with spaces in regexp search

2010-09-23 Thread Noorul Islam K M
Samuel Wales samolog...@gmail.com writes:

 Meaning?

I meant,

I have both these variables set as nil

org-agenda-search-view-always-boolean
org-agenda-search-view-force-full-words

and then in org agenda buffer. I typed M-x org-search-view and then
typed in faster than which displayed the expected filtered result.

I am running

Org-mode version 7.01trans (release_7.01h.555.g90cc)
GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12) of
2010-01-30 on noorul

Does that make it clear?

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Bug: subtree export fails with src block

2010-09-23 Thread Noorul Islam K M
Christian Moe m...@christianmoe.com writes:

 Hi,

 Selecting a subtree only, export to html fails if the subtree contains
 a src block. Using 7.01trans, freshly pulled, on Emacs 23.

 Example

 file: test2.org
 ---

 * Heading 1

 Text

 * Heading 2

 Text

 #+begin_src emacs-lisp
   (message Something funny with export)
 #+end_src

 ---

 Exporting the whole works fine.

 Exporting the first subtree (C-c C-e 1 b) works, but leaves an active
 region around the subtree.

Yes you are right. I am able to reproduce this.


 Exporting the second subtree fails, producing no output, with these
 messages:

 : Exporting...
 : org-babel-exp processing...
 : org-open-file: No such file: /Users/CM/org/test2.org::


I am not able to reproduce this. I did not get any errors.

I have

Org-mode version 7.01trans (release_7.01h.555.g90cc.dirty)
GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12) of 2010-01-30 on 
noorul

Thanks and Regards
Noorul


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: does #+PROPERTY still exist ?

2010-09-22 Thread Noorul Islam K M
Nick Dokos nicholas.do...@hp.com writes:

 Vincent Belaïche vincent@hotmail.fr  wrote:

 In the org manual node `(org) Property syntax' one can read the
 following:
 
 
 --8-coupez ici--début--8---
If you want to set properties that can be inherited by any entry
 in a file, use a line like 
  #+PROPERTY: NDisks_ALL 1 2 3 4
 --8-coupez ici---fin---8---
 
 However this does not seem to work.

 In what way does it fail to work?

 AFAICT, it works as advertised: after inserting the above line, I try to
 insert a NDisks property with 

C-c C-x p NDisksRET5RET

 and it complains (No match).  If I use e.g. 3 instead of 5, the
 property is inserted.


In the below example 


#+PROPERTY: Age 25
#+COLUMNS: %25ITEM %Age

* Heading 1
* Heading 2


When I try to use column view to edit the property it is not using the
format that I mentioned at the file level.

But the following one works


* Heading 1
  :PROPERTIES:
  :Age: 25
  :COLUMNS: %25ITEM %Age
  :END:
* Heading 2


Looks like the file level settings are not working.

Thanks and Regards
Noorul

--

 Nick

 
 What I did to get the same effect is place a property drawer before the
 first title, and then set 
 
 #+OPTIONS: skip:t
 
 In order to disable export of this drawer (because I am exporting
 drawers in general).
 
 I would like to know whether this is a bug, and if yes I can provide a
 patch to the manual with work-around explained above.
 
 BR,
Vincent.
 
 PS: #+PROPERTY does not work with completion `C-M-i' either
 
 
 
 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode
 

 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: does #+PROPERTY still exist ?

2010-09-22 Thread Noorul Islam K M
Nick Dokos nicholas.do...@hp.com writes:

 Nick Dokos nicholas.do...@hp.com wrote:

 Noorul Islam K M noo...@noorul.com wrote:
 
  
  In the below example 
  
  
  #+PROPERTY: Age 25
  #+COLUMNS: %25ITEM %Age
  
  * Heading 1
  * Heading 2
  
  
  When I try to use column view to edit the property it is not using the
  format that I mentioned at the file level.
  
  But the following one works
  
  
  * Heading 1
:PROPERTIES:
:Age: 25
:COLUMNS: %25ITEM %Age
:END:
  * Heading 2
  
  
  Looks like the file level settings are not working.
  
 
 If I evaluate the form
 
 (org-entry-get (point) Age t)
 
 with the point at any heading, I get 25. OTOH, even with
 org-use-property-inheritance set to t, column view does not
 show it. Ergo, it's a column view bug.
 
 In org-columns-compute, I see
 
   ...
   (while (re-search-backward re beg t)
  (setq sumpos (match-beginning 0)
last-level level
level (org-outline-level)
val (org-entry-get nil property)
   ...
 
 I suspect the val line needs to be
 
val (org-entry-get nil property org-use-property-inheritance)
 
 instead.
 

 No, that's not it. I think the basic problem is that
 org-entry-properties ignores inheritance altogether (in particular,
 it parses property names explicitly instead of using org-entry-get)[1].

 Nick

 [1] ... but it's late, I'm tired and I may very well be wrong - again.

Well, following one works. It looks like we need _ALL suffix for
inherited properties. 

--
#+COLUMNS: %25ITEM %10Age
#+PROPERTY: Age_ALL 25

* Heading 1
* Heading 2
--

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: does #+PROPERTY still exist ?

2010-09-22 Thread Noorul Islam K M
Carsten Dominik carsten.domi...@gmail.com writes:

 On Sep 22, 2010, at 8:58 AM, Noorul Islam K M wrote:

 Nick Dokos nicholas.do...@hp.com writes:

 Vincent Belaïche vincent@hotmail.fr  wrote:

 In the org manual node `(org) Property syntax' one can read the
 following:


 --8-coupez ici--début--8---
   If you want to set properties that can be inherited by any entry
 in a file, use a line like
 #+PROPERTY: NDisks_ALL 1 2 3 4
 --8-coupez ici---fin---8---

 However this does not seem to work.

 In what way does it fail to work?

 AFAICT, it works as advertised: after inserting the above line, I
 try to
 insert a NDisks property with

   C-c C-x p NDisksRET5RET

 and it complains (No match).  If I use e.g. 3 instead of 5, the
 property is inserted.


 In the below example

 
 #+PROPERTY: Age 25
 #+COLUMNS: %25ITEM %Age

 * Heading 1
 * Heading 2
 

 When I try to use column view to edit the property it is not using the
 format that I mentioned at the file level.

 But the following one works

 
 * Heading 1
  :PROPERTIES:
  :Age: 25
  :COLUMNS: %25ITEM %Age
  :END:
 * Heading 2
 

 Looks like the file level settings are not working.

 They are, but

 1. inheritance is not on by default, you need to enable
if for specific properties.

 2. Column view never looks at inherited values.  That iswhy it is
not using org-entry-get with an inheritance flag.  Column view
only shows and edits properties that are local to each entry.
Otherwise, editing an inherited value would silently
edit it also for other entries.

I have this variable org-use-property-inheritance set as 'nil' and have
the following contents in the file.

--
#+COLUMNS: %25ITEM %10Age
#+PROPERTY: Age_ALL 1 2 3 4 5 6

* Heading 1
* Heading 2
--

With this I am able to edit Age property using C-c C-x C-c and by
pressing e on Age column for both the headings.

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Agenda Question

2010-09-22 Thread Noorul Islam K M
Andre Powell apowell...@gmail.com writes:

 I hope that this is not a stupid question. Is there anyway to move forward in 
 the agenda view and have the scheduled and due items from the current day 
 move forward as well? The reason that I ask is I typically try and review my 
 next day the night before so I can print it out and be ready for the morning, 
 with Murhpy's Law (like today, I was a little behind).

I am not sure whether there is any settings for this. But in my case if
I schedule a TODO item for today and if I did not mark it as DONE by
today then this will be displayed the next day also in Agenda.

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: No link found error during export of source block when headline has link

2010-09-22 Thread Noorul Islam K M
Hsiu-Khuern Tang tan...@gmail.com writes:

 Hi all,

 When I export this file to HTML

 
 * [[http://www.example.com][example]]

   #+BEGIN_SRC R
 1
   #+END_SRC
 


 I get a No link found error.  The responsible function seems to be

 org-open-link-from-string(#([[/tmp/a.org::%5B%5Bhttp://www.example.com%5D%5Bexample%5D%5D][/tmp/a.org::[[http://www.example.com][example]]]
 ...)

 Please see the attached backtrace.

 I am using the latest version from git.  I used git bisect and found
 that the first bad commit is efdf78172d9f7c0070c781d136a9b49a2a56fcc4.


The function `org-babel-exp-src-blocks' tries to execute
(org-open-link-from-string link) which is failing because link is formed
in a such a way that org-open-link-from-string does not understand the
format.

Someone familiar with babel code might take a look into it.

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Trying to write an elisp function to move subtree to end of file

2010-09-21 Thread Noorul Islam K M
Charles Cave charles_c...@optusnet.com.au writes:

 I am writing an elisp function to move the subtree (at the point/cursor)
 to the end of the file.  The code from .elisp is shown

 I get an error message Invalid function: (org-cut-subtree)

 (defun move-subtree-to-end ()
   (interactive)
   (save-excursion (
   (org-cut-subtree)
   (end-of-buffer)
(org-paste-subtree))
   )
 )
 (global-set-key (kbd C-c e) 'move-subtree-to-end)

 To give you background, my todo list/journal has been captured in 
 a date tree and I would like to move an item to the end of the buffer.
 The reason for this will be explained in an upcoming article!

 Refiling is not applicable as (I don't think) the target can be defined.

I wonder why this is not an option. Can you please elaborate a bit?

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Version number via inline source in header of exported html and pdf? and Custom export name?

2010-09-08 Thread Noorul Islam K M
Rainer M Krug r.m.k...@gmail.com writes:

 Hi

 two questions:

 1) is it possible to add the result of an inline code snipet (in my case
 the SVN revision number) into the title or subtitle of a document (as in
 e.g. the org manual)?
 At the moment, I am putting it into the first header, which works, but
 is not so nice.


You can use svn propset to set svn:keywords for the files.

For example add something like this into the org file.

* This file is of revision $Rev$

and then use the following command

svn propset svn:keywords Rev orgfile.org

then commit the file this will update the file with something like this

* This file is of revision $Rev: 304 $

Similarly you can include lots of SVN information. Check out.

http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html

Thanks and Regards
Noorul


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Bug: escaping a star in a heading [7.01trans]

2010-09-07 Thread Noorul Islam K M
Aidan Gauland aidal...@no8wireless.co.nz writes:

 Escaping a star ('*') in a heading with a backslash works (i.e. exports
 to a literal '*') when exporting to PDF (via LaTeX; probably because
 LaTeX then processes it), but not when exporting to HTML.

 My situation is that I have a heading which refers to a (C) pointer
 variable, *x, * A note on the variable *x.  When I exported this to
 HTML, everything under the heading appeared as part of the heading.  I
 then tried to escape the star with a backslash (\*), which eliminated
 the confusion with the heading and its body, but the backslash showed up
 in the heading: * A note on the variable \*x.  This is obviously not
 what I want, I wanted the backslash to prevent the star from being
 treated by Org as rich-text markup (i.e. *bold*), and to be removed from
 the final product.


I am not able to reproduce this on

GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12)
 of 2010-01-30 on noorul

Org-mode version 7.01trans (release_7.01h.464.g413c)

I had this in an org file

* A note on the variable *x
  This is another testing

and used C-c C-e b

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Weird notes... Conflict with lists?

2010-09-07 Thread Noorul Islam K M
Sébastien Vauban wxhgmqzgw...@spammotel.com writes:

 Hi,

 When diffing versions of my Org files, before committing, just noticed this...

  ** WAIT Vérifier la réception du BC
 -   SCHEDULED: 2010-09-03 Fri
 +   SCHEDULED: 2010-09-08 Wed
 :LOGBOOK:
 - State WAIT   from TODO   [2010-09-01 Wed 14:14] \\
   Envoyé un nouveau mail.
 + - State DONE   from WAIT   [2010-09-07 Tue 09:36]
 +   - State TODO   from DONE   [2010-09-07 Tue 09:36]
 + - State WAIT   from TODO   [2010-09-07 Tue 09:36] \\
 +   Téléphoné. Pas de réponse.
 :END:

 I've experienced other weird behaviors since the new lists are in place. Among
 others, when creating a new node with M-RET, or such operations. Though, I
 need to get steps to reproduce black on white for those ones...

 FYI, Org-mode version is 7.01trans (release_7.01h.431.g8302).

I am not able to re-produce this. This is what I get when I simply cycle
through states.

* DONE Test header
  CLOSED: [2010-09-07 Tue 15:11]
  :LOGBOOK:
  - State DONE   from TODO   [2010-09-07 Tue 15:11]
  - State TODO   from WAITING[2010-09-07 Tue 15:11]
  - State WAITINGfrom TODO   [2010-09-07 Tue 15:11] \\
Next
  - State TODO   from WAITING[2010-09-07 Tue 15:11]
  - State WAITINGfrom NEXT   [2010-09-07 Tue 15:09] \\
Testing
  - State NEXT   from WAITING[2010-09-07 Tue 15:09]
  - State WAITINGfrom NEXT   [2010-09-07 Tue 15:09] \\
Waiting

Am I missing something? Can you reproduce this on a minimal header?

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Value of `ispell-dictionary-alist' reset by `org-agenda-list'

2010-09-06 Thread Noorul Islam K M
Sébastien Vauban wxhgmqzgw...@spammotel.com writes:

 Hi Noorul and everybody,

 Noorul Islam wrote:
 2010/9/3 Sébastien Vauban wxhgmqzgw...@spammotel.com:
 I still don't understand what's going on, but I've managed getting closer 
 to a
 long experienced problem in my Emacs: while I set the value of
 =ispell-dictionary-alist= in the beginning of my =.emacs= file, it is reset
 when calling =org-agenda-list=.

 (message Value of `ispell-dictionary-alist' before `org-agenda-list')
 (edebug-print ispell-dictionary-alist)

 (org-agenda-list)

 (message Value of `ispell-dictionary-alist' after `org-agenda-list')
 (edebug-print ispell-dictionary-alist)

 (delete-other-windows)


 Has anyone any idea on how to circumvent this?

 Since orgmode is using flyspell, looks like it is interfering with ispell.

 From flyspell.el
 ==
 (defun flyspell-mode-on ()
   Turn Flyspell mode on.  Do not use this; use `flyspell-mode' instead.
   (ispell-set-spellchecker-params) ; Initialize variables and dicts alists
   (setq ispell-highlight-face 'flyspell-incorrect)
   ;; local dictionaries setup
   (or ispell-local-dictionary ispell-dictionary
   (if flyspell-default-dictionary
   (ispell-change-dictionary flyspell-default-dictionary)))
 ==

 Yes, but I don't understand why Org *would* (and did not write *does*, as it
 still is not clear enough to me) setq the list of dictionaries...

 Clearly a behavior to forbid!

You might be able to write a flyspell-mode hook function which will set
the dictionary you like in the variable flyspell-default-dictionary.

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: cannot enable org-habit

2010-09-02 Thread Noorul Islam K M
Paul Sexton psex...@xnet.co.nz writes:

 Joseph Buchignani joseph.buchignani at gmail.com writes:

 Yes, here is how it looks:
 ...

 Hi Joseph
 The following item has been working fine for me. However I can't see any 
 glaring 
 differences wrt to your example item.


 ** TODO Add MCQs
SCHEDULED: 2010-09-03 Fri .+1d/4d
- State DONE   from TODO   [2010-09-02 Thu 07:51]
- State DONE   from TODO   [2010-08-25 Wed 15:52]
   :PROPERTIES:
   :STYLE: habit
   :LAST_REPEAT: [2010-09-02 Thu 07:51]
   :END:


 Rather than use 'modules' I just have
 (require 'org-habit)
 in my .emacs -- maybe that is worth trying.


For me, Joseph's example works if I use (require 'org-habit). I have not
tried with modules

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: HTML export of org source blocks

2010-09-02 Thread Noorul Islam K M
Thomas S. Dye t...@tsdye.com writes:

 Aloha all,

 The following example from the Ledger tutorial
 http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-ledger.php
  doesn't export the #+end_src line:

 #+begin_src org

 ,#+begin_src ledger :cmdline -s bal :results value
 ,!include /tmp/account.ledger
 ,#+end_src

 #+end_src

 As you can see in this example and others in the Ledger tutorial on
 Worg, only the first two lines of the code block make it through the
 exporter.

 Is this a bug or is the source block malformed in some way?


I think you should use BEGIN_EXAMPLE and END_EXAMPLE for this. 

In that case you don't have to use leading ,.

You can check the org files written for babel tutorial

Thanks and Regards
Noorul


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: svn version number as tag or property?

2010-09-02 Thread Noorul Islam K M
Rainer M Krug r.m.k...@gmail.com writes:

 On 01/09/10 22:33, Achim Gratz wrote:

 Rainer M Krug r.m.k...@gmail.com writes:
 
 Hm - I can't find that command (I assume it is a function)? And if how
 can I get the file name of the buffer?
 
 Yes, an elisp function.  You either already know the name of the file
 and insert it as a string or just use another elisp function to ask
 EMACS for it.  Then instead of running a shell script (which you said
 you wanted to avoid) you'll get this information from EMACS.

 Yes - that is exactly what I want to do. But I don't have that function
 and svn is working from emacs. I have the following functions beginning
 with vc-:

 Possible completions are:
 vc-annotate   vc-create-tag
 vc-delete-filevc-diff
 vc-dirvc-finish-logentry
 vc-git-grep   vc-git-log-view-mode
 vc-git-stash  vc-git-stash-apply
 vc-git-stash-apply-at-point   vc-git-stash-delete-at-point
 vc-git-stash-menu vc-git-stash-pop
 vc-git-stash-pop-at-point vc-git-stash-show
 vc-git-stash-show-at-pointvc-git-stash-snapshot
 vc-insert-headers vc-merge
 vc-mode-line  vc-next-action
 vc-print-log  vc-print-root-log
 vc-register   vc-rename-file
 vc-resolve-conflicts  vc-retrieve-tag
 vc-revert vc-revert-buffer
 vc-revert-buffer-internal vc-revision-other-window
 vc-rollback   vc-root-diff
 vc-svn-log-view-mode  vc-switch-backend
 vc-toggle-read-only   vc-update
 vc-update-change-log  vc-version-diff

 Is there anything I have to load into emacs (GNU Emacs 23.2.1
 (i686-pc-linux-gnu, GTK+ Version 2.20.1) to get that commad?

Are you trying to use M-x vc-tab?

It might not list that function because it is not interactive.

Use C-h f vc-working-revision

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: org-capture : latest git pull, template selection broken ?

2010-08-28 Thread Noorul Islam K M
Dave Abrahams d...@boostpro.com writes:

 Julien Fantin julien.fantin at gmail.com writes:

 
 
 With the org-capture-templates described in the doc, right after the 
 template selection, the buffer disappears, and the empty template
 gets written to the target file. The following messages are output :
 
 
 Clipboard pasted as level 2 subtree

 I'm seeing this message too, when I invoke org-capture.  What does it mean?

Please let us know which template did you use?

Are you talking about converting templates from remember to org-capture?

If so let us know the remember template that you used to convert.

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] [PATCH] Re: Bug: habit: better error handling required [TAG=7.01g]

2010-08-25 Thread Noorul Islam K M
paulusm paul...@bigpond.com writes:

 Hi org-mode people,

 Whilst playing with the shaving example from
 http://orgmode.org/manual/Tracking-your-habits.html I accidentally put a
 bad character in the SCHEDULED timestamp.

 Instead of: SCHEDULED: 2010-08-26 Thu .+2d/4d
 I had:  SCHEDULED: 2010-08-26 Thu .+2nd/4d

 When trying to view my agenda, I was presented with a blank agenda and Emacs
 very quietly reported:
 org-habit-duration-to-days: Wrong type argument: stringp, nil
 which is not really helpful.

 Removing the bad character fixes the issue, and I can duplicate the error
 condition as described above.

 Perhaps some better error trapping could be done?



Attached is the patch which catch this error and throws meaningful
message.

lisp/org-habit.el : (org-habit-parse-todo)
  - Find sr-days only if scheduled-repeat is non nil
  - Used 4th element of the list returned by (org-heading-components)
as habit-entry
  - Modified the error message to be more meaningful.

Thanks and Regards
Noorul

diff --git a/lisp/org-habit.el b/lisp/org-habit.el
index 2fa352f..9071e2f 100644
--- a/lisp/org-habit.el
+++ b/lisp/org-habit.el
@@ -149,15 +149,15 @@ This list represents a \habit\ for the rest of this 
module.
 (assert (org-is-habit-p (point)))
 (let* ((scheduled (org-get-scheduled-time (point)))
   (scheduled-repeat (org-get-repeat org-scheduled-string))
-  (sr-days (org-habit-duration-to-days scheduled-repeat))
   (end (org-entry-end-position))
-  (habit-entry (org-no-properties (nth 5 (org-heading-components
-  closed-dates deadline dr-days)
+  (habit-entry (org-no-properties (nth 4 (org-heading-components
+  closed-dates deadline dr-days sr-days)
   (if scheduled
  (setq scheduled (time-to-days scheduled))
(error Habit %s has no scheduled date habit-entry))
   (unless scheduled-repeat
-   (error Habit %s has no scheduled repeat period habit-entry))
+   (error Habit '%s' has no scheduled repeat period or has an incorrect 
one habit-entry))
+  (setq sr-days (org-habit-duration-to-days scheduled-repeat))
   (unless ( sr-days 0)
(error Habit %s scheduled repeat period is less than 1d habit-entry))
   (when (string-match /\\([0-9]+[dwmy]\\) scheduled-repeat)
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Argument to org-insert-subheading should be optional [7.01trans]

2010-08-25 Thread Noorul Islam K M
M. Creidieki Crouch creidi...@gmail.com writes:

 The (org-insert-subheading arg) function in org.el should probably have
 arg as an optional argument.  It's used only as a parameter to
 (org-insert-heading (optional force-heading invisible-ok)), so it
 doesn't make much sense as a mandatory parameter.

 I believe that this is also true of (org-insert-todo-subheading arg).

 I'm sorry for not submitting a patch, I'm still just learning lisp.

 -- Creidieki M. Crouch

Both of them are interactive P functions. 

Please take a look at 'interactive' definition. C-h f interactive

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Fix typo in org-find-exact-headling-in-buffer

2010-08-24 Thread Noorul Islam K M
Jambunathan K kjambunat...@gmail.com writes:

 Still thinkling but have no inkling about headling.

 Jambunathan K.

 From a49dcabccf5d4589d553115d7ce8a648ab4328f2 Mon Sep 17 00:00:00 2001
 From: Jambunathan K kjambunat...@gmail.com
 Date: Tue, 24 Aug 2010 03:05:04 +0530
 Subject: [PATCH] Fix typo in org-find-exact-headling-in-buffer

 * lisp/org.el (org-find-exact-heading-in-buffer): Renamed from
 org-find-exact-headling-in-buffer.
 * contrib/lisp/org-wikinodes.el (org-wikinodes-follow-link): Fix typo in
 org-find-exact-headling-in-buffer

 TINYCHANGE.
 ---
  contrib/lisp/org-wikinodes.el |6 +++---
  lisp/org.el   |4 ++--
  2 files changed, 5 insertions(+), 5 deletions(-)

 diff --git a/contrib/lisp/org-wikinodes.el b/contrib/lisp/org-wikinodes.el
 index 0a00052..e07a8e4 100644
 --- a/contrib/lisp/org-wikinodes.el
 +++ b/contrib/lisp/org-wikinodes.el
 @@ -119,10 +119,10 @@ setting of `org-wikinodes-create-targets'.
(let ((create org-wikinodes-create-targets)
   visiting buffer m pos file rpl)
  (setq pos
 -   (or (org-find-exact-headling-in-buffer target (current-buffer))
 +   (or (org-find-exact-heading-in-buffer target (current-buffer))
 (and (eq org-wikinodes-scope 'directory)
  (setq file (org-wikinodes-which-file target))
 -(org-find-exact-headling-in-buffer
 +(org-find-exact-heading-in-buffer
   target (or (get-file-buffer file)
  (find-file-noselect file))
  (if pos
 @@ -288,7 +288,7 @@ with working links.
 (delete-region (match-beginning 0) (match-end 0))
 (save-match-data
   (cond
 -  ((org-find-exact-headling-in-buffer link (current-buffer))
 +  ((org-find-exact-heading-in-buffer link (current-buffer))
 ;; Found in current buffer
 (insert (format [[#%s][%s]] link link)))
((eq org-wikinodes-scope 'file)
 diff --git a/lisp/org.el b/lisp/org.el
 index 15379ef..134ac56 100644
 --- a/lisp/org.el
 +++ b/lisp/org.el
 @@ -14033,7 +14033,7 @@ only headings.
 (when (org-on-heading-p)
   (move-marker (make-marker) (point
  
 -(defun org-find-exact-headling-in-buffer (heading optional buffer pos-only)
 +(defun org-find-exact-heading-in-buffer (heading optional buffer pos-only)
Find node HEADING in BUFFER.
  Return a marker to the heading if it was found, or nil if not.
  If POS-ONLY is set, return just the position instead of a marker.
 @@ -14064,7 +14064,7 @@ When the target headline is found, return a marker to 
 this location.
  (message trying %s file)
  (setq visiting (org-find-base-buffer-visiting file))
  (setq buffer (or visiting (find-file-noselect file)))
 -(setq m (org-find-exact-headling-in-buffer
 +(setq m (org-find-exact-heading-in-buffer
   heading buffer))
  (when (and (not m) (not visiting)) (kill-buffer buffer))
  (and m (throw 'found m))

It might not be a typo. Looks like deliberate.

Thanks
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: make without make cleanall safe?

2010-08-19 Thread Noorul Islam K M
Samuel Wales samolog...@gmail.com writes:

 Seems it takes a while to make, perhaps because of all the excellent
 features like org-babel.  I do make cleanall first, to be safer, but
 as the purpose of make is to avoid doing recompilation, will a simple
 make suffice?

Whenever I make a small change in one of the org-files and try make it
compiles all lisp files. 

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Some useful timestamp s-expressions

2010-08-18 Thread Noorul Islam K M
I think it will be great if this goes into worg?

- Noorul

On Aug 19, 2010, at 1:52 AM, Paul Sexton psex...@xnet.co.nz wrote:

 In org, timestamps can be in the usual angle-bracket format,
 eg 2010-08-19 +2w, or you can use lisp s-expressions. These are in the same
 format as the s-expressions used in the 'diary'/'calendar' emacs packages. I
 only discovered these recently but have been able to use them to schedule some
 complex recurring items. I thought I would share the code here.
 
 1. Recurring items with a limited number of occurrences
 
 For example, say you are taking night classes in Spanish. The class is every
 Wednesday evening at 7pm, starting on 18 August, and runs for 8 weeks. AFAIK
 Org's timestamps do not support limited occurrences of recurrent items -- you
 have to schedule the item with infinite recurrences, then delete it when it
 finishes.
 
 To schedule the Spanish classes, put the following in your .emacs:
 
 (defun diary-limited-cyclic (recurrences interval m d y)
  For use in emacs diary. Cyclic item with limited number of recurrences.
 Occurs every INTERVAL days, starting on -MM-DD, for a total of
 RECURRENCES occasions.
  (let ((startdate (calendar-absolute-from-gregorian (list m d y)))
(today (calendar-absolute-from-gregorian date)))
(and (not (minusp (- today startdate)))
 (zerop (% (- today startdate) interval))
 ( (floor (- today startdate) interval) recurrences
 
 The item in the org file looks like this:
 
 
 ** 19:00-21:00 Spanish lessons
 %%(diary-limited-cyclic 8 7 8 18 2010)
 
 
 2. Public holiday that is the nearest Monday to DATE
 
 In New Zealand each regional capital has an Anniversary Day. The date of 
 Auckland's anniversary day is the nearest Monday to 29 January. 
 
 Put this in your .emacs:
 
 (defun calendar-nearest-to (target-dayname target-day target-month)
  Recurring event that occurs in the nearest TARGET-DAYNAME to
 the date TARGET-DAY, TARGET-MONTH each year.
  (interactive)
  (let* ((dayname (calendar-day-of-week date))
 (target-date (list target-month target-day (calendar-extract-year 
 date)))
 (days-diff (abs (- (calendar-day-number date)
(calendar-day-number target-date)
(and (= dayname target-dayname)
 ( days-diff 4
 
 Now we can schedule Auckland Anniversary Day. The first argument, 1, means
 Monday (days of the week are numbered starting with Sunday=0).
 
 
 *** Auckland Anniversary Day
 %%(calendar-nearest-to 1 29 1)
 
 
 3. Public holiday on the 4th Monday in October.
 
 This does not require any additions to .emacs:
 
 
 *** Labour Day (NZ)
 %%(diary-float 10 1 4)
 
 
 4. Easter
 
 Easter's date moves around from year to year according to a complicated set of
 criteria which I do not claim to understand. However the following code will
 allow you to schedule recurring events relative to Easter sunday.
 
 Note: the function da-easter is from:
 http://github.com/soren/elisp/blob/master/da-kalender.el
 
 Put the following in your .emacs:
 
 (defun da-easter (year)
  Calculate the date for Easter Sunday in YEAR. Returns the date in the
 Gregorian calendar, ie (MM DD YY) format.
  (let* ((century (1+ (/ year 100)))
 (shifted-epact (% (+ 14 (* 11 (% year 19))
  (- (/ (* 3 century) 4))
  (/ (+ 5 (* 8 century)) 25)
  (* 30 century))
   30))
 (adjusted-epact (if (or (= shifted-epact 0)
 (and (= shifted-epact 1)
  ( 10 (% year 19
 (1+ shifted-epact)
   shifted-epact))
 (paschal-moon (- (calendar-absolute-from-gregorian
   (list 4 19 year))
  adjusted-epact)))
(calendar-dayname-on-or-before 0 (+ paschal-moon 7
 
 
 (defun da-easter-gregorian (year)
  (calendar-gregorian-from-absolute (da-easter year)))
 
 (defun calendar-days-from-easter ()
  When used in a diary sexp, this function will calculate how many days
 are between the current date (DATE) and Easter Sunday.
  (- (calendar-absolute-from-gregorian date)
 (da-easter (calendar-extract-year date
 
 Now we can schedule the public holidays associated with Easter as 
 recurring events. Good Friday is 2 days before Easter, Easter Monday is one
 day after.
 
 
 *** Good Friday
 %%(= -2 (calendar-days-from-easter))
 
 *** Easter Sunday
 %%(= 0 (calendar-days-from-easter))
 
 *** Easter Monday
 %%(= 1 (calendar-days-from-easter))
 
 
 Paul
 
 
 
 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.

[Orgmode] Re: export TODO keyword

2010-08-16 Thread Noorul Islam K M
Rares Pop rares@gmail.com writes:

 Hi Carsten,

 I've attached the org file and the exported PDF file.

 I'm using org-6.35i and export settings are the default ones.

 Thanks again for trying to help,
 Rares

I am not able to re-produce this with the trunk version. May be bug in
the older version?

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Proposed command: org-agenda-clock-goto

2010-08-12 Thread Noorul Islam K M
Bastien bastien.gue...@wikimedia.fr writes:

 Noorul Islam K M noo...@noorul.com writes:

 For me J takes me to the org file entry not to the agenda entry.

 That's weird.  Did you pull and get the last Org?

 `J' should:

 - move the point to the clocked in entry in the agenda buffer
 - if the clocked entry is not listed in the agenda buffer, 
   display it in another window
 - if there is no running clock, display a message.

Oh my bad! It actually works!

git pull
make clean
make

M-x org-reload

I am sorry about this spam.

I have been looking for this functionality for a long time. Thanks a
ton for this.

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Print / export TODO Tree

2010-08-12 Thread Noorul Islam K M
Nathan Neff nathan.n...@gmail.com writes:

 Sorry if this is a FAQ, but is there a way to export or print a TODO tree?

For example you can export a subtree as HTML and open the same in
browser by placing the cursor on the subtree and using

Use C-c C-e 1 b

Try different option instead of 'b'

Thanks
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: [PATCH] Proposed command: org-agenda-clock-goto

2010-08-11 Thread Noorul Islam K M
On Aug 12, 2010, at 3:43 AM, Bastien bastien.gue...@wikimedia.fr wrote:

 Carsten Dominik carsten.domi...@gmail.com writes:
 
 Hmmm, I just pulled, and J jumps to the org-mode file while C-c C-x C-
 j goes to the agenda lines corresponding to the clocking item.  I meant
 it the other way around.  What am I missing?
 
 Weird -- M-x org-reload?  This diff shows the change in the keybindinds:
 
  
 http://repo.or.cz/w/org-mode.git/blobdiff/f0be9ff91bd52c530f0d7556872576eb9803cb38..a7a842457dd927df9eabc756c4c573720a3a7aa9:/lisp/org-agenda.el
 
 Let me know,

For me J takes me to the org file entry not to the agenda entry.

Thanks
Noorul
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: ReRe[2]: need detailed instructions for submitting the patch

2010-08-10 Thread Noorul Islam K M
Thomas S. Dye t...@tsdye.com writes:

 Aloha Dmitry,

 Another reason for working in topic branches is it leaves your master
 branch clean so that changes in the remote are easily merged.  You're
 are probably more computer savvy than I am, but my struggles with
 merges after making changes to the master branch have been trying.  I
 try to leave master clean at all times now.


I would like to try this approach. I have been finding it very hard to
maintain the master branch with the other approach.

Thanks
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: org-bbdb: Be lenient. Ignore case in anniv class string.

2010-08-08 Thread Noorul Islam K M
Jambunathan K kjambunat...@gmail.com writes:

 Permit bbdb entries like '1973-06-22 Birthday'. i.e., Ignore the case of
 anniv class.

 ps: Have I mixed up tabs/spaces and/or indentations? Kindly point me to
 the emacs settings for editing org elisp files.

I always use the default one for emacs-lisp.

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: text color + highlight

2010-08-08 Thread Noorul Islam K M
Jambunathan K kjambunat...@gmail.com writes:

 Eric but again, I'm reticent to commit to any particular format, as
 Eric Org-mode does a good job of feeling consistent, and I'd not
 Eric want to hurt that consistency.

 In an edit buffer, I would personally prefer to see the colour 'red'
 visually rather than as a 'synctactic element'.

 May be Org mode could be enhanced to honour (and coexist with) enriched
 mode markups.

 http://www.gnu.org/software/emacs/manual/html_node/emacs/Requesting-Formatted-Text.html#Requesting-Formatted-Text

I think the very beauty of Org-Mode is that it manipulates pure
plain-text.

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: TODO type problem on speedbar and imenu.

2010-07-23 Thread Noorul Islam K M
Osamu OKANO okano.os...@gmail.com writes:

 Hi.
 I found a problem on speedbar and imenu.
 Reproducing date is here
 * someday/maybe
 * SOMEDAY/maybe
 * SOMEDAY maybe
 * someday maybe
 * read/review
 * READ/review
 * conf
 #+TYP_TODO: SOMEDAY

 When a head line includes TODO state name,
 I am afraid that displayed head line names on speedbar are wrong.
 Because SOMEDAY is TODO type but someday/maybe and SOMEDAY/maybe
 is not TODO task.


I am not able to reproduce this on 

GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12)
 of 2010-01-30 on noorul

Org-mode version 7.01trans (release_6.36.723.gaf9d)


Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Bug Report: refile and attachments

2010-07-23 Thread Noorul Islam K M
Colin Fraizer orgm...@cfraizer.com writes:

 1.   Exactly what I did

 I created an entry in an org file.

 I added an attachment to that entry.

 I used refile (C-c C-w) to move the entry to another org file.


Before doing this, can you try opening it from initial org file itself.

using C-c C-a o

Thanks and Regards
Noorul


 I visited that file and attempted to open the attachment (C-c C-a o).

 2.   What I expected:

 Because there was only one attachment associated with the entry, I expected
 it to open.

 3.   What happened instead:

 I was prompted for an attachment name. Hitting tab showed no match in
 the minibuffer.

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: orgmode html export uses wrong browser

2010-07-21 Thread Noorul Islam K M
Vikas Rawal vikasli...@agrarianresearch.org writes:

 From org, when I export an org buffer to html and open in browser
 (using C-c C-e b), it opens epiphany web browser. On the other, if I
 open a url from within orgmode, the urls are opened in firefox. How
 can I change the browser that is used for viewing the exported html
 files?

 I am using debian sid, emacs23 and org 7.01.

I am using Debian Lenny, Emacs 23 and Org 7.01 and I have the following
in my .emacs

(setq browse-url-browser-function (quote browse-url-generic))
(setq browse-url-generic-program google-chrome)

For me, following your exact steps, opens google-chrome.

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: word wrap preferences in org-mode buffers

2010-07-19 Thread Noorul Islam K M
Eric S Fraga ucec...@ucl.ac.uk writes:

 On Fri, 16 Jul 2010 14:37:54 -0500, Erik Iverson er...@ccbr.umn.edu wrote:

 
 Hello,
 
 As I use org-mode more and more for actually writing things, I'm
 wondering what your favorite Emacs word/line-wrapping mode is.
 
 Basically, I see two main ways of doing this, auto-fill-mode and
 visual-line-mode.  Any others that you all use?  If you use
 auto-fill-mode or visual-line-mode, are there any obvious drawbacks,
 particularly regarding org-tables and source code blocks.
 
 I'm sure I'll run into the main issues eventually, but thought I'd ask
 up front.
 
 Thanks,
 Erik
 
 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode

 I use auto-fill-mode most of the time.  However, if I'm mixing code
 and text, I tend to turn it off.  In that case, it's an easy matter of
 hitting M-q (fill-paragraph) every now and again to re-format the
 current paragraph.  I often do this without even realising... (just
 did it now, in fact :-).

I always faced this problem and I didn't know that there is this key
binding. Thank you!

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Tiny font in org-agenda-columns when using emacs --daemon

2010-07-14 Thread Noorul Islam K M
Jakob Lombacher ja...@lombacher.net writes:

 Hi,

 When I start emacs as daemon emacs --daemon  and than attache a
 client to it, the org-agenda-columns view appears in a very tiny font.
 If I start emacs normally the view appears in standard font size.

I think you are tyring to run emacs --daemon from terminal window and
that might not load emacs in an X environment. This is my guess and I
might be wrong.

Thanks and Regards
Noorul



 I found out that the Org Column face is set to different values
 (Height: 1, ...). I can adapt it and it works, but when I start the
 emacsclient again, all settings are lost.
 So it looks like the emacsclient overwrites those settings.

 Has anybody an idea what's the cause of that? Can anybody report the
 same behavior?

 I use emacs 23.1-r3 on a gentoo linux system and org-mode 6.36c.

 Jakob

 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Error: byte-code: Symbol's function definition is void: calendar-current-date (org 6.33x, cocoa emacs 23.2.1 OSX)

2010-07-11 Thread Noorul Islam K M
Marcelo de Moraes Serpa celose...@gmail.com writes:

 Hey guys,

 I'm going through a small quirck with org. Everytime I start emacs,
 open my gtd.org file and try to schedule an item, it halts with the
 following error:

 byte-code: Symbol's function definition is void: calendar-current-date

 I've found a way to fix it though -- just open the agenda (C-c a). A
 bug perhaps?

For me C-h calendar-current-date shows the following

calendar-current-date is a compiled Lisp function in `calendar.el'.

I hope you have calendar.el under /path/to/emacs/src/lisp/calendar
folder.

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: preserving location of point

2010-07-09 Thread Noorul Islam K M
Bernt Hansen be...@norang.ca writes:

 Eric Abrahamsen e...@ericabrahamsen.net writes:

 I'm using org mode of about a week ago, and have noticed that when I
 leave point inside a table in org mode, switch to another buffer, and
 switch back again, point is placed at the the end of the table. I'm
 switching back and forth quite a bit and it's a pain finding my place in
 the table again -- I wonder if this is something that could be fixed,
 either through a user option or in the source code?

 Hi Eric,

 I'm using

 GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09 on 
 raven, modified by Debian
 Org-mode version 6.36trans (release_6.36.587.gb482)

 and I'm not seeing the behaviour you describe.  If I put the point in a
 table field, then C-x C-b *scratch* RET and then move the point in the
 scratch buffer and switch back to the original org-mode buffer point is
 still in the table exactly where I left it.

An this is what I am using 

GNU Emacs 23.2.2 (i686-pc-linux-gnu) of 2010-06-08 on sajida
Org-mode version 6.36trans (release_6.36.452.g452b0)

I am also not facing Eric's problem.

- Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Bulk refile is not working as expected

2010-07-06 Thread Noorul Islam K M
David Maus dm...@ictsoc.de writes:

 Noorul Islam K M wrote:

I have couple of tasks in one of my org files which I want to re-file to
some other org file.

Both these files are in my agenda list. This is what I did.

1. Go to agenda-view
2. Navigate to both the tasks and use 'm' to mark them.
3. 'B r' to bulk refile tasks
4. The marked tasks disappears from Agenda View.

But actually these tasks are not moved. One thing that I noticed is that
the following message is getting displayed.

org-agenda-refile: Marker does not point anywhere

(org-version)
release_6.36-109-g4f11
Org-mode version 6.36trans (release_6.36.109.g4f11)

Am I doing something different here or is it a bug?

 I've reported a similar problem[1]; what did you set the variable
 `org-refile-use-outline-path' set to?


It's value is set as file 

Thanks and Regards
Noorul

 [1] 
 http://news.gmane.org/find-root.php?message_id=8739vzpqx1.wl%25dmaus%40ictsoc.de


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Don't create marker if target is entire file.

2010-07-06 Thread Noorul Islam K M
David Maus dm...@ictsoc.de writes:

 * org-agenda.el (org-agenda-bulk-action): Don't create marker for
 position if target is entire file.

 If the target of a bulk refile operation is the entire file,
 `org-refile-get-location' returns nil for the refile position.
 Creating a marker for the target file's buffer at position nil returns
 a marker that points nowhere (Cf. GNU Emacs Lisp Reference Manual,
 31.6).  `org-refile' adds headings to level 1 if the target position
 for the target file is nil -- and hence a marker that points nowhere
 is not nil, tries to jump to nowhere.


Does this patch fix bulk refile issue that you faced?

Thank you!

Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Bulk refile is not working as expected

2010-07-05 Thread Noorul Islam K M
Hello all,

I have couple of tasks in one of my org files which I want to re-file to
some other org file.

Both these files are in my agenda list. This is what I did.

1. Go to agenda-view
2. Navigate to both the tasks and use 'm' to mark them.
3. 'B r' to bulk refile tasks
4. The marked tasks disappears from Agenda View.

But actually these tasks are not moved. One thing that I noticed is that
the following message is getting displayed. 

org-agenda-refile: Marker does not point anywhere

(org-version)
release_6.36-109-g4f11
Org-mode version 6.36trans (release_6.36.109.g4f11)

Am I doing something different here or is it a bug?

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Behavior of Gnus when called from an hyperlink

2010-06-30 Thread Noorul Islam K M
Carsten Dominik carsten.domi...@gmail.com writes:

 On Jun 28, 2010, at 1:36 PM, Leo wrote:

 On 2010-06-28 11:19 +0100, Tassilo Horn wrote:
 (setq org-link-frame-setup '((vm   . vm-visit-folder)
 (gnus . org-gnus-no-new-news)
 (file . find-file-other-window)))

 Nice.

 I have also found creating new frame a bit annoying because I tend to
 have fullscreened emacs and really don't like a frame to pop into my
 face.

 I don't remember why I made creating a new frame the default.
 Probably back then I used to have a special frame for GNUS open.
 Anyway, if there is enough momentum here, we can change the default.


I run gnus and face similar problem. I ignored it so far. I prefer opening
mail in the same window.

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Date Prompt Bug (or Anomoly)

2010-06-04 Thread Noorul Islam K M
Daniel E. Doherty ded-...@ddoherty.net writes:

 All,

 In playing around with the date prompt (C-.), I ran across the following
 puzzling behavior from rather simple inputs.

 I entered the following on June 1, 2010.  Here is a date entered as
 3/15: 2011-03-15 Tue.  It interpreted it as the upcoming March 15 as
 expected.

 But here is a date entered as 5/21: 2021-06-05 Sat.  Note how it
 interpreted the 21 as the year 2021, not at all what I expected from
 the documentation or the analogous 3/15 example.

I think you should be using 3-15  5-21. I think the program is not
expecting '/' instead it expects '-'.

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Date Prompt Bug (or Anomoly)

2010-06-04 Thread Noorul Islam K M
Noorul Islam K M gnu...@gmail.com writes:

 Daniel E. Doherty ded-...@ddoherty.net writes:

 All,

 In playing around with the date prompt (C-.), I ran across the following
 puzzling behavior from rather simple inputs.

 I entered the following on June 1, 2010.  Here is a date entered as
 3/15: 2011-03-15 Tue.  It interpreted it as the upcoming March 15 as
 expected.

 But here is a date entered as 5/21: 2021-06-05 Sat.  Note how it
 interpreted the 21 as the year 2021, not at all what I expected from
 the documentation or the analogous 3/15 example.

 I think you should be using 3-15  5-21. I think the program is not
 expecting '/' instead it expects '-'.

It is explained here.

http://www.gnu.org/software/emacs/manual/html_node/org/The-date_002ftime-prompt.html#The-date_002ftime-prompt

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Hang after agenda export [6.34c]

2010-02-01 Thread Noorul Islam K M
manonf...@lavabit.com writes:

 The problem could be solved by removing the example code snippet suggested
 in the manual (Page 104 for 6.34c) from .emacs which is

 (setq org-agenda-exporter-setting)
 '((ps-number-of-columns 2)
  (ps-landscape-mode t)
  (org-agenda-add-entry-text-maxlines 5)))


 Export to txt and html works now. But for pdf I get an error message:

 Symbol's function definition is void: flet

You need 

cl.el --- Common Lisp extensions for Emacs

Thanks and Regards
Noorul


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Hang after agenda export [6.34c]

2010-01-31 Thread Noorul Islam K M
manonf...@lavabit.com writes:

 Hello,

 this org-mode is fantastic but I experienced a little problem.

 When trying to export the agenda with C-x C-w filename, emacs hangs and
 causes high cpu load with all file types (txt,html,pdf). No file is
 created.
 This also happened with 6.33f.

I have a huge org file and I am not facing this problem with 6.34trans.

Do you mind sharing the org file. Looks like some issue with the file.

Thanks
Noorul


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


  1   2   >