1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-12 09:28:24 +00:00
Commit Graph

7496 Commits

Author SHA1 Message Date
Lars Ingebrigtsen
b13cab683c Add a eww command to toggle paragraph direction
* lisp/net/eww.el (eww-toggle-paragraph-direction): New
command and keystroke.

* doc/misc/eww.texi (Advanced): Mention the `D' command.
2016-02-28 14:52:56 +10:30
Glenn Morris
4e46128131 * nextstep/WISHLIST: Merge into etc/TODO and remove.
* etc/TODO: Merge in items from nextstep/WISHLIST.
* nextstep/README: Update for this change.
2016-02-27 11:05:10 -08:00
Michael Albinus
b5db8e0461 etc/PROBLEMS: Mention problems with using file descriptors
* etc/PROBLEMS: Mention problems with using file descriptors
of kqueue file notification library.
2016-02-26 21:00:28 +01:00
Eli Zaretskii
9b7593c47a ; * etc/NEWS: Reflect latest changes in saveplace. 2016-02-25 21:22:58 +02:00
Eli Zaretskii
7c81a0b9c6 Improve documentation of 'save-place-mode'
* lisp/saveplace.el (toggle-save-place): Update the doc string wrt
turning on 'save-place-mode' globally.

* etc/NEWS: Mention the need to call 'save-place-mode' for turning
on the mode in all buffers.
2016-02-24 21:54:21 +02:00
Kaushal Modi
b594393d4d etc/NEWS: Mention the new second parameter to `package-install'
* etc/NEWS: Mention the new second parameter to
`package-install' (bug#22784).
2016-02-24 13:30:30 +11:00
Daiki Ueno
5f8965839d Mention how to enable pinentry feature
* etc/NEWS: Mention "gpgconf --reload gpg-agent".
* lisp/net/pinentry.el: Likewise.
2016-02-22 06:17:29 +09:00
Eli Zaretskii
fa8fd65ef4 ; Improve character-folding entries in NEWS
* etc/NEWS: Expand description of character-folding support.
Suggested by Mark Oteiza <mvoteiza@udel.edu>.
2016-02-18 19:42:17 +02:00
Nicolas Petton
dacde7ee5d * etc/AUTHORS: Update the AUTHORS file 2016-02-13 20:30:18 +01:00
Eli Zaretskii
d97f522d3d Document deprecation of hi-lock-mode's 'C-x w' bindings
* doc/emacs/display.texi (Highlight Interactively): Deprecate the
"C-x w" bindings of hi-lock-mode.

* etc/NEWS: Mark the deprecation entry as documented.
2016-02-13 11:02:28 +02:00
Xue Fuqiao
b55f06d83d ; * etc/NEWS: Use double spaces to end a sentence. 2016-02-13 13:51:09 +08:00
Stefan Monnier
28bb21439a Announce that the `C-x w' bindings are deprecated 2016-02-12 22:33:30 -05:00
Lars Ingebrigtsen
afe7d1f72f Revert "Document EXIF image rotation"
This reverts commit 10b8ed27ec.

