Martin Rudalics [Mon, 1 Feb 2016 18:01:34 +0000 (19:01 +0100)]
Some corrections in Elisp manual
* 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.
Paul Eggert [Mon, 1 Feb 2016 16:29:28 +0000 (08:29 -0800)]
Chatter when autogen.sh changes Git configuration
* autogen.sh (git_config): New function. Use it instead of ‘git config’.
Kyle Meyer [Mon, 1 Feb 2016 13:48:35 +0000 (08:48 -0500)]
* org/org-compat.el (org-font-lock-ensure): Fix bogus test (bug#22399)
Paul Eggert [Mon, 1 Feb 2016 01:31:23 +0000 (17:31 -0800)]
Omit unnecessary history from Lisp intro
* doc/lispintro/emacs-lisp-intro.texi (Review, Digression into C)
(Conclusion): Reword so as not to talk about earlier versions
of Emacs in what should be an intro.
Paul Eggert [Mon, 1 Feb 2016 00:53:24 +0000 (16:53 -0800)]
* etc/HISTORY: Add some more history, plus git tags.
Paul Eggert [Sun, 31 Jan 2016 23:50:51 +0000 (15:50 -0800)]
Improve elisp “Security Considerations” doc
* doc/lispref/os.texi (Security Considerations):
Mention call-process and rename-file as opposed to shell commands.
Add some more cross-references.
Paul Eggert [Sun, 31 Jan 2016 21:43:13 +0000 (13:43 -0800)]
autogen.sh now arranges for git to check hashes
Suggested by Karl Fogel in:
http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01802.html
* autogen.sh: Do "git config transfer.fsckObjects true".
Paul Eggert [Sun, 31 Jan 2016 20:18:03 +0000 (12:18 -0800)]
; Fix ChangeLog.2 commit ID.
Paul Eggert [Sun, 31 Jan 2016 18:38:41 +0000 (10:38 -0800)]
Fix (c & 040) typo in emergency escapes
* src/keyboard.c (handle_interrupt): Fix recently-introduced
typo (040 should have been ~040) that silently suppressed
auto-saves after emergency escapes. Redo comparison to avoid
similar problems.
Eli Zaretskii [Sun, 31 Jan 2016 16:10:12 +0000 (18:10 +0200)]
Fix display of overlay strings with 'display' and 'box' property
* src/xdisp.c (get_next_display_element): Take the box face from
display stack level that comes from a buffer, not an overlay
string. (Bug#22499)
Andreas Schwab [Sun, 31 Jan 2016 13:29:14 +0000 (14:29 +0100)]
Fix imap-starttls-open
* lisp/net/imap.el (imap-starttls-open): Log imap process
output. Call imap-parse-greeting. (Bug#22500)
Andreas Schwab [Sun, 31 Jan 2016 12:34:03 +0000 (13:34 +0100)]
Fix return value of imap-starttls-open
* lisp/net/imap.el (imap-starttls-open): Fix return value.
Simen Heggestøyl [Sun, 31 Jan 2016 09:14:10 +0000 (10:14 +0100)]
; * etc/NEWS: Fix renamed command name
Command `package-install-user-selected-packages' was renamed to
`package-install-selected-packages' in
f3b43fca.
John Wiegley [Sun, 31 Jan 2016 05:34:32 +0000 (21:34 -0800)]
Correct reference to DARWIN_OS preprocessor symbol
* src/alloc.c: Correct a preprocessor reference to DARWIN_OS, which may
not be defined.
Paul Eggert [Sun, 31 Jan 2016 04:16:20 +0000 (20:16 -0800)]
Spelling fix
Paul Eggert [Sun, 31 Jan 2016 04:05:26 +0000 (20:05 -0800)]
Spelling fixes
Paul Eggert [Sun, 31 Jan 2016 02:38:51 +0000 (18:38 -0800)]
Pacify GCC on C library without glibc API
Without this change, with --enable-gcc-warnings GCC would complain
“error: redundant redeclaration of ‘aligned_alloc’”.
* configure.ac: Simplify aligned_alloc testing.
* src/alloc.c (aligned_alloc): Don’t use if DARWIN_OS,
since the simplified configure.ac no longer checks for that.
Don’t declare if HAVE_ALIGNED_ALLOC.
Correct misspelling of HAVE_ALIGNED_ALLOC in ifdef.
Artur Malabarba [Sat, 30 Jan 2016 16:14:52 +0000 (16:14 +0000)]
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.
Glenn Morris [Sat, 30 Jan 2016 19:52:42 +0000 (11:52 -0800)]
* lisp/net/browse-url.el (browse-url-default-browser):
Lower priority of non-free Chrome.
Glenn Morris [Sat, 30 Jan 2016 19:48:18 +0000 (11:48 -0800)]
Improve the custom type of some user options.
* lisp/desktop.el (desktop-minor-mode-table):
* lisp/man.el (Man-frame-parameters):
* lisp/midnight.el (midnight-delay):
* lisp/speedbar.el (speedbar-select-frame-method):
* lisp/tooltip.el (tooltip-frame-parameters):
* lisp/tree-widget.el (tree-widget-space-width):
* lisp/type-break.el (type-break-keystroke-threshold):
* lisp/woman.el (woman-imenu-generic-expression):
* lisp/cedet/ede.el (ede-debug-program-function):
* lisp/cedet/ede/project-am.el (project-am-debug-target-function):
* lisp/emulation/viper-keym.el (viper-toggle-key):
* lisp/erc/erc-networks.el (erc-server-alist):
* lisp/gnus/message.el (message-deletable-headers, message-signature):
* lisp/mail/mailalias.el (mail-directory-stream):
* lisp/play/tetris.el (tetris-x-colors):
* lisp/progmodes/gud.el (gud-tooltip-modes): Improve custom type.
Simen Heggestøyl [Sat, 30 Jan 2016 19:47:18 +0000 (20:47 +0100)]
Highlight CSS variables with variable name face
* lisp/textmodes/css-mode.el (css-nmstart-re): Don't match variables.
(css--font-lock-keywords): Highlight variables in
`font-lock-variable-name-face'.
Glenn Morris [Sat, 30 Jan 2016 19:41:26 +0000 (11:41 -0800)]
* lisp/gnus/gnus-kill.el (gnus-winconf-kill-file): Not user-serviceable.
Glenn Morris [Sat, 30 Jan 2016 19:36:41 +0000 (11:36 -0800)]
Mark some user options that can get evalled as risky.
* lisp/allout.el (allout-title):
* lisp/emacs-lisp/edebug.el (edebug-global-break-condition):
* lisp/gnus/message.el (message-mailer-swallows-blank-line):
* lisp/progmodes/gud.el (gud-tooltip-display):
* lisp/vc/ediff-mult.el (ediff-default-filtering-regexp):
Mark as risky.
Eli Zaretskii [Sat, 30 Jan 2016 18:05:20 +0000 (20:05 +0200)]
Disable DebPrint in sys_read on MS-Windows
* src/w32.c (sys_read): Disable a debugging print that is normal
when non-blocking reads are retried.
Martin Rudalics [Sat, 30 Jan 2016 17:28:26 +0000 (18:28 +0100)]
;Fix ChangeLog entry
Eli Zaretskii [Sat, 30 Jan 2016 15:27:45 +0000 (17:27 +0200)]
Fix typos in Introduction to Emacs Lisp manual
* doc/lispintro/emacs-lisp-intro.texi (Emacs Initialization)
(kill-new function, Digression into C)
(Complete forward-sentence, Divide and Conquer, Find a File)
(lengths-list-many-files, Columns of a graph, defcustom)
(recursive-count-words): Fix typos. Reported by Daniel Bastos
<dbastos@toledo.com>.
Nicolas Petton [Sat, 30 Jan 2016 13:43:12 +0000 (14:43 +0100)]
Bump version to 25.0.90
* README:
* configure.ac:
* msdos/sed2v2.inp: Bump version to 25.0.90.
Nicolas Petton [Sat, 30 Jan 2016 14:14:50 +0000 (15:14 +0100)]
; Auto-commit of loaddefs files.
* lisp/ldefs-boot.el: Update.
Nicolas Petton [Sat, 30 Jan 2016 13:40:17 +0000 (14:40 +0100)]
* etc/AUTHORS: Update the AUTHORS file
Nicolas Petton [Sat, 30 Jan 2016 13:39:23 +0000 (14:39 +0100)]
; ChangeLog fixes
* ChangeLog.2: Auto-update of the ChangeLog file, as well as entry
fixes.
Nicolas Petton [Sat, 30 Jan 2016 13:38:46 +0000 (14:38 +0100)]
authors.el updates
* admin/authors.el (authors-renamed-files-alist): Additions.
Nicolas Petton [Sat, 30 Jan 2016 09:35:55 +0000 (10:35 +0100)]
Make it possible to run make change-history on emacs-25
* Makefile.in: Check if the current branch is emacs-25 instead of
master.
lu4nx [Sat, 30 Jan 2016 12:56:43 +0000 (14:56 +0200)]
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.
Eli Zaretskii [Sat, 30 Jan 2016 12:16:36 +0000 (14:16 +0200)]
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.
Eli Zaretskii [Sat, 30 Jan 2016 10:18:43 +0000 (12:18 +0200)]
Adjust etags test results to changes in copyright years
* test/etags/CTAGS.good:
* 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: Adjust to shift in characters and
in line numbers.
Andreas Schwab [Sat, 30 Jan 2016 09:39:20 +0000 (10:39 +0100)]
Revert "Re-enable checks in member, memql, delete to complain about non-lists"
This reverts commit
f524e8b7f12d9b5a8b92084e5385429fe7b085b9.
Dmitry Gutov [Sat, 30 Jan 2016 08:55:19 +0000 (11:55 +0300)]
Don't fiddle with DEFAULT
* lisp/progmodes/project.el (project--completing-read-strict):
Don't change DEFAULT, whether is has any matches in
COLLECTION, or not.
Eli Zaretskii [Sat, 30 Jan 2016 08:04:13 +0000 (10:04 +0200)]
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.
Lars Ingebrigtsen [Sat, 30 Jan 2016 07:54:17 +0000 (08:54 +0100)]
Build fix for shr.el
* shr.el (seq): Require.
Dmitry Gutov [Sat, 30 Jan 2016 04:21:31 +0000 (07:21 +0300)]
Improve project-find-file yet again!
* lisp/progmodes/project.el (project--completing-read-strict):
New function.
(project-find-file-in): Use it.
(project-file-completion-table): Move the default
implementation inside the cl-defgeneric form.
(http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01720.html)
Dmitry Gutov [Sat, 30 Jan 2016 03:55:32 +0000 (06:55 +0300)]
Don't pass DIR to 'hg status'
* lisp/vc/vc-hg.el (vc-hg-dir-status-files):
Don't pass DIR to 'hg status' (bug#22481).
Stephen Leake [Fri, 29 Jan 2016 23:53:35 +0000 (17:53 -0600)]
Fix typo in previous commits
* lisp/progmodes/project.el (project-find-file-in):
* lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): Fix typo in previous
commit.
Stephen Leake [Fri, 29 Jan 2016 23:43:26 +0000 (17:43 -0600)]
Improve project-find-file
* lisp/progmodes/project.el (project-file-completion-table): New.
(project-find-file, project-or-external-find-file): Default to filename
at point.
(project-file-completion-table): New, split out from
project--find-file-in.
(project-find-file-in): Renamed from project--find-file-in, use
project-file-completion-table.
* lisp/progmodes/xref.el (ede-minor-mode): New declaration.
(xref--find-ignores-arguments): Add doc string.
Stephen Leake [Wed, 27 Jan 2016 21:04:33 +0000 (15:04 -0600)]
Implement vc-mtn-find-ignore-file, fix some doc strings
* lisp/cedet/cedet-global.el (cedet-gnu-global-root): Improve doc string.
* lisp/cedet/ede/locate.el (initialize-instance): Improve doc string.
* lisp/vc/vc-git.el (vc-git-find-ignore-file): Fix doc string.
* lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): New function.
Vincent Belaïche [Fri, 29 Jan 2016 11:22:30 +0000 (12:22 +0100)]
Correct a whole bunch of bugs coming with renamed cell relocation.
This is the same change as commit on master branch. See
http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=
badcd38aa86ed7973f2be2743c405710973a0bdd
* lisp/ses.el (ses-localvars): rename variable
`ses--renamed-cell-symb-list' into `ses--in-killing-named-cell-list'
and adjust the comment about it.
(ses-plist-delq): new defun.
(ses--ses-buffer-list): new defvar.
(ses--unbind-cell-name): new defun.
(ses-relocate-symbol): Do not relocate symbol when it is a named cell.
(ses-relocate-formula): Undo change of
2011-12-27T19:30:39Z!vincentb1@users.sourceforge.net that was
preventing relocation for named cell --- now doing this is delegated
to function `ses-relocate-symbol'.
(ses-relocate-range): In docstring, undo change of
2016-01-03T07:31:52Z!johnw@newartisans.com, `ses-range' must remain
lower case as it is not a variable.
(ses-relocate-all): Cell name relocation : 1) check that cell is a
renamed cell by testing `ses-cell' property to :ses-named, rather than
comparing name to corresponding standard name. Set rowcol of renamed
cell into the hashmap --- `ses-cell' property must not be used for
that as the same name can be used for different locations in different
SES sheets ; 2) use `local-variable-if-set-p' rather than `boundp' and
`local-variable-p' to check if cell name is already in use in this
sheet or needs initialisation.
(ses-relocate-all): Cell value relocation : 1) like for name
relocation use the `ses-cell' property rather than comparing actual
name to corresponding standard name. 2) Correct bug introduced in
2011-12-27T19:30:39Z!vincentb1@users.sourceforge.net, as the test was
made the other way round than the intention --- ie value relocation
was disabled for standard cell, not for renamed cell as was the
intention.
(ses-relocate-all): Add loop for unbinding deleted renamed cells
names.
(ses-killbuffer-hook): new defun.
(ses-mode): Add the ses--ses-buffer-list maintenance mechanism ---
kill buffer hook, plus pushing current buffer if new in list.
(ses-delete-row, ses-delete-column): Collect deleted renamed cells
into `ses--in-killing-named-cell-list'.
(ses-rename-cell): Remove update of variable
`ses--renamed-cell-symb-list', this variable is renamed to
`ses--in-killing-named-cell-list', and its setting is done in
functions `ses-delete-row' and , `ses-delete-column' now.
(ses-rename-cell): Make cell new name a buffer local variable.
(ses-rename-cell): Change correction of
2015-12-30T23:10:37Z!vincentb1@users.sourceforge.net concerning
computation of the range over which `cursor-intangible' property was
to be updated. This correction was ok for non spilling cells, but not
for cells spilling over following blank cells. Simply use
`next-single-property-change' rather than computing the end column
from column widths.
Andreas Schwab [Fri, 29 Jan 2016 10:18:42 +0000 (11:18 +0100)]
Re-enable checks in member, memql, delete to complain about non-lists
* fns.c (Fmember, Fmemql, Fdelete): Revert 2007-10-16 change.
Martin Rudalics [Fri, 29 Jan 2016 10:14:13 +0000 (11:14 +0100)]
c:/emacs-git/next/ChangeLog
Eli Zaretskii [Fri, 29 Jan 2016 09:40:31 +0000 (11:40 +0200)]
Minor improvements to 'pcase' documentation
* doc/lispref/control.texi (Pattern matching case statement):
Improve the documentation of 'pcase' per comments. See two
discussion threads on emacs-devel@gnu.org for the details:
http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01335.html
http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01336.html.
Glenn Morris [Fri, 29 Jan 2016 02:11:55 +0000 (21:11 -0500)]
; * lisp/textmodes/table.el: Comment tweak.
Glenn Morris [Fri, 29 Jan 2016 02:04:20 +0000 (21:04 -0500)]
Don't use eval to quieten prolog.el compilation.
* lisp/progmodes/prolog.el (pltrace-on, pltrace-off): Declare.
(prolog-enable-sicstus-sd, prolog-disable-sicstus-sd): Don't use eval.
Glenn Morris [Fri, 29 Jan 2016 02:01:17 +0000 (21:01 -0500)]
Mark some risky prolog variables.
* lisp/progmodes/prolog.el (prolog-system-version)
(prolog-keywords, prolog-types, prolog-mode-specificators)
(prolog-determinism-specificators, prolog-directives)
(prolog-program-name, prolog-program-switches)
(prolog-consult-string, prolog-compile-string)
(prolog-eof-string, prolog-prompt-regexp, prolog-help-function):
Mark anything processed by prolog-find-value-by-system as risky.
Glenn Morris [Thu, 28 Jan 2016 22:45:50 +0000 (17:45 -0500)]
* lisp/custom.el (defcustom): Doc fix.
* doc/lispref/customize.texi (Variable Definitions):
Defcustom should always have a type.
Glenn Morris [Thu, 28 Jan 2016 22:13:38 +0000 (17:13 -0500)]
* lisp/cedet/semantic/db-file.el (semanticdb-persistent-path):
Fix :type.
Glenn Morris [Thu, 28 Jan 2016 16:58:43 +0000 (08:58 -0800)]
* lisp/emacs-lisp/package.el (package-load-list): Improve :type.
Michael Albinus [Thu, 28 Jan 2016 12:37:58 +0000 (13:37 +0100)]
Fix Bug#22452
* lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection):
* lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
* lisp/net/tramp-sh.el (tramp-maybe-open-connection):
* lisp/net/tramp-smb.el (tramp-smb-maybe-open-connection):
Mark it as connected.
* lisp/net/tramp.el (tramp-handle-file-remote-p): Check also, if
connection property "connected" is set. (Bug#22452)
Glenn Morris [Wed, 27 Jan 2016 22:06:08 +0000 (17:06 -0500)]
* lisp/xwidget.el (xwidget-query-on-exit-flag): Declare.
Glenn Morris [Wed, 27 Jan 2016 22:01:30 +0000 (17:01 -0500)]
* lisp/xwidget.el (xwidget-webkit-browse-url): Give explicit error
if not compiled with xwidgets.
Paul Eggert [Wed, 27 Jan 2016 07:24:27 +0000 (23:24 -0800)]
C-u C-x = example doc fix
* doc/emacs/mule.texi (International Chars):
Adjust example to match current behavior of C-u C-x =.
Paul Eggert [Wed, 27 Jan 2016 07:00:10 +0000 (23:00 -0800)]
malloc.h hygiene
This attempts to future-proof Emacs a bit against possible glibc
changes, by having Emacs use <malloc.h> declarations rather than
coding them up by hand. Problem noted by Florian Weimer in:
https://sourceware.org/ml/libc-alpha/2016-01/msg00777.html
Implement this mainly by moving malloc.h-related functions from
emacs.c (which does not include <malloc.h>) to alloc.c (which does).
* src/alloc.c (my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]:
New function.
The remaining changes to this file apply only if DOUG_LEA_MALLOC.
(alloc_unexec_pre, alloc_unexec_post): New functions.
(malloc_initialize_hook): Use my_heap_start and alloc_unexec_post.
(__MALLOC_HOOK_VOLATILE): New macro, if not already defined.
(__malloc_initialize_hook): Use it.
(malloc_state_ptr, malloc_initialize_hook, __malloc_initialize_hook):
Move here from ...
* src/emacs.c: ... here.
(malloc_get_state, malloc_set_state): Remove extern decls.
(my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]: Remove static var.
All uses changed to similarly-named new function.
(Fdump_emacs): Use new functions alloc_unexec_pre, alloc_unexec_post.
* src/lisp.h (my_heap_start, alloc_unexec_pre, alloc_unexec_post):
New decls.
Eli Zaretskii [Tue, 26 Jan 2016 18:31:10 +0000 (20:31 +0200)]
; Fix a typo in the user manual
* doc/emacs/anti.texi (Antinews): Fix typo. Reported by Lele
Gaifax <lele@metapensiero.it>.
Eli Zaretskii [Tue, 26 Jan 2016 18:26:54 +0000 (20:26 +0200)]
* doc/emacs/mark.texi (Using Region): Clarify wording. (Bug#22467)
Paul Eggert [Tue, 26 Jan 2016 15:41:41 +0000 (07:41 -0800)]
Remove never-set var handle_user_signal_hook
* src/keyboard.c, src/keyboard.h (handle_user_signal_hook):
Remove never-set var. All uses removed.
K. Handa [Thu, 14 Jan 2016 12:48:44 +0000 (21:48 +0900)]
Backport:fix previous change of src/ftfont.c (ftfont_shape_by_flt)
* src/ftfont.c (ftfont_shape_by_flt): Fix previous change. Access the
second glyph only when there are enough glyphs.
(cherry picked from commit
9835757013569673854b692ccbb58bfb3c3ed1f7)
K. Handa [Sat, 2 Jan 2016 07:36:21 +0000 (16:36 +0900)]
support rendering of wider range of combinging characters by ftfont backend
* lisp/language/hebrew.el (hebrew-shape-gstring): If the font backend
supports rendering of combining characters, call
font-shape-gstring.
* src/font.c (Ffont_get): Handle `combining-capability' property.
(syms_of_font): New symbol ":combining-capability'.
* src/font.h (struct font_driver): New member combining_capability.
* src/ftfont.c: Include "category.h".
(ftfont_driver): Initialize combining_capability to
ftfont_combining_capability.
(ftfont_shape_by_flt): If OTF is null, try to find a suitable
FLT in advance.
(ftfont_combining_capability): New function.
(cherry picked from commit
536f48e9a2251b9e654ea974bd90ff2f40218753)
Anders Lindgren [Tue, 26 Jan 2016 12:51:59 +0000 (13:51 +0100)]
Fixed NextStep fullscreen issue (bug#22468)
When in fullscreen mode, `[screen visibleFrame]' sometimes
includes, sometimes excludes the menu bar. This could cause
a frame to be placed too low when in fullscreen mode.
* src/nsterm.m (ns_menu_bar_should_be_hidden): Trace.
(constrain_frame_rect): New parameter, isFullscreen, when true don't
query the height of the menu bar.
(ns_constrain_all_frames): Pass `false' (isFullscreen) to
`constrain_frame_rect'.
([EmacsView initFrameFromEmacs:]): Trace.
([EmacsView isFullscreen]): Trace.
([EmacsWindow constrainFrameRect:toScreen:]): Pass fullscreen
state to `constrain_frame_rect'.
Artur Malabarba [Mon, 25 Jan 2016 22:42:50 +0000 (22:42 +0000)]
* 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.
Artur Malabarba [Mon, 25 Jan 2016 16:56:08 +0000 (16:56 +0000)]
* lisp/files-x.el (modify-dir-local-variable): Small rewrite
Change a variable name to be more meaningful, and reorder some of
the code with no change in behaviour.
Artur Malabarba [Mon, 25 Jan 2016 16:54:08 +0000 (16:54 +0000)]
* lisp/files.el (dir-locals-find-file): Refactor return values
Returning a cache remains unchanged, but the case of returning a
file (or pattern) is now changed to return the contaning
directory.
(dir-locals-read-from-file): Rename to `dir-locals-read-from-dir'
and make obsolete.
(dir-locals-read-from-dir): Simplify accordingly.
(hack-dir-local-variables): Simplify accordingly and rename a
variable.
Glenn Morris [Mon, 25 Jan 2016 23:31:04 +0000 (18:31 -0500)]
* lisp/textmodes/flyspell.el (flyspell--prev-meta-tab-binding):
Declare.
Glenn Morris [Mon, 25 Jan 2016 23:29:53 +0000 (18:29 -0500)]
* configure.ac (USE_CAIRO): Rename to more standard HAVE_CAIRO.
Glenn Morris [Mon, 25 Jan 2016 23:28:30 +0000 (18:28 -0500)]
* configure.ac (--with-cairo): Say it's experimental.
Glenn Morris [Mon, 25 Jan 2016 23:26:42 +0000 (18:26 -0500)]
; Spelling fix (American spelling)
Glenn Morris [Mon, 25 Jan 2016 23:24:09 +0000 (18:24 -0500)]
; Spelling fixes (American spelling)
Glenn Morris [Mon, 25 Jan 2016 23:19:34 +0000 (18:19 -0500)]
* lisp/xwidget.el (xwidget-webkit-scroll-behavior):
Rename using American spelling. Update all uses.
Glenn Morris [Mon, 25 Jan 2016 23:17:33 +0000 (18:17 -0500)]
Yet more xwidget doc fixes.
* lisp/xwidget.el (xwidget-webkit-scroll-behaviour)
(xwidget-insert, xwidget-webkit-browse-url)
(xwidget-webkit-scroll-up, xwidget-webkit-scroll-down)
(xwidget-webkit-scroll-forward, xwidget-webkit-scroll-backward)
(xwidget-webkit-insert-string, xwidget-webkit-show-named-element)
(xwidget-webkit-show-id-element)
(xwidget-webkit-show-id-or-named-element)
(xwidget-webkit-adjust-size, xwidget-webkit-current-url)
(xwidget-webkit-execute-script-rv)
(xwidget-webkit-copy-selection-as-kill, xwidget-get)
(xwidget-put): Doc fixes.
(xwidget-webkit-insert-string, xwidget-webkit-show-named-element)
(xwidget-webkit-show-id-element)
(xwidget-webkit-show-id-or-named-element): Prompt fixes.
Mark Oteiza [Mon, 25 Jan 2016 22:45:27 +0000 (17:45 -0500)]
; * lisp/net/nsm.el: Fix typo.
Ted Zlatanov [Mon, 25 Jan 2016 22:07:40 +0000 (22:07 +0000)]
* lisp/gnus/gnus-art.el (gnus-blocked-images):
Add explicit nil choice and tags.
Glenn Morris [Mon, 25 Jan 2016 16:49:09 +0000 (08:49 -0800)]
; * lisp/net/browse-url.el: Fix obvious typos in recent.
Paul Eggert [Mon, 25 Jan 2016 16:08:24 +0000 (08:08 -0800)]
Spelling fixes
Stefan Monnier [Mon, 25 Jan 2016 14:28:37 +0000 (09:28 -0500)]
(font-lock-ensure-function): Fix bug#22399
* lisp/font-lock.el (font-lock-ensure-function): Fix handling when
font-lock-mode is not enabled (bug#22399).
Alan Mackenzie [Mon, 25 Jan 2016 12:35:15 +0000 (12:35 +0000)]
Expunge "allow" + infinitive from source and doc, part 2.
Do the same for "permit", "enable", "prevent", and (where appropriate)
"require".
doc/misc/reftex.texi:
doc/misc/url.texi:
lib/get-permissions.c:
lib/strftime.c:
lisp/org/org-element.el:
lisp/org/org-mobile.el:
lisp/textmodes/reftex-vars.el:
src/bidi.c:
src/emacs.c:
src/xdisp.c:
test/etags/c-src/emacs/src/lisp.h:
Expunge the likes of "This allows to do something" from the above files.
Artur Malabarba [Mon, 25 Jan 2016 09:48:22 +0000 (09:48 +0000)]
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode): Redundant line
`special-mode' is already read-only.
Artur Malabarba [Mon, 25 Jan 2016 08:54:34 +0000 (08:54 +0000)]
* lisp/emacs-lisp/ert.el (ert--results-move): Change error to user-error
Paul Eggert [Mon, 25 Jan 2016 01:27:52 +0000 (17:27 -0800)]
Port "$@" to OpenIndiana ksh93
In http://lists.gnu.org/archive/html/bug-autoconf/2015-12/msg00000.html
Pavel Raiskup reports that ${1+"$@"} runs afoul of a bug in /bin/sh
(derived from ksh 93t+ 2010-03-05). ${1+"$@"} works around an ancient
bug in long-dead shells, so remove the workaround.
* admin/check-doc-strings, configure.ac, lib-src/rcs2log:
Use plain "$@" rather than ${1+"$@"}.
Paul Eggert [Mon, 25 Jan 2016 01:24:51 +0000 (17:24 -0800)]
* src/xwidget.c (Fxwidget_set_adjustment): Fix doc string quoting typo.
Paul Eggert [Mon, 25 Jan 2016 00:09:15 +0000 (16:09 -0800)]
Improve wording for SMB support
* doc/misc/tramp.texi (External methods): Improve and modernize
wording for discussion of smbclient. There is no longer any
need to mention the laundry list of old MS Windows implementations
of SMB and CIFS, nor to mention CIFS. Also, give a URL for Samba.
Paul Eggert [Sun, 24 Jan 2016 22:50:47 +0000 (14:50 -0800)]
Merge from gnulib
This incorporates:
2016-01-24 openat_proc_name: fix last '/' overwritten on OS/2 kLIBC
2016-01-24 closedir, dirfd, opendir: port to OpenSolaris 5.10
2016-01-15 detect utimes() correctly on OS/2 kLIBC
2016-01-15 openat_proc_name: port to OS/2 kLIBC
2016-01-14 stdint: check _INTPTR_T_DECLARED for intptr_t etc.
2016-01-14 opendir, closedir, dirfd, fdopendir: port to OS/2 kLIBC
2016-01-14 dup, dup2, fcntl: support a directory fd on OS/2 kLIBC
2016-01-14 binary-io: don't put fd in binary mode if a console on EMX
2016-01-14 sig2str: list all signals on FreeBSD >= 7
2016-01-13 acl-permissions: port to USE_ACL==0 platforms
2016-01-12 mktime: rename macro to avoid glibc clash
2016-01-12 Port "$@" to OpenIndiana ksh93
2016-01-12 Port Universal Time settings to strict POSIX
* build-aux/gitlog-to-changelog, build-aux/update-copyright:
* doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
* lib/binary-io.h, lib/dirent.in.h, lib/dirfd.c, lib/dup2.c:
* lib/fcntl.c, lib/fdopendir.c, lib/mktime.c, lib/openat-proc.c:
* lib/sig2str.h, lib/stdint.in.h, m4/dirfd.m4, m4/dup2.m4:
* m4/fcntl.m4, m4/utimes.m4:
Copy from gnulib.
* m4/gnulib-comp.m4: Regenerate.
Alan Mackenzie [Sun, 24 Jan 2016 20:30:39 +0000 (20:30 +0000)]
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".
l3thal [Sun, 24 Jan 2016 20:20:31 +0000 (15:20 -0500)]
Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
Kelvin White [Sun, 24 Jan 2016 20:19:08 +0000 (15:19 -0500)]
Add NEWS entry for asynchronous reconnect in ERC
l3thal [Sun, 24 Jan 2016 20:19:08 +0000 (15:19 -0500)]
Add NEWS entry for asynchronous reconnect in ERC
Kelvin White [Sun, 24 Jan 2016 19:37:38 +0000 (14:37 -0500)]
browse-url.el: Add 'google-chrome' to supported browsers.
Paul Eggert [Sun, 24 Jan 2016 19:40:26 +0000 (11:40 -0800)]
Port Tramp manual to latest Texinfo
Otherwise, 'make pdf' did not work (Bug#22416).
* doc/misc/tramp.texi (xxx, yyy): Remove macros.
(trampfn): Specialize to the case where METHOD is nonempty.
The 2nd argument is now user@host, not 2nd user and 3rd host args.
All uses changed.
(trampf): New macro.
Lars Ingebrigtsen [Sun, 24 Jan 2016 16:50:27 +0000 (17:50 +0100)]
* eww.el (eww-render): Protect against empty content-types.
Nicolas Petton [Sun, 24 Jan 2016 12:30:08 +0000 (13:30 +0100)]
authors.el updates
* admin/authors.el (authors-ignored-files, authors-renamed-files-alist):
Additions.
Nicolas Petton [Sun, 24 Jan 2016 11:45:29 +0000 (12:45 +0100)]
; ChangeLog fixes
* ChangeLog.2:
* doc/emacs/ChangeLog.1:
* lisp/ChangeLog.17: Fix ChangeLog entries
Glenn Morris [Sun, 24 Jan 2016 12:23:33 +0000 (07:23 -0500)]
; Auto-commit of loaddefs files.
Dmitry Gutov [Sun, 24 Jan 2016 02:17:52 +0000 (05:17 +0300)]
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.
Dmitry Gutov [Sun, 24 Jan 2016 00:35:39 +0000 (03:35 +0300)]
Update cl-defgeneric and cl-defmethod docstrings
* lisp/emacs-lisp/cl-generic.el: Remove outdated TODO item.
(cl-defgeneric): Rename BODY to DEFAULT-BODY.
(cl-defmethod): Mention that multiple dispatch arguments are
allowed. Document supported types. (Bug#22336)
Dmitry Gutov [Sat, 23 Jan 2016 09:09:55 +0000 (12:09 +0300)]
Comment out next-error-function integration in xref
* lisp/progmodes/xref.el (xref--xref-buffer-mode):
Comment out next-error-function integration
(http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01286.html).