]> git.eshelyaron.com Git - emacs.git/log
emacs.git
6 years ago; * lisp/vc/vc.el: Comment fixes.
Glenn Morris [Wed, 17 Jan 2018 01:56:28 +0000 (20:56 -0500)]
; * lisp/vc/vc.el: Comment fixes.

6 years agoSmall startup fix for current-load-list
Glenn Morris [Wed, 17 Jan 2018 01:55:20 +0000 (20:55 -0500)]
Small startup fix for current-load-list

* lisp/startup.el (command-line):
Avoid current-load-list being non-nil after startup ends.

6 years ago; * etc/AUTHORS: Regenerate.
Glenn Morris [Wed, 17 Jan 2018 01:53:36 +0000 (20:53 -0500)]
; * etc/AUTHORS: Regenerate.

6 years agoauthors-aliases is based on regexps, not literals
Glenn Morris [Wed, 17 Jan 2018 01:52:55 +0000 (20:52 -0500)]
authors-aliases is based on regexps, not literals

* admin/authors.el (authors-aliases): Replace overly-broad entries.

6 years agoRemove incorrect documentation in comint.el
Charles A. Roelli [Mon, 15 Jan 2018 20:14:05 +0000 (21:14 +0100)]
Remove incorrect documentation in comint.el

* lisp/comint.el (comint-interrupt-subjob, comint-kill-subjob)
(comint-quit-subjob, comint-stop-subjob): Remove incorrect
documentation.  (Bug#30079)

6 years agoAn overdue update of src/emacs-icon.h
Glenn Morris [Mon, 15 Jan 2018 01:27:19 +0000 (17:27 -0800)]
An overdue update of src/emacs-icon.h

* src/emacs-icon.h: Update to the Emacs 25 icon.  (Bug#30047)
Converted from hicolor/scalable/apps/emacs.svg using Gimp.

6 years agoMinor copyedit in ELisp manual
Eli Zaretskii [Sun, 14 Jan 2018 16:48:05 +0000 (18:48 +0200)]
Minor copyedit in ELisp manual

* doc/lispref/variables.texi (File Local Variables): Improve
wording of last change.

6 years agoFix Bug#29149 in dired-aux.el
Shuguang Sun [Sat, 13 Jan 2018 16:52:04 +0000 (17:52 +0100)]
Fix Bug#29149 in dired-aux.el

* lisp/dired-aux.el (dired-shell-stuff-it): Handle remote
commands on w32 properly.  (Bug#29149)

6 years agoFix Bug#29149 in shell.el
Michael Albinus [Sat, 13 Jan 2018 16:48:10 +0000 (17:48 +0100)]
Fix Bug#29149 in shell.el

* lisp/shell.el (shell): Change order of `file-local-name' and
`expand-file-name' calls.  Otherwise, the local file name
would be extended by a drive letter, even when it is a remote
file, seen from w32.  (Bug#29149)

6 years ago* doc/lispref/variables.texi (File Local Variables): Fix last change
Stefan Monnier [Sat, 13 Jan 2018 22:02:50 +0000 (17:02 -0500)]
* doc/lispref/variables.texi (File Local Variables): Fix last change

6 years ago; * Update ldefs-boot.el emacs-26.0.91
Nicolas Petton [Sat, 13 Jan 2018 21:07:12 +0000 (22:07 +0100)]
; * Update ldefs-boot.el

6 years ago* ChangeLog.3: Update
Nicolas Petton [Sat, 13 Jan 2018 20:49:52 +0000 (21:49 +0100)]
* ChangeLog.3: Update

6 years agoUpdate etc/AUTHORS
Nicolas Petton [Sat, 13 Jan 2018 20:49:13 +0000 (21:49 +0100)]
Update etc/AUTHORS

6 years agoFix an entry in authors-aliases
Nicolas Petton [Sat, 13 Jan 2018 20:45:31 +0000 (21:45 +0100)]
Fix an entry in authors-aliases

* admin/authors.el (authors-aliases): Replace regexp from "Max", which
is too broad, to an email address ("mu@magi.net.ru").

6 years agoMention trace.el facilities in the ELisp manual
Eli Zaretskii [Sat, 13 Jan 2018 11:53:47 +0000 (13:53 +0200)]
Mention trace.el facilities in the ELisp manual

* doc/lispref/debugging.texi (Debugging): Mention the trace.el
library.

6 years agoImprove documentation of safe values of variables
Eli Zaretskii [Sat, 13 Jan 2018 10:48:07 +0000 (12:48 +0200)]
Improve documentation of safe values of variables

* doc/lispref/variables.texi (File Local Variables): Mention the
autoload cookie as a means of defining safe values for variables.
See http://lists.gnu.org/archive/html/emacs-devel/2018-01/msg00261.html
for the details.
* doc/lispref/compile.texi (Compiler Errors): Document
'byte-compile-error-on-warn'.

6 years ago; * doc/emacs/misc.texi (Amusements): Really add "games" to the section name.
Eli Zaretskii [Sat, 13 Jan 2018 09:47:17 +0000 (11:47 +0200)]
; * doc/emacs/misc.texi (Amusements): Really add "games" to the section name.

6 years agoImprove the Emacs manual's "Misc" node
Eli Zaretskii [Sat, 13 Jan 2018 09:45:04 +0000 (11:45 +0200)]
Improve the Emacs manual's "Misc" node

* doc/emacs/misc.texi (Gnus): A more descriptive section name.
(Invoking emacsclient): Mention how to avoid errors when there's
no Emacs server.
(EWW, Embedded WebKit Widgets): Now subsections under
"Hyperlinking and Web Navigation Features".
(Amusements): Add "games" to the section name.  Suggested by Alex
Branham <alex.branham@gmail.com> in emacs-manual-bugs@gnu.org.

* doc/emacs/emacs.texi (Top): Adjust the top-level menus to the
above changes.

* doc/lispref/os.texi (Security Considerations): Fix typos.

6 years agoIn nsterm.m use FRAME_NS_P instead of FRAME_X_P (Bug#30019)
Martin Rudalics [Sat, 13 Jan 2018 07:59:31 +0000 (08:59 +0100)]
In nsterm.m use FRAME_NS_P instead of FRAME_X_P (Bug#30019)

* src/nsterm.m (x_set_parent_frame): Call FRAME_NS_P instead
of FRAME_X_P (Bug#30019).

6 years ago; * Update ldefs-boot.el
Nicolas Petton [Fri, 12 Jan 2018 21:53:44 +0000 (22:53 +0100)]
; * Update ldefs-boot.el

6 years agoBump Emacs version to 26.0.91
Nicolas Petton [Fri, 12 Jan 2018 21:01:55 +0000 (22:01 +0100)]
Bump Emacs version to 26.0.91

* README:
* configure.ac:
* msdos/sed2v2.inp:
* nt/README.W32: Bump Emacs version.

6 years ago* ChangeLog.3: Update
Nicolas Petton [Fri, 12 Jan 2018 21:01:44 +0000 (22:01 +0100)]
* ChangeLog.3: Update

6 years agoUpdate authors
Nicolas Petton [Fri, 12 Jan 2018 20:58:43 +0000 (21:58 +0100)]
Update authors

* admin/authors.el (authors-aliases, authors-valid-file-names): Additions.
* etc/AUTHORS: Update AUTHORS file.

6 years ago* lisp/gnus/message.el (message-do-auto-fill): Prevent do-auto-fill from
Katsumi Yamaoka [Fri, 12 Jan 2018 03:54:07 +0000 (03:54 +0000)]
* lisp/gnus/message.el (message-do-auto-fill): Prevent do-auto-fill from
adding extra citation mark (bug#29767, but it is a different bug).

6 years agoImprove documentation of etags
Eli Zaretskii [Thu, 11 Jan 2018 17:44:29 +0000 (19:44 +0200)]
Improve documentation of etags

* doc/emacs/maintaining.texi (Tag Syntax, Create Tags Table):
Improve documentation of etags options and of source language
detection.

6 years agoTeach etags new interpreters for some languages
Eli Zaretskii [Thu, 11 Jan 2018 16:35:12 +0000 (18:35 +0200)]
Teach etags new interpreters for some languages

* lib-src/etags.c (Erlang_interpreters, Lua_interpreters)
(Prolog_interpreters, Python_interpreters, Ruby_interpreters): New
static variables.
(lang_names): Use them to set interpreters for Erlang, Lua,
Prolog, Python, and Ruby.
(find_entries): Support "/usr/bin/env FOO" form of specifying an
interpreter.

* test/manual/etags/perl-src/htlmify-cystic: Modify the has-bang
line to test the "env FOO" interpreter spec.  (Bug#30075)
* 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: Adapt to latest changes in test
files.

6 years ago* lisp/emacs-lisp/generator.el (iter-defun): Add 'doc-string' prop.
Stefan Monnier [Thu, 11 Jan 2018 16:24:38 +0000 (11:24 -0500)]
* lisp/emacs-lisp/generator.el (iter-defun): Add 'doc-string' prop.

6 years ago* lisp/emacs-lisp/syntax.el (syntax-propertize): Fix bug#29767
Stefan Monnier [Thu, 11 Jan 2018 15:11:39 +0000 (10:11 -0500)]
* lisp/emacs-lisp/syntax.el (syntax-propertize): Fix bug#29767

6 years agoImprove documentation of fill-separate-heterogeneous-words-with-space
Charles A. Roelli [Wed, 10 Jan 2018 20:30:43 +0000 (21:30 +0100)]
Improve documentation of fill-separate-heterogeneous-words-with-space

* lisp/textmodes/fill.el
(fill-separate-heterogeneous-words-with-space): Fix grammar.

6 years agoFix documentation of some x-* functions
Eli Zaretskii [Wed, 10 Jan 2018 19:24:58 +0000 (21:24 +0200)]
Fix documentation of some x-* functions

* lisp/term/pc-win.el (x-display-pixel-width)
(x-display-pixel-height, x-display-planes)
(x-display-color-cells, x-server-max-request-size)
(x-server-vendor, x-server-version, x-display-screens)
(x-display-mm-height, x-display-mm-width)
(x-display-backing-store, x-display-visual-class): Provide doc
strings, so that 'makedoc' produces non-empty documentation in
etc/DOC for these functions.  (Bug#30068)

6 years agoInherit query-on-exit flag to stderr process (Bug#30031)
Philipp Stephani [Mon, 8 Jan 2018 20:51:44 +0000 (21:51 +0100)]
Inherit query-on-exit flag to stderr process (Bug#30031)

* src/process.c (Fmake_process): Have the pipe process honor the
parent's query-on-exit flag.

* test/src/process-tests.el (make-process/noquery-stderr): New test.

6 years agoFix Bug#30057
Michael Albinus [Wed, 10 Jan 2018 12:39:17 +0000 (13:39 +0100)]
Fix Bug#30057

* test/lisp/filenotify-tests.el (file-notify--test-tmpdir): New defvar.
(file-notify--test-cleanup, file-notify--test-make-temp-name)
(file-notify-test01-add-watch, file-notify-test03-events)
(file-notify-test05-file-validity)
(file-notify-test09-watched-file-in-watched-dir)
(file-notify-test10-sufficient-resources): Use it.  (Bug#30057)

6 years agoTag some unstable tests, and skip by default (bug#24503)
Glenn Morris [Wed, 10 Jan 2018 03:59:04 +0000 (19:59 -0800)]
Tag some unstable tests, and skip by default (bug#24503)

* Makefile.in (check-all): New phony target.
* test/Makefile.in (SELECTOR_DEFAULT, SELECTOR_EXPENSIVE):
Also skip unstable tests.
(SELECTOR_ALL): New variable.
(check-all): New phony target.
* test/lisp/emacs-lisp/eieio-tests/eieio-test-methodinvoke.el
(eieio-test-method-order-list-6):
* test/lisp/emacs-lisp/eieio-tests/eieio-tests.el
(eieio-test-37-obsolete-name-in-constructor):
Mark as unstable rather than skipping on hydra.nixos.org.

6 years agoMerge from Gnulib
Paul Eggert [Tue, 9 Jan 2018 23:21:44 +0000 (15:21 -0800)]
Merge from Gnulib

This incorporates:
2018-01-05 maint: Add encoding marker for Emacs to non-ASCII sources
2018-01-04 update-copyright: Handle use of ©
2018-01-04 pthread_sigmask: Avoid compilation error on mingw
2018-01-02 stat-time: silence -Wunused-parameter regression
* build-aux/config.guess, build-aux/config.sub:
* build-aux/update-copyright, doc/misc/texinfo.tex, lib/gnulib.mk.in:
* lib/md5.c, lib/md5.h, lib/sha1.c, lib/sha1.h, lib/sha256.c:
* lib/sha256.h, lib/sha512.c, lib/sha512.h, lib/signal.in.h:
* lib/stat-time.h: Copy from Gnulib, or regenerate.

6 years ago* lisp/epg.el (epg-start-sign): Replace obsolete functions.
Glenn Morris [Tue, 9 Jan 2018 20:10:43 +0000 (15:10 -0500)]
* lisp/epg.el (epg-start-sign): Replace obsolete functions.

6 years agoSmall fix for erc-logging-enabled
Glenn Morris [Tue, 9 Jan 2018 19:48:29 +0000 (14:48 -0500)]
Small fix for erc-logging-enabled

* lisp/erc/erc-log.el (erc-logging-enabled):
Respect buffer-locality of erc-enable-logging variable.

6 years agoQuieten semantic normal usage
Glenn Morris [Tue, 9 Jan 2018 18:54:11 +0000 (13:54 -0500)]
Quieten semantic normal usage

* lisp/cedet/semantic/lex.el (semantic-flex): Mark obsolete at
compile time in the normal way, not at run-time.  (Bug#30035)

6 years agoAvoid irrelevant hyperlink in doc string of 'epa-pinentry-mode'
Eli Zaretskii [Mon, 8 Jan 2018 21:26:11 +0000 (23:26 +0200)]
Avoid irrelevant hyperlink in doc string of 'epa-pinentry-mode'

* lisp/epa.el (epa-pinentry-mode): Doc fix.  (Bug#30025)

6 years ago* doc/misc/tramp.texi (Remote processes): Mention gdb restrictions with I/O.
Michael Albinus [Mon, 8 Jan 2018 15:43:46 +0000 (16:43 +0100)]
* doc/misc/tramp.texi (Remote processes): Mention gdb restrictions with I/O.

6 years agoQuery background for gnome terminal version 3.22 (Bug#29716)
Noam Postavsky [Fri, 15 Dec 2017 02:42:56 +0000 (21:42 -0500)]
Query background for gnome terminal version 3.22 (Bug#29716)

* lisp/term/xterm.el (xterm--version-handler): Use
xterm--report-background-handler for terminals reporting minor version
4000 and above.

6 years agoMake pixel-wise scrolling less laggy
Tak Kunihiro [Sun, 7 Jan 2018 07:17:09 +0000 (09:17 +0200)]
Make pixel-wise scrolling less laggy

* lisp/pixel-scroll.el (pixel-dead-time, pixel-last-scroll-time):
New variables.
(pixel-scroll-up, pixel-scroll-down): Invoke 'scroll-up' or
'scroll-down' when called within 'pixel-dead-time'.  (Bug#29737)

6 years agoFix child frame placement issues (bug#29953)
Alan Third [Wed, 3 Jan 2018 13:45:03 +0000 (13:45 +0000)]
Fix child frame placement issues (bug#29953)

* src/nsterm.h (NS_PARENT_WINDOW_LEFT_POS):
(NS_PARENT_WINDOW_TOP_POS): Get the parent frame through the frame
struct as invisible child windows are detached from their parents in
NS.
* src/nsterm.m (x_set_offset): Offscreen frames have `nil' screen
value, so handle that gracefully.  Child frames with negative left and
top should be positioned relative to the bottom right of the parent
frame.

6 years ago; * doc/lispref/text.texi (Change Hooks): Fix last change.
Eli Zaretskii [Sat, 6 Jan 2018 19:43:04 +0000 (21:43 +0200)]
; * doc/lispref/text.texi (Change Hooks): Fix last change.

6 years agoDescribe the precise interaction of complex primitives with the change hooks
Alan Mackenzie [Sat, 6 Jan 2018 18:55:08 +0000 (18:55 +0000)]
Describe the precise interaction of complex primitives with the change hooks

* doc/lispref/text.texi (Change Hooks): Document that most buffer changing
primitives call before- and after-change-functions in balanced pairs, but that
some complex primitives call b-c-f once, and a-c-f zero, one, or several
times.

6 years agoFix valgrind report in call-interactively
Eli Zaretskii [Sat, 6 Jan 2018 16:23:52 +0000 (18:23 +0200)]
Fix valgrind report in call-interactively

* src/callint.c (Fcall_interactively): Don't try to access more
bytes than are available in the interactive spec.  (Bug#30004)

6 years ago* src/editfns.c (Fsave_excursion): Doc fix. (Bug#30001)
Eli Zaretskii [Sat, 6 Jan 2018 15:14:41 +0000 (17:14 +0200)]
* src/editfns.c (Fsave_excursion): Doc fix.  (Bug#30001)

6 years agoFix mark-defun when there's no spaces between successive defuns.
Alan Mackenzie [Sat, 6 Jan 2018 11:48:32 +0000 (11:48 +0000)]
Fix mark-defun when there's no spaces between successive defuns.

The problem was a parse-partial-sexp call which tried to use the STOPBEFORE
argument to detect non-syntactic WS.  This fails on a "}", which does not
begin a sexp.

* lisp/emacs-lisp/lisp.h (beginning-of-defun--in-emptyish-line-p): Enhance to
handle BOL being in a string.
(beginning-of-defun-comments): Call the above function in place of the call
to parse-partial-sexp.

6 years agoFix Dired display and operations on file names with raw bytes
Eli Zaretskii [Sat, 6 Jan 2018 08:56:21 +0000 (10:56 +0200)]
Fix Dired display and operations on file names with raw bytes

* src/coding.c (decode_coding): When flushing remaining raw bytes
from multibyte text, copy 2-byte forms of eight-bit-*
characters as single characters, not as 2 raw bytes.  (Bug#29189)

6 years ago; Comments related to src/termcap.c
Glenn Morris [Sat, 6 Jan 2018 02:50:31 +0000 (18:50 -0800)]
; Comments related to src/termcap.c

6 years agoImprove documentation of 'gdb-many-windows'
Eli Zaretskii [Fri, 5 Jan 2018 15:05:42 +0000 (17:05 +0200)]
Improve documentation of 'gdb-many-windows'

* doc/emacs/building.texi (GDB User Interface Layout): Add advice
for using a separate frame for 'gdb-many-windows'.

6 years agoFix failures in smerge-mode on MS-Windows
Eli Zaretskii [Fri, 5 Jan 2018 09:22:27 +0000 (11:22 +0200)]
Fix failures in smerge-mode on MS-Windows

* lisp/vc/smerge-mode.el (smerge--refine-chopup-region): Use
utf-8-emacs-unix, not emacs-internal, to make the forced EOL
convention explicit.
(smerge-refine-regions): Use utf-8-emacs instead of
emacs-internal, to allow decoding of non-Unix EOL conventions.
(Bug#29916)

6 years agoFix description of 'struct' generic function specializer
Stephen Leake [Tue, 2 Jan 2018 13:28:06 +0000 (07:28 -0600)]
Fix description of 'struct' generic function specializer
Backport:

* doc/lispref/functions.texi (Generic Functions): Fix description of
'struct' specializer; it must be the named struct or a child, not a
parent.

(cherry picked from commit b6add8c7cfc6d36f9dd8ad99be06bd8ab41cc6f8)

6 years ago* etc/DEBUG (Getting control to the debugger): Fix grammar.
Charles A. Roelli [Thu, 4 Jan 2018 20:27:26 +0000 (21:27 +0100)]
* etc/DEBUG (Getting control to the debugger): Fix grammar.

6 years ago* lisp/vc/vc.el (vc-region-history): log-view-vc-fileset holds a list!
Stefan Monnier [Wed, 3 Jan 2018 20:33:08 +0000 (15:33 -0500)]
* lisp/vc/vc.el (vc-region-history): log-view-vc-fileset holds a list!

6 years agoDon't bind dframe events on load (Bug#29599)
Noam Postavsky [Tue, 19 Dec 2017 01:30:10 +0000 (20:30 -0500)]
Don't bind dframe events on load (Bug#29599)

* lisp/dframe.el (dframe-setup-hook): New hook.
(dframe-set-special-events): New function, containing previous
top-level key binding code.
(top-level): Add it to dframe-setup-hook.
(dframe-frame-mode): Run the hook.

6 years ago* lisp/textmodes/picture.el (picture-mode-exit): Doc fix. (Bug#29949)
Eli Zaretskii [Tue, 2 Jan 2018 19:34:58 +0000 (21:34 +0200)]
* lisp/textmodes/picture.el (picture-mode-exit): Doc fix.  (Bug#29949)

6 years ago* lisp/textmodes/picture.el (picture-open-line): Doc fix. (Bug#29948)
Eli Zaretskii [Tue, 2 Jan 2018 19:24:34 +0000 (21:24 +0200)]
* lisp/textmodes/picture.el (picture-open-line): Doc fix.  (Bug#29948)

6 years agoFix description of 'emacs-internal'
Eli Zaretskii [Mon, 1 Jan 2018 16:36:28 +0000 (18:36 +0200)]
Fix description of 'emacs-internal'

* doc/lispref/nonascii.texi (Coding System Basics): Correct
inaccuracy in description of 'emacs-internal'.  (Bug#29916)

6 years agoUpdate PROBLEMS with selection-related issues
Eli Zaretskii [Mon, 1 Jan 2018 16:28:53 +0000 (18:28 +0200)]
Update PROBLEMS with selection-related issues

* etc/PROBLEMS: Update the entry about large selections and
klipper.  (Bug#29661)

6 years agoNew customization variable for python-mode indentation (Bug#28475)
Ross Donaldson [Mon, 25 Dec 2017 20:51:19 +0000 (12:51 -0800)]
New customization variable for python-mode indentation (Bug#28475)

* lisp/progmodes/python.el (python-indent-def-block-scale): New variable.
(python-indent--calculate-indentation): Let it control how many indent
levels are inserted for multi-line function signatures.

Copyright-paperwork-exempt: yes

6 years agoFix menu keyboard shortcuts on macOS (Bug#29595)
Alan Third [Fri, 22 Dec 2017 12:27:05 +0000 (12:27 +0000)]
Fix menu keyboard shortcuts on macOS (Bug#29595)

* src/nsmenu.m (addItemWithWidgetValue)[NS_IMPL_COCOA]: It looks like
macOS 10.13 no longer ignores long modifier strings, so explicitly use
an empty string.

6 years ago; Auto-commit of loaddefs files.
Glenn Morris [Mon, 1 Jan 2018 11:34:11 +0000 (06:34 -0500)]
; Auto-commit of loaddefs files.

6 years agoFix copyright years by hand
Paul Eggert [Mon, 1 Jan 2018 09:02:09 +0000 (01:02 -0800)]
Fix copyright years by hand

These are dates that admin/update-copyright did not update, or
updated incorrectly.

6 years agoUpdate copyright year to 2018
Paul Eggert [Mon, 1 Jan 2018 08:21:42 +0000 (00:21 -0800)]
Update copyright year to 2018

Run admin/update-copyright.

6 years agoMerge from Gnulib
Paul Eggert [Mon, 1 Jan 2018 01:19:57 +0000 (01:19 +0000)]
Merge from Gnulib

This incorporates:
2018-01-01 maint: Run 'make update-copyright'
2017-12-29 Add cross-compilation results for GNU/Hurd.
2017-12-12 explicit_bzero: port to macOS + Clang 9.0.0

6 years agoDon't add empty keyboard macro to macro ring (Bug#24992)
Gemini Lasswell [Mon, 18 Dec 2017 18:08:59 +0000 (10:08 -0800)]
Don't add empty keyboard macro to macro ring (Bug#24992)

* lisp/kmacro.el (kmacro-end-call-mouse): Don't save a newly defined
macro if it is empty.

* test/lisp/kmacro-tests.el (kmacro-tests-end-and-call-macro-mouse):
Remove expected failure tag.

6 years agoAllow customization of decoding of "man" command
Eli Zaretskii [Sun, 31 Dec 2017 16:20:12 +0000 (18:20 +0200)]
Allow customization of decoding of "man" command

* lisp/man.el (Man-coding-system): New defcustom.
(Man-start-calling): Use it, and also pay attention to user
overriding coding-system-for-read.  (Bug#29872)

6 years ago* etc/NEWS: Add security consideration note on passphrase input
Daiki Ueno [Sun, 31 Dec 2017 04:37:17 +0000 (05:37 +0100)]
* etc/NEWS: Add security consideration note on passphrase input

6 years agoFix subtle problem with scroll-down when scroll-margin is nonzero
Eli Zaretskii [Fri, 29 Dec 2017 21:41:20 +0000 (23:41 +0200)]
Fix subtle problem with scroll-down when scroll-margin is nonzero

* src/window.c (window_scroll_pixel_based): Account for
scroll-margin when scrolling down, i.e. moving window-start
towards the beginning of the buffer.  Reported by zhang cc
<ccsmile2008@outlook.com> in
http://lists.gnu.org/archive/html/emacs-devel/2017-12/msg00894.html.

6 years agoFix problems with indexing in User manual
Eli Zaretskii [Fri, 29 Dec 2017 16:04:57 +0000 (18:04 +0200)]
Fix problems with indexing in User manual

* doc/emacs/basic.texi (Continuation Lines, Inserting Text)
(Moving Point):
* doc/emacs/help.texi (Help Echo, Package Keywords, Help Mode):
* doc/emacs/trouble.texi (Quitting):
* doc/emacs/mark.texi (Setting Mark, Disabled Transient Mark):
* doc/emacs/custom.texi (Modifier Keys, Init Examples)
(Creating Custom Themes):
* doc/emacs/programs.texi (Program Modes, Expressions, Hideshow)
(Basic Indent, Info Lookup, Symbol Completion):
* doc/emacs/screen.texi (Echo Area):
* doc/emacs/xresources.texi (Table of Resources, GTK Names in Emacs):
* doc/emacs/display.texi (Line Truncation, Cursor Display):
* doc/emacs/files.texi (File Names, Backup, File Archives):
* doc/emacs/dired.texi (Operating on Files, Dired Enter):
* doc/emacs/commands.texi (User Input):
* doc/emacs/mule.texi (International, Unibyte Mode)
(International Chars):
* doc/emacs/vc1-xtra.texi (RCS and SCCS, Version Headers)
(CVS Options):
* doc/emacs/modes.texi (Major Modes, Minor Modes):
* doc/emacs/indent.texi (Just Spaces):
* doc/emacs/frames.texi (Mouse Avoidance, Mode Line Mouse)
(Frame Commands):
* doc/emacs/cmdargs.texi (Initial Options):
* doc/emacs/abbrevs.texi (Dabbrev Customization):
* doc/emacs/mini.texi (Completion Example, Completion Commands):
* doc/emacs/calendar.texi (Writing Calendar Files, Calendar Unit Motion)
(From Other Calendar):
* doc/emacs/regs.texi (Text Registers, Bookmarks):
* doc/emacs/buffers.texi (Several Buffers, Select Buffer):
* doc/emacs/maintaining.texi (Xref Commands):
* doc/emacs/windows.texi (Pop Up Window):
* doc/emacs/text.texi (Text, Org Mode):
* doc/emacs/killing.texi (Other Kill Commands):
* doc/emacs/misc.texi (Document View, Gnus Group Buffer)
(Gnus Summary Buffer, Shell Mode):
* doc/emacs/cal-xtra.texi (Sexp Diary Entries): Remove or reword
redundant identical index entries.
* doc/emacs/custom.texi (Mouse Buttons)
* doc/emacs/files.texi (Reverting): Fix hyphenation.
* doc/emacs/emacs.texi (Top): Improve wording of Index menu items.
* doc/emacs/files.texi (File Conveniences):
* doc/emacs/programs.texi (MixedCase Words): Make entries that
belong to Concept Index be indexed with @cindex.  (Bug#29888)

6 years ago* lisp/help.el (describe-key): Only (copy-sequence elt) when elt is a list.
Alan Mackenzie [Fri, 29 Dec 2017 09:54:03 +0000 (09:54 +0000)]
* lisp/help.el (describe-key): Only (copy-sequence elt) when elt is a list.

6 years ago* src/buffer.c (Frestore_buffer_modified_p): Fix bug#29846
Stefan Monnier [Thu, 28 Dec 2017 19:03:07 +0000 (14:03 -0500)]
* src/buffer.c (Frestore_buffer_modified_p): Fix bug#29846

Don't mess with the lock file when inhibit_modification_hooks is set,
just like we do in prepare_to_modify_buffer_1.

6 years agoImprove documentation of 'inhibit-modification-hooks' and friends
Eli Zaretskii [Thu, 28 Dec 2017 17:23:34 +0000 (19:23 +0200)]
Improve documentation of 'inhibit-modification-hooks' and friends

* src/buffer.c (Fset_buffer_modified_p)
(Frestore_buffer_modified_p): Doc fixes.
* src/insdel.c (syms_of_insdel) <inhibit-modification-hooks>:
Document in the doc string that this variable also inhibits file
locks and active region handling.  (Bug#29846)

6 years agoFix doc string of 'enable-recursive-minibuffers'
David Pathakjee [Thu, 28 Dec 2017 16:59:42 +0000 (18:59 +0200)]
Fix doc string of 'enable-recursive-minibuffers'

* src/minibuf.c (syms_of_minibuf) <enable-recursive-minibuffers>:
Doc fix.  (Bug#29873)

Copyright-paperwork-exempt: yes

7 years agoFix documentation of delsel and of killing text
Eli Zaretskii [Wed, 27 Dec 2017 18:23:10 +0000 (20:23 +0200)]
Fix documentation of delsel and of killing text

* doc/emacs/killing.texi (Appending Kills): Make sure the text
with 2 spaces is not broken between 2 lines.
* doc/emacs/mark.texi (Using Region): Remove the sentence about
delsel mode that describes behavior which exists even without
delsel mode turned on.  Suggested by Petteri Hintsanen
<petterih@iki.fi> in emacs-manual-bugs@gnu.org.

* lisp/delsel.el (delete-selection-mode): Doc fix.

7 years ago* doc/lispref/strings.texi (Case Conversion):
Glenn Morris [Wed, 27 Dec 2017 17:55:35 +0000 (09:55 -0800)]
* doc/lispref/strings.texi (Case Conversion):
Use a TeX font that support ligatures.

7 years ago* doc/misc/speedbar.texi (Top): Fix grammar.
Charles A. Roelli [Wed, 27 Dec 2017 17:25:30 +0000 (18:25 +0100)]
* doc/misc/speedbar.texi (Top): Fix grammar.

7 years ago* lisp/subr.el (with-silent-modifications): Doc fixes.
Charles A. Roelli [Wed, 27 Dec 2017 14:53:34 +0000 (15:53 +0100)]
* lisp/subr.el (with-silent-modifications): Doc fixes.

7 years agoFix curved quotes in printed manual
Eli Zaretskii [Tue, 26 Dec 2017 20:43:32 +0000 (22:43 +0200)]
Fix curved quotes in printed manual

* doc/emacs/text.texi (Quotation Marks): Fix curved quote
characters in the printed version of the manual.

7 years agoSay that "gnus-cloud" is a parody name
Paul Eggert [Mon, 25 Dec 2017 22:19:37 +0000 (14:19 -0800)]
Say that "gnus-cloud" is a parody name

7 years agoMore improvements for text.texi
Eli Zaretskii [Mon, 25 Dec 2017 19:49:37 +0000 (21:49 +0200)]
More improvements for text.texi

* doc/emacs/text.texi (Outline Motion): Avoid unneeded
repetition.  Suggested by Petteri Hintsanen <petterih@iki.fi> in
emacs-manual-bugs@gnu.org.

7 years agoAdjudicate review comments for the "Text" chapter of user manual
Eli Zaretskii [Sun, 24 Dec 2017 18:47:06 +0000 (20:47 +0200)]
Adjudicate review comments for the "Text" chapter of user manual

* doc/emacs/text.texi (Text): Rearrange text for clarity.  Add
cross-reference to the Org manual.  Make the cross-reference to
Outline Mode appear in online manuals as well (the conditional was
a forgotten remnant from time immemoriam).
(Paragraphs): Add a note that 'paragraph-start' and
'paragraph-separate' should not be anchored.
(Auto Fill): Remove redundant text.  Suggested by Petteri
Hintsanen <petterih@iki.fi> in emacs-manual-bugs@gnu.org.

7 years ago* lisp/url/url-http.el
Andreas Schwab [Sun, 24 Dec 2017 11:15:55 +0000 (12:15 +0100)]
* lisp/url/url-http.el
(url-http-wait-for-headers-change-function): Change message to
url-http-debug.

7 years agoIn C-h k <mouse-n>, alert user to existence of any matching down-mouse-event
Alan Mackenzie [Sun, 24 Dec 2017 10:29:52 +0000 (10:29 +0000)]
In C-h k <mouse-n>, alert user to existence of any matching down-mouse-event

, and instruct her to hold the mouse button to display its documentation.

* lisp/help.el (help-downify-mouse-event-type): New function.
(help-read-key-sequence, describe-key): handle double-click-time being nil or
t.
(describe-key): Print out instructions for displaying documentation of
matching mouse down key sequence command when such exists.

7 years ago* net/eww.el (eww): Handle URLs without host part.
Andreas Schwab [Sat, 23 Dec 2017 20:38:36 +0000 (21:38 +0100)]
* net/eww.el (eww): Handle URLs without host part.

7 years agoMake C-h c/k S-mouse-1 display message for mouse-appearance-menu, etc.
Alan Mackenzie [Sat, 23 Dec 2017 18:00:10 +0000 (18:00 +0000)]
Make C-h c/k S-mouse-1 display message for mouse-appearance-menu, etc.

Currently, C-h c/k for S-mouse-1 reports that S-mouse-1 is unbound, ignoring
that S-down-mouse-1 is bound.  We fix this by reporting on the "latest" mouse
event of a sequence which is bound.

* lisp/help.el (help-read-key-sequence): Save all encountered mouse events in
a list.  Return the latest one which has a binding.

7 years agoAvoid crashes when ':eval' deletes our frame
Eli Zaretskii [Sat, 23 Dec 2017 11:59:07 +0000 (13:59 +0200)]
Avoid crashes when ':eval' deletes our frame

* src/xdisp.c (display_mode_element): Signal an error if
':eval' somehow deletes the frame whose window we are
redisplaying. (Bug#29726)

7 years agoFix scrolling up in pixel-scroll.el
Tak Kunihiro [Sat, 23 Dec 2017 09:16:40 +0000 (11:16 +0200)]
Fix scrolling up in pixel-scroll.el

* lisp/pixel-scroll.el (pixel-scroll-up): Do not try to move cursor
down when EOB is shown at the top.  This function is reverted to
commit 1bda71ec3b11eeb4d06c3da094a3cb21bac18d5c. (bug#29737)

7 years agoFix problems with ligatures in PDF version of ELisp manual
Eli Zaretskii [Sat, 23 Dec 2017 08:34:42 +0000 (10:34 +0200)]
Fix problems with ligatures in PDF version of ELisp manual

* doc/lispref/strings.texi (Case Conversion): Avoid problems with
ligatures in printed versions of the manual.  (Bug#29818)

7 years ago(elisp-flymake-byte-compile): Handle killed buffer in sentinel
Stefan Monnier [Fri, 22 Dec 2017 21:00:07 +0000 (16:00 -0500)]
(elisp-flymake-byte-compile): Handle killed buffer in sentinel

* lisp/progmodes/elisp-mode.el (elisp-flymake-byte-compile):
Don't burp if the source-buffer has been killed.

7 years agoAvoid some overfull lines in PDF lispref
Glenn Morris [Fri, 22 Dec 2017 21:26:08 +0000 (16:26 -0500)]
Avoid some overfull lines in PDF lispref

* doc/lispref/commands.texi (Reading One Event):
* doc/lispref/display.texi (SVG Images):
* doc/lispref/frames.texi (Size Parameters):
* doc/lispref/syntax.texi (Categories):
* doc/lispref/windows.texi (Frame Layouts with Side Windows):
Avoid overfull lines.

7 years agoAvoid some overfull lines in PDF manual
Glenn Morris [Fri, 22 Dec 2017 21:24:24 +0000 (16:24 -0500)]
Avoid some overfull lines in PDF manual

* doc/emacs/display.texi (Display Custom):
* doc/emacs/search.texi (Other Repeating Search):
* doc/emacs/text.texi (Quotation Marks): Avoid overfull lines.

7 years ago* doc/emacs/arevert-xtra.texi (Auto Reverting the Buffer Menu):
Glenn Morris [Fri, 22 Dec 2017 21:22:13 +0000 (16:22 -0500)]
* doc/emacs/arevert-xtra.texi (Auto Reverting the Buffer Menu):
Fix ref.

7 years ago; lispref nil/t markup fixes
Glenn Morris [Fri, 22 Dec 2017 18:45:46 +0000 (13:45 -0500)]
; lispref nil/t markup fixes

7 years ago* lisp/emacs-lisp/inline.el (define-inline): Add a doc string.
Eli Zaretskii [Fri, 22 Dec 2017 10:37:19 +0000 (12:37 +0200)]
* lisp/emacs-lisp/inline.el (define-inline): Add a doc string.

7 years agoFix doc string of 'footnote-style-alist'
Eli Zaretskii [Fri, 22 Dec 2017 10:25:09 +0000 (12:25 +0200)]
Fix doc string of 'footnote-style-alist'

* lisp/mail/footnote.el (footnote-style-alist): Remove a reference
to non-existing files from doc string.  (Bug#29759)

7 years agoImprove documentation of selecting windows
Eli Zaretskii [Fri, 22 Dec 2017 10:18:12 +0000 (12:18 +0200)]
Improve documentation of selecting windows

* doc/lispref/windows.texi (Basic Windows, Selecting Windows):
Clarify what selecting a window means for keyboard input, and that
input focus may need to be considered when selecting windows on
other frames.  See
http://lists.gnu.org/archive/html/emacs-devel/2017-12/msg00372.html
for more details.

7 years agoImprove documentation of records
Eli Zaretskii [Fri, 22 Dec 2017 10:04:23 +0000 (12:04 +0200)]
Improve documentation of records

* doc/lispref/Makefile.in (srcs): Add the forgotten records.texi.
* doc/lispref/records.texi (Records): Recommend that record type
names use package-naming conventions.

* etc/NEWS: Add the naming convention recommendation for record
types.

7 years ago* etc/NEWS: Mention the removal of pinentry.el. (Bug#27445)
Eli Zaretskii [Fri, 22 Dec 2017 09:48:15 +0000 (11:48 +0200)]
* etc/NEWS: Mention the removal of pinentry.el.  (Bug#27445)

7 years agoFix interactive spec of 'semantic-ia-show-variants'
Eli Zaretskii [Fri, 22 Dec 2017 09:32:38 +0000 (11:32 +0200)]
Fix interactive spec of 'semantic-ia-show-variants'

* lisp/cedet/semantic/ia.el (semantic-ia-show-variants): Fix the
interactive spec to match the function's expectations.  (Bug#29770)