1. 07 Sep, 2012 3 commits
    • 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
  2. 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
  3. 02 Sep, 2012 1 commit
  4. 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
  5. 24 Aug, 2012 1 commit
  6. 21 Aug, 2012 1 commit
  7. 15 Aug, 2012 1 commit
  8. 10 Aug, 2012 1 commit
  9. 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
  10. 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
  11. 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
  12. 01 Aug, 2012 1 commit
  13. 28 Jul, 2012 1 commit
  14. 25 Jul, 2012 1 commit
  15. 21 Jul, 2012 1 commit
  16. 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
  17. 15 Jul, 2012 1 commit
  18. 14 Jul, 2012 1 commit
  19. 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
  20. 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
  21. 06 Jul, 2012 3 commits
  22. 05 Jul, 2012 2 commits
  23. 27 Jun, 2012 1 commit
  24. 24 Jun, 2012 1 commit
  25. 23 Jun, 2012 1 commit
    • Eli Zaretskii's avatar
      Improve and document the language-change event on MS-Windows. · 0bd8297f
      Eli Zaretskii authored
       src/keyboard.c (kbd_buffer_get_event): Include the codepage and the
       language ID in the event parameters.
       src/w32term.c (w32_read_socket): Put the new keyboard codepage into
       event.code, not the obscure "character set ID".
       doc/lispref/commands.texi (Misc Events): Document the language-change event.
      0bd8297f
  26. 22 Jun, 2012 1 commit
  27. 19 Jun, 2012 1 commit
  28. 18 Jun, 2012 1 commit
    • Stefan Monnier's avatar
      Fix return value of `defun' and un-define it. · 1053a871
      Stefan Monnier authored
      * src/data.c (Fdefalias): Return `symbol'.
      * doc/lispref/functions.texi (Defining Functions):
      * doc/lispref/macros.texi (Defining Macros): Un-define the return value of
      `defun', `defmacro' and `defalias'.
      
      Fixes: debbugs:11686
      1053a871
  29. 17 Jun, 2012 2 commits
  30. 11 Jun, 2012 2 commits
  31. 09 Jun, 2012 2 commits
  32. 08 Jun, 2012 1 commit
    • Chong Yidong's avatar
      Face cleanups. Remove some uses of old-style face spec and :bold/:italic. · 4b56d0fe
      Chong Yidong authored
      * faces.el (set-face-attribute): Doc fix.
      (modify-face): Don't use :bold and :italic.
      (error, warning, success): Tweak definitions.
      
      * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
      (custom-modified, custom-set, custom-changed, custom-themed)
      (custom-saved, custom-button, custom-button-mouse)
      (custom-button-pressed, custom-state, custom-comment-tag)
      (custom-variable-tag, custom-group-tag-1, custom-group-tag)
      (custom-group-subtitle): Use new-style face specs.
      (custom-invalid-face, custom-rogue-face, custom-modified-face)
      (custom-set-face, custom-changed-face, custom-saved-face)
      (custom-button-face, custom-button-pressed-face)
      (custom-documentation-face, custom-state-face)
      (custom-comment-face, custom-comment-tag-face)
      (custom-variable-tag-face, custom-variable-button-face)
      (custom-face-tag-face, custom-group-tag-face-1)
      (custom-group-tag-face): Remove obsolete face alias.
      
      * epa.el (epa-validity-high, epa-validity-medium)
      (epa-validity-low, epa-mark, epa-field-name, epa-string)
      (epa-field-name, epa-field-body):
      * font-lock.el (font-lock-comment-face, font-lock-string-face)
      (font-lock-keyword-face, font-lock-builtin-face)
      (font-lock-function-name-face, font-lock-variable-name-face)
      (font-lock-type-face, font-lock-constant-face):
      * ido.el (ido-first-match, ido-only-match, ido-subdir)
      (ido-virtual, ido-indicator, ido-incomplete-regexp):
      * speedbar.el (speedbar-button-face, speedbar-file-face)
      (speedbar-directory-face, speedbar-tag-face)
      (speedbar-selected-face, speedbar-highlight-face)
      (speedbar-separator-face):
      * whitespace.el (whitespace-newline, whitespace-space)
      (whitespace-hspace, whitespace-tab, whitespace-trailing)
      (whitespace-line, whitespace-space-before-tab)
      (whitespace-space-after-tab, whitespace-indentation)
      (whitespace-empty):
      * emulation/cua-base.el (cua-global-mark):
      * eshell/em-prompt.el (eshell-prompt):
      * net/newst-plainview.el (newsticker-new-item-face)
      (newsticker-old-item-face, newsticker-immortal-item-face)
      (newsticker-obsolete-item-face, newsticker-date-face)
      (newsticker-statistics-face, newsticker-default-face):
      * net/newst-reader.el (newsticker-feed-face)
      (newsticker-extra-face, newsticker-enclosure-face):
      * net/newst-treeview.el (newsticker-treeview-face)
      (newsticker-treeview-new-face, newsticker-treeview-old-face)
      (newsticker-treeview-immortal-face)
      (newsticker-treeview-obsolete-face)
      (newsticker-treeview-selection-face):
      * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
      (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
      (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
      (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
      * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
      (nxml-outline-active-indicator, nxml-outline-ellipsis):
      * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
      (mpuz-text):
      * progmodes/vera-mode.el (vera-font-lock-number)
      (vera-font-lock-function, vera-font-lock-interface):
      * textmodes/table.el (table-cell): Use new-style face specs, and
      don't use the old :bold and :italic attributes.
      
      * erc-button.el (erc-button):
      * erc-goodies.el (erc-bold-face, erc-inverse-face)
      (erc-underline-face, fg:erc-color-*):
      * erc-match.el (erc-current-nick-face, erc-dangerous-host-face)
      (erc-pal-face, erc-fool-face, erc-keyword-face):
      * erc-stamp.el (erc-timestamp-face): Likewise.
      
      * erc.el (erc-direct-msg-face, erc-header-line, erc-input-face)
      (erc-command-indicator-face, erc-notice-face, erc-action-face)
      (erc-error-face, erc-my-nick-face, erc-nick-default-face)
      (erc-nick-msg-face): Use new-style face specs, and avoid :bold.
      
      * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
      (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
      (ebrowse-member-class, ebrowse-progress): Likewise.
      (ebrowse-tree-mark-face, ebrowse-root-class-face)
      (ebrowse-file-name-face, ebrowse-default-face)
      (ebrowse-member-attribute-face, ebrowse-member-class-face)
      (ebrowse-progress-face): Remove obsolete faces.
      
      * progmodes/flymake.el (flymake-errline, flymake-warnline):
      Inherit from error and warning faces respectively.
      
      * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
      Likewise.
      (flyspell-incorrect-face, flyspell-duplicate-face): Remove
      obsolete aliases.
      
      * display.texi (Face Attributes): Font family does not accept
      wildcards.  De-document obsolete :bold and :italic attributes.
      (Defining Faces): Use new-style face spec format.
      4b56d0fe