GNU bug report logs - #28039
26.0.50; Ses copy-region-as-kill advice assumes non-nil beg end arguments

Previous Next

Package: emacs;

Reported by: Vitalie Spinu <spinuvit <at> gmail.com>

Date: Thu, 10 Aug 2017 16:43:02 UTC

Severity: normal

Tags: easy

Found in version 26.0.50

Done: Óscar Fuentes <ofv <at> wanadoo.es>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Óscar Fuentes <ofv <at> wanadoo.es>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#28039: closed (26.0.50; Ses copy-region-as-kill advice
 assumes non-nil beg end arguments)
Date: Sun, 17 Dec 2017 04:54:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 17 Dec 2017 05:52:52 +0100
with message-id <87ind66jmj.fsf <at> telefonica.net>
and subject line Re: 26.0.50; Ses copy-region-as-kill advice assumes non-nil beg end arguments
has caused the debbugs.gnu.org bug report #28039,
regarding 26.0.50; Ses copy-region-as-kill advice assumes non-nil beg end arguments
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
28039: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28039
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Vitalie Spinu <spinuvit <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.0.50;
 Ses copy-region-as-kill advice assumes non-nil beg end arguments
Date: Thu, 10 Aug 2017 18:42:37 +0200
Hi,

Once ses is loaded I am getting the following error on kill in magit buffers:

Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
  ses--advice-copy-region-as-kill(#[770 "\
  apply(ses--advice-copy-region-as-kill #[770 
  copy-region-as-kill(nil nil region)
  magit-copy-buffer-revision()
  funcall-interactively(magit-copy-buffer-revision)
  #<subr call-interactively>(magit-copy-buffer-revision nil nil)
  apply(#<subr call-interactively> magit-copy-buffer-revision (nil nil))
  call-interactively <at> ido-cr+-record-current-command(#<subr call-interactively> magit-copy-buffer-revision nil nil)
  apply(call-interactively <at> ido-cr+-record-current-command #<subr call-interactively> (magit-copy-buffer-revision nil nil))
  call-interactively(magit-copy-buffer-revision nil nil)
  command-execute(magit-copy-buffer-revision)


Magit calls (copy-region-as-kill nil nil 'region). According to the doc first
two args should be ignored when 'region is passed. So I would assume it's the
bug in `ses--advice-copy-region-as-kill` then.


Thanks,

  Vitalie



In GNU Emacs 26.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
 of 2017-06-28 built on galago
Repository revision: 5d45ba1a05bccc53d52422e867f378a0adeb8970
Windowing system distributor 'The X.Org Foundation', version 11.0.11804000
System Description:	Ubuntu 16.04.2 LTS


[Message part 3 (message/rfc822, inline)]
From: Óscar Fuentes <ofv <at> wanadoo.es>
To: 28039-done <at> debbugs.gnu.org
Subject: Re: 26.0.50;
 Ses copy-region-as-kill advice assumes non-nil beg end arguments
Date: Sun, 17 Dec 2017 05:52:52 +0100
Fixed in emacs-26 2e9eba201 and master 506270f9c8.


This bug report was last modified 7 years and 214 days ago.

Previous Next


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