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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4807 in the body.
You can then email your comments to 4807 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4807; Package emacs. (Mon, 26 Oct 2009 10:35:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Geoff Gole <geoffgole <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 26 Oct 2009 10:35:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

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.




Reply sent to Juanma Barranquero <lekktu <at> gmail.com>:
You have taken responsibility. (Mon, 26 Oct 2009 15:10:06 GMT) Full text and rfc822 format available.

Notification sent to Geoff Gole <geoffgole <at> gmail.com>:
bug acknowledged by developer. (Mon, 26 Oct 2009 15:10:07 GMT) Full text and rfc822 format available.

Message #10 received at 4807-done <at> emacsbugs.donarmstrong.com (full text, mbox):

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



bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Mon, 23 Nov 2009 15:24:13 GMT) Full text and rfc822 format available.

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

Previous Next


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