[Orgmode] Adding path and file name into file links

2007-11-18 Thread Graham Smith
When adding a file link, is there some way of searching for the file you
want to add while in the file link and then inserting the path and file name
of the found file rather than having to type the whole thing in.

Or alternatively, can you search for the file with dired and then copy and
paste the path from dired into the file link.

Thanks,

Graham
___
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] Adding path and file name into file links

2007-11-18 Thread Bastien
Graham Smith [EMAIL PROTECTED] writes:

 When adding a file link, is there some way of searching for the file you
 want to add while in the file link and then inserting the path and file
 name of the found file rather than having to type the whole thing in.

C-u C-c C-l to find the file, then RET RET to insert it with its name as
the default description.

 Or alternatively, can you search for the file with dired and then copy
 and paste the path from dired into the file link.

I'm not sure of what you mean.

The usual way is to call `org-store-link' (`C-c l' here) on a file in
dired then to insert this link back with `org-insert-link' (C-c C-l).

Does that help?

If you want to create a list of links from dired and copy this list to
the kill-ring, maybe you can use something like this as well:

(defun my-copy-dired-files-in-kill-ring ()
  Copy files names in the kill ring.
  (interactive)
  (let ((files (dired-map-over-marks (dired-get-filename) nil)))
(kill-new
 (mapconcat 
  (lambda (f) 
(concat [[file: f ][ 
(file-name-nondirectory f) ]]))
  files \n))
(message %d Org links copied to the kill-ring (length files

-- 
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] Adding path and file name into file links

2007-11-18 Thread Graham Smith
Bastien,

Thanks, the latter does exactly what I want, obviously a terminology thing
confusing my question.

With Explorer in Windows I can right click on a file and select  copy file
name to the clipboard which copies and the path and file name to the
clipboard. I can then paste the path and file name into any other program.
And  'org-store-link' seems to provide the same facility with dired and
Org-mode/

However,  I cant get  C-u C-c C-l  to work.

I still seem to need to type in the file path and file name, rather than
have the ability to search for a file. Presumably I am missing the obvious.

Thanks,

Graham

On 18/11/2007, Bastien [EMAIL PROTECTED] wrote:

 Graham Smith [EMAIL PROTECTED] writes:

  When adding a file link, is there some way of searching for the file you
  want to add while in the file link and then inserting the path and file
  name of the found file rather than having to type the whole thing in.

 C-u C-c C-l to find the file, then RET RET to insert it with its name as
 the default description.

  Or alternatively, can you search for the file with dired and then copy
  and paste the path from dired into the file link.

 I'm not sure of what you mean.

 The usual way is to call `org-store-link' (`C-c l' here) on a file in
 dired then to insert this link back with `org-insert-link' (C-c C-l).

 Does that help?

 If you want to create a list of links from dired and copy this list to
 the kill-ring, maybe you can use something like this as well:

 (defun my-copy-dired-files-in-kill-ring ()
   Copy files names in the kill ring.
   (interactive)
   (let ((files (dired-map-over-marks (dired-get-filename) nil)))
 (kill-new
  (mapconcat
   (lambda (f)
 (concat [[file: f ][
 (file-name-nondirectory f) ]]))
   files \n))
 (message %d Org links copied to the kill-ring (length files

 --
 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] feature request

2007-11-18 Thread Raimund Kohl-Füchsle

Hi fellows,

I have a question/feature request.  Often tables are a very easy and 
apropriate way to structure information that are fluent.  I work at the 
following table (e.g.):


| Hotel | Manager | price | requested | booked |
---
| blah   | Mayer| 250   | |  |
| bluh   | Schulze   | 260   ||   |


Now here comes what would be neat: The tables lists all Hotels who offer 
seminar rooms, which person is banquett manager, the price for the 
room.  Since I often book rooms for seminars (or invite people to 
workshops etc.) managing bookings/invitations via tables is more 
effective than doing it with TODO-items (more so because the same table 
is used over and over again).  What would help greatly would be a way to 
manage fields the same way as with TODO items: A key-string would place 
a NO RUNNING ANSWERED button right there ... same way as with 
TODO-items.


Is this already possible?  Haven't found it in the manual.

Greetings, ray





___
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] Task time limit

2007-11-18 Thread Sebastjan Trepca
Hi,

another idea for a feature (if it's not already possible) that would
definitely come handy. I have few tasks that should only take a
limited amount of my time each day.

For example, check the feed reader would be set to 20 minutes. I
would clock-in the task, go and check the reader and after 20 mins,
alarm would go off, reminding me that I should start doing something
else.

Is this possible with current version?

Thanks, Sebastjan


___
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] problems with links to MH mails.

2007-11-18 Thread Pete Phillips
I'm having difficulties using links within org to MH mails.

For example, I have an email in a folder, and I hit ^C-l to store it.

In org-mode, I hit ^C-^L to insert the link, and it gets inserted as:

Link:  mhe:+mail-lists/[EMAIL PROTECTED]
Description: Email from Dale Smith: [Orgmode] Re: Linux Journal

So far so good. However if I try to look at the link using ^C-^O I
get an error message. In *Messages* it says:

Executing mairix... 
mh-mairix-execute-search: Wrong type argument: listp, [EMAIL 
PROTECTED]

It is not just mairix BTW - I had a similar problem with swish++. 

Any ideas ? Is this something I need to raise on the mh list or is it an
org-mode issue ?

Regards
Pete

--
Pete Phillips, Acting Director, |   http://www.smtl.co.uk/
Surgical Materials Testing Lab, |   http://www.worldwidewounds.com/
Princess of Wales Hospital, S Wales |   http://www.dressings.org/
Tel/Fax: +44 1656-752820/30 |   [EMAIL PROTECTED]


___
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] File specific exporting of tags

2007-11-18 Thread Bastien
Daniel J. Sinder [EMAIL PROTECTED] writes:

 The documentation for org-export-with-tags mentions the file
 specific tags option.  But, it should probably be added to 12.6.5
 in the manual (I'm looking at manual version 5.13e).

Yes.  I guess I will have to make sure this sentence at the bottom of
the manual is true for this `org-export-with-tags' option:

   These options take effect in both the HTML and LaTeX export...

 Section 12.6.5 should also state the valid values, which as far as I
 can tell are 't', 'nil', and 'not-in-toc'.

