]> git.eshelyaron.com Git - emacs.git/log
emacs.git
6 years agoFix last change of @key markup
Eli Zaretskii [Thu, 1 Feb 2018 17:56:51 +0000 (19:56 +0200)]
Fix last change of @key markup

* doc/lispref/display.texi (Specified Space):
* doc/emacs/programs.texi (C Modes):
* doc/emacs/killing.texi (Rectangles):
* doc/emacs/emacs.texi (Top):
* doc/emacs/display.texi (Useless Whitespace): Don't use @key
markup for characters and commands, only for keys.

6 years ago* doc/emacs/entering.texi (Entering Emacs): Fix markup.
Eli Zaretskii [Thu, 1 Feb 2018 17:49:18 +0000 (19:49 +0200)]
* doc/emacs/entering.texi (Entering Emacs): Fix markup.

6 years agoRevert a1bbc49015 (Bug#30243), do not merge
Michael Albinus [Thu, 1 Feb 2018 14:00:18 +0000 (15:00 +0100)]
Revert a1bbc49015 (Bug#30243), do not merge

* lisp/files.el:
* test/lisp/net/tramp-tests.el: Revert a1bbc49015.  (Bug#30243)

6 years ago; Auto-commit of loaddefs files.
Glenn Morris [Thu, 1 Feb 2018 11:27:00 +0000 (06:27 -0500)]
; Auto-commit of loaddefs files.

6 years agoUse @key{} where it is missing in the manuals
Michael Albinus [Wed, 31 Jan 2018 18:59:12 +0000 (19:59 +0100)]
Use @key{} where it is missing in the manuals

6 years agoAnother round of manual fixes from proofreading
Eli Zaretskii [Wed, 31 Jan 2018 16:23:17 +0000 (18:23 +0200)]
Another round of manual fixes from proofreading

* doc/emacs/search.texi (Incremental Search)
(Nonincremental Search): Mention the menu bar and fix typos.
Reported by David Bonnafous <dbonnafo@gmail.com> in
emacs-manual-bugs@gnu.org.
* doc/emacs/building.texi (Compilation): Improve wording.
Suggested by drone <yoorobot@gmail.com> in
emacs-manual-bugs@gnu.org.
* doc/emacs/kmacro.texi (Basic Keyboard Macro): Clarify text.
Suggested by Robert Pluim <rpluim@gmail.com> in
emacs-manual-bugs@gnu.org.
* doc/emacs/display.texi (Highlight Interactively, Fringes):
Improve wording.  Suggested by Justin Heyes-Jones
<justinhj@gmail.com> in emacs-manual-bugs@gnu.org.
* doc/emacs/commands.texi (User Input, Commands): Add missing
commas.
* doc/emacs/screen.texi (Menu Bar): Mention keyboard keys to
navigate menus.  Suggested by oldgaro <oldgaro@protonmail.com> in
emacs-manual-bugs@gnu.org.
* doc/emacs/search.texi (Not Exiting Isearch): Fix a typo.
Reported by "Kocken, I.J. (Ilja)" <I.J.Kocken@uu.nl> in
emacs-manual-bugs@gnu.org.
* doc/emacs/basic.texi (Inserting Text): Mention one more label of
RET.  Suggested by Francis Wright <f.j.wright@live.co.uk> in
emacs-manual-bugs@gnu.org.
* doc/emacs/text.texi (Paragraphs): Clarify text.  Reported by
Marcin Borkowski <mbork@mbork.pl> in emacs-manual-bugs@gnu.org.
* doc/emacs/maintaining.texi (Introduction to VC)
(Why Version Control?, VCS Merging): Fix typos and section
capitalization.  Suggested by "R. P. Dillon"
<rpdillon@killring.org> in emacs-manual-bugs@gnu.org.
* doc/emacs/modes.texi (Major Modes, Choosing Modes): Fix typos.
Reported by clemens.radermacher@posteo.de in
emacs-manual-bugs@gnu.org.

6 years ago* doc/emacs/entering.texi (Entering Emacs): Fix last change.
Eli Zaretskii [Wed, 31 Jan 2018 14:52:12 +0000 (16:52 +0200)]
* doc/emacs/entering.texi (Entering Emacs): Fix last change.

6 years agoDocument 'window-at-side-p' in the Elisp manual
Martin Rudalics [Wed, 31 Jan 2018 08:35:15 +0000 (09:35 +0100)]
Document 'window-at-side-p' in the Elisp manual

* doc/lispref/windows.texi (Windows and Frames): Document
'window-at-side-p'.

6 years agoDocument external-debugging-output in the Elisp Manual (Bug#24051)
Noam Postavsky [Sun, 28 Jan 2018 23:16:48 +0000 (18:16 -0500)]
Document external-debugging-output in the Elisp Manual (Bug#24051)

* doc/lispref/streams.texi (Output Streams): List
external-debugging-output.
* src/print.c (Fexternal_debugging_output): Quote `print' in
docstring.

6 years agoFix scroll-margin docstring (Bug#13791)
Noam Postavsky [Mon, 29 Jan 2018 23:49:46 +0000 (18:49 -0500)]
Fix scroll-margin docstring (Bug#13791)

* src/xdisp.c (syms_of_xdisp) <scroll-margin>: Explain that entering
the margin may trigger any sort of auto scrolling, not recentering
specifically.

6 years agoClarify that `ansi-term' is almost the same as `term' (Bug#18106)
Noam Postavsky [Mon, 29 Jan 2018 01:17:43 +0000 (20:17 -0500)]
Clarify that `ansi-term' is almost the same as `term' (Bug#18106)

* lisp/term.el (ansi-term): Clarify that it's almost the same as `term'.

6 years agoUpdate manual description of locate-file (Bug#23650)
Noam Postavsky [Sun, 28 Jan 2018 22:51:35 +0000 (17:51 -0500)]
Update manual description of locate-file (Bug#23650)

* doc/lispref/files.texi (Locating Files): Add example of predicate
when searching for a directory.

6 years agoClarify effect of print-gensym (Bug#27776)
Noam Postavsky [Sun, 28 Jan 2018 21:57:11 +0000 (16:57 -0500)]
Clarify effect of print-gensym (Bug#27776)

* src/print.c (syms_of_print) <print-gensym>: Clarify that use of #N#
and #N= constructs depends on the value of `print-circle'.

6 years ago* lisp/custom.el (defcustom): Fix docstring (Bug#27891).
Noam Postavsky [Sun, 28 Jan 2018 21:53:50 +0000 (16:53 -0500)]
* lisp/custom.el (defcustom): Fix docstring (Bug#27891).

6 years agoDefine cl-type-definition button type as needed (Bug#28899)
Noam Postavsky [Sun, 28 Jan 2018 18:59:06 +0000 (13:59 -0500)]
Define cl-type-definition button type as needed (Bug#28899)

* lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor): Require
`cl-extra' before using the `cl-type-definition' button type.

6 years agoEmphasize that GPG passphrase caching is temporary (Bug#29907)
Noam Postavsky [Sun, 28 Jan 2018 17:34:51 +0000 (12:34 -0500)]
Emphasize that GPG passphrase caching is temporary (Bug#29907)

* doc/misc/epa.texi (Caching Passphrases): Clarify that caching is
temporary.
(GnuPG version compatibility): Fix typo.

6 years agoFix @examples in cc-mode.info, where lines were getting glued together.
Alan Mackenzie [Tue, 30 Jan 2018 18:09:49 +0000 (18:09 +0000)]
Fix @examples in cc-mode.info, where lines were getting glued together.

This happened because of false @c's in macro lines.

* /doc/misc/cc-mode.texi (Line-up Functions): Remove the unneeded @c from
macros sssTBasicOffset, sssTsssTBasicOffset, and hereFn.

6 years agoMinor change in "Mode Line" section of Emacs manual
Eli Zaretskii [Tue, 30 Jan 2018 16:24:08 +0000 (18:24 +0200)]
Minor change in "Mode Line" section of Emacs manual

* doc/emacs/screen.texi (Mode Line): Mention tooltips shown when
hovering the mouse over the mode line.  Suggested by Eduardo
Mercovich <eduardo@mercovich.net> in emacs-manual-bugs@gnu.org.

6 years agoMore fixes in the Emacs manual
Eli Zaretskii [Tue, 30 Jan 2018 16:09:28 +0000 (18:09 +0200)]
More fixes in the Emacs manual

* doc/emacs/screen.texi (Mode Line): Fix markup and
cross-references.
(Menu Bar): Correct inaccurate description.
* doc/emacs/macos.texi (Mac OS / GNUstep, Mac / GNUstep Events):
* doc/emacs/frames.texi (Scroll Bars):
* doc/emacs/emacs.texi (Top):
* doc/emacs/ack.texi (Acknowledgments): Fix spelling of "macOS".
* doc/emacs/misc.texi (Invoking emacsclient)
(emacsclient Options): Fix markup of 'emacsclient'.  Suggested by
Michael Albinus <michael.albinus@gmx.de> in
emacs-manual-bugs@gnu.org.

6 years agoMinor copyedits in "Distribution" chapter of the Emacs manual
Eli Zaretskii [Tue, 30 Jan 2018 15:30:26 +0000 (17:30 +0200)]
Minor copyedits in "Distribution" chapter of the Emacs manual

* doc/emacs/emacs.texi (Distrib): Minor wording changes.
Suggested by oldgaro <oldgaro@protonmail.com> in
emacs-manual-bugs@gnu.org.

6 years agoMinor copyedits in "Entering" chapter of Emacs manual.
Eli Zaretskii [Tue, 30 Jan 2018 15:20:14 +0000 (17:20 +0200)]
Minor copyedits in "Entering" chapter of Emacs manual.

* doc/emacs/entering.texi (Entering Emacs): Add a cross-reference
to MS-Windows startup procedures.  Clarify wording.  Suggested by
Francis Wright <f.j.wright@live.co.uk> in emacs-manual-bugs@gnu.org.

6 years agoMinor wording change in the Emacs manual
Eli Zaretskii [Tue, 30 Jan 2018 15:04:12 +0000 (17:04 +0200)]
Minor wording change in the Emacs manual

* doc/emacs/screen.texi (Screen): Minor wording change.  Suggested
by Wesley Ellis <ellisgen@gmail.com> in emacs-manual-bugs@gnu.org.

6 years agoFix a typo in the Emacs manual
Eli Zaretskii [Tue, 30 Jan 2018 14:53:25 +0000 (16:53 +0200)]
Fix a typo in the Emacs manual

* doc/emacs/custom.texi (Customization Groups): Fix a typo.
Reported by Jonathan Kyle Mitchell <kyle@jonathanmitchell.org> in
emacs-manual-bugs@gnu.org.

6 years agoImprove the "Basic" chapter of the Emacs manual
Eli Zaretskii [Tue, 30 Jan 2018 14:31:27 +0000 (16:31 +0200)]
Improve the "Basic" chapter of the Emacs manual

* doc/emacs/basic.texi (Inserting Text): De-confuse text.
(Position Info): Add a cross-reference to where
display-line-numbers-mode is described.  Reported by Joshua
Branson <jbranso@fastmail.com> in emacs-manual-bugs@gnu.org.

6 years agoResurrect lost text in lispref
Eli Zaretskii [Tue, 30 Jan 2018 13:13:18 +0000 (15:13 +0200)]
Resurrect lost text in lispref

* doc/lispref/files.texi (File Attributes): Resurrect
inadvertently lost text.

6 years ago* lisp/emacs-lisp/rx.el (rx): Fix the definition of 'blank'.
Philipp Stephani [Mon, 29 Jan 2018 23:05:58 +0000 (00:05 +0100)]
* lisp/emacs-lisp/rx.el (rx): Fix the definition of 'blank'.

6 years agoProofread os.texi and files.texi
Paul Eggert [Mon, 29 Jan 2018 18:35:53 +0000 (10:35 -0800)]
Proofread os.texi and files.texi

6 years agoMinor improvements in the "International" chapter of Emacs manual
Eli Zaretskii [Mon, 29 Jan 2018 17:47:50 +0000 (19:47 +0200)]
Minor improvements in the "International" chapter of Emacs manual

* doc/emacs/mule.texi (File Name Coding): Stop enumerating all the
versions of MS-Windows.
(Modifying Fontsets, Unibyte Mode, Bidirectional Editing): Improve
wording.  Reported by Francis Wright <f.j.wright@live.co.uk> in
emacs-manual-bugs@gnu.org.

6 years agoMinor improvement in "Text" chapter of Emacs manual
Eli Zaretskii [Mon, 29 Jan 2018 16:39:04 +0000 (18:39 +0200)]
Minor improvement in "Text" chapter of Emacs manual

* doc/emacs/text.texi (Words): Improve wording.  Reported by
Marcin Borkowski <mbork@mbork.pl> in
http://lists.gnu.org/archive/html/emacs-devel/2018-01/msg00784.html.

6 years agoFix some issues in the emacs/lispref manuals
Martin Rudalics [Sun, 28 Jan 2018 18:27:39 +0000 (19:27 +0100)]
Fix some issues in the emacs/lispref manuals

* doc/emacs/basic.texi (Continuation Lines):
* doc/emacs/building.texi (GDB User Interface Layout):
* doc/emacs/dired.texi (Misc Dired Features):
* doc/emacs/maintaining.texi (Identifier Search):
* doc/emacs/mark.texi (Using Region):
* doc/emacs/misc.texi (Document View, DocView Conversion):
* doc/emacs/modes.texi (Major Modes):
* doc/emacs/mule.texi (Input Methods, Unibyte Mode):
* doc/emacs/sending.texi (Mail Methods): Replace @code by
@kbd.
* doc/emacs/frames.texi (Text-Only Mouse):
* doc/lispref/maps.texi (Standard Keymaps): Replace @kbd by
@key.
* doc/lispref/compile.texi (Compiler Errors): Write
non-@code{nil} instead of non-nil.
* doc/lispref/debugging.texi (Internals of Debugger):
'backtrace' is not a command.  'debugger-stack-frame-as-list'
is an option.
* doc/lispref/display.texi (Size of Displayed Text):
'window-lines-pixel-dimensions' has a last argument 'left'.
* doc/lispref/display.texi (Attribute Functions):
'set-face-underline' and 'set-face-inverse-video' are
commands.
(Tooltips): 'tooltip-frame-parameters' is an option.
(Bidirectional Display): 'bidi-paragraph-direction' is an
option.
* doc/lispref/frames.texi (Cursor Parameters): 'cursor-type'
is an option.
(Input Focus): Argument FRAME of 'x-focus-frame' is not
optional.
(Child Frames): Both arguments of 'frame-ancestor-p' are
non-optional.  'iconify-child-frame' is an option.
* doc/lispref/os.texi (Killing Emacs):
'kill-emacs-query-functions' is an option.
* doc/lispref/windows.texi (Mouse Window Auto-selection):
'mouse-autoselect-window' is an option.

6 years agoFix multiple spaces in Emacs manual
Eli Zaretskii [Sun, 28 Jan 2018 17:29:07 +0000 (19:29 +0200)]
Fix multiple spaces in Emacs manual

* doc/emacs/search.texi (Lax Search): Fix multiple consecutive
spaces in printed manual.

6 years ago* lisp/files.el (save-some-buffers): Doc fix. (Bug#30215)
Eli Zaretskii [Sun, 28 Jan 2018 17:22:17 +0000 (19:22 +0200)]
* lisp/files.el (save-some-buffers): Doc fix.  (Bug#30215)

6 years agoAdjudicate comments to "International" chapter of Emacs manual
Eli Zaretskii [Sun, 28 Jan 2018 17:14:14 +0000 (19:14 +0200)]
Adjudicate comments to "International" chapter of Emacs manual

* doc/emacs/mule.texi (International Chars)
(Language Environments, Input Methods, Defining Fontsets)
(Modifying Fontsets): Minor wording changes and typo fixes.
Reported by Francis Wright <f.j.wright@live.co.uk> in
emacs-manual-bugs@gnu.org.

6 years agoRevert "Signal error for symbol names with strange quotes (Bug#2967)"
Noam Postavsky [Sun, 28 Jan 2018 15:23:18 +0000 (10:23 -0500)]
Revert "Signal error for symbol names with strange quotes (Bug#2967)"

That commit did not make the corresponding change to printing, thus
breaking the (eq (read (prin1-to-string SYM)) SYM) invariant for those
symbols.  It's too late in the release cycle to change printing
behavior, therefore revert the reader change.

Don't merge to master, the print function will be updated there (see
"Fix round tripping of read->print for symbols with strange quotes").

6 years agoAllow read-passwd to hide characters inserted by C-y. (Security fix.)
Alan Mackenzie [Sat, 27 Jan 2018 22:02:45 +0000 (22:02 +0000)]
Allow read-passwd to hide characters inserted by C-y.  (Security fix.)

This fixes bug #30186.  The with-silent-modifications was there to prevent
records of text property manipulations being put into buffer-undo-list.  These
had been causing a significant slowdown in CC Mode with C-_ after a large
C-y.  This CC Mode problem has since been solved by a different workaround.

* lisp/subr.el (remove-yank-excluded-properties): Remove the invocation of
with-silent-modifications around the text property manipulations.

6 years ago* etc/PROBLEMS: Document issues with double-buffering. (Bug#30088)
Eli Zaretskii [Sat, 27 Jan 2018 15:26:29 +0000 (17:26 +0200)]
* etc/PROBLEMS: Document issues with double-buffering.  (Bug#30088)

6 years ago* lisp/window.el (window-largest-empty-rectangle): Fix grammar.
Charles A. Roelli [Sat, 27 Jan 2018 13:52:03 +0000 (14:52 +0100)]
* lisp/window.el (window-largest-empty-rectangle): Fix grammar.

6 years agoMinor changes in the Emacs manual
Eli Zaretskii [Sat, 27 Jan 2018 12:06:02 +0000 (14:06 +0200)]
Minor changes in the Emacs manual

* doc/emacs/search.texi (Search Customizations): Minor wording
change.
* doc/emacs/files.texi (Customize Save): Add a cross-reference
for batch mode.

6 years agoImprove the "Files" chapter of the Emacs manual
Eli Zaretskii [Sat, 27 Jan 2018 11:17:24 +0000 (13:17 +0200)]
Improve the "Files" chapter of the Emacs manual

* doc/emacs/files.texi (File Shadowing): Rearrange text to explain
the notion of shadowing before describing the commands.  Suggested
by Will Korteland <emacs-devel@korte.land> in
emacs-manual-bugs@gnu.org.

6 years agoImprove the "Search" chapter of the Emacs manual
Eli Zaretskii [Sat, 27 Jan 2018 10:53:29 +0000 (12:53 +0200)]
Improve the "Search" chapter of the Emacs manual

* doc/emacs/search.texi (Regexps, Regexp Backslash): Improve and
clarify wording.
(Search Customizations): Fix a typo.  Reported by Will Korteland
<emacs-devel@korte.land> in emacs-manual-bugs@gnu.org.

6 years ago* src/indent.c (Findent_to): Doc fix. (Bug#30260)
Eli Zaretskii [Sat, 27 Jan 2018 10:11:28 +0000 (12:11 +0200)]
* src/indent.c (Findent_to): Doc fix.  (Bug#30260)

6 years agoImprove documentation of 'edebug-defun'
Eli Zaretskii [Sat, 27 Jan 2018 10:01:54 +0000 (12:01 +0200)]
Improve documentation of 'edebug-defun'

* doc/lispref/edebug.texi (Instrumenting): Document a workaround
for a failure to instrument due to unknown macros.  (Bug#30243)
(Bug#10577)

6 years agoMention crashes due to Noto Serif Kannada fonts
Eli Zaretskii [Sat, 27 Jan 2018 09:18:59 +0000 (11:18 +0200)]
Mention crashes due to Noto Serif Kannada fonts

* etc/PROBLEMS: Mention crashes due to Noto Serif Kannada fonts,
and the respective workarounds.  (Bug#30193)

6 years ago* doc/lispref/searching.texi: Document regexp repetition limit.
Noam Postavsky [Mon, 11 Dec 2017 23:52:52 +0000 (18:52 -0500)]
* doc/lispref/searching.texi: Document regexp repetition limit.

6 years ago; test/README: Document TEST_LOAD_EL parameter.
Noam Postavsky [Thu, 4 Jan 2018 00:14:05 +0000 (19:14 -0500)]
; test/README: Document TEST_LOAD_EL parameter.

6 years ago* src/syntax.c (char-syntax): Warn about ignoring text properties (Bug#22765).
Noam Postavsky [Thu, 6 Apr 2017 00:16:30 +0000 (20:16 -0400)]
* src/syntax.c (char-syntax): Warn about ignoring text properties (Bug#22765).

6 years ago; * src/process.c (Fprocess_contact): Fix docstring typo.
Noam Postavsky [Thu, 14 Dec 2017 12:46:51 +0000 (07:46 -0500)]
; * src/process.c (Fprocess_contact): Fix docstring typo.

6 years agoLoad mm-util as needed for url-file and url-data (Bug#30258)
Noam Postavsky [Fri, 26 Jan 2018 14:04:47 +0000 (09:04 -0500)]
Load mm-util as needed for url-file and url-data (Bug#30258)

* lisp/url/url-file.el (url-file):
* lisp/url/url-misc.el (url-data): Require `mm-util' before calling
`mm-disable-multibyte'.
* test/lisp/url/url-file-resources/file.txt:
* test/lisp/url/url-file-tests.el:
* test/lisp/url/url-misc-tests.el: New tests.

6 years agoAnother minor copyedit in the manual's "Scroll Bars"
Eli Zaretskii [Fri, 26 Jan 2018 13:48:30 +0000 (15:48 +0200)]
Another minor copyedit in the manual's "Scroll Bars"

* doc/emacs/frames.texi (Scroll Bars): Mention that up/down and
left/right buttons may be absent from the toolkit scroll bars.
Reported by Robert Pluim <rpluim@gmail.com> in
emacs-manual-bugs@gnu.org.

6 years agoMinor fix in documentation of 'equal'
Eli Zaretskii [Fri, 26 Jan 2018 10:38:07 +0000 (12:38 +0200)]
Minor fix in documentation of 'equal'

* doc/lispref/objects.texi (Equality Predicates): Correct the
conditions for equality of unibyte and multibyte strings.
(Bug#30218)

6 years ago* lisp/dired-x.el (dired-guess-shell-alist-user): Doc fix. (Bug#30192)
Eli Zaretskii [Fri, 26 Jan 2018 09:51:50 +0000 (11:51 +0200)]
* lisp/dired-x.el (dired-guess-shell-alist-user): Doc fix.  (Bug#30192)

6 years agoMinor rewording in Emacs manual's "Help Mode" node
Eli Zaretskii [Fri, 26 Jan 2018 09:43:05 +0000 (11:43 +0200)]
Minor rewording in Emacs manual's "Help Mode" node

* doc/emacs/help.texi (Help Mode): Minor rewording of description
of 'help-follow-symbol'.  Suggested by Richard Stallman
<rms@gnu.org> in emacs-manual-bugs@gnu.org.

6 years agoFixes for Emacs manual in frames.texi
Eli Zaretskii [Fri, 26 Jan 2018 09:25:24 +0000 (11:25 +0200)]
Fixes for Emacs manual in frames.texi

* doc/emacs/frames.texi (Scroll Bars, Mouse Commands)
(Window Dividers): Minor clarifications and spelling/markup
changes.  Suggested by Robert Pluim <rpluim@gmail.com> in
emacs-manual-bugs@gnu.org.

6 years ago* doc/misc/cl.texi (Efficiency Concerns): Fix 2012-10-27 typo.
Glenn Morris [Wed, 24 Jan 2018 22:20:41 +0000 (17:20 -0500)]
* doc/misc/cl.texi (Efficiency Concerns): Fix 2012-10-27 typo.

6 years agoFix a few issues with latest GTK scaling changes
Robert Pluim [Wed, 24 Jan 2018 19:08:35 +0000 (20:08 +0100)]
Fix a few issues with latest GTK scaling changes

* src/xfns.c (Fx_display_monitor_attributes_list): Call
gdk_screen_get_monitor_scale_factor only for GTK versions
3.10..3.21.
* src/xterm.c (x_set_offset): Call xg_get_scale for GTK only.

6 years agoUse scaled coordinates when calling into GTK
Robert Pluim [Wed, 24 Jan 2018 07:55:34 +0000 (08:55 +0100)]
Use scaled coordinates when calling into GTK

This is part two of a two part fix for the GTK scaling
problems.  See the thread starting at
http://lists.gnu.org/archive/html/emacs-devel/2018-01/msg00372.html
for an explanation of why it has been added to Emacs 26.

* src/gtkutil.c (xg_set_geometry): Scale down the coordinates that we
pass to gtk_window_move and to gtk_window_parse_geometry.
* src/xterm.c (x_set_offset): Likewise.

6 years agoScale monitor dimensions obtained from GTK
Robert Pluim [Wed, 24 Jan 2018 07:53:59 +0000 (08:53 +0100)]
Scale monitor dimensions obtained from GTK

This is part one of a two part fix for the GTK scaling
problems.  See the thread starting at
http://lists.gnu.org/archive/html/emacs-devel/2018-01/msg00372.html
for an explanation of why it has been added to Emacs 26.

* src/xfns.c (Fx_display_monitor_attributes_list): Take scaling factor
into account when using GTK to query the monitor dimensions, which
allows frameset-restore to position frames correctly.

6 years ago; Spelling fix
Paul Eggert [Mon, 22 Jan 2018 16:41:49 +0000 (08:41 -0800)]
; Spelling fix

6 years agoUpdate Org to v9.1.6
Rasmus [Mon, 22 Jan 2018 14:57:42 +0000 (15:57 +0100)]
Update Org to v9.1.6

Please note this is a bugfix release. See etc/ORG-NEWS for details.

6 years agoUse text-pixels values only when saving framesets (Bug#30141)
Aaron Jensen [Mon, 22 Jan 2018 09:52:32 +0000 (10:52 +0100)]
Use text-pixels values only when saving framesets (Bug#30141)

* lisp/frameset.el (frameset-persistent-filter-alist): Specify
that text-pixels values are by default only saved by framesets
so the parameter is not set when restoring (Bug#30141).

6 years agoMinor improvement in section "Pages" of the usere manual
Eli Zaretskii [Sun, 21 Jan 2018 17:55:46 +0000 (19:55 +0200)]
Minor improvement in section "Pages" of the usere manual

* doc/emacs/text.texi (Pages): Improve wording.  Suggested by Will
Korteland <emacs-devel@korte.land> in emacs-manual-bugs@gnu.org.

6 years agoMinor improvements in user manual
Eli Zaretskii [Sun, 21 Jan 2018 17:45:14 +0000 (19:45 +0200)]
Minor improvements in user manual

* doc/emacs/trouble.texi (Emergency Escape, Contributing): Clarify
text.  Suggested by Jonathan Kyle Mitchell <kyle@jonathanmitchell.org>
in emacs-manual-bugs@gnu.org

6 years agoImprove the "Mark" chapter of the user manual
Eli Zaretskii [Sun, 21 Jan 2018 17:36:57 +0000 (19:36 +0200)]
Improve the "Mark" chapter of the user manual

* doc/emacs/mark.texi (Setting Mark, Marking Objects): Improve and
clarify wording.  Suggested by John Cummings <john@rootabega.net>
in emacs-manual-bugs@gnu.org.

6 years agoImprove the "Buffers" chapter of the user manual
Eli Zaretskii [Sun, 21 Jan 2018 17:27:37 +0000 (19:27 +0200)]
Improve the "Buffers" chapter of the user manual

* doc/emacs/buffers.texi (Several Buffers): Correct description of
prefix arguments.  Clarify "bury".
(Buffer Menus): Clarify wording.  Reported by John Cummings
<john@rootabega.net> in emacs-manual-bugs@gnu.org.

6 years ago* lisp/term.el (term-send-input): Fix text duplication in docstring
tino calancha [Sun, 21 Jan 2018 04:34:55 +0000 (13:34 +0900)]
* lisp/term.el (term-send-input): Fix text duplication in docstring

6 years agoImprove "Buffers" in the user manual
Eli Zaretskii [Sat, 20 Jan 2018 19:37:30 +0000 (21:37 +0200)]
Improve "Buffers" in the user manual

Suggested by John Cummings <john@rootabega.net> in
emacs-manual-bugs@gnu.org:
* doc/emacs/buffers.texi (Select Buffer): Add cross-references to
"Windows" and "Frames".
(Misc Buffer, Kill Buffer): Use BUFFER consistently in commands
that accept buffer names.
(Select Buffer): Improve description of "M-g M-g".  Improve
wording.
(Misc Buffer, Kill Buffer): Improve wording.
(Kill Buffer): Fix the response required by kill-some-buffers.
Mention customizable options that control what clean-buffer-list
does.
(Several Buffers): More detail about
'Buffer-menu-unmark-all-buffers'.

6 years agoDon't mention 'vc-stay-local' in the user manual
Eli Zaretskii [Sat, 20 Jan 2018 12:44:01 +0000 (14:44 +0200)]
Don't mention 'vc-stay-local' in the user manual

* doc/emacs/vc1-xtra.texi (CVS Options):
* doc/emacs/maintaining.texi (VC Directory Buffer): Remove
references to 'vc-stay-local', which no longer exists.
(Bug#30138)

6 years agoFix a typo in calendar.texi
Eli Zaretskii [Sat, 20 Jan 2018 08:56:15 +0000 (10:56 +0200)]
Fix a typo in calendar.texi

* doc/emacs/calendar.texi (Writing Calendar Files): Capitalize
"Filofax".  Reported by Will Korteland <emacs-devel@korte.land>
in emacs-manual-bugs@gnu.org.

6 years agoMinor improvement in wording of the Emacs manual
Eli Zaretskii [Sat, 20 Jan 2018 08:52:06 +0000 (10:52 +0200)]
Minor improvement in wording of the Emacs manual

* doc/emacs/killing.texi (CUA Bindings): Improve wording.
Suggested by Will Korteland <emacs-devel@korte.land> in
emacs-manual-bugs@gnu.org.

6 years agoRevert "Fix tempfile creation when byte compiling"
Eli Zaretskii [Sat, 20 Jan 2018 07:48:22 +0000 (09:48 +0200)]
Revert "Fix tempfile creation when byte compiling"

This reverts commit 4fd446e9f65e5531b18d4a0c5e08a6eeabc292d8:
* lisp/emacs-lisp/bytecomp.el (byte-compile-file):
Put tempfile next to the target file, as was the original intent.

6 years agoFix tempfile creation when byte compiling
Paul Eggert [Fri, 19 Jan 2018 22:37:31 +0000 (14:37 -0800)]
Fix tempfile creation when byte compiling

This improves on the recent fix for master failing to build
on FreeBSD.  Suggested by Stefan Monnier in:
https://lists.gnu.org/r/emacs-devel/2018-01/msg00600.html
* lisp/emacs-lisp/bytecomp.el (byte-compile-file):
Put tempfile next to the target file, as was the original intent.

6 years agoImprove the Emacs manual as suggested in emacs-manual-bugs
Eli Zaretskii [Fri, 19 Jan 2018 19:18:03 +0000 (21:18 +0200)]
Improve the Emacs manual as suggested in emacs-manual-bugs

* doc/emacs/killing.texi (Deletion and Killing): Add
cross-reference to "Kill Ring".
* doc/emacs/help.texi (Help Mode, Package Keywords): Improve
wording.  Suggested by Will Korteland <emacs-devel@korte.land> in
emacs-manual-bugs@gnu.org.

6 years ago* lisp/emacs-lisp/bytecomp.el: Tweak last change
Stefan Monnier [Fri, 19 Jan 2018 16:29:13 +0000 (11:29 -0500)]
* lisp/emacs-lisp/bytecomp.el: Tweak last change

(byte-compile-file): Move comment closer to the code it describes.

6 years agoUnbreak building Emacs on FreeBSD
Eli Zaretskii [Fri, 19 Jan 2018 15:31:54 +0000 (17:31 +0200)]
Unbreak building Emacs on FreeBSD

* lisp/emacs-lisp/bytecomp.el (byte-compile-file): Don't create
the temporary file under temporary-file-directory if the file
being compiled is specified by an absolute file name.  This avoids
problems with ACL copying from temporary-file-directory on
FreeBSD.  For the details, see
http://lists.gnu.org/archive/html/emacs-devel/2018-01/msg00513.html.

6 years agoDon't unnecessarily use non-ASCII characters in C sources
Eli Zaretskii [Fri, 19 Jan 2018 09:54:44 +0000 (11:54 +0200)]
Don't unnecessarily use non-ASCII characters in C sources

* src/xwidget.c (webkit_javascript_finished_cb):
* src/gtkutil.c (xg_check_special_colors):
* src/emacs-module.c (module_make_string):
* src/alloc.c (SET_STACK_TOP_ADDRESS): Don't use non-ASCII quote
characters.

6 years agoPortability fixes in emacs-module-tests
Eli Zaretskii [Fri, 19 Jan 2018 09:20:12 +0000 (11:20 +0200)]
Portability fixes in emacs-module-tests

* test/Makefile.in (abs_top_srcdir): Add variable, needed by
CPPFLAGS.
* test/data/emacs-module/mod-test.c: Include <limits.h>.
(pT, pZ, T_TYPE, Z_TYPE): Compatibility macros, for systems that
don't support %td and %zu format specs.
(emacs_module_init): Use compatibility macros to make the error
messages print meaningful values (and avoid compiler warnings).

6 years agoAdd tests for term.el
Noam Postavsky [Sun, 7 Jan 2018 00:28:09 +0000 (19:28 -0500)]
Add tests for term.el

* lisp/term.el (term-mode): Add `name' attribute to
window-adjust-process-window-size-function value, so that it can be
removed easily by tests.
* test/lisp/term-tests.el: New tests.

6 years agoHandle split AnSiT messages for term.el (Bug#17231)
Callum Cameron [Wed, 9 Apr 2014 10:12:25 +0000 (11:12 +0100)]
Handle split AnSiT messages for term.el (Bug#17231)

Check to see if there is an incomplete command at the end of
term-emulate-terminal's input string, and, if so, save it so the whole
command can be processed when the next string arrives.
* lisp/term.el (term-partial-ansi-terminal-message): New variable.
(term-mode): Make it buffer local.
(term-handle-ansi-terminal-messages): Prepend it to the received
message, and set it if a partial message was received.

Copyright-paperwork-exempt: yes

Do not merge to master, it will be solved differently there, see
"Switch term.el to lexical binding, and clean up code a bit".

6 years ago* configure.ac (emacs_config_features): Add threads.
Glenn Morris [Thu, 18 Jan 2018 23:09:15 +0000 (18:09 -0500)]
* configure.ac (emacs_config_features): Add threads.

6 years agoHandle case-insensitive filenames for load-path shadows (Bug#5845)
Noam Postavsky [Tue, 16 Jan 2018 21:26:56 +0000 (16:26 -0500)]
Handle case-insensitive filenames for load-path shadows (Bug#5845)

* lisp/emacs-lisp/shadow.el (load-path-shadows-find): Check for
shadowing with case-insensitive matching for files of case-insensitive
directories (as determined by `file-name-case-insensitive-p').
* test/lisp/emacs-lisp/shadow-tests.el: New test.
* test/lisp/emacs-lisp/shadow-resources/p1/foo.el:
* test/lisp/emacs-lisp/shadow-resources/p2/FOO.el: New test files.

6 years ago; * test/file-organization.org: Fix typo.
Noam Postavsky [Thu, 18 Jan 2018 20:54:21 +0000 (15:54 -0500)]
; * test/file-organization.org: Fix typo.

6 years agoCC Mode: stop distinguishing brace blocks from defun blocks by content.
Alan Mackenzie [Thu, 18 Jan 2018 17:54:02 +0000 (17:54 +0000)]
CC Mode: stop distinguishing brace blocks from defun blocks by content.

Don't merge to master; this is a quick fix for the emacs-26 branch.  This is
essentially a reversion of the patch from 2017-11-10 which attempted to handle
C99's compound literals.

The bug here was triggered when a defun block contained a declaration ending
in a comma, yet without a semicolon.

* lisp/progmodes/cc-engine.el (c-guess-basic-syntax): At the CASE 9 test,
remove from the `or' form the test of a block's contents.

6 years agoUse recommended long options syntax in man page
Philipp Stephani [Sun, 7 Jan 2018 23:11:16 +0000 (00:11 +0100)]
Use recommended long options syntax in man page

* doc/man/emacs.1.in: Specify equals sign for long options, as
recommended in the manual.

6 years agoAn overdue update of GNUstep emacs.tiff
Glenn Morris [Wed, 17 Jan 2018 20:13:40 +0000 (15:13 -0500)]
An overdue update of GNUstep emacs.tiff

* nextstep/GNUstep/Emacs.base/Resources/emacs.tiff:
Update to the Emacs 25 icon.
Converted from hicolor/scalable/apps/emacs.svg using Gimp.
* nextstep/GNUstep/Emacs.base/Resources/README: Update.

6 years agoAdd some test skip conditions
Glenn Morris [Wed, 17 Jan 2018 18:41:07 +0000 (13:41 -0500)]
Add some test skip conditions

* test/lisp/vc/vc-bzr-tests.el (vc-bzr-test-bug9726)
(vc-bzr-test-bug9781): Skip if bzr is faulty.
* test/src/thread-tests.el: Skip if not compiled with threads.

6 years agoAdd documentation to ecomplete.el
Lars Ingebrigtsen [Tue, 16 Jan 2018 13:53:11 +0000 (14:53 +0100)]
Add documentation to ecomplete.el

* lisp/ecomplete.el: Add doc strings and document the format.

6 years ago; * etc/AUTHORS: Regenerate.
Glenn Morris [Wed, 17 Jan 2018 02:34:23 +0000 (21:34 -0500)]
; * etc/AUTHORS: Regenerate.

6 years ago* admin/authors.el (authors-aliases): Tighten more entries.
Glenn Morris [Wed, 17 Jan 2018 02:32:13 +0000 (21:32 -0500)]
* admin/authors.el (authors-aliases): Tighten more entries.

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