help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `quick-calc` inside `query-replace` breaks


From: Tom Roche
Subject: Re: `quick-calc` inside `query-replace` breaks
Date: Thu, 10 Sep 2015 14:59:25 -0400
User-agent: GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5)

Tom Roche Wed, 29 Jul 2015 18:39:25 -0400[1]
> after finally upgrading to {[Debian] Jessie, 'GNU Emacs 24.4.1 
> (x86_64-pc-linux-gnu, GTK+ Version 3.14.5)'}, [calling] `quick-calc` inside 
> [`query-replace` immediately gets error=]

> > byte-code: Wrong number of arguments: (lambda nil (interactive) (log-BP4)), 
> > 2

> which abends `quick-calc`, which abends macro recording. So I'd like to know:

> 1. Is the new behavior a bug or a feature (i.e., Working As Designed)?

> 1.1. (if a bug) Has this been previously reported?

> 1.1.1. (if so) apologies if this is a FAQ, but a quick websearch showed me 
> nothing.

> 1.1.2. (if not) To where should it be reported?

> 1.2. (if WAD) How can I workaround the new behavior to do what I want 
> (possibly more effectively)?

Regarding the latter question: macro counters[2] deliver appropriate 
functionality for the vast majority of my usecases, and hopefully will be 
useful for OP. That being said, I'd still like to know why one can no longer 
run `quick-calc` inside `query-replace`. (And possibly other interactive 
functions?)

HTH, Tom Roche <Tom_Roche@pobox.com>

[1]: http://lists.gnu.org/archive/html/help-gnu-emacs/2015-07/msg00772.html
[2]: http://ericjmritz.name/2013/09/25/using-macro-counters-in-emacs/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]