From: Deniz Dogan <deniz.a.m.dogan@gmail.com>
To: mafeusek@gmail.com
Cc: emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: To Drew Adams?: `dired-get-marked-files' returns error when not on file
Date: Tue, 6 Jul 2010 22:58:16 +0200 [thread overview]
Message-ID: <AANLkTikkGih0G_dH9v5qNgakD78hwnYVRevlPvdi24EC@mail.gmail.com> (raw)
In-Reply-To: <umt41vbgz6br.fsf@gmail.com>
2010/7/6 <mafeusek@gmail.com>:
> Hallo Group Members
>
> This question is rather to Drew Adams, creator of wonderful dired+
> module, but maybe some of You will point the answer.
>
> I have the impression `dired-get-marked-files' should return nil instead
> signal an error (or at least parameterised) when I am in
> dired buffer and I am pointing on empty line after all files.
>
> why? because how can I handle such situation cleanly in elisp code?
>
I am not entirely sure, but I think `condition-case' could be what you
are looking for.
(info "(elisp) Handling Errors")
--
Deniz Dogan
next prev parent reply other threads:[~2010-07-06 20:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-06 20:46 To Drew Adams?: `dired-get-marked-files' returns error when not on file mafeusek
2010-07-06 20:58 ` Deniz Dogan [this message]
2010-07-06 21:10 ` To Drew Adams?: `dired-get-marked-files' returns error when not onfile Drew Adams
2010-07-07 16:39 ` To Drew Adams?: `dired-get-marked-files' returns error when notonfile Drew Adams
2010-07-08 7:27 ` To Drew Adams?: `dired-get-marked-files' returns error when not onfile mafeusek
2010-07-08 13:32 ` Drew Adams
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTikkGih0G_dH9v5qNgakD78hwnYVRevlPvdi24EC@mail.gmail.com \
--to=deniz.a.m.dogan@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=mafeusek@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.