]> git.eshelyaron.com Git - emacs.git/log
emacs.git
8 years agoFix over-substitution of quotes on error
Paul Eggert [Thu, 1 Sep 2016 06:05:48 +0000 (23:05 -0700)]
Fix over-substitution of quotes on error

Problem reported by Tino Calancha in:
http://lists.gnu.org/archive/html/emacs-devel/2016-09/msg00000.html
* src/print.c (print_error_message):
Substitute quotes in errmsg only when gotten from a property.

8 years agoImprove testing of etags
Eli Zaretskii [Wed, 31 Aug 2016 17:22:22 +0000 (20:22 +0300)]
Improve testing of etags

* test/manual/etags/y-src/cccp.c:
* test/manual/etags/y-src/parse.c: Correct #line directives to
allow testing invalidate_nodes in etags.c.
* test/manual/etags/ETAGS.good_1:
* test/manual/etags/ETAGS.good_2:
* test/manual/etags/ETAGS.good_3:
* test/manual/etags/ETAGS.good_4:
* test/manual/etags/ETAGS.good_5:
* test/manual/etags/ETAGS.good_6:
* test/manual/etags/CTAGS.good: Adapt to changes in test files.

8 years ago* lib-src/etags.c (invalidate_nodes): Fix another thinko.
Eli Zaretskii [Wed, 31 Aug 2016 17:19:42 +0000 (20:19 +0300)]
* lib-src/etags.c (invalidate_nodes): Fix another thinko.

8 years agoFix etags problems found by static checking
Paul Eggert [Wed, 31 Aug 2016 17:11:16 +0000 (10:11 -0700)]
Fix etags problems found by static checking

* lib-src/etags.c (invalidate_nodes, put_entry):
Remove now-unnecessary tests for null pointers.  Simplify.
(put_entries): Rewrite to avoid GCC 6.2 warning about
dereferencing null pointer.

8 years agoFix a thinko in etags.c
Eli Zaretskii [Wed, 31 Aug 2016 16:57:59 +0000 (19:57 +0300)]
Fix a thinko in etags.c

* lib-src/etags.c (invalidate_nodes): Don't try to dereference
a null pointer.

8 years agoAvoid recursive calls in etags
Eli Zaretskii [Wed, 31 Aug 2016 15:53:43 +0000 (18:53 +0300)]
Avoid recursive calls in etags

* lib-src/etags.c (stack_entry): New struct.
(push_node, pop_node, put_entry): New functions.
(free_tree, add_node, invalidate_nodes, put_entries): Re-implement
in a non-recursive way, to avoid stack overflow.  (Bug#5847)

8 years agoAdd 451 to url-http-codes
Leo Liu [Wed, 31 Aug 2016 08:39:13 +0000 (16:39 +0800)]
Add 451 to url-http-codes

* lisp/url/url-http.el (url-http-codes): Add 451.

8 years ago; Spelling and quotation fixes
Paul Eggert [Wed, 31 Aug 2016 03:54:05 +0000 (20:54 -0700)]
; Spelling and quotation fixes

8 years ago* src/editfns.c (Fformat_message): Fix doc to match current behavior.
Paul Eggert [Wed, 31 Aug 2016 02:54:35 +0000 (19:54 -0700)]
* src/editfns.c (Fformat_message): Fix doc to match current behavior.

8 years agoMinor doc quoting fixes
Paul Eggert [Wed, 31 Aug 2016 02:44:41 +0000 (19:44 -0700)]
Minor doc quoting fixes

* doc/misc/htmlfontify.texi (Interactive):
* lisp/htmlfontify.el (htmlfontify-buffer):
Spell out character names, for clarity.  The old doc string
generated the *Help* text ‘^L ([FF]) or ¤ (244)’, where ‘[FF]’
stands for a form feed character; this was confusing.
* lisp/electric.el (electric-quote-mode):
* src/doc.c (syms_of_doc):
* src/editfns.c (Fformat_message):
Remove no-longer-necessary ‘\=’s in doc strings.

8 years agoUpdate from gnulib
Paul Eggert [Tue, 30 Aug 2016 20:15:04 +0000 (13:15 -0700)]
Update from gnulib

This incorporates:
2016-08-30 intprops: tune INT_NEGATE_OVERFLOW for GCC 5 and 6
2016-08-29 xalloc-oversized.h: port change to GCC 6.2.0
2016-08-29 intprops.h: port recent changes to GCC 6.2.0
2016-08-29 intprops.h: use __typeof__ with GCC 7
2016-08-29 intprops.h, xalloc-oversized.h: work with gcc 7
2016-08-24 intprops: fix paren typo on old platforms
2016-08-24 intprops: port to OpenVMS
* lib/intprops.h, lib/xalloc-oversized.h: Copy from gnulib.

8 years agoFix rules for \phi and \varphi which were reversed
Tassilo Horn [Tue, 30 Aug 2016 18:30:46 +0000 (20:30 +0200)]
Fix rules for \phi and \varphi which were reversed

* lisp/leim/quail/latin-ltx.el: Special-case phi/varphi because those
  are reversed in ucs-names.  Also remove FIXME stating sigma/varsigma
  were reversed which is not true (anymore?).

8 years agoFix prettification of \phi, \varphi, and \varsigma
Tassilo Horn [Tue, 30 Aug 2016 17:51:33 +0000 (19:51 +0200)]
Fix prettification of \phi, \varphi, and \varsigma

* lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Fix
  prettification of \phi, \varphi, and \varsigma.

Concretely, \phi's symbol was actually varphi, \varphi was missing, and
\varsigma was commented out with a FIXME that it was reversed with
\sigma which it was not.

8 years agoUse normal double quotes in TeX / LaTeX comments
Karl Fogel [Tue, 30 Aug 2016 16:14:37 +0000 (11:14 -0500)]
Use normal double quotes in TeX / LaTeX comments

* lisp/textmodes/tex-mode.el (tex-insert-quote): When in a comment,
  default to inserting a normal double quote (") instead of TeX-style
  open (``) or close ('') quote marks.

* etc/NEWS (TeX mode): Note the change.

* test/lisp/electric-tests.el (autowrapping-7): Adjust accordingly.

See this thread for discussion:

  https://lists.gnu.org/archive/html/emacs-devel/2016-08/msg00611.html
  From: Karl Fogel <kfogel {_AT_} red-bean.com>
  To: Emacs Development <emacs-devel {_AT_} gnu.org>
  Subject: [PATCH] Have LaTeX mode use normal double quotes in comments.
  Date: Mon, 29 Aug 2016 14:44:12 -0500
  Message-ID: <87twe3icmr.fsf@red-bean.com>

8 years agoCorrectly analyze C++ list initialization in member init areas.
Alan Mackenzie [Tue, 30 Aug 2016 15:36:15 +0000 (15:36 +0000)]
Correctly analyze C++ list initialization in member init areas.

* lisp/progmodes/cc-engine.el (c-back-over-list-of-member-inits): Remove a
superfluous call to c-backward-syntactic-ws.
(c-looking-at-or-maybe-in-bracelist): Change calling convention, so that it
reports encountering the Java "new" keyword.  Add, as an alternative, a check
that we can move back over member initializations, and handle this as finding
a brace block.
(c-looking-at-special-brace-list, c-guess-continued-construct): Adapt to the
new calling convention of c-looking-at-or-maybe-in-bracelist.
(c-guess-basic-syntax, CASE 5A.3): Replace lots of inline ad-hoc code with
calls to c-backward-over-enum-header and c-looking-at-or-maybe-in-bracelist,
using the extra info from the value of that function to generate a
topmost-into-cont element where needed (in Java).

* lisp/progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to the new
calling convention of c-looking-at-or-maybe-in-bracelist.

* lisp/progmodes/cc-mode.el (c-fl-decl-start): Adapt to the new calling
convention of c-looking-at-or-maybe-in-bracelist.

8 years agoUse `file-attribute-*' in Tramp
Michael Albinus [Tue, 30 Aug 2016 13:36:14 +0000 (15:36 +0200)]
Use `file-attribute-*' in Tramp

* lisp/net/tramp-compat.el (tramp-compat-file-attribute-type)
(tramp-compat-file-attribute-link-number)
(tramp-compat-file-attribute-user-id)
(tramp-compat-file-attribute-group-id)
(tramp-compat-file-attribute-modification-time)
(tramp-compat-file-attribute-size)
(tramp-compat-file-attribute-modes): New defaliases.

* lisp/net/tramp.el (tramp-handle-file-modes)
(tramp-handle-file-newer-than-file-p)
(tramp-handle-file-regular-p, tramp-handle-file-symlink-p)
(tramp-handle-set-visited-file-modtime)
(tramp-handle-verify-visited-file-modtime)
(tramp-get-local-gid, tramp-check-cached-permissions):
* lisp/net/tramp-adb.el (tramp-adb-handle-file-directory-p)
(tramp-adb-handle-file-truename, tramp-adb-handle-copy-file):
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory)
(tramp-gvfs-handle-file-directory-p)
(tramp-gvfs-handle-write-region, tramp-gvfs-get-remote-uid)
(tramp-gvfs-get-remote-gid):
* lisp/net/tramp-sh.el (tramp-sh-handle-file-truename)
(tramp-sh-handle-set-visited-file-modtime)
(tramp-sh-handle-verify-visited-file-modtime)
(tramp-sh-handle-file-newer-than-file-p)
(tramp-sh-handle-file-ownership-preserved-p)
(tramp-do-copy-or-rename-file)
(tramp-do-copy-or-rename-file-via-buffer)
(tramp-do-copy-or-rename-file-directly)
(tramp-do-copy-or-rename-file-out-of-band)
(tramp-sh-handle-file-local-copy)
(tramp-sh-handle-write-region):
* lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory)
(tramp-smb-handle-copy-file)
(tramp-smb-handle-file-directory-p)
(tramp-smb-handle-file-writable-p)
(tramp-smb-handle-insert-directory): Use them.