This change does not work on Fedora, for instance.
2016-02-11 14:05:48 +11:00
Kevin Gallagher
02d925e9e5 Kevin Gallagher has new email address
* lisp/emulation/edt.el:
* lisp/emulation/edt-lk201.el:
* lisp/emulation/edt-mapper.el:
* lisp/emulation/edt-pc.el:
* lisp/emulation/edt-vt100.el:
* etc/edt-user.el:
* doc/misc/edt.texi: Update Kevin Gallagher's email address.
2016-02-10 20:40:28 +02:00
Lars Ingebrigtsen
10b8ed27ec Document EXIF image rotation
* doc/lispref/display.texi (ImageMagick Images): Mention EXIF rotation.
2016-02-10 15:45:46 +11:00
Oscar Fuentes
1ead3d2123 * etc/NEWS: mention the `vc-faces' customization group 2016-02-09 18:30:37 +01:00
Katsumi Yamaoka
7c9206f820 Make mm-html-inhibit-images and mm-html-blocked-images default to nil
* lisp/gnus/mm-decode.el (mm-html-inhibit-images)
(mm-html-blocked-images): Default to nil.

* doc/misc/emacs-mime.texi (Display Customization): Mention that
mm-html-inhibit-images and mm-html-blocked-images default to nil.

* etc/NEWS (Gnus): Document mm-html-inhibit-images and
mm-html-blocked-images.
2016-02-09 05:30:26 +00:00
Eli Zaretskii
edc39c92a7 ; * etc/NEWS: Clarify entry about bracketed paste mode. 2016-02-07 21:02:49 +02:00
Lars Ingebrigtsen
f93d669a16 Default to gpg2 instead of gpg
* lisp/epg-config.el (epg-gpg-program): Prefer gpg2 over gpg, if
it exists.  This fixes many problems with using the GPG
authentication agent.
2016-02-07 13:01:01 +11:00
Artur Malabarba
4ea1ea7c73 * lisp/isearch.el: Rename search-default-regexp-mode to search-default-mode
(search-default-mode): New variable.
(isearch-mode, isearch-define-mode-toggle)
(isearch--describe-regexp-mode): Update accordingly.
* lisp/menu-bar.el (nonincremental-search-forward): Update accordingly.
* etc/NEWS: Update accordingly.
* doc/emacs/search.texi: Update accordingly.
2016-02-06 22:48:32 +00:00
Lars Ingebrigtsen
aa35257118 Update publicsuffix.txt.
* etc/publicsuffix.txt: Updated from
https://publicsuffix.org/list/public_suffix_list.dat.
2016-02-06 16:11:18 +11:00
Eli Zaretskii
c1d32a6537 Fix problems caused by new implementation of sub-word mode
* lisp/subr.el (forward-word-strictly, backward-word-strictly):
New functions.
(word-move-empty-char-table): New variable.

* etc/NEWS: Mention 'forward-word-strictly' and
'backward-word-strictly'.

* doc/lispref/positions.texi (Word Motion): Document
'find-word-boundary-function-table', 'forward-word-strictly', and
'backward-word-strictly'.  (Bug#22560)

* src/syntax.c (syms_of_syntax)
<find-word-boundary-function-table>: Doc fix.

* lisp/wdired.el (wdired-xcase-word):
* lisp/textmodes/texnfo-upd.el (texinfo-copy-node-name)
(texinfo-copy-section-title, texinfo-start-menu-description)
(texinfo-copy-menu-title, texinfo-specific-section-type)
(texinfo-insert-node-lines, texinfo-copy-next-section-title):
* lisp/textmodes/texinfo.el (texinfo-clone-environment)
(texinfo-insert-@end):
* lisp/textmodes/texinfmt.el (texinfo-format-scan)
(texinfo-anchor, texinfo-multitable-widths)
(texinfo-multitable-item):
* lisp/textmodes/tex-mode.el (latex-env-before-change):
* lisp/textmodes/flyspell.el (texinfo-mode-flyspell-verify):
* lisp/skeleton.el (skeleton-insert):
* lisp/simple.el (count-words):
* lisp/progmodes/vhdl-mode.el (vhdl-beginning-of-libunit)
(vhdl-beginning-of-defun, vhdl-beginning-of-statement-1)
(vhdl-update-sensitivity-list, vhdl-template-block)
(vhdl-template-break, vhdl-template-case, vhdl-template-default)
(vhdl-template-default-indent, vhdl-template-for-loop)
(vhdl-template-if-then-use, vhdl-template-bare-loop)
(vhdl-template-nature, vhdl-template-procedural)
(vhdl-template-process, vhdl-template-selected-signal-asst)
(vhdl-template-type, vhdl-template-variable)
(vhdl-template-while-loop, vhdl-beginning-of-block)
(vhdl-hooked-abbrev, vhdl-port-copy, vhdl-hs-forward-sexp-func):
* lisp/progmodes/verilog-mode.el (verilog-backward-sexp)
(verilog-forward-sexp, verilog-beg-of-statement)
(verilog-set-auto-endcomments, verilog-backward-token)
(verilog-do-indent):
* lisp/progmodes/vera-mode.el (vera-guess-basic-syntax)
(vera-indent-block-closing):
* lisp/progmodes/simula.el (simula-context)
(simula-backward-up-level, simula-forward-down-level)
(simula-previous-statement, simula-next-statement)
(simula-skip-comment-backward, simula-calculate-indent)
(simula-find-if, simula-electric-keyword):
* lisp/progmodes/sh-script.el (sh-smie--rc-newline-semi-p):
* lisp/progmodes/ruby-mode.el (ruby-smie--redundant-do-p)
(ruby-smie--forward-token, ruby-smie--backward-token)
(ruby-singleton-class-p, ruby-calculate-indent)
(ruby-forward-sexp, ruby-backward-sexp):
* lisp/progmodes/ps-mode.el (ps-run-goto-error):
* lisp/progmodes/perl-mode.el (perl-syntax-propertize-function)
(perl-syntax-propertize-special-constructs)
(perl-backward-to-start-of-continued-exp):
* lisp/progmodes/pascal.el (pascal-indent-declaration):
* lisp/progmodes/octave.el (octave-function-file-p):
* lisp/progmodes/mantemp.el (mantemp-insert-cxx-syntax):
* lisp/progmodes/js.el (js--forward-function-decl):
* lisp/progmodes/idlwave.el (idlwave-show-begin-check)
(idlwave-beginning-of-block, idlwave-end-of-block)
(idlwave-block-jump-out, idlwave-determine-class):
* lisp/progmodes/icon.el (icon-is-continuation-line)
(icon-backward-to-start-of-continued-exp, end-of-icon-defun):
* lisp/progmodes/hideif.el (hide-ifdef-define):
* lisp/progmodes/f90.el (f90-change-keywords):
* lisp/progmodes/cperl-mode.el (cperl-electric-pod)
(cperl-linefeed, cperl-electric-terminator)
(cperl-find-pods-heres, cperl-fix-line-spacing)
(cperl-invert-if-unless):
* lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur):
* lisp/progmodes/cc-align.el (c-lineup-java-inher):
* lisp/progmodes/ada-mode.el (ada-compile-goto-error)
(ada-adjust-case-skeleton, ada-create-case-exception)
(ada-create-case-exception-substring)
(ada-case-read-exceptions-from-file, ada-after-keyword-p)
(ada-scan-paramlist, ada-get-current-indent, ada-get-indent-end)
(ada-get-indent-if, ada-get-indent-block-start)
(ada-get-indent-loop, ada-get-indent-type)
(ada-search-prev-end-stmt, ada-check-defun-name)
(ada-goto-decl-start, ada-goto-matching-start)
(ada-goto-matching-end, ada-looking-at-semi-or)
(ada-looking-at-semi-private, ada-in-paramlist-p)
(ada-search-ignore-complex-boolean, ada-move-to-start)
(ada-move-to-end, ada-which-function, ada-gen-treat-proc):
* lisp/net/quickurl.el (quickurl-grab-url):
* lisp/mail/sendmail.el (mail-do-fcc):
* lisp/mail/rmail.el (rmail-resend):
* lisp/mail/mailabbrev.el (mail-abbrev-complete-alias):
* lisp/mail/mail-extr.el (mail-extract-address-components):
* lisp/json.el (json-read-keyword):
* lisp/files.el (insert-directory):
* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
* lisp/completion.el (symbol-under-point, symbol-before-point)
(symbol-before-point-for-complete, next-cdabbrev)
(add-completions-from-c-buffer):
* lisp/cedet/semantic/texi.el (semantic-up-context)
(semantic-beginning-of-context):
* lisp/cedet/semantic/bovine/el.el (semantic-get-local-variables):
use 'forward-word-strictly' and 'backward-word-strictly' instead
of 'forward-word' and 'backward-word'.
2016-02-05 23:54:21 +02:00
Simen Heggestøyl
d3337167c2 ; * etc/NEWS: Expand news entry for scss-mode 2016-02-05 20:17:01 +01:00
Eli Zaretskii
c32c16f875 ; Better document changes in ls-lisp default behavior
* etc/NEWS: Explain in more detail the effects of the new
default sorting in ls-lisp on Dired display.  (Bug#22561)
2016-02-05 12:27:53 +02:00
Mark Oteiza
2c117fc7e2 * etc/NEWS: Document new mpc.el features 2016-02-05 01:26:13 -05:00
Paul Eggert
35fc77dceb Spelling fixes 2016-02-04 07:30:10 -08:00
Lars Ingebrigtsen
b99141da55 Make erc completion case-insensitive again
* lisp/erc/erc.el (erc-completion-at-point): Make erc completion
case-insensitive again (bug#11360).
2016-02-04 17:51:53 +11:00
Paul Eggert
2fbd1dabeb * etc/HISTORY: Add some more history, plus git tags. 2016-01-31 16:54:20 -08:00
Simen Heggestøyl
20c7e34a71 ; * etc/NEWS: Fix renamed command name
Command `package-install-user-selected-packages' was renamed to
`package-install-selected-packages' in f3b43fca.
2016-01-31 10:17:21 +01:00
Artur Malabarba
71b20b31c8 Backport: * lisp/files.el: Remove support for extra .dir-locals file
(dir-locals-file-2, dir-locals--all-files): Remove.
(dir-locals-collect-variables, dir-locals-file, dir-locals-find-file)
(dir-locals-read-from-file, hack-dir-local-variables): Revert changes.

* lisp/files-x.el (modify-dir-local-variable): Revert changes.

* lisp/help-fns.el (describe-variable): Revert changes.

* doc/emacs/custom.texi (Directory Variables): Revert changes.

* etc/NEWS: Revert changes.
2016-01-30 19:54:41 +00:00
Nicolas Petton
875577bcc8 * etc/AUTHORS: Update the AUTHORS file 2016-01-30 16:00:54 +01:00
lu4nx
40a85fba44 Support Go language in 'etags'
* lib-src/etags.c <Ruby_help>: Fix documentation of Ruby tags.
<Go_help>: New help.
<Go_suffixes>: New variable.
(Go_functions): New function.
<lang_names>: Add entry for Go.  (Bug#22370)

* doc/emacs/maintaining.texi (Tag Syntax): Document Go support.
* doc/man/etags.1: Mention Go support.

* etc/NEWS: Mention Go support.

* test/etags/go-src/test.go:
* test/etags/go-src/test1.go: New test files.
* test/etags/Makefile (GOSRC): New variable.
(SRCS): Add $(GOSRC).
* test/etags/ETAGS.good_1:
* test/etags/ETAGS.good_2:
* test/etags/ETAGS.good_3:
* test/etags/ETAGS.good_4:
* test/etags/ETAGS.good_5:
* test/etags/ETAGS.good_6:
* test/etags/CTAGS.good: Adapt to addition of Go tests.
2016-01-30 14:56:43 +02:00
Eli Zaretskii
25b79d7bc7 Improve Ruby support in 'etags'
* lib-src/etags.c (Ruby_functions): Tag constants.  Don't tag
singleton classes.  Remove class qualifiers from tags generated
for method and constant names.  (Bug#22241)

* doc/emacs/maintaining.texi (Tag Syntax): Mention that constants
are tagged by etags in Ruby.

* etc/NEWS: Mention that constants are tagged by etags in Ruby.

* test/etags/ruby-src/test1.ruby: Add more tests.
* test/etags/ETAGS.good_1:
* test/etags/ETAGS.good_2:
* test/etags/ETAGS.good_3:
* test/etags/ETAGS.good_4:
* test/etags/ETAGS.good_5:
* test/etags/ETAGS.good_6:
* test/etags/CTAGS.good: Adapt to the changes in etags and in Ruby
tests.
2016-01-30 14:16:36 +02:00
Eli Zaretskii
ef760b899a Document xwidget commands and functions
* 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.
2016-01-30 10:04:13 +02:00
Artur Malabarba
da976cff35 * lisp/files.el: Use a fixed file name for the second dir-locals file
(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.
2016-01-25 23:42:41 +00:00
Alan Mackenzie
fbce4757a8 Expunge "allow" + infinitive without direct object from source and doc.
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".
2016-01-24 20:30:39 +00:00
Kelvin White
12eeaa877c Add NEWS entry for asynchronous reconnect in ERC 2016-01-24 15:20:10 -05:00
Kelvin White
05a630484f browse-url.el: Add 'google-chrome' to supported browsers. 2016-01-24 14:47:28 -05:00
Dmitry Gutov
3f481ad007 Rename xref-query-replace to xref-query-replace-in-results
* lisp/progmodes/xref.el(xref-query-replace):
Rename to xref-query-replace-in-results.
(http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01240.html)

* lisp/progmodes/xref.el (xref--xref-buffer-mode-map):
* lisp/dired-aux.el (dired-do-find-regexp-and-replace):
* doc/emacs/dired.texi (Operating on Files):
* doc/emacs/maintaining.texi (Xref Commands)
(Identifier Search, Identifier Search): Update accordingly.
2016-01-24 05:17:52 +03:00
Eli Zaretskii
1d4887a3f3 Improve documentation of 'pcase'
* doc/lispref/control.texi (Pattern matching case statement):
Reorganize, expand, and improve wording.

* etc/NEWS: Mention that 'pcase' changes are documented.

Co-authored-by: John Wiegley <johnw@gnu.org>
Co-authored-by: Michael Heerdegen <michael_heerdegen@web.de>
2016-01-23 12:21:07 +02:00
Paul Eggert
f1e74e8672 * etc/NEWS: Say that Cairo is experimental. 2016-01-23 01:43:57 -08:00
Eli Zaretskii
035bd8159f Update documentation for Dired search and replace
* doc/emacs/dired.texi (Operating on Files): Update descriptions
of 'A' and 'Q' now bound to 'dired-do-find-regexp' and
'dired-do-find-regexp-and-replace'.

* etc/NEWS: Mention xref-related changes in Dired.
2016-01-23 08:53:35 +02:00
Eli Zaretskii
6ff8b45f18 ; Minor tweaks in etc/NEWS 2016-01-22 23:27:13 +02:00
Eli Zaretskii
849a314c7a Document cl-generic.el
* doc/lispref/functions.texi (Generic Functions): New section.
(Bug#22336)
(Functions): Update the chapter menu.
* doc/lispref/elisp.texi: Update the master menu.
2016-01-22 23:06:22 +02:00
Michael Albinus
7bf54d0115 Backport kqueue integration from master
* 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.
2016-01-22 19:56:09 +01:00
Paul Eggert
2388fa7498 Port to platforms with gtk3 but not webkitgtk3
I ran into this problem on my Fedora 23 installation;
Emacs configured but did not build when --with-xwidgets was specified.
* configure.ac (HAVE_WEBKIT, HAVE_GIR): Omit unnecessary initializations.
(DOES_XWIDGETS_USE_GIR): New var.
If --with-xwidgets is specified, report an error if not
doable, to be consistent with the other --with options.
Require webkitgtk3 to use Xwidgets, as the Xwidgets code does
not work at all without webkitgtk3.  Simplify use of
EMACS_CHECK_MODULES.  Output message about gobject
introspection only if xwidgets are used.
* etc/NEWS: Users need webkitgtk3, not merely webkit.
* src/xwidget.c (syms_of_xwidget): Don’t worry about HAVE_WEBKIT_OSR,
since this file is no longer compiled if webkitgtk3 is not available.
2016-01-20 11:06:35 -08:00
Glenn Morris
11a0300d9f ; * etc/NEWS: xwidgets isn't documented. 2016-01-19 17:32:23 -05:00
Joakim Verona
7c1f66a94b Support for the new Xwidget feature.
* configure.ac:
(HAVE_XWIDGETS, WIDGET_OBJ, EMACS_CONFIG_FEATURES):
* xterm.c (x_draw_glyph_string, x_draw_bar_cursor):
* xdisp.c:
(handle_display_spec, handle_single_display_spec, push_it)
(pop_it, set_iterator_to_next, dump_glyph)
(calc_pixel_width_or_height, fill_xwidget_glyph_string)
(BUILD_XWIDGET_GLYPH_STRING, BUILD_GLYPH_STRINGS)
(produce_xwidget_glyph, x_produce_glyphs)
(get_window_cursor_type):
* window.c (Fdelete_window_internal):
* termhooks.h (e):
* print.c (print_object):
* lisp.h (ptrdiff_t):
* keyboard.c (kbd_buffer_get_event, make_lispy_event)
(syms_of_keyboard):
* emacs.c (main):
* dispnew.c (update_window, scrolling_window):
* dispextern.h (g, i):
* Makefile.in (XWIDGETS_OBJ, WEBKIT_CFLAGS, WEBKIT_LIBS)
(GIR_LIBS, ALL_CFLAGS, base_obj, LIBES):
* keyboard.c (kbd_buffer_get_event):
* emacsgtkfixed.c (emacs_fixed_gtk_widget_size_allocate)
(emacs_fixed_class_init): Add case for an xwidget view.

* xwidget.c, xwidget.h, xwidget.el: New files for xwidgets

Co-authored-by:  Grégoire Jadi  <daimrod@gmail.com>

Various improvements to the Xwidget feature.
* xwidgets.c:
* emacsgtkfixed.c:
* xwidget.el:
2016-01-19 20:58:22 +01:00
Shakthi Kannan
77793f52c5 ; * etc/NEWS: No need to document 'system-name'. 2016-01-19 20:36:33 +02:00
Alan Mackenzie
20defc5538 Desktop: protect users against inadvertant upgrading of desktop file.
An upgraded (version 208) desktop file cannot be read in Emacs < 25.

* etc/NEWS: Add an entry about upgrading a desktop file.

* lisp/desktop.el (desktop-file-version): Amend doc string.
(desktop-native-file-version, desktop-io-file-version): new variables.
(desktop-clear): Set desktop-io-file-version to nil.
(desktop-buffer-info): make the presence of the last item on the list
conditional on (>= desktop-io-file-version 208).
(desktop-save): Add extra parameter VERSION to take user's C-u or C-u C-u.
Amend the doc string.  Add code to determine the output file version.
(desktop-create-buffer): Set desktop-io-file-version to the input file's
version.
2016-01-18 13:32:22 +00:00
Eli Zaretskii
a0d5b7ae3b ; * etc/NEWS: The final touch. 2016-01-16 17:36:21 +02:00
Eli Zaretskii
bd0c23ce09 Improve documentation of dynamic modules
* doc/lispref/loading.texi (How Programs Do Loading): Update the
description of searching for files in 'load' when Emacs was built
with support for dynamic modules.
2016-01-16 17:30:11 +02:00
Eli Zaretskii
e4c431cde3 * INSTALL: Document --with-modules. 2016-01-16 17:20:34 +02:00
Eli Zaretskii
9f493814bb Document 'function-put'
* doc/lispref/symbols.texi (Symbol Plists): Document
'function-put'.  Update documentation of 'function-get'.
2016-01-16 17:13:16 +02:00
Eli Zaretskii
964ba0f526 Document 'funcall-interactively'
* doc/lispref/commands.texi (Interactive Call): Document
'funcall-interactively'.
* doc/lispref/functions.texi (Calling Functions): Mention
'funcall-interactively' and provide a cross-reference.
2016-01-16 16:54:35 +02:00
Eli Zaretskii
2460cfac09 * doc/lispref/lists.texi (Association Lists): Document 'alist-get'. 2016-01-16 16:32:05 +02:00
Eli Zaretskii
44177c133f * doc/lispref/strings.texi (Text Comparison): Document 'string-greaterp'. 2016-01-16 16:03:03 +02:00
Eli Zaretskii
8515727358 Document renaming of selection-related functions
* doc/lispref/frames.texi (Window System Selections): Rename "x-*"
functions into the corresponding "gui-*" functions.  Make the
description slightly less X-centric.
2016-01-16 15:56:50 +02:00
Eli Zaretskii
5409aca9af * doc/lispref/macros.texi (Expansion): Document 'macroexpand-1'. 2016-01-16 15:40:58 +02:00
Eli Zaretskii
e48f6dd3f7 Document 'define-inline'
* doc/lispref/functions.texi (Defining Functions): Document
'define-inline' and related macros.

* lisp/emacs-lisp/inline.el (inline-letevals): Doc fix.
2016-01-16 15:30:47 +02:00
Eli Zaretskii
3ae7934fad ; * etc/NEWS: Mark entries that don't need further treatment. 2016-01-16 14:04:23 +02:00
Eli Zaretskii
4e96521948 Mention in PROBLEMS an issue with MS-Windows NT4
* etc/PROBLEMS (MS-Windows): Mention the problem with Shell32.dll
on Windows NT4.  For the details, see
http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00835.html.
2016-01-16 11:23:42 +02:00
Eli Zaretskii
3ffe81e245 Make 'random' seeds cryptographically secure if possible
* 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)
2016-01-15 11:47:55 +02:00
Eli Zaretskii
2bc07f7a2a ; * etc/NEWS: Remove unneeded text. 2016-01-15 10:14:30 +02:00
Dmitry Gutov
78c8718fd3 Un-obsolete tags-loop-continue
* lisp/progmodes/etags.el (tags-loop-continue): Un-obsolete.
http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00682.html
2016-01-14 03:39:27 +03:00
Eli Zaretskii
30c24e49cb Document obsoletion of 'intangible' and 'point-entered/left'
* doc/lispref/text.texi (Special Properties): Document the new
properties 'cursor-intangible' and 'cursor-sensor-functions'.
Document the obsolete status of 'intangible', 'pointer-left',
and 'point-entered' properties, and of 'inhibit-point-motion-hooks'.
* doc/lispref/display.texi (Overlay Properties): Document that
'intangible' overlay property is obsolete.

* lisp/emacs-lisp/cursor-sensor.el (cursor-sensor-mode): Doc fix.
2016-01-13 21:14:22 +02:00
Eli Zaretskii
53fb7e6e5d Updater documentation of 'looking-back'
* doc/lispref/searching.texi (Regexp Search): Update documentation
of 'looking-back'.  Fix markup.
2016-01-13 20:36:11 +02:00
Eli Zaretskii
3db8ce4fbd Document 'pre-redisplay-functions'
* doc/lispref/hooks.texi (Standard Hooks):
* doc/lispref/display.texi (Forcing Redisplay): Document
'pre-redisplay-functions'.
2016-01-13 20:29:36 +02:00
Eli Zaretskii
2e12e8d748 Document the new deafault value of 'load-read-function'
* doc/lispref/loading.texi (How Programs Do Loading): Document the
change in the default value of 'load-read-function'.
2016-01-13 20:19:00 +02:00
Eli Zaretskii
c8eb45da88 Document 'bufferpos-to-filepos' and 'filepos-to-bufferpos'
* doc/lispref/nonascii.texi (Text Representations): Document
'bufferpos-to-filepos' and 'filepos-to-bufferpos'.
2016-01-13 20:11:52 +02:00
Eli Zaretskii
d3776e9f7c Document the new prefix-command hooks
* doc/lispref/hooks.texi (Standard Hooks): Document
`prefix-command-echo-keystrokes-functions' and
`prefix-command-preserve-state-hook'.
2016-01-13 19:38:06 +02:00
Paul Eggert
281344e606 Update publicsuffix.txt from upstream
* etc/publicsuffix.txt: Update from
https://publicsuffix.org/list/effective_tld_names.dat
dated 2016-01-12 11:52:01 UTC.
2016-01-12 19:36:43 -08:00
Eli Zaretskii
c3528f1e20 Update documentation of 'process-running-child-p'
* doc/lispref/processes.texi (Input to Processes): Document the
changes in return value of 'process-running-child-p'.
2016-01-12 21:29:28 +02:00
Eli Zaretskii
a71783bd6c Update documentation of 'deactivate-mark'.
* doc/lispref/markers.texi (The Mark): Document that
'deactivate-mark' is now buffer-local when set.
2016-01-12 21:21:12 +02:00
Eli Zaretskii
bba8c532fa Update documentation of 'completion-table-dynamic'
* doc/lispref/minibuf.texi (Programmed Completion): Document the
new optional argument to 'completion-table-dynamic'.
2016-01-12 21:10:09 +02:00
Eli Zaretskii
e879070d8c Document changes in 'read-buffer' and 'read-buffer-function'
* doc/lispref/minibuf.texi (High-Level Completion): Document the
4th argument to 'read-buffer' and 'read-buffer-function'.
2016-01-12 21:00:19 +02:00
Eli Zaretskii
792d469d69 ; * etc/NEWS: Mark a couple of entries that are already documented. 2016-01-12 20:46:56 +02:00
Eli Zaretskii
58a622d473 Make piping to subprocesses more robust on MS-Windows
* src/w32.c (sys_write): Don't write to a pipe more stuff than its
buffer can hold.  Don't return -1 if something has been written to
the pipe.  Zero out 'errno' before calling '_write', to avoid
returning a stale value.  (Bug#22344)
* src/w32proc.c (syms_of_ntproc) <w32-pipe-buffer-size>: New variable.
* src/w32.c (pipe2): Use it to request a user-defined size for the
pipe being created.

* etc/NEWS: Mention 'w32-pipe-buffer-size'.

* doc/emacs/msdos.texi (Windows Processes): Document
'w32-pipe-buffer-size'.
2016-01-12 18:41:58 +02:00
Shakthi Kannan
2b535ba929 ; * etc/NEWS: Update the js.el entry. 2016-01-11 20:17:43 +02:00
Peter Feigl
76b518c7e3 * etc/HELLO: Add Armenian and Mongolian greetings.
(Bug#22346)

Copyright-paperwork-exempt: yes.
2016-01-11 20:12:12 +02:00
Eli Zaretskii
6ad0d39680 Update documentation of 'indirect-function'
* doc/lispref/eval.texi (Function Indirection): Update the
documentation of 'indirect-function'.
2016-01-10 20:22:01 +02:00
Eli Zaretskii
c6a5314302 ; * etc/NEWS: Move entry of 'inhibit-point-motion-hooks'. 2016-01-10 20:15:10 +02:00
Eli Zaretskii
303141ae6e Update documentation for obsoleting 'syntax-begin-function'
* doc/lispref/syntax.texi (Position Parse): Undocument
'syntax-begin-function' that is now obsolete.
2016-01-10 20:05:46 +02:00
Eli Zaretskii
4e6f61ce01 ; * etc/NEWS: Mark documented and not-to-be-documented entries. 2016-01-10 19:59:17 +02:00
Eli Zaretskii
e667bbb628 Document new features if Eshell
* doc/misc/eshell.texi (Input/Output): Document the new
'#<bufname>' syntax.
(Input/Output): Document 'eshell-destroy-buffer-when-process-dies'.
Disable "Key Index" generation, as there are no @kindex entries in
this manual.
2016-01-10 19:24:54 +02:00
Eli Zaretskii
9c4e4e0cc9 ; * etc/NEWS: Update EUDC entries. 2016-01-10 18:30:10 +02:00
Eli Zaretskii
c7dff677ca ; * etc/NEWS: Fix the Xref entries that got separated. 2016-01-09 22:05:41 +02:00
Eli Zaretskii
cc140bcec6 Document user-level functions in project.el
* lisp/progmodes/project.el (project-find-file)
(project-or-external-find-file): Add doc strings.
2016-01-09 21:45:33 +02:00
Eli Zaretskii
f8208b6919 Document the user-level features of the Xref package
* doc/emacs/maintaining.texi (Maintaining): Add a list of
described features.
(Xref): New section, made out of thoroughly rewritten "Tags"
section.
(Find Identifiers, Looking Up Identifiers, Xref Commands)
(Identifier Search, List Identifiers): New subsections,
incorporating the old tags commands and the new xref commands.
(Tags Tables, Tag Syntax, Create Tags Table, Etags Regexps):
Section and subsections demoted to a lower level.
* doc/emacs/search.texi (Search):
* doc/emacs/windows.texi (Pop Up Window):
* doc/emacs/frames.texi (Creating Frames):
* doc/emacs/programs.texi (Imenu, Symbol Completion):
* doc/emacs/building.texi (Grep Searching):
* doc/emacs/dired.texi (Operating on Files):
* doc/emacs/glossary.texi (Glossary): All references to tags changed.
2016-01-09 21:12:46 +02:00
Eli Zaretskii
e985a0e9ee ; * etc/NEWS: Mark the 'check-expensive' entry not to be documented. 2016-01-09 12:09:13 +02:00
Dmitry Gutov
648de81b0b ; Add NEWS entry for project.el 2016-01-08 02:54:50 +03:00
Glenn Morris
07442debd1 ; * etc/NEWS: Backport edit made on wrong branch. 2016-01-06 23:22:04 -08:00
Michael Albinus
f5c762c878 Additional changes for "make check-expensive"
* CONTRIBUTE : Encourage use of ":tags '(:expensive-test)".
Explain make target `check-expensive'.

