Re: [Orgmode] worth it? -- tiny change of org mode

2009-06-24 Thread Bastien
"goodh...@gmail.com"  writes:

> When i save all of my file with C+s, I press a lot of y for yes.

I think you mean `C-x C-s', right?  

Also note that `C-x s' is M-x save-some-buffers and let you save many
files at once.

-- 
 Bastien


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


Re: [Orgmode] Refile error - Kill is not a (set of) trees

2009-06-24 Thread Carsten Dominik


On Jun 24, 2009, at 7:44 AM, Michael Gilbert wrote:


Hi all --

I am a noob - drawn to the alien world of Emacs (from my familiar  
Mac environment) by OrgMode. I am uncertain enough that I don't  
rightly know if this is best described as an OrgMode error or an  
Emacs error. Most likely a human error, I guess.


I am using last night's Aquamacs build: GNU Emacs 23.0.94.1 (i386- 
apple-darwin9.7.0, NS apple-appkit-949.46)
of 2009-06-23 on BRAEBURN.PSY.CMU.EDU - Aquamacs Distribution  
2.0dev. Org-mode 6.21b.


In OrgMode, I am trying to learn to refile tasks. I use C-c C-w on a  
TODO item in a notes file. It goes through the process of allowing  
me to select the destination for the item. But then it throws an  
error - "Kill is not a (set of) trees" etc - every time. Doesn't  
kill the TODO and obviously doesn't yank it to the new location.



Are you selecting a region before calling the command? That region  
might be not a valid tree.


- Carsten



Any advice?

-- Michael





___
Emacs-orgmode mailing list
Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] unicorn image is not a link back to the front page on orgmode.org

2009-06-24 Thread Carsten Dominik


On Jun 24, 2009, at 9:28 PM, Bastien wrote:


Sebastian Rose  writes:


Greg Newman  writes:
You're welcome.Fixed works too.  Absolute can act goofy if the  
main body and

starting div aren't set to absolute.  I should have known better.

[1]

Fixed will not work in IE. It will scroll out of view if you scroll  
the

page.

See the bottom of org.css on how add the `absolute' positioning for  
IE

only (the simple way...). [2]


You guys are experts in this field - Sebastian, would you take a  
chance

and try to fix the logo-link class?  Only if you think it's worth the
trouble...  for now we have a link for most browsers, and this is  
*not*

a core feature...

@James: yes, you can feel guilty :)


What would be wrong with pulling the image out of the
background and making it directly clickable?

- Carsten



--
Bastien


___
Emacs-orgmode mailing list
Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Creating Org Table using Calc on C-syntax hex integers

2009-06-24 Thread Carsten Dominik


On Jun 25, 2009, at 12:24 AM, Joseph Oswald wrote:


GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
Running on Windows XP Pro
org-version 4.67c

I have composed a table in org including integers using C-syntax  
hexadecimal.


| Variable Name | Current | Target.exe locn | Address of  
||
|   |  Source | |  reference  
|  Delta |
|---+-+-+ 
+|
| read_thread_func  | 0x11450 | 0x11450 |0x113b8  
||
| MainWndProc   | 0x18190 | 0x18190 |0x11284  
||
| l_bData   | 0x1d1b8 | 0x1d194 |0x187d8  
|   0x24 |


I would like to create a formula that causes the difference between
two columns in this format to be calculated and displayed (preferably,
but not necessarily) in the same C-syntax, in the Delta column. (The
0x24 was calculated by hand in the above excerpt)

The file itself is primarily an org file, not a C file, and I would
prefer to keep the choice of C-syntax for Calc localized to this
particular .org file, or even better, to this particular table.

I have tried persuading the embedded calc mode to use the C "language
mode" for the table, it seems like there should be a line like

 % [calc-mode: language-mode: c]

or % [calc-mode: calc-language-option: c]

or some other thing that could be placed somewhere near the table or
in the file to affect how Calc treats the numbers in the table, but I
can't seem to figure how to make that happen. I find the Calc
documentation of this stuff to be a little confusing, as to which
names in the source and/or documentation apply to which context.

It appears from the .el source that the settings specific to org-calc
(i.e., following a semicolon after the formula are hard-coded to the
limited set described in "Formula Syntax for Calc"), not including
this setting.

1) Is it possible to do this?
2) If so, how?


Since you like to have C syntax, I am not sure how to do this with calc.
But you can always hach your way using a lisp formula instead:

| Variable Name| Current | Target.exe locn | Address of |   |
|  |  Source | |  reference | Delta |
|--+-+-++---|
| read_thread_func | 0x11450 | 0x11450 |0x113b8 |   0x0 |
| MainWndProc  | 0x18190 | 0x18190 |0x11284 |   0x0 |
| l_bData  | 0x1d1b8 | 0x1d194 |0x187d8 |  0x24 |
#+TBLFM: $5='(format "0x%x" (- (read (concat "#" (substring $2 1)))  
(read (concat "#" (substring $3 1)


HTH

This formula looks more complicated than it really is, because
it has to convert the number into Lisp syntax #x11450 before reading it.

- Carsten



Thanks for your help.

--Joe

P.S. The org-mode info file "Feedback node" suggests mailing Carsten
Dominik directly for "questions, remarks, or ideas" instead of this
mailing list. I assumed this list was a more appropriate target.


___
Emacs-orgmode mailing list
Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] worth it? -- tiny change of org mode

2009-06-24 Thread Carsten Dominik


On Jun 24, 2009, at 10:20 PM, Nick Dokos wrote:


goodh...@gmail.com  wrote:


When i save all of my file with C+s, I press a lot of y for yes.


C-s starts incremental search.  What key are you really using?


when it is in agenda view, if i press 2 more y,  it will bring me the
year view with some time consumed.



When in agenda view, pressing 's' saves all org-mode buffers, no
questions asked.  No need to wear down your 'y' key :-)


Actually, the "s" key for this purpose will go away, I need it for  
something

else.  Please start using `C-x C-s' for this purpose.