8 years agoIn `pop-to-buffer' handle case where `display-buffer' fails (Bug#24332)
Martin Rudalics [Tue, 30 Aug 2016 10:30:29 +0000 (12:30 +0200)]
In `pop-to-buffer' handle case where `display-buffer' fails (Bug#24332)

* lisp/window.el (pop-to-buffer): Don't assume that
`display-buffer' has supplied a window (Bug#24332).
Rename BUFFER argument to BUFFER-OR-NAME.
* doc/lispref/windows.texi (Switching Buffers): Fix
`pop-to-buffer' documentation.

8 years agoClarify docstrings
Alan Third [Mon, 29 Aug 2016 18:32:40 +0000 (19:32 +0100)]
Clarify docstrings

* src/nsterm.m: Clarified that ns-x-modifier variables require a symbol.

8 years agoUse `process-live-p' in Tramp
Michael Albinus [Mon, 29 Aug 2016 16:39:07 +0000 (18:39 +0200)]
Use `process-live-p' in Tramp

* lisp/net/tramp-compat.el (tramp-compat-process-live-p): New defun.

* lisp/net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
(tramp-handle-file-notify-valid-p)
(tramp-action-process-alive, tramp-action-out-of-band)
(tramp-wait-for-regexp):
* lisp/net/tramp-adb.el (tramp-adb-parse-device-names)
(tramp-adb-maybe-open-connection):
* lisp/net/tramp-cache.el (tramp-get-connection-property):
* tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch):
* lisp/net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
(tramp-gw-aux-proc-sentinel, tramp-gw-open-connection):
* tramp-sh.el (tramp-process-sentinel)
(tramp-sh-handle-file-notify-add-watch)
(tramp-maybe-open-connection):
* lisp/net/lisp/net/lisp/net/tramp-smb.el (tramp-smb-action-with-tar)
(tramp-smb-handle-copy-directory, tramp-smb-action-get-acl)
(tramp-smb-handle-process-file, tramp-smb-action-set-acl)
(tramp-smb-get-cifs-capabilities)
(tramp-smb-get-stat-capability)
(tramp-smb-maybe-open-connection, tramp-smb-wait-for-output)
(tramp-smb-kill-winexe-function): Use it.

8 years agoAvoid crashes for invalid value of key modifiers
Eli Zaretskii [Mon, 29 Aug 2016 14:27:06 +0000 (17:27 +0300)]
Avoid crashes for invalid value of key modifiers

* src/keyboard.c (parse_solitary_modifier): If the argument SYMBOL
is not a symbol, don't try to recognize it.  See
http://lists.gnu.org/archive/html/emacs-devel/2016-08/msg00502.html
for the details.

* test/src/keymap-tests.el (keymap-where-is-internal-test): New
test, for testing the above fix.