* etc/NEWS: Mention new make target `check-expensive'.

* test/automated/Makefile.in (check-doit): New target.
(check, check-expensive): Use it.
2016-01-05 09:47:41 +01:00
Glenn Morris
46e47a5c57 ; * etc/refcards/ru-refcard.tex (cyear): Update via M-x set-copyright. 2016-01-03 11:32:57 -08:00
Xue Fuqiao
e48bacd9d1 ; * etc/NEWS: Typo fix. 2016-01-03 09:15:08 +08:00
Dmitry Gutov
43662a240b ; Clarify that xref is still experimental 2016-01-03 02:04:09 +02:00
Eli Zaretskii
0a7ad071ef ; Re-arrange xref-related entries in NEWS. 2016-01-02 18:05:44 +02:00
Eli Zaretskii
d064034c1c Document new features of tildify-mode
* lisp/textmodes/tildify.el (tildify-foreach-ignore-environments)
(tildify-mode): Spelling fixes in doc strings.

* etc/NEWS: Reformat the tildify-mode entry.
2016-01-02 14:48:38 +02:00
Eli Zaretskii
964bea7da5 Document new features of Whitespace mode
* doc/emacs/display.texi (Useless Whitespace): Document
'whitespace-toggle-options' and the new 'big-indent' style.
Document 'whitespace-big-indent-regexp'.  Document the Global
Whitespace mode.
2016-01-02 14:06:02 +02:00
Eli Zaretskii
cd68f47e4f Improve documentation of new Hide-IfDef features
* etc/NEWS: Expand and reword Hide-IfDef section.
2016-01-02 12:36:28 +02:00