From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#20785: user-error for mark-inactive Date: Fri, 12 Jun 2015 02:17:56 +0300 Organization: LINKOV.NET Message-ID: <87d2113kd7.fsf@mail.linkov.net> References: <87oakncf4h.fsf@mail.linkov.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1434064825 9070 80.91.229.3 (11 Jun 2015 23:20:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Jun 2015 23:20:25 +0000 (UTC) Cc: 20785-done@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 12 01:20:14 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z3Ble-0005Tw-1z for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Jun 2015 01:20:14 +0200 Original-Received: from localhost ([::1]:49005 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3Bld-0002Ca-HD for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Jun 2015 19:20:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3Bla-0002CS-Nu for bug-gnu-emacs@gnu.org; Thu, 11 Jun 2015 19:20:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3BlV-0003or-IZ for bug-gnu-emacs@gnu.org; Thu, 11 Jun 2015 19:20:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36649) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3BlV-0003nO-GD for bug-gnu-emacs@gnu.org; Thu, 11 Jun 2015 19:20:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z3BlU-0002Jn-PY for bug-gnu-emacs@gnu.org; Thu, 11 Jun 2015 19:20:04 -0400 Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Jun 2015 23:20:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 20785 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 20785@debbugs.gnu.org, juri@linkov.net, juri@linkov.net Original-Received: via spool by 20785-done@debbugs.gnu.org id=D20785.14340647648859 (code D ref 20785); Thu, 11 Jun 2015 23:20:03 +0000 Original-Received: (at 20785-done) by debbugs.gnu.org; 11 Jun 2015 23:19:24 +0000 Original-Received: from localhost ([127.0.0.1]:51107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3Bkq-0002Io-7z for submit@debbugs.gnu.org; Thu, 11 Jun 2015 19:19:24 -0400 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:42075 helo=homiemail-a11.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3Bko-0002If-Bd for 20785-done@debbugs.gnu.org; Thu, 11 Jun 2015 19:19:22 -0400 Original-Received: from homiemail-a11.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a11.g.dreamhost.com (Postfix) with ESMTP id 8BCE76E07E; Thu, 11 Jun 2015 16:19:21 -0700 (PDT) Original-Received: from localhost.linkov.net (m83-187-196-182.cust.tele2.ee [83.187.196.182]) (Authenticated sender: jurta@jurta.org) by homiemail-a11.g.dreamhost.com (Postfix) with ESMTPA id 701B56E07C; Thu, 11 Jun 2015 16:19:20 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Wed, 10 Jun 2015 23:11:06 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:103845 Archived-At: >> 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.