8 years agoMake dired-do-compress understand files with spaces in them
Oleh Krehel [Mon, 29 Aug 2016 08:35:34 +0000 (10:35 +0200)]
Make dired-do-compress understand files with spaces in them

* lisp/dired-aux.el (dired-compress-file): Add `shell-quote-argument'
  and `literal' flag to `replace-regexp-in-string'.

8 years ago* INSTALL.REPO: Suggest Texinfo 4.13 or later.
Paul Eggert [Mon, 29 Aug 2016 01:23:25 +0000 (18:23 -0700)]
* INSTALL.REPO: Suggest Texinfo 4.13 or later.

8 years agoAdd tests for dom.el
Simen Heggestøyl [Sun, 28 Aug 2016 16:36:27 +0000 (18:36 +0200)]
Add tests for dom.el

* test/lisp/dom-tests.el: New file with tests for dom.el.

8 years agoMemory allocator alignment fixes
Paul Eggert [Sun, 28 Aug 2016 09:13:18 +0000 (02:13 -0700)]
Memory allocator alignment fixes

These changes remove some assumptions about heap allocator
alignment that may not be true on unusual platforms.
* src/alloc.c (POWER_OF_2): New macro.
(ROUNDUP): Use it.
(BLOCK_ALIGN): Verify that it is a power of 2.
(aligned_alloc): Check that alignment passed to posix_memalign
satisfies POSIX restrictions.
(lisp_align_malloc): Check that size passed to aligned_alloc
satisfies C11 restrictions.
(MALLOC_IS_GC_ALIGNED): Check that GCALIGNMENT is 8, since the
code has not been verified to work with other GCALIGNMENT values
and the ice is thin here.  On GNU/Linux, malloc can return a value
that is a multiple of 8 but not 16, even though __alignof__
(max_align_t) is 16.  See:
https://gcc.gnu.org/ml/gcc-patches/2016-08/msg01902.html
(lmalloc) [USE_ALIGNED_ALLOC]: Use aligned_alloc only if size
is a multiple of alignment, since C11 says the behavior is
undefined otherwise.
(lmalloc, lrealloc): Don't use INT_ADD_WRAPV on size_t, as in
general this macro is restricted to signed types.  Remove
assertion that the result is a multiple of GCALIGNMENT, as that
need not be true.

8 years agoPacify --enable-gcc-warnings for lib-src/pop.c
Paul Eggert [Sun, 28 Aug 2016 08:56:51 +0000 (01:56 -0700)]
Pacify --enable-gcc-warnings for lib-src/pop.c

* lib-src/pop.c: Include c-ctype.h.
(socket_connection): Pacify --enable-gcc-warnings by rewriting to
avoid 'if (v = E) ...'.  Use c_tolower, instead of a combination
of the (undeclared) isupper and tolower.  Fix pointer constness
problem.

8 years agoHandle the C++ "identifiers" "final" and "override" correctly.
Alan Mackenzie [Sat, 27 Aug 2016 19:57:42 +0000 (19:57 +0000)]
Handle the C++ "identifiers" "final" and "override" correctly.

This fixes bug #24319, allowing destructors affixed with these identifiers to
be correctly fontified.

* lisp/progmodes/cc-engine.el (c-forward-type, c-forward-decl-or-cast-1):
After reaching the "end" of a type expression, skip over any occurrences of
c-type-decl-suffix-ws-ids-key.

* lisp/progmodes/cc-langs.el (c-type-modifier-kwds): Remove "override" and
"final" from the C++ value.
(c-type-decl-suffix-ws-ids-kwds, c-type-decl-suffix-ws-ids-key): New lang
constants/variables for "final" and "override".

8 years ago* lisp/textmodes/page-ext.el (pages-directory-mode): Use special-mode.
Stefan Monnier [Sat, 27 Aug 2016 18:17:20 +0000 (14:17 -0400)]
* lisp/textmodes/page-ext.el (pages-directory-mode): Use special-mode.

8 years agoHandle template delimiters in C++ member init constructs.
Alan Mackenzie [Sat, 27 Aug 2016 15:45:17 +0000 (15:45 +0000)]
Handle template delimiters in C++ member init constructs.

* lisp/progmodes/cc-engine.el (c-back-over-list-of-member-inits): Add
handling for "<....>"s.

8 years agoFix etags test suite messed up by merges from emacs-25
Eli Zaretskii [Fri, 26 Aug 2016 19:32:05 +0000 (22:32 +0300)]
Fix etags test suite messed up by merges from emacs-25

* test/manual/etags/go-src/test.go:
* test/manual/etags/go-src/test1.go: Move from test/etags/.
* test/manual/etags/ruby-src/test1.ru: Replace test1.ruby.
* test/etags/: Directory deleted.

8 years agoAdd "supports" to list of CSS at-rules
Simen Heggestøyl [Fri, 26 Aug 2016 17:16:47 +0000 (19:16 +0200)]
Add "supports" to list of CSS at-rules

* lisp/textmodes/css-mode.el (css-at-ids): Add "supports" at-rule.

8 years ago* lisp/net/tramp-sh.el (tramp-get-remote-perl): Perform a basic check.
Michael Albinus [Fri, 26 Aug 2016 13:12:42 +0000 (15:12 +0200)]
* lisp/net/tramp-sh.el (tramp-get-remote-perl): Perform a basic check.

