1. 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
      `face-font'.
      (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
      `set-transient-map'.
      * 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
      options.
      * 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
      non-nil.
      (Window Start and End): Both args of `window-group-end' are
      optional.
      
      * src/buffer.c (Fbarf_if_buffer_read_only): Rename argument POS
      to POSITION to keep consisteny with doc-string.
      e639e10a
  2. 31 Jan, 2016 1 commit
  3. 30 Jan, 2016 1 commit
    • Eli Zaretskii's avatar
      Document xwidget commands and functions · ef760b89
      Eli Zaretskii authored
      * doc/lispref/display.texi (Xwidgets): New section, describes some
      of the xwidget primitives.
      * doc/lispref/display.texi (Display): Update the chapter menu.
      * doc/emacs/misc.texi (Embedded WebKit Widgets): New section.
      * doc/emacs/emacs.texi (Top): Update the master menu to include
      the xwidget node.
      ef760b89
  4. 29 Jan, 2016 2 commits
  5. 28 Jan, 2016 1 commit
  6. 25 Jan, 2016 2 commits
    • Artur Malabarba's avatar
      * lisp/files.el: Use a fixed file name for the second dir-locals file · da976cff
      Artur Malabarba authored
      (dir-locals-file): Revert to its original fixed value.
      (dir-locals-file-2): New const.
      (dir-locals--all-files): Don't use `file-name-all-completions'.
      Instead, just check for the 2 dir-locals files and return a list
      of the ones that exit (if any).
      
      * etc/NEWS: Document the change.
      
      * doc/emacs/custom.texi (Directory Variables): Document the change.
      
      * doc/lispref/variables.texi (Directory Local Variables): Update
      accordingly.
      da976cff
    • Paul Eggert's avatar
      Spelling fixes · a528a60f
      Paul Eggert authored
      a528a60f
  7. 24 Jan, 2016 1 commit
    • Alan Mackenzie's avatar
      Expunge "allow" + infinitive without direct object from source and doc. · fbce4757
      Alan Mackenzie authored
      Do the same for "permit", "enable", and "prevent".
      
      * doc/emacs/mule.texi:
      * doc/lispref/control.texi:
      * doc/lispref/display.texi:
      * doc/lispref/frames.texi:
      * doc/lispref/functions.texi:
      * doc/lispref/nonascii.texi:
      * doc/lispref/streams.texi:
      * doc/lispref/windows.texi:
      * doc/misc/dbus.texi:
      * doc/misc/eww.texi:
      * doc/misc/flymake.texi:
      * doc/misc/octave-mode.texi:
      * doc/misc/org.texi:
      * doc/misc/reftex.texi:
      * doc/misc/tramp.texi:
      * doc/misc/wisent.texi:
      * etc/NEWS:
      * lisp/autorevert.el:
      * lisp/cedet/mode-local.el:
      * lisp/cedet/semantic/senator.el:
      * lisp/cedet/semantic/wisent.el:
      * lisp/dos-fns.el:
      * lisp/frameset.el:
      * lisp/gnus/gnus-agent.el:
      * lisp/gnus/mm-util.el:
      * lisp/international/characters.el:
      * lisp/ldefs-boot.el:
      * lisp/mail/mailclient.el:
      * lisp/man.el:
      * lisp/mh-e/mh-search.el:
      * lisp/net/tramp-cmds.el:
      * lisp/net/tramp-gvfs.el:
      * lisp/org/org-crypt.el:
      * lisp/org/org-element.el:
      * lisp/org/org-feed.el:
      * lisp/org/org.el:
      * lisp/org/ox-ascii.el:
      * lisp/org/ox-icalendar.el:
      * lisp/org/ox-publish.el:
      * lisp/org/ox.el:
      * lisp/play/gamegrid.el:
      * lisp/play/gomoku.el:
      * lisp/progmodes/antlr-mode.el:
      * lisp/progmodes/python.el:
      * lisp/progmodes/vhdl-mode.el:
      * lisp/strokes.el:
      * lisp/textmodes/ispell.el:
      * lisp/tree-widget.el:
      * lisp/vc/pcvs.el:
      * lisp/window.el:
      * src/lisp.h:
      * src/w32.c:
      * src/w32heap.c:
      * src/w32term.c:
      * src/window.c:
      * src/xfaces.c:
      
      Replace solecisms like "This allow to do something" with a correct
      alternative, such as "This allow you to do something", "This allows
      something to be done" or "This allows the doing of something".
      fbce4757
  8. 23 Jan, 2016 2 commits
  9. 22 Jan, 2016 2 commits
    • Eli Zaretskii's avatar
      Document cl-generic.el · 849a314c
      Eli Zaretskii authored
      * doc/lispref/functions.texi (Generic Functions): New section.
      (Bug#22336)
      (Functions): Update the chapter menu.
      * doc/lispref/elisp.texi: Update the master menu.
      849a314c
    • Michael Albinus's avatar
      Backport kqueue integration from master · 7bf54d01
      Michael Albinus authored
      * configure.ac (--with-file-notification): Add kqueue.
      (top): Remove special test for "${HAVE_NS}" and
      ${with_file_notification}, this is handled inside gfilenotify
      tests.  Add kqueue tests.  Use NOTIFY_CFLAGS and NOTIFY_LIBS
      instead of library specific variables.  Add error message for
      gfile on Nextstep.
      
      * doc/lispref/os.texi (File Notifications): Add kqueue as backend.
      Fix some glitches in the example.
      
      * etc/NEWS: Mention kqueue.
      
      * lisp/filenotify.el (file-notify--library)
      (file-notify-descriptors, file-notify-callback)
      (file-notify-add-watch, file-notify-rm-watch)
      (file-notify-valid-p): Add kqueue support.
      (file-notify--rm-descriptor): Remove WHAT arg.
      
      * src/Makefile.in: Use NOTIFY_CFLAGS and NOTIFY_LIBS.
      
      * src/emacs.c (main): Call globals_of_kqueue and syms_of_kqueue.
      
      * src/inotify.c (inotifyevent_to_event): Extract file name from
      watch_object if the event doesn't provide it.
      (Finotify_add_watch): Add file name to watch_object.
      
      * src/keyboard.c (make_lispy_event): Check also for HAVE_KQUEUE.
      
      * src/kqueue.c: New file.
      
      * src/lisp.h: Declare extern globals_of_kqueue and syms_of_kqueue.
      
      * test/automated/file-notify-tests.el
      (file-notify--test-expected-events): Remove.
      (file-notify--test-cleanup): Do not set that variable.
      (file-notify--test-timeout) Use different timeouts for
      different libraries.
      (file-notify--test-library): New defun.
      (file-notify--test-event-test): Make stronger checks.
      (file-notify--test-with-events): EVENTS can also be a list of
      lists.  Flush outstanding events before running the body.
      Make timeout heuristically depend on the number of events.
      (file-notify-test01-add-watch, file-notify-test02-events)
      (file-notify-test04-file-validity, file-notify-test05-dir-validity):
      Rewrite in order to call file monitors but directory monitors.
      (file-notify-test02-events, file-notify-test04-file-validity): Do
      not skip cygwin tests.  Add additional test for file creation.
      Adapt expected result for different backends.
      (file-notify-test03-autorevert): Some of the tests don't work for
      w32notify.
      (file-notify-test06-many-events): New test.
      7bf54d01
  10. 19 Jan, 2016 2 commits
  11. 18 Jan, 2016 1 commit
  12. 16 Jan, 2016 8 commits
  13. 15 Jan, 2016 1 commit
    • Eli Zaretskii's avatar
      Make 'random' seeds cryptographically secure if possible · 3ffe81e2
      Eli Zaretskii authored
      * configure.ac: Check for "/dev/urandom".
      
      * src/sysdep.c (init_random) [HAVE_DEV_URANDOM]: Read the stream
      for the seed from "/dev/urandom".
      [WINDOWSNT]: Obtain the stream for the seed from w32 APIs.
      * src/fns.c (Frandom): Update the doc string to indicate that
      system entropy is used when available.
      * src/w32.c: Include wincrypt.h.
      (w32_init_crypt_random, w32_init_random): New functions, use the
      CryptGenRandom API.
      (globals_of_w32): Initialize w32_crypto_hprov handle to zero.
      * src/w32.h (w32_init_random): Add prototype.
      
      * doc/lispref/numbers.texi (Random Numbers): Document more details
      about 't' as the argument to 'random'.
      
      * etc/NEWS: Mention that '(random t)' now uses a cryptographically
      strong seed if possible.
      
      (Bug#22202)
      3ffe81e2
  14. 13 Jan, 2016 6 commits
  15. 12 Jan, 2016 4 commits
  16. 10 Jan, 2016 2 commits
  17. 09 Jan, 2016 2 commits
  18. 08 Jan, 2016 1 commit
    • Eli Zaretskii's avatar
      Improve documentation of Delete Selection mode · 4b37cba3
      Eli Zaretskii authored
      * lisp/delsel.el (delete-selection-mode)
      (delete-selection-helper): Update and expand the doc strings.
      (Bug#22296)
      
      * doc/emacs/mark.texi (Using Region): Document the behavior of
      delete commands in Delete Selection mode.  (Bug#22296)
      
      * doc/lispref/markers.texi (The Mark): Document how to add the
      support for Delete Selection mode to Lisp programs. (Bug#22296)
      4b37cba3