Right.

Thanks,

-- 
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] brand names in documentation

2007-11-18 Thread Bastien
Nagarjuna G. [EMAIL PROTECTED] writes:

 a suggestion: the documentation is perfect, but I do not like the use
 of brandnames like 'Excel'.  please use spreadsheet application
 instead.

The first two occurrences could be replaced.  

For the last one, it's more like a joke -- so spreadsheet application
would flatten things too much :) Let's keep the reference and play with
periphrastically ways of referring: 

... « try that with the I-can't-compute-850*77.1-spreadsheet-app! »

Other proposals?

-- 
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] Adding path and file name into file links

2007-11-18 Thread Bastien
Graham Smith [EMAIL PROTECTED] writes:

 However, I cant get C-u C-c C-l to work.

 I still seem to need to type in the file path and file name, rather
 than have the ability to search for a file.  

I you want to *search* for a file in dired then copy this file into the
Emacs kill-ring, then you can use the function I wrote.

I you know where is the file and want to link to it, then C-u C-c C-l
should be enough.  You will still have to do type something but it's not
a lot of work, especially because TAB will suggest possible completion.

 Presumably I am missing the obvious.

Just remember Org is an Emacs mode, not a W32 feature :)

-- 
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] feature request

2007-11-18 Thread Bastien
Raimund Kohl-Füchsle [EMAIL PROTECTED] writes:

 What would help greatly would be a way to manage fields the same way
 as with TODO items: A key-string would place a NO RUNNING
 ANSWERED button right there ... same way as with TODO-items.

I think what you need is colum view for properties, rather than tables.

Each property is like a field, and you switch between values easily.
You can select the property you want to display in the column view.
Each headline will be displayed as a table row in column view.
And finally, you can capture this column view with C-c C-x r.

See details in the manual:

  (info (org)Column view)
  (info (org)Capturing Column View)

I think it's worth giving it a try.  Tables have their own ways of
handling cells and buttons would be confusing IMO.

-- 
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] problems with links to MH mails.

2007-11-18 Thread Bastien
Pete Phillips [EMAIL PROTECTED] writes:

 So far so good. However if I try to look at the link using ^C-^O I
 get an error message. In *Messages* it says:

   Executing mairix... 
   mh-mairix-execute-search: Wrong type argument: listp,
   [EMAIL PROTECTED]

Looks like this is a problem with mh-mairix-execute-search, not with
org-mode... 

 It is not just mairix BTW - I had a similar problem with swish++. 

Then even more probably a mh problem while calling external indexing
tools, no?

 Any ideas ? Is this something I need to raise on the mh list or is it
 an org-mode issue ?

Let us know if you're luckier with mh people.

-- 
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] Adding path and file name into file links

2007-11-18 Thread Graham Smith
Bastien

Ah OK, so I wasn't missing anything, you can't actually search for a file
using C-u C-c C-l.

As files I want to link can be several layers deep in a directory structure
and have names I can't remember, and as a said, the dired approach works
fine.

Thanks again.

Graham

On 19/11/2007, Bastien [EMAIL PROTECTED] wrote:

 Graham Smith [EMAIL PROTECTED] writes:

  However, I cant get C-u C-c C-l to work.
 
  I still seem to need to type in the file path and file name, rather
  than have the ability to search for a file.

 I you want to *search* for a file in dired then copy this file into the
 Emacs kill-ring, then you can use the function I wrote.

 I you know where is the file and want to link to it, then C-u C-c C-l
 should be enough.  You will still have to do type something but it's not
 a lot of work, especially because TAB will suggest possible completion.

  Presumably I am missing the obvious.

 Just remember Org is an Emacs mode, not a W32 feature :)

 --
 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