From: Tino Calancha <tino.calancha@gmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: 29842@debbugs.gnu.org
Subject: bug#29842: 27.0; `dired-change-marks': args should not be optional
Date: Thu, 28 Dec 2017 22:18:06 +0900 [thread overview]
Message-ID: <87vagr6lf5.fsf@gmail.com> (raw)
In-Reply-To: <bafa3d47-2b75-422a-85d5-feaa9a97bfb7@default> (Drew Adams's message of "Sun, 24 Dec 2017 10:30:54 -0800 (PST)")
Drew Adams <drew.adams@oracle.com> writes:
> Furthermore, the code should perhaps not just call
> `ding' if you hit RET. Instead of this:
>
> (if (or (eq old ?\r) (eq new ?\r))
> (ding)
> ...)
>
> it should perhaps do something like this:
>
> (unless (char-displayable-p old)
> (error "Not a displayable character: `%c'" old))
> (unless (char-displayable-p new)
> (error "Not a displayable character: `%c'" new))
>
> The current code predates the existence of
> `char-displayable-p'.
The more information the better; just a ding force you to read the
source code to know what was wrong.
Maybe `user-error' instead of `error'?
next prev parent reply other threads:[~2017-12-28 13:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-24 17:58 bug#29842: 27.0; `dired-change-marks': args should not be optional Drew Adams
2017-12-24 18:30 ` Drew Adams
2017-12-28 13:18 ` Tino Calancha [this message]
2017-12-28 23:57 ` Drew Adams
2020-01-19 15:02 ` Stefan Kangas
2017-12-28 13:14 ` Tino Calancha
2020-01-19 14:45 ` Stefan Kangas
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=87vagr6lf5.fsf@gmail.com \
--to=tino.calancha@gmail.com \
--cc=29842@debbugs.gnu.org \
--cc=drew.adams@oracle.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.