(Bug#22478)

8 years agoRename option to shell-command-dont-erase-buffer
Tino Calancha [Fri, 26 Aug 2016 06:27:37 +0000 (15:27 +0900)]
Rename option to shell-command-dont-erase-buffer

Suggested by Clément Pit--Claudel in:
http://lists.gnu.org/archive/html/emacs-devel/2016-08/msg00487.html
* lisp/simple.el (shell-command-dont-erase-buffer):
(shell-command--save-pos-or-erase):
(shell-command--set-point-after-cmd):
(shell-command-on-region):
* doc/emacs/misc.texi (shell-command-dont-erase-buffer):
* etc/NEWS (Changes in Emacs 25.2):
Rename from shell-command-not-erase-buffer.

8 years agoFix an infinite loop in C++ Mode when we have "{ .... [ .... }"
Alan Mackenzie [Thu, 25 Aug 2016 16:21:55 +0000 (16:21 +0000)]
Fix an infinite loop in C++ Mode when we have "{ .... [ .... }"

* lisp/progmodes/cc-fonts.el (c-font-lock-c++-lambda-captures): In the inner
`while' form's condition, check for "\\s)" rather than merely "\\]", so that
the loop won't hang at a "terminating" paren of a different type (due to the
c-syntactic-re-search-forward at the end of the loop stopping at such
characters).

8 years agocall-shell-region: New defun
Tino Calancha [Thu, 25 Aug 2016 13:17:56 +0000 (22:17 +0900)]
call-shell-region: New defun

Suggested by Stefan Monnier in Bug#22679.
* lisp/subr.el (call-shell-region): New defun; execute a command
in an inferior shell with the buffer region as input.
* lisp/simple.el (shell-command-on-region): Use it.
* lisp/gnus/message.el (message-do-fcc): Idem.
* doc/lispref/processes.texi: Document call-shell-region in the manual.
;* etc/NEWS: Add entry for this new function.

8 years agoIn ‘clone-indirect-buffer’ fix argument mixup (Bug#24306)
Martin Rudalics [Thu, 25 Aug 2016 09:04:46 +0000 (11:04 +0200)]
In ‘clone-indirect-buffer’ fix argument mixup (Bug#24306)

* lisp/simple.el (clone-indirect-buffer): Add value for ACTION
argument in `pop-to-buffer' call (Bug#24306).

8 years agoSome fixes around `delete-other-frames' and `next-frame'
Martin Rudalics [Thu, 25 Aug 2016 08:53:27 +0000 (10:53 +0200)]
Some fixes around `delete-other-frames' and `next-frame'

* src/frame.c (Fdelete_frame): Clarify doc-string.
* lisp/frame.el (delete-other-frames): Delete other frames on
FRAME's terminal instead of the current terminal.  Delete
non-minibuffer-only surrogate frames too.  See
http://lists.gnu.org/archive/html/emacs-devel/2016-08/msg00467.html
* doc/lispref/frames.texi (Deleting Frames): Minor fixes for
docs of `delete-frame' and `frame-live-p'.  Add entry for
`delete-other-frames'.
(Finding All Frames): Fix doc of `next-frame'.

8 years agoFind message.el thumbnail toggling
Lars Magne Ingebrigtsen [Wed, 24 Aug 2016 21:56:12 +0000 (23:56 +0200)]
Find message.el thumbnail toggling

* lisp/gnus/message.el (message-toggle-image-thumbnails):
Don't infloop when toggling thumbnails.

8 years agoFix macOS 12 deprecation notices
Alan Third [Thu, 18 Aug 2016 18:55:52 +0000 (19:55 +0100)]
Fix macOS 12 deprecation notices

* src/nsterm.h: Add #defines to allow older versions of macOS to use the
new constant names.
* src/nsmenu.m: Replace old constant names with
new.
(fillWithWidgetValue): Remove calls to deprecated
setMenuChangedMessagesEnabled.
* src/nsterm.m: Replace old constant names with new.
* src/nsfns.m: Replace old constant names with new.

8 years agoAnalyze and fontify correctly a C++ `enum' with colon, but lacking a tag.
Alan Mackenzie [Wed, 24 Aug 2016 01:18:20 +0000 (01:18 +0000)]
Analyze and fontify correctly a C++ `enum' with colon, but lacking a tag.

* lisp/progmodes/cc-engine.el (c-backward-typed-enum-colon): Check for "enum"
directly preceding the colon, and handle it.

8 years ago* src/xfns.c (Fx_change_window_property): Modify previous change.
Noah Friedman [Wed, 24 Aug 2016 00:13:31 +0000 (17:13 -0700)]
* src/xfns.c (Fx_change_window_property): Modify previous change.
Instead of forcing format to 8 for strings, check that the length of
the string is appropriate for whatever format given.
(Fx_window_property_attributes): If prop isn't found on frame's inner window,
try its outer window.  This mimics the behavior of Fx_window_property.

8 years agoFix invalid image rotations
Lars Ingebrigtsen [Tue, 23 Aug 2016 22:31:57 +0000 (00:31 +0200)]
Fix invalid image rotations

* lisp/image.el (image-rotate): Limit rotation to 360 degrees.

8 years agocall-process instead of call-process-region with empty region
Tino Calancha [Tue, 23 Aug 2016 13:38:48 +0000 (22:38 +0900)]
call-process instead of call-process-region with empty region

* lisp/calc/calc-graph.el (calc-graph-show-tty):
Use call-process and shell-command-switch.

8 years agoMerge from origin/emacs-25
Paul Eggert [Mon, 22 Aug 2016 21:40:35 +0000 (14:40 -0700)]
Merge from origin/emacs-25

927afa1 ; Update ChangeLog.2 and ldef-boot.el for Emacs 25.1 RC2
6bf83b5 * etc/AUTHORS: Update the AUTHORS file
73cbb81 ; ChangeLog spelling fixes
9b99772 Some assorted documentation clarifications
37d4723 Improve commentary in src/character.h
5ccd593 ; Fix typo in /etc/NEWS
96e3d16 * etc/NEWS: Mention the change in json-encode-string.
2e524034 ; * etc/NEWS: Mention incompatible change in url-http-create...
2e4e74e Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emac...
66dea65 ; * doc/lispref/windows.texi (Window Parameters): Grammar twe...

# Conflicts:
# ChangeLog.2
# lisp/ldefs-boot.el

8 years ago; Merge from origin/emacs-25
Paul Eggert [Mon, 22 Aug 2016 21:38:50 +0000 (14:38 -0700)]
; Merge from origin/emacs-25

The following commit was skipped:

7d639f3 * src/doc.c (Fsubstitute_command_keys): Another fix for smart...

8 years agoMerge from origin/emacs-25
Paul Eggert [Mon, 22 Aug 2016 21:38:50 +0000 (14:38 -0700)]
Merge from origin/emacs-25

66dea65 ; * doc/lispref/windows.texi (Window Parameters): Grammar twe...

8 years ago; Merge from origin/emacs-25
Paul Eggert [Mon, 22 Aug 2016 21:38:49 +0000 (14:38 -0700)]
; Merge from origin/emacs-25

The following commit was skipped:

4225b78 Avoid segfaults due to quoting in 'substitute-command-keys'

8 years agoMerge from origin/emacs-25
Paul Eggert [Mon, 22 Aug 2016 21:38:49 +0000 (14:38 -0700)]
Merge from origin/emacs-25

8c2946e In NEWS describe new handling of window margins (Bug#24193)
0cee66c Facultatively ignore margins when splitting and resizing wind...
8d68147 Document CATEGORY arg to modify-category-entry
8342e74 Document char-script-table's effect on word motion
e9ff485 Further fix for 'url-http-create-request' and multibyte strings
0695235 Fix docstring of eval-expression
98b01dd Clarify when 'cursor' property is in effect
75f1882 Convert the remaining strings to unibyte before concatenating
d2db5dd Fix bug with handling the bidi cache
ccd0e92 * doc/lispref/text.texi (Change Hooks): Minor copyedits.
f785ff4 Clarify documentation of before/after-change-functions
3c9cb57 Document use of vectors in keymaps

# Conflicts:
# src/xdisp.c

8 years agoHandle remote file names in gdb-mi.el
Michael Albinus [Mon, 22 Aug 2016 18:02:51 +0000 (20:02 +0200)]
Handle remote file names in gdb-mi.el

* lisp/progmodes/gdb-mi.el (gdb-jsonify-buffer):
If `default-directory' is remote, full file names are adapted
accordingly.  (Bug#23608)

8 years agoDisplay mini-window resized even when there are several frames
Eli Zaretskii [Mon, 22 Aug 2016 17:19:35 +0000 (20:19 +0300)]
Display mini-window resized even when there are several frames

* src/xdisp.c (x_consider_frame_title): Bind inhibit-redisplay to
t to avoid resizing back the mini-window as result of considering
the title of other frames.  (Bug#24285)
(redisplay_window): No need to bind inhibit-redisplay here.

8 years agoExplain gdb warning on remote hosts
Michael Albinus [Mon, 22 Aug 2016 13:17:55 +0000 (15:17 +0200)]
Explain gdb warning on remote hosts

* doc/misc/tramp.texi (Remote processes): Explain gdb warning
on remote hosts.  (Bug#4604, Bug#6360, Bug#622569)

8 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Martin Rudalics [Mon, 22 Aug 2016 06:41:31 +0000 (08:41 +0200)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs

8 years agoFix (next-frame nil t) crash (Bug#24281)
Martin Rudalics [Mon, 22 Aug 2016 06:33:48 +0000 (08:33 +0200)]
Fix (next-frame nil t) crash (Bug#24281)

* src/frame.c (candidate_frame): Check minibuf argument before
comparing it to zero (Bug#24281).

8 years ago; Update ChangeLog.2 and ldef-boot.el for Emacs 25.1 RC2 emacs-25.1-rc2
Nicolas Petton [Sun, 21 Aug 2016 21:24:55 +0000 (23:24 +0200)]
; Update ChangeLog.2 and ldef-boot.el for Emacs 25.1 RC2

8 years ago* etc/AUTHORS: Update the AUTHORS file
Nicolas Petton [Sun, 21 Aug 2016 21:24:15 +0000 (23:24 +0200)]
* etc/AUTHORS: Update the AUTHORS file

8 years agoFix interpretation of signed vs unsigned values when retrieving X
Noah Friedman [Sun, 21 Aug 2016 21:03:46 +0000 (14:03 -0700)]
Fix interpretation of signed vs unsigned values when retrieving X
Window properties, and make sure the full value is returned when not
parsed.

New subr to export type and format information about X Window
properties to lisp.

* src/xselect.c (selection_data_to_lisp_data): Treat any data as
unsigned unless its actual type is INTEGER.
CARDINALs, in particular, are unsigned.

* src/xfns.c (Fx_change_window_property): If value is a string, ignore
any provided format and force to 8.
(x_window_property_intern): If returning value as a string, the length
is actual_size times the actual format of each element, which is not
necessarily bytes.
(Fx_window_property_attributes): New subr.
(syms_of_xfns): Declare it.

8 years agoImprove error when installing non-package dirs
Noam Postavsky [Sat, 25 Jun 2016 19:57:39 +0000 (15:57 -0400)]
Improve error when installing non-package dirs

* lisp/emacs-lisp/package.el (package-dir-info): Throw meaningful error
when no file with package info is found (Bug #19851).

8 years agoAdapt CC Mode for C++11 uniform initialization.
Alan Mackenzie [Sun, 21 Aug 2016 16:00:15 +0000 (16:00 +0000)]
Adapt CC Mode for C++11 uniform initialization.

For fontification, introduce a new "context", 'non-decl, to be used for
brace
lists; also a new value for the property 'c-type, called 'c-not-decl.

* lisp/progmodes/cc-engine.el (c-back-over-compound-identifier): Check that
an ostensible symbol we're going to move over isn't a keyword.
(c-forward-decl-or-cast-1): CASE 1: Where we have two consecutive identifiers
(hence a declaration), and an unmatched open paren, perform
c-fdoc-shift-type-backwards to recognize the partial construct correctly.
Whilst checking a type decl expression, check for and handle C++11's "copy
initialization", where we have <type>(<constant>).  Recognize
<id><id>(... (where the paren is unclosed) as a declaration.
(c-looking-at-or-maybe-in-bracelist): New function, extracted from
c-inside-bracelist-p.  Recognize as bracelists "{"s which are preceded by
valid tokens other than "=".  Recognize a bracelist when preceded by a
template declaration.
(c-inside-bracelist-p): Call c-looking-at-or-maybe-in-bracelist in place of
much inline code.
(c-looking-at-inexpr-block): Amend so that it won't wrongly recognise an
initialization starting "({" as an in-expression block, by checking for
semicolons, as opposed to commas, separating elements inside it.
(c-guess-continued-construct): (CASE B-2): Recognize a brace-list-open by
calling c-looking-at-or-maybe-in-bracelist rather than checking for a
preceding "=".  (CASE B-5): New code to recognize new construct "return {
...}".
(c-guess-basic-syntax): (CASE 5A.3): Additionally recognize a "{" preceded by
"return", or "{" preceded by <type><identifier> as a bracelist.

* lisp/progmodes/cc-fonts.el (c-font-lock-declarations): Recognize brace
lists, giving them `context' 'non-decl.  Pass over elements of one by regexp
search for "," rather than calling c-forward-decl-or-cast-1.

* lisp/progmodes/cc-langs.el (c-return-kwds, c-return-key): New lang
constants/variables to recognize "return".
(c-pre-id-bracelist-key): New lang constant/variable to recognize tokens
which, when preceding an identifier followed by a brace, signify the brace as
a bracelist.

* lisp/progmodes/cc-mode.el (c-fl-decl-start): When searching outwards for
the start of a "local" declaration, move out from an enclosing brace when
that is the start of a brace list.

8 years agoUpdate from gnulib
Paul Eggert [Sun, 21 Aug 2016 11:25:24 +0000 (04:25 -0700)]
Update from gnulib

This incorporates:
2016-08-17 maint: preprocessor changes to support z/OS
2016-08-17 string: rename to avoid '__string'
* doc/misc/texinfo.tex, lib/alloca.in.h, lib/string.in.h:
Copy from gnulib.

8 years ago; Spelling fixes
Paul Eggert [Sun, 21 Aug 2016 11:17:30 +0000 (04:17 -0700)]
; Spelling fixes

8 years ago; ChangeLog spelling fixes
Paul Eggert [Sun, 21 Aug 2016 11:15:15 +0000 (04:15 -0700)]
; ChangeLog spelling fixes

8 years agoMinor text-quoting-style fixes
Paul Eggert [Sun, 21 Aug 2016 11:02:06 +0000 (04:02 -0700)]
Minor text-quoting-style fixes

* src/charset.c (check_iso_charset_parameter):
* src/frame.c (store_frame_param):
* src/xselect.c (x_fill_property_data):
Use grave accent for left single quote in ‘error’ format strings.

8 years agoFix semantics of 'minibuffer' frame parameter
Martin Rudalics [Sun, 21 Aug 2016 09:36:11 +0000 (11:36 +0200)]
Fix semantics of 'minibuffer' frame parameter

The 'minibuffer' frame parameter is now t for a normal frame
(a frame with a root window plus a minibuffer window) and the
frame's minibuffer window for a minibuffer-less frame (a frame
whose minibuffer window is on another frame).  See also:
https://lists.gnu.org/archive/html/emacs-devel/2016-07/msg01259.html

* src/frame.c (make_frame, make_frame_without_minibuffer)
(make_minibuffer_frame): When assigning the frame's minibuffer
window also store corresponding 'minibuffer' frame parameter.
(store_frame_param): Move the 'minibuffer' parameter checks to
the beginning so we can silently override the value before it
gets stored in the parameter alist.  Fix error handling.
(Fframe_parameters): Return value of 'minibuffer' parameter
unmodified.

* lisp/frameset.el (frameset-filter-minibuffer): When the cdr of
the parameter is a minibuffer window, save (minibuffer . nil)
instead of (minibuffer . t).
(frameset--reuse-frame): To find a non-minibuffer-only frame
look out for a frame whose 'minibuffer' parameter is t instead
of that frame's minibuffer window.
(frameset-minibufferless-first-p): To find a minibuffer-less
frame look out for a frame whose 'minibuffer' parameter is a
window instead of nil.

8 years ago* lisp/progmodes/cc-defs.el (c-safe-scan-lists): Resolve overelaborate "nil"
Alan Mackenzie [Sat, 20 Aug 2016 20:46:39 +0000 (20:46 +0000)]
* lisp/progmodes/cc-defs.el (c-safe-scan-lists): Resolve overelaborate "nil"

8 years agoSome assorted documentation clarifications
Philipp Stephani [Fri, 19 Aug 2016 19:23:24 +0000 (21:23 +0200)]
Some assorted documentation clarifications

* src/fileio.c (Fwrite_region): Clarify that END is ignored if
START is nil.
* src/editfns.c (Fbuffer_size): Add short discussion about
narrowing.
* src/callproc.c (Fcall_process_region): Discuss behavior when
START and END are not buffer positions.

8 years agoIn c-\(go-\)?-\(up-\|down-\)?list-\(forward\|backward\) check limit isn't nil
Alan Mackenzie [Sat, 20 Aug 2016 14:12:06 +0000 (14:12 +0000)]
In c-\(go-\)?-\(up-\|down-\)?list-\(forward\|backward\) check limit isn't nil

Check the limit both at macro expansion time (for a hard coded nil) and at run
time in the generated code.  Tidy up these macros generally.

* lisp/progmodes/cc-defs.el (c-safe-scan-lists): Check `limit' is present and
not identically nil before generating a narrow-to-region call.  Generate code
to check `limit' is not nil at run time.
(c-go-list-forward, c-go-list-backward): Remove the generation of redundant
narrow-to-region, instead calling c-safe-scan-lists directly.
(c-go-up-list-forward, c-go-up-list-backward, c-go-down-list-forward)
(c-go-down-list-backward): Invoke the corresponding macros without the "go-"
to determine the destination position instead of generating a redundant
narrow-to-region.

8 years ago* lisp/emacs-lisp/map.el (map--dispatch): Fix docstring
Robert Cochran [Fri, 19 Aug 2016 21:53:07 +0000 (14:53 -0700)]
* lisp/emacs-lisp/map.el (map--dispatch): Fix docstring

The docstring referenced a non-existant parameter, as well as a
parameter that has been renamed since the docstring was written. Fix
both errors, fixing (Bug#24182).

8 years agoAmend hack-local-variables-prop-line not always to return any mode on line 1.
Alan Mackenzie [Fri, 19 Aug 2016 16:03:05 +0000 (16:03 +0000)]
Amend hack-local-variables-prop-line not always to return any mode on line 1.

This fixes bug #24266.

* lisp/files.el (hack-local-variables-prop-line): Change the name of the
parameter mode-only to handle-mode.  Change its meaning, such that it being
set to a value non-nil and not t removes any mode parameter from the result
list.  Leave its values nil and t with the same meanings they had.
(hack-local-variables): Call hack-local-variables-prop-line appropriately.

8 years agoImprove doc string of epg-*-program
Daiki Ueno [Fri, 19 Aug 2016 09:18:41 +0000 (11:18 +0200)]
Improve doc string of epg-*-program

* lisp/epg-config.el (epg-gpg-program, epg-gpgsm-program):
Suggest to use Customize when setting.  (Bug#24229)

8 years agoAdd tests for Bug#24264
Tino Calancha [Fri, 19 Aug 2016 08:04:42 +0000 (17:04 +0900)]
Add tests for Bug#24264

* test/lisp/emacs-lisp/cl-seq-tests.el (cl-seq-test-bug24264):
Add test for Bug#24264.
(cl-seq-fill-test, cl-seq-replace-test)
(cl-seq-remove-test ,cl-seq-delete-test)
(cl-seq-remove-duplicates-test, cl-seq-substitute-test)
(cl-seq-nsubstitute-test, cl-seq-position-test)
(cl-seq-count-test, cl-seq-mismatch-test)
(cl-seq-search-test, cl-seq-test-bug24264):
Add tests for all functions in the file; test all keywords.

8 years agoFix bug in --eval reply message from server
Johan Bockgård [Thu, 18 Aug 2016 19:25:11 +0000 (21:25 +0200)]
Fix bug in --eval reply message from server

* lisp/server.el (server-reply-print): Fix check for truncated quote
sequence at end of message. Problem reported in:
http://lists.gnu.org/archive/html/emacs-devel/2016-08/msg00101.html

8 years agoAdd tests for 'substitute-command-keys'
Eli Zaretskii [Thu, 18 Aug 2016 15:06:33 +0000 (18:06 +0300)]
Add tests for 'substitute-command-keys'

* test/src/doc-tests.el (doc-test-substitute-command-keys): New
tests.

8 years agoImprove commentary in src/character.h
Eli Zaretskii [Thu, 18 Aug 2016 14:23:22 +0000 (17:23 +0300)]
Improve commentary in src/character.h

* src/character.h (BYTES_BY_CHAR_HEAD, MULTIBYTE_LENGTH)
(MULTIBYTE_LENGTH_NO_CHECK, STRING_CHAR_AND_LENGTH): Remove stale
info from commentary and improve it.

8 years agolisp/textmodes/table.el (table-generate-source): Fix completing-read call
Oleh Krehel [Thu, 18 Aug 2016 14:05:29 +0000 (16:05 +0200)]
lisp/textmodes/table.el (table-generate-source): Fix completing-read call

Doesn't make sense to pass '(("html") ("latex") ("cals")) to
`completing-read'.

8 years agolisp/dired-aux.el (dired-compress-file-suffixes): Add entry for tgz
Oleh Krehel [Thu, 14 Jul 2016 09:40:53 +0000 (11:40 +0200)]
lisp/dired-aux.el (dired-compress-file-suffixes): Add entry for tgz

The previous behavior resulted in a "tgz" -> "tar" -> "tgz" loop,
without any files being extracted.

8 years agoDon't let window start override window point in `window-state-put' (Bug#24240)
Andreas Politz [Thu, 18 Aug 2016 08:27:05 +0000 (10:27 +0200)]
Don't let window start override window point in `window-state-put' (Bug#24240)

* lisp/window.el (window--state-put-2): Set 'noforce argument
when restoring a window's start position.  This avoids that the
effect of `set-window-point' gets overidden by that of
`set-window-start' (Bug#24240).

8 years agoFontify constructs following "::" in C++ argument lists correctly - part 2.
Alan Mackenzie [Wed, 17 Aug 2016 19:37:19 +0000 (19:37 +0000)]
Fontify constructs following "::" in C++ argument lists correctly - part 2.

This fixes bug #24246.

* lisp/progmodes/cc-engine.el (c-find-decl-prefix-search): Put a
`save-match-data' around the new `looking-at' introduced by the previous CC
Mode patch this evening.

8 years agoFontify constructs following "::" in C++ argument lists correctly.
Alan Mackenzie [Wed, 17 Aug 2016 18:06:24 +0000 (18:06 +0000)]
Fontify constructs following "::" in C++ argument lists correctly.

This fixes bug #24246.

* lisp/progmodes/cc-engine.el (c-find-decl-prefix-search): In the "pseudo
match" loop, test a found string for a match with c-opt-identifier-concat-key
(e.g. with "::").

8 years ago* src/doc.c (Fsubstitute_command_keys): Clarify GC comments.
Paul Eggert [Wed, 17 Aug 2016 17:15:53 +0000 (10:15 -0700)]
* src/doc.c (Fsubstitute_command_keys): Clarify GC comments.

8 years agoFix hz encoding and decoding (bug#23814)
K. Handa [Wed, 17 Aug 2016 14:37:17 +0000 (23:37 +0900)]
Fix hz encoding and decoding (bug#23814)

* lisp/language/china-util.el (decode-hz-region): Pay
attention to "~~}" sequence at the end of Chinese character
range.
(hz-category-table): New variable.
(encode-hz-region): Convert non-encodable characters to
\u... and \U...  Preserve ESC on ecoding.  Put
`chinese-gb2312' `charset' text property in advance to force
iso-2022-encoding to select chinese-gb2312 designation.

8 years agofile-attribute-collect: New defun
Tino Calancha [Wed, 17 Aug 2016 09:25:54 +0000 (18:25 +0900)]
file-attribute-collect: New defun

* lisp/files.el (file-attribute-collect):
Return a sublist of the attributes returned by 'file-attributes'.
Suggested by Ted Zlatanov in:

http://lists.gnu.org/archive/html/emacs-devel/2016-07/msg01195.html
; * etc/NEWS: Mention this defun in NEWS.

8 years agoFix Bug#24203
Michael Albinus [Wed, 17 Aug 2016 08:10:47 +0000 (10:10 +0200)]
Fix Bug#24203

* lisp/comint.el (comint-password-prompt-regexp): Relax regexp.  (Bug#24203)

8 years ago; Fix typo in /etc/NEWS
Michael Albinus [Wed, 17 Aug 2016 07:39:04 +0000 (09:39 +0200)]
; Fix typo in /etc/NEWS

8 years ago* etc/NEWS: Mention the change in json-encode-string.
Dmitry Gutov [Wed, 17 Aug 2016 04:09:01 +0000 (07:09 +0300)]
* etc/NEWS: Mention the change in json-encode-string.

The change was made to fix bug#20154, and came up again in bug#24239.

8 years ago; * etc/NEWS: Mention incompatible change in url-http-create-request.
Eli Zaretskii [Wed, 17 Aug 2016 02:41:00 +0000 (05:41 +0300)]
; * etc/NEWS: Mention incompatible change in url-http-create-request.

8 years agoImprove doc string.
Karl Fogel [Tue, 16 Aug 2016 20:25:52 +0000 (15:25 -0500)]
Improve doc string.

* src/fileio.c (Ffile_name_as_directory): Be precise about the
conditions under which a slash is appended.

8 years agoOmit substitute-command-keys code no longer needed
Paul Eggert [Tue, 16 Aug 2016 20:16:49 +0000 (13:16 -0700)]
Omit substitute-command-keys code no longer needed

* src/doc.c (Fsubstitute_command_keys):
Remove duplicate initializations.

8 years agoMerge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
Eli Zaretskii [Tue, 16 Aug 2016 18:35:17 +0000 (21:35 +0300)]
Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25

8 years ago* src/doc.c (Fsubstitute_command_keys): Another fix for smart quotes.
Eli Zaretskii [Tue, 16 Aug 2016 18:33:09 +0000 (21:33 +0300)]
* src/doc.c (Fsubstitute_command_keys): Another fix for smart quotes.

(Bug#24206)

8 years ago; * doc/lispref/windows.texi (Window Parameters): Grammar tweaks.
Glenn Morris [Tue, 16 Aug 2016 15:40:02 +0000 (08:40 -0700)]
; * doc/lispref/windows.texi (Window Parameters): Grammar tweaks.
* etc/NEWS: Likewise.

8 years agoAvoid segfaults due to quoting in 'substitute-command-keys'
Eli Zaretskii [Tue, 16 Aug 2016 14:36:27 +0000 (17:36 +0300)]
Avoid segfaults due to quoting in 'substitute-command-keys'

* src/doc.c (Fsubstitute_command_keys): Correct character counts
when the input string is unibyte.  (Bug#24206)

8 years agoIn NEWS describe new handling of window margins (Bug#24193)
Martin Rudalics [Tue, 16 Aug 2016 10:40:12 +0000 (12:40 +0200)]
In NEWS describe new handling of window margins (Bug#24193)

* etc/NEWS: Describe new handling of margins when splitting or
resizing windows (Bug#24193).

8 years agoAllow not erase output buffer in shell commands
Tino Calancha [Tue, 16 Aug 2016 09:18:44 +0000 (18:18 +0900)]
Allow not erase output buffer in shell commands

* lisp/simple.el (shell-command-not-erase-buffer): New option to allow
not erasing the output buffer between shell commands.  Defaults to nil.
(shell-command-on-region): Use it.
(shell-command--save-pos-or-erase): New defun; store a buffer position
if 'shell-command-not-erase-buffer' is non-nil; otherwise
erase the output buffer of the shell command.
(shell-command, shell-command-on-region): Use it.
(shell-command--set-point-after-cmd): New defun;
if 'shell-command-not-erase-buffer' is non-nil, set point
in the output buffer to the position in 'shell-command-saved-pos'.
(shell-command-sentinel, shell-command-on-region): Use it.
* doc/emacs/misc.texi (shell-command-not-erase-buffer):
Document this feature in the manual.
; * etc/NEWS: Add entry for this new feature.
See discussion on:
http://lists.gnu.org/archive/html/emacs-devel/2016-07/msg00610.html

8 years agoRearrange Tramp manual title page
Michael Albinus [Tue, 16 Aug 2016 07:48:24 +0000 (09:48 +0200)]
Rearrange Tramp manual title page

* doc/misc/tramp.texi: Move @insertcopying out of the title
page.  Do not use @ifnottex anymore.

8 years agoFacultatively ignore margins when splitting and resizing windows (Bug#24193)
Martin Rudalics [Tue, 16 Aug 2016 07:19:18 +0000 (09:19 +0200)]
Facultatively ignore margins when splitting and resizing windows (Bug#24193)

Provide a new window parameter 'min-margins' which allows to
ignore the actual widths of a window's margins when splitting or
resizing that window horizontally.  This should serve as a
workaround for handling the problems raised by Bug#24193.

* lisp/window.el (window--min-size-1): Handle new window
parameter 'min-margins'.
(split-window): Fix text of error messages.
* doc/lispref/windows.texi (Window Parameters): Describe new
parameter 'min-margins'.

8 years ago* doc/misc/tramp.texi: Adapt 2016-08-14 change for makeinfo 4.
Glenn Morris [Mon, 15 Aug 2016 16:48:01 +0000 (12:48 -0400)]
* doc/misc/tramp.texi: Adapt 2016-08-14 change for makeinfo 4.

8 years agoFix minor bug in c-syntactic-re-search-forward.
Alan Mackenzie [Mon, 15 Aug 2016 16:22:36 +0000 (16:22 +0000)]
Fix minor bug in c-syntactic-re-search-forward.

Bug was: when NOERROR is neither nil nor t, BOUND is non-nil, PAREN-LEVEL is
non-nil, and the first internal search attempt fails, point wrongly ends up at
BOUND, rather than just before the next closing paren.

* lisp/progmodes/cc-engine.el (c-syntactic-re-search-forward): Guard against
the above situation.

8 years agoHandle C++11 lambda functions.
Alan Mackenzie [Mon, 15 Aug 2016 11:52:32 +0000 (11:52 +0000)]
Handle C++11 lambda functions.

* lisp/progmodes/cc-engine.el (c-looking-at-inexpr-block): Enhance also to
handle C++ lambda functions.
(c-looking-at-c++-lambda-capture-list): New function.

* lisp/progmodes/cc-fonts.el (c-font-lock-declarations): Recognize the
parameter list of a lambda function and set `context' and
`c-restricted-<>-arglists' suitably for it.
(c-font-lock-c++-lambda-captures): New function.
(c-complex-decl-matchers): Insert c-font-lock-c++-lambda-captures into it.

* lisp/progmodes/cc-langs.el (c-pre-lambda-tokens, c-pre-lambda-tokens-re):
New language constants/variables.
(c-paren-nontype-kwds): Include "noexcept" in the C++ value.

* lisp/progmodes/cc-mode.el (c-fl-decl-start): Handle being in a C++ lambda
function capture list.

8 years agoFix stale cache problem in Tramp
Michael Albinus [Mon, 15 Aug 2016 10:29:20 +0000 (12:29 +0200)]
Fix stale cache problem in Tramp

* lisp/net/tramp-cache.el (tramp-get-connection-property):
Check, that a process as key is still running.  (Bug#22478)

8 years ago* doc/misc/tramp.texi (Configuration): Fix @xref typo.
Paul Eggert [Sun, 14 Aug 2016 20:05:22 +0000 (15:05 -0500)]
* doc/misc/tramp.texi (Configuration): Fix @xref typo.

8 years agoAnother fix for scroll-conservatively and overlay strings
Eli Zaretskii [Sun, 14 Aug 2016 18:25:52 +0000 (21:25 +0300)]
Another fix for scroll-conservatively and overlay strings

* src/xdisp.c (redisplay_window): Handle also the case where the
calculated window-start point has an overlay string touching it.
(Bug#24179)