Subject: bug#30819: [Bug #19655] Patches for GNU Emacs

From: Simona Arizanova <[email-masked]>
Date: Wed, 14 Mar 2018 14:07:55 +0000

<mailto:[email-masked]>

Hello,

As I was using the last version of Emacs (27.0.50) , I noticed something that could be improved. I’m explaining :

First type C – h ? to open the Metahelp window.

Then write C – s to enable searching.

Instead of searching in the Metahelp window, the Metahelp window closes.

This is an actual bug registered as #19655 in the https://debbugs.gnu.org<https://debbugs.gnu.org/>.

Therefore I’ve decided that I could help to fix that issue.

Look forward for the patch of the corrected bug.

The function search-forward-help-for-help in the help.el allows to reasearch in the * Metahelp * window.

I look forward for your response from you soon.

Thanks.

- Arizanova Simona -
gespenst@debian:~/Bureau$ diff -u help.el Acutal-help.el 
--- help.el	2018-03-09 20:14:31.492000000 +0100
+++ Acutal-help.el	2018-03-03 15:09:47.652000000 +0100
@@ -69,8 +69,7 @@
     (define-key map "\C-p" 'view-emacs-problems)
     (define-key map "\C-t" 'view-emacs-todo)
     (define-key map "\C-w" 'describe-no-warranty)
-    (define-key map "\C-s" 'search-forward-help-for-help)
-    
+
     ;; This does not fit the pattern, but it is natural given the C-\ command.
     (define-key map "\C-\\" 'describe-input-method)
 
@@ -994,16 +993,6 @@
      (t
       (error "No such minor mode: %s" minor-mode)))))
 
-
-(defun search-forward-help-for-help()
-  "Allows to research forward a string into the *Metahelp* window"
-  (interactive)
-  ;;Moves the cursor to the *Metahelp* window
-  (switch-to-buffer-other-window " *Metahelp*")
-  ;; Do incremental search forward.
-  (isearch-forward nil 1))
-
-
 ;; symbol
 (defun describe-minor-mode-completion-table-for-symbol ()
   ;; In order to list up all minor modes, minor-mode-list