all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#24589: [PATCH 0/2] Fix for command-debug-status
@ 2016-10-02 16:59 Philippe Vaucher
  2016-10-02 16:59 ` bug#24588: [PATCH 1/2] Restore command-debug-status functionality Philippe Vaucher
  2016-10-02 16:59 ` bug#24590: [PATCH 2/2] Deprecate variable command-debug-status Philippe Vaucher
  0 siblings, 2 replies; 3+ messages in thread
From: Philippe Vaucher @ 2016-10-02 16:59 UTC (permalink / raw)
  To: 24589

Hello,

This patch series restore the lost functionality of variable command-debug-status and also deprecate it in order for it to be removed in the future.

Regards,

Philippe Vaucher (2):
  Restore command-debug-status functionality
  Deprecate variable command-debug-status

 doc/lispref/debugging.texi | 2 ++
 lisp/subr.el               | 2 ++
 src/callint.c              | 5 ++++-
 3 files changed, 8 insertions(+), 1 deletion(-)

-- 
2.10.0






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#24588: [PATCH 1/2] Restore command-debug-status functionality
  2016-10-02 16:59 bug#24589: [PATCH 0/2] Fix for command-debug-status Philippe Vaucher
@ 2016-10-02 16:59 ` Philippe Vaucher
  2016-10-02 16:59 ` bug#24590: [PATCH 2/2] Deprecate variable command-debug-status Philippe Vaucher
  1 sibling, 0 replies; 3+ messages in thread
From: Philippe Vaucher @ 2016-10-02 16:59 UTC (permalink / raw)
  To: 24588

---
 src/callint.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/callint.c b/src/callint.c
index 053ee6c..4652151 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -837,7 +837,10 @@ invoke it.  If KEYS is omitted or nil, the return value of
   kset_last_command (current_kboard, save_last_command);
 
   {
-    Lisp_Object val = Ffuncall (nargs, args);
+    Lisp_Object val;
+    specbind (Vcommand_debug_status, Qnil);
+
+    val = Ffuncall (nargs, args);
     val = unbind_to (speccount, val);
     SAFE_FREE ();
     return val;
-- 
2.10.0






^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#24590: [PATCH 2/2] Deprecate variable command-debug-status
  2016-10-02 16:59 bug#24589: [PATCH 0/2] Fix for command-debug-status Philippe Vaucher
  2016-10-02 16:59 ` bug#24588: [PATCH 1/2] Restore command-debug-status functionality Philippe Vaucher
@ 2016-10-02 16:59 ` Philippe Vaucher
  1 sibling, 0 replies; 3+ messages in thread
From: Philippe Vaucher @ 2016-10-02 16:59 UTC (permalink / raw)
  To: 24590

---
 doc/lispref/debugging.texi | 2 ++
 lisp/subr.el               | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/doc/lispref/debugging.texi b/doc/lispref/debugging.texi
index 2f83b40..322acd0 100644
--- a/doc/lispref/debugging.texi
+++ b/doc/lispref/debugging.texi
@@ -654,6 +654,8 @@ invocation.
 The advantage of using this variable rather than an ordinary global
 variable is that the data will never carry over to a subsequent command
 invocation.
+
+This variable is obsolete and should be removed in future versions.
 @end defvar
 
 @defun backtrace-frame frame-number
diff --git a/lisp/subr.el b/lisp/subr.el
index e9e19d3..271cd2f 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -1377,6 +1377,8 @@ is converted into a string by expressing it in decimal."
 (make-obsolete 'process-filter-multibyte-p nil "23.1")
 (make-obsolete 'set-process-filter-multibyte nil "23.1")
 
+(make-obsolete-variable 'command-debug-status "should be removed in future versions" "25.2")
+
 ;; Lisp manual only updated in 22.1.
 (define-obsolete-variable-alias 'executing-macro 'executing-kbd-macro
   "before 19.34")
-- 
2.10.0






^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-10-02 16:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-02 16:59 bug#24589: [PATCH 0/2] Fix for command-debug-status Philippe Vaucher
2016-10-02 16:59 ` bug#24588: [PATCH 1/2] Restore command-debug-status functionality Philippe Vaucher
2016-10-02 16:59 ` bug#24590: [PATCH 2/2] Deprecate variable command-debug-status Philippe Vaucher

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.