From: Juri Linkov <juri@linkov.net>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: 20785-done@debbugs.gnu.org
Subject: bug#20785: user-error for mark-inactive
Date: Fri, 12 Jun 2015 02:17:56 +0300 [thread overview]
Message-ID: <87d2113kd7.fsf@mail.linkov.net> (raw)
In-Reply-To: <jwvh9qfndoz.fsf-monnier+emacsbugs@gnu.org> (Stefan Monnier's message of "Wed, 10 Jun 2015 23:11:06 -0400")
>> A single remaining case that is too annoying is when the debugger is
>> called due to a user error while accidentally typing `C-w' (kill-region)
>> when there is no active mark in the buffer:
>
> Looks OK to me
Installed.
> (maybe we could also just signal `mark-inactive' instead
> of calling user-error, but either way is OK for me),
I see that `mark-inactive' and user-error in `kill-region'
have different messages:
`mark-inactive' signaled in the function `mark'
has the message only about the mark:
"The mark is not active now"
whereas the user-error message in `kill-region'
is specific about the region:
"The mark is not set now, so there is no region"
and I don't see how to merge these messages.
next prev parent reply other threads:[~2015-06-11 23:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-10 23:34 bug#20785: user-error for mark-inactive Juri Linkov
2015-06-11 3:11 ` Stefan Monnier
2015-06-11 23:17 ` Juri Linkov [this message]
2015-06-12 5:40 ` Stefan Monnier
2015-06-22 22:46 ` Juri Linkov
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=87d2113kd7.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=20785-done@debbugs.gnu.org \
--cc=monnier@IRO.UMontreal.CA \
/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.