branch: elpa/magit
commit 5d0cff48ec823d3de6fa453646b5766fc4083a74
Author: Jonas Bernoulli <[email protected]>
Commit: Jonas Bernoulli <[email protected]>

    manual: Remove obsolete Ido information
    
    [1: 6aec967ee4] moved Ido support to the new `magit-ido' package.
    
    1: 2025-03-30 6aec967ee4af617ddae577153208bd8a8bb011f0
       Move Ido kludges to a new package magit-ido
---
 docs/magit.org  | 43 ++-----------------------------------------
 docs/magit.texi | 39 ---------------------------------------
 2 files changed, 2 insertions(+), 80 deletions(-)

diff --git a/docs/magit.org b/docs/magit.org
index afcb656f438..71815e9f42b 100644
--- a/docs/magit.org
+++ b/docs/magit.org
@@ -1740,10 +1740,6 @@ use an alternative completion framework.  For example, 
if you enable
 ~ivy-mode~, then Magit will respect that, and if you enable ~helm-mode~,
 then you are done too.
 
-However if you want to use Ido, then ~ido-mode~ won't do the trick.  You
-will also have to install the ~ido-completing-read+~ package and use
-~magit-ido-completing-read~ as ~magit-completing-read-function~.
-
 - User Option: magit-completing-read-function ::
 
   The value of this variable is the low-level function used to perform
@@ -1763,17 +1759,6 @@ will also have to install the ~ido-completing-read+~ 
package and use
   This function performs completion using the built-in ~completing-read~
   and does some additional magit-specific work.
 
-- Function: magit-ido-completing-read prompt choices &optional predicate 
require-match initial-input hist def ::
-
-  This function performs completion using ~ido-completing-read+~ from the
-  package by the same name (which you have to explicitly install) and
-  does some additional magit-specific work.
-
-  We have to use ~ido-completing-read+~ instead of the
-  ~ido-completing-read~ that comes with Ido itself, because the latter,
-  while intended as a drop-in replacement, cannot serve that purpose
-  because it violates too many of the implicit conventions.
-
 - Function: magit-completing-read prompt choices &optional predicate 
require-match initial-input hist def fallback ::
 
   This is the function that Magit commands use when they need the user
@@ -2170,30 +2155,6 @@ that it should be bound globally.  We recommend using 
~C-x g~:
   It supports displaying any existing Magit buffer that belongs to the
   current repository; not just the status buffer.
 
-- Command: ido-enter-magit-status ::
-
-  From an Ido prompt used to open a file, instead drop into
-  ~magit-status~.  This is similar to ~ido-magic-delete-char~, which,
-  despite its name, usually causes a Dired buffer to be created.
-
-  To make this command available, use something like:
-
-  #+BEGIN_SRC emacs-lisp
-    (add-hook 'ido-setup-hook
-              (lambda ()
-                (define-key ido-completion-map
-                  (kbd \"C-x g\") 'ido-enter-magit-status)))
-  #+END_SRC
-
-  Starting with Emacs 25.1 the Ido keymaps are defined just once
-  instead of every time Ido is invoked, so now you can modify it
-  like pretty much every other keymap:
-
-  #+BEGIN_SRC emacs-lisp
-    (define-key ido-common-completion-map
-      (kbd \"C-x g\") 'ido-enter-magit-status)
-  #+END_SRC
-
 *** Status Sections
 
 The contents of status buffers is controlled using the hook
@@ -9655,7 +9616,7 @@ General Public License for more details.
 
 #  LocalWords:  ARG ARGS CONDITIONs ChangeLog DNS Dired Ediff Ediffing
 #  LocalWords:  Elpa Emacsclient FUNC Flyspell Git Git's Gitk HOOK's
-#  LocalWords:  IDENT Ido Junio LocalWords Magit Magit's Magitian Magitians
+#  LocalWords:  IDENT Junio LocalWords Magit Magit's Magitian Magitians
 #  LocalWords:  Melpa Propertize REF REF's RET Reflog SPC SYM Spacemacs
 #  LocalWords:  Submodules TODO TYPEs Theming Unpulled Unpushed Unstaged
 #  LocalWords:  Untracked WORKTREE Wip ack args async autoloads autosaving
@@ -9663,7 +9624,7 @@ General Public License for more details.
 #  LocalWords:  cdr changelog committer config customizable diff's diffstat
 #  LocalWords:  dwim ediff ediffing editmsg emacsclient filename fixup
 #  LocalWords:  flyspell func git's gitk gitman gitmodule gitmodules goto
-#  LocalWords:  gpg gui ident ido init inserter inserters keymap keymaps
+#  LocalWords:  gpg gui ident init inserter inserters keymap keymaps
 #  LocalWords:  logfile magit maildir manpage manpages minibuffer multi mv
 #  LocalWords:  namespace newbase nocommit notesRef posix prev
 #  LocalWords:  propertize rebase rebased rebasing reflog repo signoff str
diff --git a/docs/magit.texi b/docs/magit.texi
index 960f4d64cd1..da32db660d4 100644
--- a/docs/magit.texi
+++ b/docs/magit.texi
@@ -2045,10 +2045,6 @@ use an alternative completion framework.  For example, 
if you enable
 @code{ivy-mode}, then Magit will respect that, and if you enable 
@code{helm-mode},
 then you are done too.
 
-However if you want to use Ido, then @code{ido-mode} won't do the trick.  You
-will also have to install the @code{ido-completing-read+} package and use
-@code{magit-ido-completing-read} as @code{magit-completing-read-function}.
-
 @defopt magit-completing-read-function
 The value of this variable is the low-level function used to perform
 completion by code that uses @code{magit-completing-read} (as opposed to
@@ -2068,17 +2064,6 @@ This function performs completion using the built-in 
@code{completing-read}
 and does some additional magit-specific work.
 @end defun
 
-@defun magit-ido-completing-read prompt choices &optional predicate 
require-match initial-input hist def
-This function performs completion using @code{ido-completing-read+} from the
-package by the same name (which you have to explicitly install) and
-does some additional magit-specific work.
-
-We have to use @code{ido-completing-read+} instead of the
-@code{ido-completing-read} that comes with Ido itself, because the latter,
-while intended as a drop-in replacement, cannot serve that purpose
-because it violates too many of the implicit conventions.
-@end defun
-
 @defun magit-completing-read prompt choices &optional predicate require-match 
initial-input hist def fallback
 This is the function that Magit commands use when they need the user
 to select a single thing to act on.  The arguments have the same
@@ -2552,30 +2537,6 @@ It supports displaying any existing Magit buffer that 
belongs to the
 current repository; not just the status buffer.
 @end deffn
 
-@deffn Command ido-enter-magit-status
-From an Ido prompt used to open a file, instead drop into
-@code{magit-status}.  This is similar to @code{ido-magic-delete-char}, which,
-despite its name, usually causes a Dired buffer to be created.
-
-To make this command available, use something like:
-
-@lisp
-(add-hook 'ido-setup-hook
-          (lambda ()
-            (define-key ido-completion-map
-              (kbd \"C-x g\") 'ido-enter-magit-status)))
-@end lisp
-
-Starting with Emacs 25.1 the Ido keymaps are defined just once
-instead of every time Ido is invoked, so now you can modify it
-like pretty much every other keymap:
-
-@lisp
-(define-key ido-common-completion-map
-  (kbd \"C-x g\") 'ido-enter-magit-status)
-@end lisp
-@end deffn
-
 @anchor{Status Sections}
 @subsection Status Sections
 

Reply via email to