GNU bug report logs - #18791
25.0.50; Copy/Cut issue

Previous Next

Package: emacs;

Reported by: "Guillaume J. Charmes" <guillaume <at> charmes.net>

Date: Wed, 22 Oct 2014 12:56:02 UTC

Severity: normal

Found in version 25.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

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 18791 in the body.
You can then email your comments to 18791 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-gnu-emacs <at> gnu.org:
bug#18791; Package emacs. (Wed, 22 Oct 2014 12:56:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Guillaume J. Charmes" <guillaume <at> charmes.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 22 Oct 2014 12:56:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Guillaume J. Charmes" <guillaume <at> charmes.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.50; Copy/Cut issue
Date: Wed, 22 Oct 2014 08:54:13 -0400
[Message part 1 (text/plain, inline)]
Hello,

Using `C-w` and `M-w` raise "Symbol's value as variable is void: type"
error.

The copy/cut still work.

While it is not that big of a deal for cut (`C-w`), it is more annoying
for copy (`M-w`) as it does not unselect.


In GNU Emacs 25.0.50.1 (x86_64-apple-darwin14.0.0)
of 2014-10-21
Configured using:
`configure --prefix=/usr/local/Cellar/emacs/HEAD
--enable-locallisppath=/usr/local/share/emacs/site-lisp
--infodir=/usr/local/Cellar/emacs/HEAD/share/info/emacs --without-dbus
--without-gnutls --with-imagemagick --without-x'

Configured features:
ACL LIBXML2 ZLIB

Important settings:
  value of $LC_CTYPE: en_US.UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t

Recent input:
ESC [ > 0 ; 9 5 ; 0 c ESC O A ESC x r e g DEL p o TAB
r TAB RET

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Beginning of buffer
Making completion list...

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message dired format-spec
rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047
rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils xterm
time-date yasnippet-autoloads package epg-config tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type tabulated-list newcomment
elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
multi-tty emacs)

Memory information:
((conses 16 81903 3597)
(symbols 48 17475 0)
(miscs 40 73 77)
(strings 32 12593 4302)
(string-bytes 1 335708)
(vectors 16 8568)
(vector-slots 8 347163 25554)
(floats 8 63 537)
(intervals 56 173 7)
(buffers 976 13))


—
Guillaume J. Charmes
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18791; Package emacs. (Wed, 22 Oct 2014 17:37:02 GMT) Full text and rfc822 format available.

Message #8 received at 18791 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: "Guillaume J. Charmes" <guillaume <at> charmes.net>
Cc: 18791 <at> debbugs.gnu.org
Subject: Re: bug#18791: 25.0.50; Copy/Cut issue
Date: Wed, 22 Oct 2014 13:36:14 -0400
> Using `C-w` and `M-w` raise "Symbol's value as variable is void: type"
> error.

Can you "Options => Enter Debugger on Error", then reproduce the
problem, then show us the backtrace you hopefully get?


        Stefan




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18791; Package emacs. (Wed, 22 Oct 2014 17:43:02 GMT) Full text and rfc822 format available.

Message #11 received at 18791 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: "Guillaume J. Charmes" <guillaume <at> charmes.net>, 18791 <at> debbugs.gnu.org
Subject: Re: bug#18791: 25.0.50; Copy/Cut issue
Date: Wed, 22 Oct 2014 13:41:57 -0400
Stefan Monnier wrote:

>> Using `C-w` and `M-w` raise "Symbol's value as variable is void: type"
>> error.
>
> Can you "Options => Enter Debugger on Error", then reproduce the
> problem, then show us the backtrace you hopefully get?

http://hydra.nixos.org/build/16396103/log/raw

Try `make check', or emacs -Q -nw --eval '(kill-word 1)'.

(This was on emacs-buildstatus yesterday.)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18791; Package emacs. (Wed, 22 Oct 2014 18:08:01 GMT) Full text and rfc822 format available.

Message #14 received at 18791 <at> debbugs.gnu.org (full text, mbox):

From: "Guillaume J. Charmes" <guillaume <at> charmes.net>
To: Glenn Morris <rgm <at> gnu.org>
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>, 18791 <at> debbugs.gnu.org
Subject: Re: bug#18791: 25.0.50; Copy/Cut issue
Date: Wed, 22 Oct 2014 14:07:24 -0400
[Message part 1 (text/plain, inline)]
I installed via `brew install emacs --HEAD`.

```
# Kill any running emacs
$> pkill emacs
# Disable all config
$> mv ~/.emacs /tmp
# Start given command
$> \emacs -Q -nw --eval '(kill-word 1)'
> `Symbol's value as variable is void: type` # (at startup)
```

I am in terminal mode, even with `xterm-mouse-mode`. clicking on `option`
does not work.

When I do `M-x toggle-debug-on-error` and try to copy a region (C-space,
M-w) I get:

```
Debugger entered--Lisp error: (void-variable type)
  #[(&rest _args) "\301\302\303^H#\207" [type error "No method %S for %S
frame" gui-set-selection] 4](CLIPBOARD #("sfdsaf\n\ndsaf\n" 0 7 (fontified
t) 7 8 (fontified t) 8 13 (fontified t)))
  gui-set-selection(CLIPBOARD #("sfdsaf\n\ndsaf\n" 0 7 (fontified t) 7 8
(fontified t) 8 13 (fontified t)))
  gui-select-text(#("sfdsaf\n\ndsaf\n" 0 7 (fontified t) 7 8 (fontified t)
8 13 (fontified t)))
  kill-new(#("sfdsaf\n\ndsaf\n" 0 7 (fontified t) 7 8 (fontified t) 8 13
(fontified t)))
  copy-region-as-kill(25 38 1)
  kill-ring-save(25 38 1)
  funcall-interactively(kill-ring-save 25 38 1)
  call-interactively(kill-ring-save nil nil)
  command-execute(kill-ring-save)
```




-- 

Guillaume J. Charmes
about.me/guillaumecharmes
[image: Guillaume J. Charmes on about.me]
  <http://about.me/guillaumecharmes>

On Wed, Oct 22, 2014 at 1:41 PM, Glenn Morris <rgm <at> gnu.org> wrote:

> Stefan Monnier wrote:
>
> >> Using `C-w` and `M-w` raise "Symbol's value as variable is void: type"
> >> error.
> >
> > Can you "Options => Enter Debugger on Error", then reproduce the
> > problem, then show us the backtrace you hopefully get?
>
> http://hydra.nixos.org/build/16396103/log/raw
>
> Try `make check', or emacs -Q -nw --eval '(kill-word 1)'.
>
> (This was on emacs-buildstatus yesterday.)
>
[Message part 2 (text/html, inline)]

Reply sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
You have taken responsibility. (Thu, 23 Oct 2014 01:40:03 GMT) Full text and rfc822 format available.

Notification sent to "Guillaume J. Charmes" <guillaume <at> charmes.net>:
bug acknowledged by developer. (Thu, 23 Oct 2014 01:40:04 GMT) Full text and rfc822 format available.

Message #19 received at 18791-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 18791-done <at> debbugs.gnu.org, "Guillaume J. Charmes" <guillaume <at> charmes.net>
Subject: Re: bug#18791: 25.0.50; Copy/Cut issue
Date: Wed, 22 Oct 2014 21:39:14 -0400
> Try `make check', or emacs -Q -nw --eval '(kill-word 1)'.

Damn dynamic scoping!
Should be fixed now,


        Stefan




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 20 Nov 2014 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 209 days ago.

Previous Next


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