emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#20916: closed (25.0.50; [PATCH] Calc `s p' glitch)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#20916: closed (25.0.50; [PATCH] Calc `s p' glitch)
Date: Mon, 29 Jun 2015 12:56:02 +0000

Your message dated Mon, 29 Jun 2015 14:54:32 +0200
with message-id <address@hidden>
and subject line Re: bug#20916: 25.0.50; [PATCH] Calc `s p' glitch
has caused the debbugs.gnu.org bug report #20916,
regarding 25.0.50; [PATCH] Calc `s p' glitch
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
20916: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20916
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 25.0.50; [PATCH] Calc `s p' glitch Date: Sun, 28 Jun 2015 15:57:57 +0200 User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (berkeley-unix)
May I push the following patch?

-- >8 --
>From 4c78b6aa26675f980d37fca7c0924f5219a4edb6 Mon Sep 17 00:00:00 2001
From: Wolfgang Jenkner <address@hidden>
Date: Sun, 28 Jun 2015 15:46:57 +0200
Subject: [PATCH] * lisp/calc-store.el (calc-insert-permanent-variable): Heed
 case.

Otherwise `s p' of f and F will stomp on each other's value.
---
 lisp/calc/calc-store.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/calc/calc-store.el b/lisp/calc/calc-store.el
index 11bf964..91b927a 100644
--- a/lisp/calc/calc-store.el
+++ b/lisp/calc/calc-store.el
@@ -609,7 +609,8 @@
 
 (defun calc-insert-permanent-variable (var)
   (goto-char (point-min))
-  (if (search-forward (concat "(setq " (symbol-name var) " '") nil t)
+  (if (let (case-fold-search)
+        (search-forward (concat "(setq " (symbol-name var) " '") nil t))
       (progn
        (setq calc-pv-pos (point-marker))
        (forward-line -1)
-- 
2.4.2




--- End Message ---
--- Begin Message --- Subject: Re: bug#20916: 25.0.50; [PATCH] Calc `s p' glitch Date: Mon, 29 Jun 2015 14:54:32 +0200 User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (berkeley-unix)
Version: 25.1

The Calc maintainer kindly replied in private email.

Pushed.


--- End Message ---

reply via email to

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