- Carsten



HTH,
Nick




___
Emacs-orgmode mailing list
Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [ANN] org-icons.el

2009-06-24 Thread Daniel Clemente
> So, what do you think ? Is this a direction you'd want org-mode
> to go ? Please, share your feedback & suggestions !

  I think that the main interest of this will not only be to make a
buffer pretty, but to show information in ways which are easier or
more comfortable to understand.
  For instance:
 - showing completion status of a task: icons could form a progress
bar, like [..], green if >50%, red elsewhere
 - marking the tasks with a color from a gradient which represents
something; for instance: the more recently you have clocked a task,
the redder (hotter) it is
- the amount of children/text a collapsed tree has (a big lack I have
noticed in org-mode). The icon could try to offer a
mini-representation of whether the tree has little content, some
content, or much content
- in agenda view, an „only icons“ view would be able to show much
information in little space. For instance, the distribution of
projects/categories/tags in a month


Just some ideas.


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


[Orgmode] Creating Org Table using Calc on C-syntax hex integers

2009-06-24 Thread Joseph Oswald
GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
Running on Windows XP Pro
org-version 4.67c

I have composed a table in org including integers using C-syntax hexadecimal.

| Variable Name | Current | Target.exe locn | Address of ||
|   |  Source | |  reference |  Delta |
|---+-+-++|
| read_thread_func  | 0x11450 | 0x11450 |0x113b8 ||
| MainWndProc   | 0x18190 | 0x18190 |0x11284 ||
| l_bData   | 0x1d1b8 | 0x1d194 |0x187d8 |   0x24 |

I would like to create a formula that causes the difference between
two columns in this format to be calculated and displayed (preferably,
but not necessarily) in the same C-syntax, in the Delta column. (The
0x24 was calculated by hand in the above excerpt)

The file itself is primarily an org file, not a C file, and I would
prefer to keep the choice of C-syntax for Calc localized to this
particular .org file, or even better, to this particular table.

I have tried persuading the embedded calc mode to use the C "language
mode" for the table, it seems like there should be a line like

 % [calc-mode: language-mode: c]

or % [calc-mode: calc-language-option: c]

or some other thing that could be placed somewhere near the table or
in the file to affect how Calc treats the numbers in the table, but I
can't seem to figure how to make that happen. I find the Calc
documentation of this stuff to be a little confusing, as to which
names in the source and/or documentation apply to which context.

It appears from the .el source that the settings specific to org-calc
(i.e., following a semicolon after the formula are hard-coded to the
limited set described in "Formula Syntax for Calc"), not including
this setting.

1) Is it possible to do this?
2) If so, how?

Thanks for your help.

--Joe

P.S. The org-mode info file "Feedback node" suggests mailing Carsten
Dominik directly for "questions, remarks, or ideas" instead of this
mailing list. I assumed this list was a more appropriate target.


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


Re: [Orgmode] worth it? -- tiny change of org mode

2009-06-24 Thread goodh...@gmail.com




what about non org mode buffer?

Thank you for letting me know 's' in agenda view.

Nick Dokos wrote:

  goodh...@gmail.com  wrote:

  
  
When i save all of my file with C+s, I press a lot of y for yes.
when it is in agenda view, if i press 2 more y,  it will bring me the 
year view with some time consumed.


  
  
When in agenda view, pressing 's' saves all org-mode buffers, no
questions asked.  No need to wear down your 'y' key :-)

HTH,
Nick



  





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


[Orgmode] Re: bug? agenda sorting with user-defined-up does not sort

2009-06-24 Thread Samuel Wales
Never mind.  In my attempts to debug I loaded some settings again,
overwriting this line:

(setf org-agenda-sorting-strategy '(user-defined-up))

So there might be no bug after all.

Sorry for the noise.

On Wed, Jun 24, 2009 at 13:45, Samuel Wales wrote:
> Org agenda user-defined sorting does not seem to work.  Does
> anybody else use it?
>
> The following is a complete test case.  I cannot proceed
> further.  I cannot find any user error here, but that does
> not mean that there is none.
>
> Thanks.
>
> * how to reproduce
> *** save this to sort.org
> *** eval this code with cl required
> (setf org-agenda-cmp-user-defined 'alpha-org-agenda-cmp)
> (defun alpha-org-agenda-cmp (a b)
>  (let ((aa (test a))
>        (bb (test b)))
>    (cond
>      ((> aa bb) 1)
>      ((< aa bb) -1
> (defun test (s)
>  (let ((x (and (string-match "value \\([-0-9]+\\)" s)
>            (match-string 1 s
>    (if x
>        (progn
>          (message "match %s" x)
>          (string-to-number x))
>      (progn
>        (message "not match %s" s)
>        0
> *** run M-x org-agenda < t on this buf
> *** result: this should be sorted but it is not
> Global list of TODO items of type: ALL
> Available with `N r': (0)ALL (1)REF (2)CHUU (3)ONGOING (4)WHENEVER (5)WHEN
>                      (6)TODO (7)STUCK (8)NEXT (9)DATA (10)REPURPOSE (11)WAIT
>                      (12)SOME (13)SUGU (14)MAYBE (15)BEKI (16)DOUBTFUL
>                      (17)CONVERSATION (18)MOST (19)DONEKA (20)DONE
>                      (21)DUPLICATE (22)MOOT (23)WAKARANAI
>  sort:       NEXT value 2
>  sort:       NEXT value -4
>  sort:       NEXT value 1
>  sort:       NEXT value 1
> * NEXT value 2
> * NEXT value -4
> * NEXT value 1
> * NEXT value 1
>
> --
> Myalgic encephalomyelitis denialism is causing death and severe suffering,
> worse than MS.  Conflicts of interest are destroying research.  /You/ can
> get the disease at any time permanently.  Do science and justice matter to
> you?  http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm
>



-- 
Myalgic encephalomyelitis denialism is causing death and severe suffering,
worse than MS.  Conflicts of interest are destroying research.  /You/ can
get the disease at any time permanently.  Do science and justice matter to
you?  http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


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


[Orgmode] bug? agenda sorting with user-defined-up does not sort

2009-06-24 Thread Samuel Wales
Org agenda user-defined sorting does not seem to work.  Does
anybody else use it?

The following is a complete test case.  I cannot proceed
further.  I cannot find any user error here, but that does
not mean that there is none.

Thanks.

* how to reproduce
*** save this to sort.org
*** eval this code with cl required
(setf org-agenda-cmp-user-defined 'alpha-org-agenda-cmp)
(defun alpha-org-agenda-cmp (a b)
  (let ((aa (test a))
(bb (test b)))
(cond
  ((> aa bb) 1)
  ((< aa bb) -1
(defun test (s)
  (let ((x (and (string-match "value \\([-0-9]+\\)" s)
(match-string 1 s
(if x
(progn
  (message "match %s" x)
  (string-to-number x))
  (progn
(message "not match %s" s)
0
*** run M-x org-agenda < t on this buf
*** result: this should be sorted but it is not
Global list of TODO items of type: ALL
Available with `N r': (0)ALL (1)REF (2)CHUU (3)ONGOING (4)WHENEVER (5)WHEN
  (6)TODO (7)STUCK (8)NEXT (9)DATA (10)REPURPOSE (11)WAIT
  (12)SOME (13)SUGU (14)MAYBE (15)BEKI (16)DOUBTFUL
  (17)CONVERSATION (18)MOST (19)DONEKA (20)DONE
  (21)DUPLICATE (22)MOOT (23)WAKARANAI
  sort:   NEXT value 2
  sort:   NEXT value -4
  sort:   NEXT value 1
  sort:   NEXT value 1
* NEXT value 2
* NEXT value -4
* NEXT value 1
* NEXT value 1

-- 
Myalgic encephalomyelitis denialism is causing death and severe suffering,
worse than MS.  Conflicts of interest are destroying research.  /You/ can
get the disease at any time permanently.  Do science and justice matter to
you?  http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


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


Re: [Orgmode] worth it? -- tiny change of org mode

2009-06-24 Thread Nick Dokos
goodh...@gmail.com  wrote:

> When i save all of my file with C+s, I press a lot of y for yes.
> when it is in agenda view, if i press 2 more y,  it will bring me the 
> year view with some time consumed.
> 

When in agenda view, pressing 's' saves all org-mode buffers, no
questions asked.  No need to wear down your 'y' key :-)

HTH,
Nick




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


[Orgmode] worth it? -- tiny change of org mode

2009-06-24 Thread goodh...@gmail.com

When i save all of my file with C+s, I press a lot of y for yes.
when it is in agenda view, if i press 2 more y,  it will bring me the 
year view with some time consumed.


Worth it -- change 'y' -> 'yes' for make sure to get year view?

Thanks.


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


Re: [Orgmode] unicorn image is not a link back to the front page on orgmode.org

2009-06-24 Thread Bastien
Sebastian Rose  writes:

> Greg Newman  writes:
>> You're welcome.Fixed works too.  Absolute can act goofy if the main body and
>> starting div aren't set to absolute.  I should have known better.
> [1]
>
> Fixed will not work in IE. It will scroll out of view if you scroll the
> page.
>
> See the bottom of org.css on how add the `absolute' positioning for IE
> only (the simple way...). [2]

You guys are experts in this field - Sebastian, would you take a chance
and try to fix the logo-link class?  Only if you think it's worth the
trouble...  for now we have a link for most browsers, and this is *not*
a core feature...

@James: yes, you can feel guilty :)

-- 
 Bastien


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


Re: [Orgmode] unicorn image is not a link back to the front page on orgmode.org

2009-06-24 Thread James Yoo
I almost feel guilty for bringing it up

On Wed, Jun 24, 2009 at 2:19 PM, Sebastian Rose wrote:

>
> Greg Newman  writes:
> > You're welcome.Fixed works too.  Absolute can act goofy if the main body
> and
> > starting div aren't set to absolute.  I should have known better.
> [1]
>
> Fixed will not work in IE. It will scroll out of view if you scroll the
> page.
>
> See the bottom of org.css on how add the `absolute' positioning for IE
> only (the simple way...). [2]
>
>
> > Sebastion: divs work too on some browsers.  Some browsers (cough) IE will
> > sometimes collapse them if they have no content.  I've  always had better
> > luck with a transparent image.
>
>
> Good, I heard that before. I guess it was IE 5 or something. Don't how
> the MAC version of IE is (crap I guess).
>
> It looks good and works (Linux FF 3 and Opera 10).
>
>
>Sebastian
>
>
>
>
>
>
>
> [1] Actually, the position is choosen relative (default) or absolute to
>the next parent, that has a non-default `position'. This works in
>all browsers.
>
>Example:
>
>  
> 
>  
> 
>
>
>It's important, to add _no_ padding and _no_ margin to the elements
>meant for positioning. Paddings and margins are handled
>differently. IE does it all wrong then.
>
>
> [2] This here might work (not sure if this works, if we position the img
>though. Maybe we'll have to position the link and use
>display:block;):
>
>* html a.logo-link {
>   position: absolute;
>   top: 0px;
>   left: 0px;
>   width: 190px;
>   height: 190px;
>}
>
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] unicorn image is not a link back to the front page on orgmode.org

2009-06-24 Thread Sebastian Rose

Greg Newman  writes:
> You're welcome.Fixed works too.  Absolute can act goofy if the main body and
> starting div aren't set to absolute.  I should have known better.
[1]

Fixed will not work in IE. It will scroll out of view if you scroll the
page.

See the bottom of org.css on how add the `absolute' positioning for IE
only (the simple way...). [2]


> Sebastion: divs work too on some browsers.  Some browsers (cough) IE will
> sometimes collapse them if they have no content.  I've  always had better
> luck with a transparent image.


Good, I heard that before. I guess it was IE 5 or something. Don't how
the MAC version of IE is (crap I guess).

It looks good and works (Linux FF 3 and Opera 10).


Sebastian







[1] Actually, the position is choosen relative (default) or absolute to
the next parent, that has a non-default `position'. This works in
all browsers.

Example:
 
  
 
  
 

 
It's important, to add _no_ padding and _no_ margin to the elements
meant for positioning. Paddings and margins are handled
differently. IE does it all wrong then.


[2] This here might work (not sure if this works, if we position the img
though. Maybe we'll have to position the link and use
display:block;):

* html a.logo-link {
   position: absolute;
   top: 0px;
   left: 0px;
   width: 190px;
   height: 190px;
}


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


Re: [Orgmode] [ANN] org-icons.el

2009-06-24 Thread David O'Toole
> On Wed, Jun 24, 2009 at 7:56 AM, Carsten Dominik <
carsten.domi...@gmail.com> wrote:
>
> To be honest, I was not excited when I first saw David's icons.
> Yours look a lot better - but I don't expect to use them myself.

Well I'm no visual artist :) I like nicolas' icons better too. I've even
changed my color theme to match them!
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] unicorn image is not a link back to the front page on orgmode.org

2009-06-24 Thread Greg Newman
You're welcome.Fixed works too.  Absolute can act goofy if the main body and
starting div aren't set to absolute.  I should have known better.
Sebastion: divs work too on some browsers.  Some browsers (cough) IE will
sometimes collapse them if they have no content.  I've  always had better
luck with a transparent image.

Bastien.  Works great for me on Safari.

Cheers,


*Greg Newman*

http://20seven.org

twitter: 20seven

On Wed, Jun 24, 2009 at 1:31 PM, Bastien wrote:

> Manish  writes:
>
> > The page seems to work for me at the moment.  Would you like me to
> > save it and send it to you?
>
> Thanks - Greg gave me instructions and the logo should be clickable
> now.
>
> --
>  Bastien
>
>
> ___
> Emacs-orgmode mailing list
> Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] unicorn image is not a link back to the front page on orgmode.org

2009-06-24 Thread Bastien
Manish  writes:

> The page seems to work for me at the moment.  Would you like me to
> save it and send it to you?

Thanks - Greg gave me instructions and the logo should be clickable 
now.

-- 
 Bastien


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


Re: [Orgmode] unicorn image is not a link back to the front page on orgmode.org

2009-06-24 Thread Sebastian Rose

We could try to position a div element over the background-image:


http://orgmode.org";> 



  Sebastian





Bastien  writes:
> James Yoo  writes:
>
>> Linking back to the front page via the main logo is pretty standard, or at
>> least that's what I've come to expect... is there a particular reason why the
>> unicorn graphic does not?
>
> I agree it would be convenient.  But the image logo is inserted as a
> background image in the .css and I don't know how to turn such an image
> into a clickable link.
>
> This page might help:
>
> http://webdevnews.net/2007/01/css-trick-turning-a-background-image-into-a-clickable-link/
>
> ... but it's currently unavailable.
>
> Any idea?


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


[Orgmode] getting rid of old org-mode files..

2009-06-24 Thread sergio_101
i think my problem with exporting my latex files is that there may be  
pieces of the old org-mode laying around..


i am currently on:
osx: 10.5.7
carbon emacs: GNU Emacs 22.3.1 (i386-apple-darwin9.6.0, Carbon Version  
1.6.0)

org-mode: 6.27a

upon install on carbon emacs, i had the following org-mode installed:

5.23a

i did a make on the new version of org mode.. and everything seemed to  
be okay.. BUT..


i couldn't find where the old org-mode was installed, so i couldn't  
find it to delete all the parts..


another point of interest is that if i run emacs from the command  
line, i get the following:


Org-mode version 4.67c

so there might be parts installed somewhere else, too..

anyone have any ideas where else to look?

thanks!


___
sergio t. ruiz
network analyst
red red design
419.281.8483



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


Re: [Orgmode] unicorn image is not a link back to the front page on orgmode.org

2009-06-24 Thread Manish
The page seems to work for me at the moment.  Would you like me to
save it and send it to you?

-- 
Manish

On Wed, Jun 24, 2009 at 8:45 PM, Bastien wrote:
> James Yoo  writes:
>
>> Linking back to the front page via the main logo is pretty standard, or at
>> least that's what I've come to expect... is there a particular reason why the
>> unicorn graphic does not?
>
> I agree it would be convenient.  But the image logo is inserted as a
> background image in the .css and I don't know how to turn such an image
> into a clickable link.
>
> This page might help:
>
> http://webdevnews.net/2007/01/css-trick-turning-a-background-image-into-a-clickable-link/
>
> ... but it's currently unavailable.
>
> Any idea?
>
> --
>  Bastien
>
>
> ___
> Emacs-orgmode mailing list
> Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: org-export-generic update

2009-06-24 Thread Michaël Parienti

Hi,

Le Fri, 12 Jun 2009 17:14:38 -0700
Wes Hardaker  a écrit:

> I finally got around to hacking on my org-export-as-generic
> functionality a bit more.  There is a lot of improvement over last
> time, and probably even more things to do (because as you work
> through it your discover more, of course),
> 
> However, usability has increased dramatically as has personal
> customization ability (IE, defining your own export formatting types).
> There is also a few example export definitions included, including:
> 
>   [d]   demo
>   [a]   simple ascii
>   [h]   simple html
>   [w]   wikipedia
>   [i]   IETF Internet Draft XML
> 
> Details and the patch can be found at:
> 
> http://www.hardakers.net/code/org-mode/

I think it is a great feature! 

Will this patch be included into org-mode?


-- 
Michaël Parienti
gpg:D4C8 F73D A000 71C7 44EF  27E6 8982 4991 7126 3CE3


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


Re: [Orgmode] unicorn image is not a link back to the front page on orgmode.org

2009-06-24 Thread Bastien
James Yoo  writes:

> Linking back to the front page via the main logo is pretty standard, or at
> least that's what I've come to expect... is there a particular reason why the
> unicorn graphic does not?

I agree it would be convenient.  But the image logo is inserted as a
background image in the .css and I don't know how to turn such an image
into a clickable link.

This page might help:

http://webdevnews.net/2007/01/css-trick-turning-a-background-image-into-a-clickable-link/

... but it's currently unavailable.

Any idea?

-- 
 Bastien


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


Re: [Orgmode] unicorn image is not a link back to the front page on orgmode.org

2009-06-24 Thread Xin Shi
One reason is that this picture is a background.

On Wed, Jun 24, 2009 at 9:39 AM, James Yoo  wrote:

> Linking back to the front page via the main logo is pretty standard, or at
> least that's what I've come to expect... is there a particular reason why
> the unicorn graphic does not?
>
>
> ___
> Emacs-orgmode mailing list
> Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] unicorn image is not a link back to the front page on orgmode.org

2009-06-24 Thread James Yoo
Linking back to the front page via the main logo is pretty standard, or at
least that's what I've come to expect... is there a particular reason why
the unicorn graphic does not?
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] 23.0.94; [PATCH] org-store-link broken within kbd macros

2009-06-24 Thread Carsten Dominik


On Jun 24, 2009, at 2:39 PM, Andreas Seltenreich wrote:



[Sorry about setting Cc instead X-Debbugs-Cc and causing the duplicate
report.  I set a proper Mail-Followup-To header now.]

Carsten Dominik writes:


This looks to me as if it was a bug in keyboard macro execution,
which should call functions interactively.


The docstring for interactive-p has the following paragraph:

,[ C-h f interactive-p RET ]
| The only known proper use of `interactive-p' is in deciding  
whether to

| display a helpful message, or how to display it.  If you're thinking
| of using it for any other purpose, it is quite likely that you're
| making a mistake.  Think: what do you want to do when the command is
| called from a keyboard macro?
`

The elisp reference states:

,[ (info "(elisp)Distinguish Interactive") ]
|  -- Function: interactive-p
|  This function returns `t' if the containing function (the one
|  whose code includes the call to `interactive-p') was called in
|  direct response to user input.  This means that it was called  
with

|  the function `call-interactively', and that a keyboard macro is
|  not running, and that Emacs is not running in batch mode.
`

This sounds like interactive-p is working as documented and the
excplicit check I proposed would be neccessary.


True enough, and I am applying your fix.

Thanks.

- Carsten



Thanks,
andreas




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


Re: [Orgmode] 23.0.94; [PATCH] org-store-link broken within kbd macros

2009-06-24 Thread Andreas Seltenreich

[Sorry about setting Cc instead X-Debbugs-Cc and causing the duplicate
report.  I set a proper Mail-Followup-To header now.]

Carsten Dominik writes:

> This looks to me as if it was a bug in keyboard macro execution,
> which should call functions interactively.

The docstring for interactive-p has the following paragraph:

,[ C-h f interactive-p RET ]
| The only known proper use of `interactive-p' is in deciding whether to
| display a helpful message, or how to display it.  If you're thinking
| of using it for any other purpose, it is quite likely that you're
| making a mistake.  Think: what do you want to do when the command is
| called from a keyboard macro?
`

The elisp reference states:

,[ (info "(elisp)Distinguish Interactive") ]
|  -- Function: interactive-p
|  This function returns `t' if the containing function (the one
|  whose code includes the call to `interactive-p') was called in
|  direct response to user input.  This means that it was called with
|  the function `call-interactively', and that a keyboard macro is
|  not running, and that Emacs is not running in batch mode.
`

This sounds like interactive-p is working as documented and the
excplicit check I proposed would be neccessary.

Thanks,
andreas


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


Re: [Orgmode] 23.0.94; [PATCH] org-store-link broken within kbd macros

2009-06-24 Thread Carsten Dominik

This looks to me as if it was a bug in keyboard macro execution,
which should call functions interactively.

- Carsten

On Jun 17, 2009, at 1:15 PM, Andreas Seltenreich wrote:

Your bug report will be posted to the emacs-pretest-...@gnu.org  
mailing list.



Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:


org-store-link works fine when recording a keyboard macro but it is a
NOP when executing it.  The following change appears to fix it.

regards,
andreas


In GNU Emacs 23.0.94.1 (x86_64-unknown-linux-gnu)
of 2009-05-28 on tengen


--8<---cut here---start->8---
*** org.el.~1.48.~  2009-02-20 10:02:49.0 +0100
--- org.el  2009-06-17 12:55:15.0 +0200
***
*** 6594,6600 
  desc (or desc cpltxt))
 (if (equal desc "NONE") (setq desc nil))

! (if (and (interactive-p) link)
(progn
  (setq org-stored-links
(cons (list link desc) org-stored-links))
--- 6594,6600 
  desc (or desc cpltxt))
 (if (equal desc "NONE") (setq desc nil))

! (if (and (or (interactive-p) executing-kbd-macro) link)
(progn
  (setq org-stored-links
(cons (list link desc) org-stored-links))
--8<---cut here---end--->8---


___
Emacs-orgmode mailing list
Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [ANN] org-icons.el

2009-06-24 Thread Carsten Dominik


On Jun 24, 2009, at 12:13 PM, Nicolas Girard wrote:




2009/6/24 Carsten Dominik 

On Jun 24, 2009, at 11:41 AM, Nicolas Girard wrote:

2009/6/24 Carsten Dominik 
Could you guys please first explain the


;; This part is buggy (sorry)

comment in the patch?

Err... this just reflects my current lack of expressiveness in  
elisp... don't make me blush :-/


I am not complaining, no need to blush.

The patch looks good.  It does not add any hooks though, it
moves some of the font-lock functionality into special functions
that will then be overwritten by the org-icons package.

Actually I tried to mimic the already existing code, e.g. org-font- 
lock-add-priority-faces.



A bit of
a brute force approach, but it may actually be the right thing
for this purpose.

I'm unsure it's the best approach either. I'm wondering that all  
these (while (re-search-forward)) could slow things down.


I don't think these functions should do a while regexp search.  Finding
the next match, leaving the cursor after it, and returning t if  
something
was found should be enough, font-lock will then call the function  
multiple

times if needed to address the entire visible part of the screen.

Also, searching for the special keywords could maybe be combined into
a single regexp.  Might be faster.



I'm not sure I fully understand the font-locking code, but it seems  
like it performs several -- possibly many -- regexp searches on one  
part of the buffer, alternatively adding or removing text  
properties, right ?


Yes.  And font-lock decides about the region to cover.



I'm just wondering, could this be rewritten as one or several state  
machines, that would trigger text properties addition/removal only  
once for a given part of the buffer ?


This is how font-lock works.  While typing, it constantly
rechecks the current line and stuff close to it, but not
the entire buffer.  Sometimes more is needed, for example
inserting a double quote makes the entire rest of the buffer
a string..



I think I can easily apply the patch - I even like the fact that
it cleans up the font locking a bit and moves stuff into functions.

But if this patch is preliminary, keep working on it and give me
a more complete version when done.

Well, thanks for your support !
By the way, you didn't give your opinion on using icons yourself.  
Please confess us, are you a text-only addicted kind of guy, or a  
flashy, glossy icons amateur...?


To be honest, I was not excited when I first saw David's icons.
Yours look a lot better - but I don't expect to use them myself.

But others seem to think differently, and I am not going
to stand in the way if the impact on normal Org-mode
performance is unnoticeable.

- Carsten



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


Re: [Orgmode] [ANN] org-icons.el

2009-06-24 Thread Sebastian Rose
Hi Nicolas,


I just took the two minutes to clone your repo and install the
patch. It's working great. Easy install, no delay in re-display. Cool
stuff! 


This is what all that I found to complain about so far:

It should be `org-icons-default-directory' in the docs on the frontpage? 




Nicolas Girard  writes:
> Well, thanks for your support !
> By the way, you didn't give your opinion on using icons yourself. Please
> confess us, are you a text-only addicted kind of guy, or a flashy, glossy
> icons amateur...?


As for me, I see saw between "eye candy is great" and console-only :)
The last one, because eye candy slows my old machine down in many cases,
which org-icons does not.

Minor quirk: The TODO states are less visible with the default
theme. This is because the org-headline faces I use. The stars of a
headline are the same size as the icons.


Good work :) - thanks!



Best wishes

Sebastian


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


Re: [Orgmode] Use of display properties as a caching mechanism

2009-06-24 Thread Carsten Dominik


On Jun 24, 2009, at 12:19 PM, Nicolas Girard wrote:


When hacking the org-icons stuff, I came to realize that emacs allows
to attach any set or property/value to any part of a buffer.

It seems to me like org-mode could perfectly use this as a caching  
mechanism.

What bout storing time-expensive informations as special properties
attached to the first '*' of a heading ?
The price to pay would be to enforce the consistency of this cache --
as with any cache, after all; as a benefit, this may boost org-mode's
performances.
What do you think ?


I have been there, and I am using stuff like that for column view.

However, Org-mode's commitment to plain text makes it possible
that text is being changed behind its back, so most of the
time, complete rescans are appropriate.  Keeping a cache consistent
would be a huge problem.

- Carsten



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


Re: [Orgmode] [ANN] org-icons.el

2009-06-24 Thread Nicolas Girard
2009/6/24 Carsten Dominik 

>
> On Jun 24, 2009, at 11:41 AM, Nicolas Girard wrote:
>
>  2009/6/24 Carsten Dominik 
>> Could you guys please first explain the
>>
>>
>>  ;; This part is buggy (sorry)
>>
>> comment in the patch?
>>
>> Err... this just reflects my current lack of expressiveness in elisp...
>> don't make me blush :-/
>>
>
> I am not complaining, no need to blush.
>
> The patch looks good.  It does not add any hooks though, it
> moves some of the font-lock functionality into special functions
> that will then be overwritten by the org-icons package.


Actually I tried to mimic the already existing code, e.g.
org-font-lock-add-priority-faces.



> A bit of
> a brute force approach, but it may actually be the right thing
> for this purpose.


I'm unsure it's the best approach either. I'm wondering that all these
(while (re-search-forward)) could slow things down.

I'm not sure I fully understand the font-locking code, but it seems like it
performs several -- possibly many -- regexp searches on one part of the
buffer, alternatively adding or removing text properties, right ?

I'm just wondering, could this be rewritten as one or several state
machines, that would trigger text properties addition/removal only once for
a given part of the buffer ?


>
>
> I think I can easily apply the patch - I even like the fact that
> it cleans up the font locking a bit and moves stuff into functions.
>
> But if this patch is preliminary, keep working on it and give me
> a more complete version when done.


Well, thanks for your support !
By the way, you didn't give your opinion on using icons yourself. Please
confess us, are you a text-only addicted kind of guy, or a flashy, glossy
icons amateur...?


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


[Orgmode] Use of display properties as a caching mechanism

2009-06-24 Thread Nicolas Girard
When hacking the org-icons stuff, I came to realize that emacs allows
to attach any set or property/value to any part of a buffer.

It seems to me like org-mode could perfectly use this as a caching mechanism.
What bout storing time-expensive informations as special properties
attached to the first '*' of a heading ?
The price to pay would be to enforce the consistency of this cache --
as with any cache, after all; as a benefit, this may boost org-mode's
performances.
What do you think ?

Nicolas


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


Re: [Orgmode] [ANN] org-icons.el

2009-06-24 Thread Carsten Dominik


On Jun 24, 2009, at 11:41 AM, Nicolas Girard wrote:


2009/6/24 Carsten Dominik 
Could you guys please first explain the


 ;; This part is buggy (sorry)

comment in the patch?

Err... this just reflects my current lack of expressiveness in  
elisp... don't make me blush :-/


I am not complaining, no need to blush.

The patch looks good.  It does not add any hooks though, it
moves some of the font-lock functionality into special functions
that will then be overwritten by the org-icons package.  A bit of
a brute force approach, but it may actually be the right thing
for this purpose.

I think I can easily apply the patch - I even like the fact that
it cleans up the font locking a bit and moves stuff into functions.

But if this patch is preliminary, keep working on it and give me
a more complete version when done.

Best wishes

- Carsten



What David meant was not to ask you to integrate a ready-to-go  
patch, but just to ask you to have a first look at the changes need  
to be made to org.el, and tell us if you'd be inclined to accept  
them, when they are ready.


The changes only consists in adding more hooks to org's font locking  
mechanism --- at least that's the idea ; the probability of mistakes  
in my implementation is above 100%...


Nicolas

___
Emacs-orgmode mailing list
Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] FR: Ability to override the header in custom stuck projects view

2009-06-24 Thread Nicolas Girard
2009/6/22 Carsten Dominik 

>
> On Jun 18, 2009, at 4:49 PM, Nicolas Girard wrote:
>
>  Hi,
>> stuck projects views can be used for many things beyond their initial
>> purpose.
>> It would be nice to be able to override the header when building a
>> custom view -- currently it is set to "List of stuck projects: ".
>>
>
> `org-agenda-overriding-header' is now also honored by the stuck project
> list.
>

Thanks very much !

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


Re: [Orgmode] [ANN] org-icons.el

2009-06-24 Thread Nicolas Girard
2009/6/24 Carsten Dominik 

> Could you guys please first explain the
>
>
>  ;; This part is buggy (sorry)
>
> comment in the patch?


Err... this just reflects my current lack of expressiveness in elisp...
don't make me blush :-/

What David meant was not to ask you to integrate a ready-to-go patch, but
just to ask you to have a first look at the changes need to be made to
org.el, and tell us if you'd be inclined to accept them, when they are
ready.

The changes only consists in adding more hooks to org's font locking
mechanism --- at least that's the idea ; the probability of mistakes in my
implementation is above 100%...

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


Re: [Orgmode] Sourceforge voting has started

2009-06-24 Thread Manish
On Tue, Jun 23, 2009 at 4:28 PM, Carsten Dominik wrote:
>
> Hi all,
>
> the voting for the sourceforge community choice awards has started at
>
> http://sourceforge.net/community/cca09/vote
>
> We are up against, among others, Freemind. Which means that we have a
> formidable opponent and we need to get our mothers, grandmothers and
> children out to vote, each with multiple email addresses :-)
>
> Please go vote and spread the word. I think it would be fantastic
> if we could win, not only for Org-mode, but also for Emacs.

Done.  Reached out to friends and colleagues as well.

-- 
Manish


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