unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4807: 23.1.50; Unhelpful user visible type error in transpose-lines
@ 2009-10-26 10:30 ` Geoff Gole
  2009-10-26 15:10   ` bug#4807: marked as done (23.1.50; Unhelpful user visible type error in transpose-lines) Emacs bug Tracking System
  0 siblings, 1 reply; 2+ messages in thread
From: Geoff Gole @ 2009-10-26 10:30 UTC (permalink / raw)
  To: bug-gnu-emacs

With an argument of 0, transpose-lines will swap the lines that point
and mark are in. In a fresh buffer in which mark has not yet been set
this will result in a type error:

   (wrong-type-argument integer-or-marker-p nil)

This isn't very helpful to the user. exchange-point-and-mark fails in
the same conditions with the much clearer phrasing "No mark set in
this buffer", perhaps transpose-lines should copy that.






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#4807: marked as done (23.1.50; Unhelpful user visible type error in transpose-lines)
  2009-10-26 10:30 ` bug#4807: 23.1.50; Unhelpful user visible type error in transpose-lines Geoff Gole
@ 2009-10-26 15:10   ` Emacs bug Tracking System
  0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2009-10-26 15:10 UTC (permalink / raw)
  To: Juanma Barranquero

[-- Attachment #1: Type: text/plain, Size: 949 bytes --]

Your message dated Mon, 26 Oct 2009 15:59:39 +0100
with message-id <f7ccd24b0910260759o2382557cye7e11e4b8e27b2f@mail.gmail.com>
and subject line Re: bug#4807: 23.1.50; Unhelpful user visible type error in  transpose-lines
has caused the Emacs bug report #4807,
regarding 23.1.50; Unhelpful user visible type error in transpose-lines
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
4807: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4807
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 3192 bytes --]

From: Geoff Gole <geoffgole@gmail.com>
To: bug-gnu-emacs@gnu.org
Subject: 23.1.50; Unhelpful user visible type error in transpose-lines
Date: Mon, 26 Oct 2009 18:30:53 +0800
Message-ID: <f5bc73230910260330r10573ffdhc75f310808ac831c@mail.gmail.com>

With an argument of 0, transpose-lines will swap the lines that point
and mark are in. In a fresh buffer in which mark has not yet been set
this will result in a type error:

   (wrong-type-argument integer-or-marker-p nil)

This isn't very helpful to the user. exchange-point-and-mark fails in
the same conditions with the much clearer phrasing "No mark set in
this buffer", perhaps transpose-lines should copy that.



[-- Attachment #3: Type: message/rfc822, Size: 2611 bytes --]

From: Juanma Barranquero <lekktu@gmail.com>
To: Geoff Gole <geoffgole@gmail.com>
Cc: 4807-done@emacsbugs.donarmstrong.com
Subject: Re: bug#4807: 23.1.50; Unhelpful user visible type error in  transpose-lines
Date: Mon, 26 Oct 2009 15:59:39 +0100
Message-ID: <f7ccd24b0910260759o2382557cye7e11e4b8e27b2f@mail.gmail.com>

On Mon, Oct 26, 2009 at 11:30, Geoff Gole <geoffgole@gmail.com> wrote:

> This isn't very helpful to the user. exchange-point-and-mark fails in
> the same conditions with the much clearer phrasing "No mark set in
> this buffer", perhaps transpose-lines should copy that.

Fixed, thanks.

    Juanma

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-26 15:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <f7ccd24b0910260759o2382557cye7e11e4b8e27b2f@mail.gmail.com>
2009-10-26 10:30 ` bug#4807: 23.1.50; Unhelpful user visible type error in transpose-lines Geoff Gole
2009-10-26 15:10   ` bug#4807: marked as done (23.1.50; Unhelpful user visible type error in transpose-lines) Emacs bug Tracking System

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).