1. 10 Nov, 2019 1 commit
    • Juri Linkov's avatar
      Move read-char-from-minibuffer from simple.el to subr.el and document it. · f216f388
      Juri Linkov authored
      * doc/lispref/minibuf.texi (Multiple Queries):
      Document read-char-from-minibuffer (bug#10477, bug#38076).
      * lisp/subr.el (read-char-history)
      (read-char-from-minibuffer-insert-other, empty-history)
      (read-char-from-minibuffer): Move from simple.el to subr.el.
  2. 09 Nov, 2019 3 commits
    • Juri Linkov's avatar
      'y-or-n-p' now uses the minibuffer to read 'y' or 'n' answer (bug#38076) · a26a8cc1
      Juri Linkov authored
      * doc/lispref/minibuf.texi (Yes-or-No Queries): Update the fact
      that y-or-n-p uses the minibuffer.
      * lisp/subr.el (y-or-n-p-history-variable): New variable.
      (y-or-n-p-map): New keymap.
      (y-or-n-p-insert-y, y-or-n-p-insert-n, y-or-n-p-insert-other):
      New commands.
      (y-or-n-p): Rewrite to use read-from-minibuffer and make-composed-keymap
      with y-or-n-p-map and query-replace-map.
    • Eli Zaretskii's avatar
      Fix last change · 4e444027
      Eli Zaretskii authored
      * lisp/simple.el (goto-history-element)
      (next-history-element): Fix quoting of "future history".
      * doc/lispref/minibuf.texi (Minibuffer Commands)
      (Text from Minibuffer): Add index entry and cross-reference
      for "future history".  (Bug#38026)
    • Hong Xu's avatar
      Mention future history in history-related minibuffer commands · 15f4c415
      Hong Xu authored
      * lisp/simple.el (goto-history-element):
      * doc/lispref/minibuf.texi (Minibuffer Commands): Explain
      negative NABS.
      * lisp/simple.el (next-history-element):
      * doc/lispref/minibuf.texi (Minibuffer Commands): Mention
      "future history."  (Bug#38026)
  3. 28 Oct, 2019 2 commits
    • Eli Zaretskii's avatar
      ; Fix recent change in docs · 0c3e3a82
      Eli Zaretskii authored
      * doc/lispref/minibuf.texi (Minibuffer Commands): Fix wording
      and markup.  (Bug#37948)
    • Hong Xu's avatar
      Add doc for goto-history-element · 70578e07
      Hong Xu authored
      * doc/lispref/minibuf.texi (Minibuffer Commands): Add
      goto-history-element (bug#37948).
      * lisp/simple.el (goto-history-element): Clarify NABS.
  4. 17 Oct, 2019 1 commit
    • Juanma Barranquero's avatar
      lisp/*.el, src/*.c: Doc fixes related to returning t vs non-nil · 3ad40700
      Juanma Barranquero authored
      * lisp/progmodes/flymake-proc.el (flymake-proc--find-buffer-for-file):
      Doc fix; return value is a buffer, not t.
      * lisp/progmodes/ebrowse.el (ebrowse-member-display-p):
      Doc fix; return value is the MEMBER argument, not nil.
      * lisp/files.el (hack-one-local-variable-eval-safep):
      * lisp/play/doctor.el (doctor-nounp, doctor-pronounp):
      * lisp/progmodes/flymake-proc.el (flymake-proc--check-include):
      * lisp/progmodes/js.el (js--broken-arrow-terminates-line-p):
      Doc fix; a non-nil return value is not always t.
      * lisp/image.el (image-type-available-p):
      * lisp/simple.el (region-active-p):
      * lisp/window.el (frame-root-window-p):
      * src/buffer.c (Fbuffer_live_p):
      * src/image.c (Finit_image_library):
      * src/window.c (Fwindow_minibuffer_p):
      Doc fix; a non-nil return value is always t.
      * doc/lispref/minibuf.texi (Minibuffer Windows): Doc fix.
  5. 01 Oct, 2019 1 commit
  6. 11 Apr, 2019 1 commit
    • Eli Zaretskii's avatar
      Improve documentation of 'read-command' · 85829363
      Eli Zaretskii authored
      * src/minibuf.c (Fread_command): Document the return value
      when DEFAULT-VALUE is nil and the user enters nothing.
      * doc/lispref/minibuf.texi (High-Level Completion): Document
      the printed representation of a symbol whose name is empty.
  7. 11 Mar, 2019 1 commit
    • Martin Rudalics's avatar
      Rewrite minibuffer window resizing code · 95373b69
      Martin Rudalics authored
      * src/frame.c (resize_mini_frames): New variable.
      * src/window.c (resize_mini_window_apply): New function.
      (grow_mini_window, shrink_mini_window): Remove PIXELWISE
      argument.  Call resize_mini_window_apply to apply changes.
      (Fresize_mini_window_internal): Call resize_mini_window_apply
      to apply changes.
      (Qwindow__resize_mini_frame): New symbol.
      * src/window.h (grow_mini_window, shrink_mini_window): Adjust
      external declarations.
      * src/xdisp.c (resize_mini_window): For minibuffer-only frames
      call 'window--resize-mini-frame' if resize_mini_frames is
      non-nil.  Offload parts of logic to grow_mini_window and
      shrink_mini_window which are now called without the PIXELWISE
      (Vresize_mini_windows): Mention 'resize-mini-frames' in
      * lisp/cus-start.el (resize-mini-frames): Add customization
      * lisp/window.el (window--resize-mini-window): Simplify code.
      (window--resize-mini-frame): New function.
      * doc/lispref/minibuf.texi (Minibuffer Windows): Describe new
      option 'resize-mini-frames'.
      * etc/NEWS: Mention new option 'resize-mini-frames'.
  8. 23 Feb, 2019 1 commit
    • Eli Zaretskii's avatar
      Minor improvement for docs of completion · dee3cdc5
      Eli Zaretskii authored
      * doc/lispref/minibuf.texi (Completion Commands)
      (Completion in Buffers, Programmed Completion): Add to text
      that references completion tables a cross-reference to where
      "completion table" is described.
      (Programmed Completion): Fix the description of
      'completion-table-dynamic'.  Add more cross-references.
  9. 01 Jan, 2019 1 commit
  10. 03 Oct, 2018 1 commit
    • Charles A. Roelli's avatar
      Improve documentation of 'read-hide-char' · ac3622c8
      Charles A. Roelli authored
      * src/minibuf.c (syms_of_minibuf) <Vread_hide_char>: Clarify
      documentation and mention where else the variable is used.
      * doc/lispref/minibuf.texi (Reading a Password): Add an index
      entry for 'read-hide-char'.
  11. 15 Sep, 2018 1 commit
    • Eli Zaretskii's avatar
      Document changes called out in NEWS · cc8f334d
      Eli Zaretskii authored
      * doc/lispref/lists.texi (Association Lists): Document
      * doc/lispref/minibuf.texi (Minibuffers): Adapt menu.
      (Multiple Queries): Document 'read-answer'.
      * etc/NEWS: Reflect the above documentation in the respective
  12. 10 Sep, 2018 1 commit
  13. 29 Jul, 2018 1 commit
    • Tino Calancha's avatar
      Prefer ?* to hide passwords · b3f7e73f
      Tino Calancha authored
      It might be argued that a hidden string is more legible when using
      ?* as the hidden character instead of ?.
      For example, the following strings have the same length:
      It's slighly easier to visually count the number of characters in the second
      string (Bug#32220).
      * lisp/subr.el (read-passwd): Prefer ?* as default char instead of ?.
      * doc/lispref/minibuf.texi (Reading a Password): Update manual.
      ; * etc/NEWS (Changes in Emacs 27.1): Announce the change.
  14. 10 May, 2018 1 commit
    • Basil L. Contovounesios's avatar
      Improve documentation for "other window" scrolling · d5cf1b31
      Basil L. Contovounesios authored
      * doc/emacs/windows.texi (Other Window):
      * doc/lispref/windows.texi (Textual Scrolling):
      Document scroll-other-window-down.
      * doc/lispref/minibuf.texi (Minibuffer Misc):
      Cross-reference minibuffer-scroll-window with Textual Scrolling.
      * src/window.c (Fother_window_for_scrolling):
      Clarify how "other window" is determined in docstring.
      (Fscroll_other_window): Simplify docstring, pointing to that of
      Fother_window_for_scrolling. (bug#30207)
  15. 03 Apr, 2018 1 commit
  16. 01 Apr, 2018 3 commits
  17. 27 Mar, 2018 1 commit
  18. 20 Feb, 2018 1 commit
    • Robert Pluim's avatar
      Correct variable markup in manuals · 05214c65
      Robert Pluim authored
      * doc/lispref/minibuf.texi (Completion in Buffers): Fix markup.
      * doc/lispref/text.texi (Filling): Likewise.
      * doc/misc/dired-x.texi (Advanced Mark Commands): Likewise.
      * doc/misc/epa.texi (Encrypting/decrypting gpg files): Likewise.
      (Encrypting/decrypting gpg files): Likewise.
      * doc/misc/tramp.texi (External methods): Likewise.
      (Default Method): Likewise.
      * doc/misc/viper.texi (Editing in Insert State): Likewise.
      (File and Buffer Handling): Likewise.
      * doc/misc/gnus.texi (Mail Source Customization): Likewise.
      * doc/misc/url.texi (Customization): Likewise.  Note obsolete
      status of url-temporary-directory.
  19. 09 Feb, 2018 1 commit
    • Eli Zaretskii's avatar
      Improve documentation of mini-window resizing · 989d0afc
      Eli Zaretskii authored
      * doc/lispref/minibuf.texi (Minibuffer Windows): Mention
      'message-truncate-lines' for preventing resizing of minibuffer
      windows.  (Bug#19045)
      (Minibuffer Misc): Remove redundant description of
      * doc/lispref/display.texi (Echo Area Customization): Adjust
  20. 01 Jan, 2018 1 commit
  21. 30 Oct, 2017 1 commit
    • Martin Rudalics's avatar
      Fix doc and doc-strings for minibuffer window related functions (Bug#28978) · d10c9479
      Martin Rudalics authored
      These fixes were suggested by Drew Adams.
      * src/window.c (Fminibuffer_selected_window): Disambiguate
      * doc/lispref/minibuf.texi (Intro to Minibuffers)
      (Minibuffer Windows, Recursive Mini, Minibuffer Misc):  Avoid
      the term "currently active minibuffer window".  Disambiguate
      documentation of `minibuffer-selected-window'.
  22. 29 Oct, 2017 1 commit
    • Martin Rudalics's avatar
      Fix minibuffer window related docs and strings (Bug#28978) · 4189d0ef
      Martin Rudalics authored
      * src/frame.c (Vdefault_minibuffer_frame): Fix doc-string.
      * src/window.c (Fminibuffer_selected_window): Fix doc-string.
      * doc/lispref/frames.texi (Buffer Parameters): Rewrite
      description of `minibuffer' parameter.
      * doc/lispref/minibuf.texi (Minibuffer Windows): Reorder
      entries and partly rewrite section.
      (Minibuffer Misc): Clarify description of
      * etc/NEWS: Mention new semantics of 'minibuffer' frame
  23. 21 Oct, 2017 1 commit
  24. 13 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Prefer HTTPS to FTP and HTTP in documentation · bc511a64
      Paul Eggert authored
      Most of this change is to boilerplate commentary such as license URLs.
      This change was prompted by ftp://ftp.gnu.org's going-away party,
      planned for November.  Change these FTP URLs to https://ftp.gnu.org
      instead.  Make similar changes for URLs to other organizations moving
      away from FTP.  Also, change HTTP to HTTPS for URLs to gnu.org and
      fsf.org when this works, as this will further help defend against
      man-in-the-middle attacks (for this part I omitted the MS-DOS and
      MS-Windows sources and the test tarballs to keep the workload down).
      HTTPS is not fully working to lists.gnu.org so I left those URLs alone
      for now.
  25. 26 Aug, 2017 1 commit
    • Paul Eggert's avatar
      Improve expand-file-name doc · 05f9ffd5
      Paul Eggert authored
      * doc/lispref/files.texi (Relative File Names, Directory Names)
      (File Name Expansion):
      * doc/lispref/minibuf.texi (Reading File Names):
      Document expand-file-name behavior with ~ more clearly
      and accurately.
      * doc/misc/org.texi (Batch execution): Simplify example
      script so that it does not need expand-file-name and thus
      will not mishandle file names with leading ~.
  26. 01 Jan, 2017 1 commit
  27. 18 Jun, 2016 1 commit
    • Noam Postavsky's avatar
      Fix documentation of completion functions · d1efbafd
      Noam Postavsky authored
      So that the described behavior matches the code (and docstrings).
      * doc/lispref/minibuf.texi (Basic Completion): Symbol keys of hash table
      collections are used like string keys, not ignored (Bug #10416).
  28. 02 May, 2016 1 commit
  29. 01 May, 2016 1 commit
    • Lars Ingebrigtsen's avatar
      Allow minibuffer prompts to use faces · bf0b6fab
      Lars Ingebrigtsen authored
      * doc/lispref/minibuf.texi (Text from Minibuffer): Document
      `minibuffer-prompt-properties' and explain how faces work in
      the minibuffer prompt.
      * src/minibuf.c (read_minibuf): If `face' is in
      `minibuffer-prompt-properties', apply it to the end of the
      face list to allow users to have their own faces on the
      prompts (bug#16136).
  30. 01 Feb, 2016 1 commit
    • Martin Rudalics's avatar
      Some corrections in Elisp manual · e639e10a
      Martin Rudalics authored
      * doc/lispref/buffers.texi (Read Only Buffers): Describe optional
      argument POSITION.
      * doc/lispref/debugging.texi (Error Debugging): `debug-on-signal'
      is an option.
      * doc/lispref/display.texi (Refresh Screen): Describe optional
      argument FRAME of `redraw-frame'.
      (Attribute Functions): Describe optional argument CHARACTER of
      (Defining Images): `image-load-path' is an option.
      (Beeping): `ring-bell-function' is an option.
      * doc/lispref/frames.texi (Size and Position): The PIXELWISE
      argument of `set-frame-size' is optional.
      (Raising and Lowering): The TERMINAL argument of `tty-top-frame'
      is optional.
      * doc/lispref/keymaps.texi (Controlling Active Maps): Fix doc of
      * doc/lispref/minibuf.texi (Text from Minibuffer):
      `read-regexp-defaults-function' is an option.
      (Minibuffer Contents): `delete-minibuffer-contents' is a command.
      * doc/lispref/modes.texi (Mode Line Variables):
      `mode-line-position' and `mode-line-modes' are variables, not
      * doc/lispref/strings.texi (Creating Strings): The START argument
      of `substring' is optional.
      * doc/lispref/text.texi (Buffer Contents): Describe optional
      argument NO-PROPERTIES of `thing-at-point'.
      (User-Level Deletion): Both arguments of
      `delete-trailing-whitespace' are optional.
      (Margins): Use @key{RET} instead of @kbd{RET}.
      * doc/lispref/windows.texi (Display Action Functions): Write
      non-@code{nil} instead of non-nil.
      (Choosing Window Options): The WINDOW arg of
      `split-window-sensibly' is optional.
      (Choosing Window Options): Write non-@code{nil} instead of
      (Window Start and End): Both args of `window-group-end' are
      * src/buffer.c (Fbarf_if_buffer_read_only): Rename argument POS
      to POSITION to keep consisteny with doc-string.
  31. 12 Jan, 2016 2 commits
  32. 01 Jan, 2016 1 commit
  33. 16 Oct, 2015 1 commit
  34. 16 Sep, 2015 1 commit
    • Eli Zaretskii's avatar
      Restore some of the quoting in the manuals · 31ff037a
      Eli Zaretskii authored
      * doc/lispref/windows.texi (Coordinates and Windows)
      (Coordinates and Windows):
      * doc/lispref/variables.texi (Lexical Binding)
      (File Local Variables):
      * doc/lispref/text.texi (Format Properties):
      * doc/lispref/symbols.texi (Symbol Components):
      * doc/lispref/strings.texi (Creating Strings):
      * doc/lispref/sequences.texi (Sequence Functions):
      * doc/lispref/searching.texi (Regexp Special, Regexp Search)
      (Search and Replace):
      * doc/lispref/processes.texi (Bindat Spec):
      * doc/lispref/os.texi (Idle Timers):
      * doc/lispref/objects.texi (Basic Char Syntax):
      * doc/lispref/numbers.texi (Float Basics, Random Numbers):
      * doc/lispref/nonascii.texi (Character Properties):
      * doc/lispref/modes.texi (Major Mode Conventions, Mode Hooks)
      (Mode Line Variables):
      * doc/lispref/minibuf.texi (Text from Minibuffer):
      * doc/lispref/loading.texi (Autoload):
      * doc/lispref/keymaps.texi (Controlling Active Maps):
      * doc/lispref/frames.texi (Frame Layout, Size and Position)
      (Size Parameters, Implied Frame Resizing):
      * doc/lispref/files.texi (Changing Files, Magic File Names):
      * doc/lispref/eval.texi (Self-Evaluating Forms):
      * doc/lispref/display.texi (Progress, Abstract Display)
      (Abstract Display Example, Bidirectional Display):
      * doc/lispref/commands.texi (Event Mod):
      * doc/emacs/windows.texi (Displaying Buffers):
      * doc/emacs/trouble.texi (Bug Criteria, Checklist):
      * doc/emacs/text.texi (Enriched Text):
      * doc/emacs/programs.texi (MixedCase Words):
      * doc/emacs/picture-xtra.texi (Insert in Picture)
      (Tabs in Picture):
      * doc/emacs/misc.texi (Emacs Server, Printing):
      * doc/emacs/mini.texi (Minibuffer History):
      * doc/emacs/maintaining.texi (Old Revisions, VC Change Log)
      (Pulling / Pushing):
      * doc/emacs/killing.texi (Yanking, Cut and Paste, Clipboard):
      * doc/emacs/help.texi (Help, Help Echo):
      * doc/emacs/glossary.texi (Glossary):
      * doc/emacs/frames.texi (Mouse Commands, Creating Frames)
      (Frame Commands):
      * doc/emacs/files.texi (Reverting, Saving, Directories):
      * doc/emacs/entering.texi (Exiting):
      * doc/emacs/emacs.texi (Top):
      * doc/emacs/cmdargs.texi (Window Size X, Icons X):
      * doc/emacs/anti.texi (Antinews): Restore quoting of text where
      appropriate or replace quoting with @dfn.
      * doc/misc/ediff.texi (Window and Frame Configuration):
      * doc/lispref/processes.texi (Network Feature Testing):
      * doc/lispref/display.texi (Display Margins): Quote the phrase
      after "a.k.a." where appropriate.