emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: henry atting <nsmp_01@online.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: two questions (insert checkbox/ dired to org)
Date: Tue, 05 May 2009 09:54:17 -0400	[thread overview]
Message-ID: <9636.1241531657@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from henry atting <nsmp_01@online.de> of "Tue, 05 May 2009 15:00:21 +0200." <87d4anln6i.fsf@online.de>

henry atting <nsmp_01@online.de> wrote:

> 
> What is the underlying command for this shortcut:
> 
> M-S-<RET>
>     Insert a new item with a checkbox 
> 

org-insert-todo-heading - it just happens to do special things in
special cases. At the end of a plain list item or a checkbox item, it
calls (org-insert-item 'checkbox) instead of inserting a todo heading.

> It does not work for me (if cursor is in a plain list already), 
> so I have to fill in checkboxes with C-c C-x C-b. 
> 

What does it do? And don't forget to provide version information
both for org-mode and for emacs.

> Another question: Is it possible to do something like dired-to-org,
> where the directory structure (including the subdirectories) is 
> written to an org file?
> At the moment I do something like:
> 
> find `pwd` -maxdepth 4
> 
> save the result to an org file, and additionally add `file:' at the
> beginnig of each line with sed. Maybe there is something more
> convenient?
> 

I think this would be fairly easy to implement and there are many ways
to do it, but:

I have seen requests like this before and I must admit I don't understand
why this would be useful. So this is is a useless rant from your point of
view, but maybe you could explain: what is the use of this? If you want to
be able to get to all of the files/subdirectories of the directory, why not
add a single link to the top-level directory in your org file and then use
the facilities of dired from there? Why is it important to have links to all
the files?

HTH,
Nick

  reply	other threads:[~2009-05-05 13:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-05 13:00 two questions (insert checkbox/ dired to org) henry atting
2009-05-05 13:54 ` Nick Dokos [this message]
2009-05-05 15:20   ` henry atting
2009-05-05 13:55 ` Bernt Hansen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9636.1241531657@gamaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nsmp_01@online.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).