1. 22 Sep, 2012 2 commits
  2. 21 Sep, 2012 1 commit
  3. 18 Sep, 2012 1 commit
    • Chong Yidong's avatar
      Doc fixes for defface and friends. · ed1f0bd3
      Chong Yidong authored
      * lisp/cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
      
      * lisp/custom.el (defface): Doc fix.
      
      * doc/lispref/customize.texi (Customization): Define customization more
      carefully.
      (Common Keywords): Add xref to Constant Variables.
      
      * doc/lispref/display.texi (Faces): Discuss anonymous faces.
      (Face Attributes): Tweak intro.
      (Defining Faces): Move after the Face Attributes node.  Copyedits.
      (Displaying Faces): Describe role of inheritance.
      
      * doc/lispref/variables.texi (Defining Variables): Link to defcustom's node
      instead of the higher-level Customization chapter.
      
      Fixes: debbugs:11440
      ed1f0bd3
  4. 12 Sep, 2012 1 commit
  5. 11 Sep, 2012 1 commit
    • Paul Eggert's avatar
      Simplify, document, and port floating-point. · c990426a
      Paul Eggert authored
      The porting part of this patch fixes bugs on non-IEEE platforms
      with frexp, ldexp, logb.
      * admin/CPP-DEFINES (HAVE_CBRT, HAVE_LOGB, logb): Remove.
      * configure.ac (logb, cbrt): Do not check for these functions,
      as they are not being used.
      * doc/lispref/numbers.texi (Float Basics, Arithmetic Operations, Math Functions):
      Document that / and mod (with floating point arguments), along
      with asin, acos, log, log10, expt and sqrt, return special values
      instead of signaling exceptions.
      (Float Basics): Document that logb operates on the absolute value
      of its argument.
      (Math Functions): Document that (log ARG BASE) also returns NaN if
      BASE is negative.  Document that (expt X Y) returns NaN if X is a
      finite negative number and Y a finite non-integer.
      * etc/NEWS: Document NaNs versus signaling-error change.
      * src/data.c, src/lisp.h (Qdomain_error, Qsingularity_error, Qunderflow_error):
      Now static.
      * src/floatfns.c: Simplify discussion of functions that Emacs doesn't
      support, by removing commented-out code and briefly listing the
      C89 functions excluded.  The commented-out stuff was confusing
      maintenance, e.g., we thought we needed cbrt but it was commented out.
      (logb): Remove decl; no longer needed.
      (isfinite): New macro, if not already supplied.
      (isnan): Don't replace any existing macro.
      (Ffrexp, Fldexp): Define even if !HAVE_COPYSIGN, as frexp and ldexp
      are present on all C89 platforms.
      (Ffrexp): Do not special-case zero, as frexp does the right thing
      for that case.
      (Flogb): Do not use logb, as it doesn't have the desired meaning
      on hosts that use non-base-2 floating point.  Instead, stick with
      frexp, which is C89 anyway.  Do not pass an infinity or a NaN to
      frexp, to avoid getting an unspecified result.
      c990426a
  6. 09 Sep, 2012 2 commits
    • Chong Yidong's avatar
      Clarify descriptions of delq and delete in Lisp manual. · bb6b0efc
      Chong Yidong authored
      * doc/lispref/lists.texi (Sets And Lists): Explain that the return value for
      delete should be used, like for delq.
      bb6b0efc
    • Chong Yidong's avatar
      Allow scrolling in y-or-n-p. · 011474aa
      Chong Yidong authored
      * lisp/replace.el (query-replace-map): Bind four new symbols for
      requesting window scrolling.
      
      * lisp/subr.el (y-or-n-p): Handle the window-scrolling bindings in
      query-replace-map.
      
      * lisp/custom.el (custom-theme-load-confirm): Use y-or-n-p.
      
      * lisp/window.el (scroll-other-window-down): Make the arg optional.
      
      * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
      since they are now in query-replace-map.
      
      * doc/lispref/minibuf.texi (Yes-or-No Queries): Document recentering and
      scrolling in y-or-n-p.  Remove gratuitous example.
      
      * doc/lispref/searching.texi (Search and Replace): Document window scrolling
      entries in query-replace-map.
      
      Fixes: debbugs:8948
      011474aa
  7. 08 Sep, 2012 1 commit
    • Chong Yidong's avatar
      Introduce "raw syntax descriptor" terminology, and use it. · 6dcef6ec
      Chong Yidong authored
      * syntax.texi (Syntax Table Internals): Define "raw syntax
      descriptor" terminology.
      (Syntax Descriptors): Mention raw syntax descriptors.
      
      * lisp/subr.el (syntax-after, syntax-class): Doc fix.
      
      * syntax.c (Fstring_to_syntax): Doc fix.
      
      Fixes: debbugs:12383
      6dcef6ec
  8. 07 Sep, 2012 6 commits
    • Chong Yidong's avatar
      Fix doc of local-variable-if-set-p. · 1a5432bc
      Chong Yidong authored
      * doc/lispref/variables.texi (Creating Buffer-Local): Fix description of
      local-variable-if-set-p.
      
      * src/data.c (Flocal_variable_if_set_p): Doc fix (Bug#10713).
      1a5432bc
    • Chong Yidong's avatar
      Minor doc fix for switch-to-buffer. · cee2e90d
      Chong Yidong authored
      * doc/lispref/windows.texi (Display Action Functions)
      (Choosing Window Options): Remove obsolete variable
      display-buffer-reuse-frames.
      (Switching Buffers): Minor doc tweak for switch-to-buffer.
      
      * lisp/window.el (switch-to-buffer): Doc fix.
      
      Fixes: debbugs:12181
      cee2e90d
    • Chong Yidong's avatar
      * doc/lispref/eval.texi (Intro Eval): Add index entry for sexp. · 0a6bdaa1
      Chong Yidong authored
      Fixes: debbugs:12233
      0a6bdaa1
    • Chong Yidong's avatar
      Remove obsolete display-buffer-reuse-frames from manuals. · 14ba4cf3
      Chong Yidong authored
      * doc/emacs/windows.texi (Window Choice): Don't mention obsolete
      display-buffer-reuse-frames.
      
      * doc/lispref/windows.texi (Display Action Functions)
      (Choosing Window Options): Remove obsolete variable
      display-buffer-reuse-frames.
      14ba4cf3
    • Chong Yidong's avatar
      Add a utility function buffer-narrowed-p, and use it. · e5c2edf7
      Chong Yidong authored
      * lisp/subr.el (buffer-narrowed-p): New function.
      
      * lisp/ses.el (ses-widen):
      * lisp/simple.el (count-words--buffer-message):
      * lisp/net/browse-url.el (browse-url-of-buffer): Use it
      
      * lisp/simple.el (count-words-region): Don't signal an error if there
      is a non-nil prefix arg and the mark is not set.
      
      * doc/lispref/positions.texi (Narrowing): Document buffer-narrowed-p.
      e5c2edf7
    • Chong Yidong's avatar
      Add a couple of xrefs to the Lisp manual. · 52404181
      Chong Yidong authored
      * markers.texi (Moving Markers): Add xref to Point.
      
      * syntax.texi (Low-Level Parsing): Add xref to Parser State.
      
      Fixes: debbugs:12269
      52404181
  9. 04 Sep, 2012 1 commit
    • Lars Ingebrigtsen's avatar
      Implement `debug-on-message'. · 7f7e0167
      Lars Ingebrigtsen authored
      This allows tracking down what piece of code is outputting stuff in
      the echo area.
      
      * eval.c (call_debugger): Make the function non-static so that we
      can call it from set_message.
      
      * xdisp.c (set_message): Implement the new variable `debug-on-message'.
      (syms_of_xdisp): Defvar it and `inhibit-debug-on-message'.
      7f7e0167
  10. 02 Sep, 2012 1 commit
  11. 01 Sep, 2012 1 commit
    • Paul Eggert's avatar
      Better seed support for (random). · 0e23ef9d
      Paul Eggert authored
      * doc/lispref/numbers.texi (Random Numbers): Document new behavior of
      the calls (random) and (random STRING).
      * etc/NEWS: Document new behavior of (random), (random "string").
      * lisp/play/5x5.el, lisp/play/animate.el, lisp/play/cookie1.el:
      * lisp/play/dissociate.el, lisp/play/doctor.el, lisp/play/dunnet.el:
      * lisp/play/gomoku.el, lisp/play/landmark.el, lisp/play/mpuz.el:
      * lisp/play/tetris.el, lisp/play/zone.el:
      * lisp/calc/calc-comb.el (math-init-random-base):
      * lisp/play/blackbox.el (bb-init-board):
      * lisp/play/life.el (life):
      * lisp/server.el (server-use-tcp):
      * lisp/type-break.el (type-break):
      Remove unnecessary call to (random t).
      * lisp/net/sasl.el (sasl-unique-id-function):
      Change (random t) to (random), now that the latter is more random.
      * lisp/play/life.el (life-initialized): Remove no-longer-needed var.
      * lisp/gnus/gnus-sync.el (gnus-sync-lesync-setup):
      * lisp/gnus/message.el (message-canlock-generate, message-unique-id):
      Change (random t) to (random), now that the latter is more random.
      * lisp/org/org-id.el (org-id-uuid):
      Change (random t) to (random), now that the latter is more random.
      * src/emacs.c (main): Call init_random.
      * src/fns.c (Frandom): Set the seed from a string argument, if given.
      Remove long-obsolete Gentzel cruft.
      * src/lisp.h, src/sysdep.c (seed_random): Now takes address and size, not long.
      (init_random): New function.
      0e23ef9d
  12. 24 Aug, 2012 1 commit
  13. 21 Aug, 2012 1 commit
  14. 15 Aug, 2012 1 commit
  15. 10 Aug, 2012 1 commit
  16. 06 Aug, 2012 1 commit
    • Eli Zaretskii's avatar
      Fix bug #12138 with indexing "closures". · a08eadfe
      Eli Zaretskii authored
       doc/lispref/functions.texi (Closures): Put the main index entry for
       "closures" here.
       doc/lispref/variables.texi (Lexical Binding): Disambiguate the index entry
       for "closures".
      a08eadfe
  17. 05 Aug, 2012 1 commit
    • Chong Yidong's avatar
      Manual fixes for frame-background-mode. · 35b6586e
      Chong Yidong authored
      * doc/custom.texi (Face Customization): Move discussion of face
      inheritance here, from Faces section.
      
      * doc/display.texi (Faces): Document frame-background-mode.
      
      * doc/lispref/display.texi (Defining Faces): Move documentation of
      frame-background-mode to the Emacs manual (Bug#7774).
      35b6586e
  18. 04 Aug, 2012 1 commit
    • Chong Yidong's avatar
      Doc fixes and improvements for syntax tables. · 02676e5d
      Chong Yidong authored
      * src/syntax.c (Fmodify_syntax_entry): Doc fix.
      
      * doc/lispref/syntax.texi (Syntax Basics): Rearrange the text for clarity.
      Fix description of syntax table inheritance.
      (Syntax Table Functions): Don't refer to internal contents of
      syntax table, since that is not explained yet.  Copyedits.
      (Standard Syntax Tables): Node deleted.
      (Syntax Table Internals): Misc clarifications.  Improve table
      formatting.
      
      * doc/lispref/keymaps.texi (Inheritance and Keymaps):
      * doc/lispref/text.texi (Sticky Properties): Tweak index entry.
      02676e5d
  19. 01 Aug, 2012 1 commit
  20. 28 Jul, 2012 1 commit
  21. 25 Jul, 2012 1 commit
  22. 21 Jul, 2012 1 commit
  23. 17 Jul, 2012 1 commit
    • Chong Yidong's avatar
      Document insert-char changes. · 9ea10cc3
      Chong Yidong authored
      * doc/emacs/basic.texi (Inserting Text): Replace ucs-insert with
      insert-char.  Provide more details of input.
      
      * doc/lispref/mule.texi (International Chars, Input Methods): Likewise.
      
      * doc/lispref/text.texi (Insertion): Document insert-char changes.
      
      * src/editfns.c (Finsert_char): Doc fix.
      9ea10cc3
  24. 15 Jul, 2012 1 commit
  25. 14 Jul, 2012 1 commit
  26. 13 Jul, 2012 1 commit
    • Chong Yidong's avatar
      Don't warn on toggle-read-only calls. · b68b3337
      Chong Yidong authored
      Clarify the documentation of toggle-read-only, and audit the code tree
      for uses of toggle-read-only; where appropriate, switch to setting the
      variable buffer-read-only or calling toggle-read-only with a (new)
      second arg.
      
      * lisp/files.el (toggle-read-only): Doc fix and code cleanup.  New arg
      to allow printing the message when called from Lisp.
      
      * lisp/emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
      Remove toggle-read-only.
      
      * lisp/bindings.el (mode-line-toggle-read-only):
      * lisp/dired.el (dired-toggle-read-only):
      * lisp/ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
      with non-nil second arg.
      
      * lisp/bs.el (bs-toggle-readonly):
      * lisp/buff-menu.el (Buffer-menu-toggle-read-only): Remove
      with-no-warnings around toggle-read-only.
      
      * lisp/ffap.el (ffap--toggle-read-only): Accept a list of buffers.
      Remove with-no-warnings around toggle-read-only.
      (ffap-read-only, ffap-read-only-other-window)
      (ffap-read-only-other-frame): Callers changed.
      
      * lisp/help-mode.el: Don't require view package.
      (help-mode-finish): Set buffer-read-only instead of calling
      toggle-read-only.
      
      * lisp/emacs-lisp/eieio-custom.el (eieio-customize-object):
      * lisp/vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
      directly.
      
      * lisp/gnus/smime.el (smime-certificate-info): Set buffer-read-only directly,
      instead of calling toggle-read-only with a (bogus) argument.
      
      * doc/emacs/buffers.texi (Misc Buffer): Document view-read-only.
      
      * doc/lispref/buffers.texi (Read Only Buffers): Document toggle-read-only
      changes.  Reword to account for the fact that read-only is currently not
      supported in overlay properties.
      b68b3337
  27. 07 Jul, 2012 1 commit
    • Chong Yidong's avatar
      Add "site-lisp" to manual indices. · ab4c47d3
      Chong Yidong authored
      * custom.texi (Init File): Index site-lisp.
      
      * doc/lispref/loading.texi (Library Search): Index site-lisp directories.
      
      Fixes: debbugs:11435
      ab4c47d3
  28. 06 Jul, 2012 3 commits
  29. 05 Jul, 2012 2 commits
  30. 27 Jun, 2012 1 commit