Your message dated Fri, 16 May 2014 13:06:28 +0200
with message-id <[email protected]>
and subject line Re: Bug#527129: emacs22-common: calc hangs when hitting ctrl-y 
(calc-yank)
has caused the Debian Bug report #527129,
regarding emacs22-common: calc hangs when hitting ctrl-y (calc-yank)
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 [email protected]
immediately.)


-- 
527129: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=527129
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: emacs22-common
Version: 22.3+1-1
Severity: normal
Tags: patch


I used to be able to do the following in emacs 22.2:

1. copy a formula like '2+4.5' to the kill ring
2. use 'M-x calc' to launch calc
3. hit 'C-y' to yank the formula into calc
4. hit '=' to get a result on the stack

In emacs 22.3 calc hangs at step 3, until I hit Ctrl-g, and the text
is not yanked, because Ctrl-y is bound to calc-missing-key instead of
calc-yank.

Ctrl-y is first bound to calc-yank in lisp/calc/calc.el, and a few
lines later is bound again, together with many other keys, to
calc-missing-key.

I've attached a patch that fixes this.

Cheers,
Avi.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1,
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages emacs22-common depends on:
ii  dpkg                          1.14.26    Debian package management
system
ii  emacsen-common                1.4.17     Common facilities for all
emacsen

emacs22-common recommends no packages.

Versions of packages emacs22-common suggests:
ii  emacs22-common-non-dfsg       22.3+1-1   GNU Emacs shared,
architecture ind
ii  emacs22-el                    22.3+1-1   GNU Emacs LISP (.el) files

-- no debconf information

Index: emacs22-22.3+1/lisp/calc/calc.el
===================================================================
--- emacs22-22.3+1.orig/lisp/calc/calc.el	2009-05-05 16:03:36.000000000 +0300
+++ emacs22-22.3+1/lisp/calc/calc.el	2009-05-05 16:03:43.000000000 +0300
@@ -955,7 +955,7 @@
 	  "lOW")
     (mapc (lambda (x) (define-key map (char-to-string x) 'calc-missing-key))
 	  (concat "ABCDEFGHIJKLMNPQRSTUVXZabcdfghjkmoprstuvwxyz"
-		  ":\\|!()[]<>{},;=~`\C-k\M-k\C-w\M-w\C-y\C-_"))
+		  ":\\|!()[]<>{},;=~`\C-k\M-k\C-w\M-w\C-_"))
     (mapc (lambda (x) (define-key map (char-to-string x) 'calcDigit-start))
 	  "_0123456789.#@")
     map))

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
closing as it no longer applies.

fgmards
IOhannes

On 05/16/2014 11:58 AM, Avi Rozen wrote:
> On Thu, May 15, 2014 at 6:34 PM, forum::für::umläute <
> [email protected]> wrote:
> 
>> i was unable to reproduce the problem with emacs24.
>>
>> comparing your patch with the emacs-sources, the problem does not occur
>> in emacs23[1] and emacs24[2].
>>
>> given that the lastc Debian release shipping  emacs22(-common) was
>> lenny, i think this bug report can be closed.
>>
>> do you agree?
>>
> 
> Sure.
> Thanks,
> Avi
> 
> 
> 
>>
>> fgamsdr
>> IOhannes
>>
>>
>>
>>
>>
>> [1] http://sources.debian.net/src/emacs23/23.2%2B1-7/lisp/calc/calc.el
>> [2] http://sources.debian.net/src/emacs24/24.3%2B1-3/lisp/calc/calc.el
>>
> 


Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to