GNU bug report logs - #4807
23.1.50; Unhelpful user visible type error in transpose-lines

Previous Next

Package: emacs;

Reported by: Geoff Gole <geoffgole <at> gmail.com>

Date: Mon, 26 Oct 2009 10:35:04 UTC

Severity: normal

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Juanma Barranquero <lekktu <at> gmail.com>
Subject: bug#4807: marked as done (23.1.50; Unhelpful user visible type
 error in transpose-lines)
Date: Mon, 26 Oct 2009 15:10:06 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 26 Oct 2009 15:59:39 +0100
with message-id <f7ccd24b0910260759o2382557cye7e11e4b8e27b2f <at> 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 help-debbugs <at> gnu.org
immediately.)


-- 
4807: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4807
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Geoff Gole <geoffgole <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.1.50; Unhelpful user visible type error in transpose-lines
Date: Mon, 26 Oct 2009 18:30:53 +0800
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.


[Message part 3 (message/rfc822, inline)]
From: Juanma Barranquero <lekktu <at> gmail.com>
To: Geoff Gole <geoffgole <at> gmail.com>
Cc: 4807-done <at> debbugs.gnu.org
Subject: Re: bug#4807: 23.1.50; Unhelpful user visible type error in 
	transpose-lines
Date: Mon, 26 Oct 2009 15:59:39 +0100
On Mon, Oct 26, 2009 at 11:30, Geoff Gole <geoffgole <at> 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

This bug report was last modified 15 years and 272 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.