]> git.eshelyaron.com Git - emacs.git/log
emacs.git
6 years agoMore changes in the Emacs manual
Eli Zaretskii [Fri, 9 Feb 2018 10:08:19 +0000 (12:08 +0200)]
More changes in the Emacs manual

* doc/emacs/fixit.texi (Undo): Mention 'revert-buffer'.
(Fixing Case): Fix punctuation.
(Spelling): Fix a typo.  Suggested by Toon Claes <toon@iotcl.com>
in emacs-manual-bugs@gnu.org.

* doc/emacs/modes.texi (Major Modes): Break a long sentence into
2.  Reported by Stefan Kamphausen <stefan.kamphausen@acrolinx.com>
in emacs-manual-bugs@gnu.org.

* doc/emacs/indent.texi (Just Spaces): Yet another minor
rewording.

* doc/emacs/building.texi (Watch Expressions): Improve wording.
(Multithreaded Debugging): Spell "tool bar" as 2 words.  Reported
by Alberto Sartori <alberto.sartori@sissa.it> in
emacs-manual-bugs@gnu.org.
(Grep Searching): Mention the effect of
'compilation-mode-line-errors'.  (Bug#30397)

* doc/emacs/basic.texi (Moving Point): Minor reformatting and
rewording of what <LEFT> and <RIGHT> do.

6 years agoClarify that text-quoting-style doesn't affect *Info* (Bug#24519)
Noam Postavsky [Fri, 9 Feb 2018 01:18:44 +0000 (20:18 -0500)]
Clarify that text-quoting-style doesn't affect *Info* (Bug#24519)

* src/doc.c (syms_of_doc) <text-quoting-style>: Clarify that info
manual display is unaffected.

6 years agoMention that shell quoting of % on w32 may fail (Bug#19350)
Noam Postavsky [Tue, 6 Feb 2018 18:17:07 +0000 (13:17 -0500)]
Mention that shell quoting of % on w32 may fail (Bug#19350)

* doc/lispref/os.texi (Security Considerations): Mention that quoting
of '%' assumes no '^' in variable names.
* test/lisp/subr-tests.el (shell-quote-argument-%-on-w32): New test,
demonstrating what doesn't work.

6 years agoFix --no-build-details for w32 and macOS
Noam Postavsky [Tue, 6 Feb 2018 17:20:37 +0000 (12:20 -0500)]
Fix --no-build-details for w32 and macOS

* src/w32term.c (w32_initialize_display_info): Handle nil system-name.
* lisp/term/ns-win.el (window-system-initialization): Don't pass nil
to `x-open-connection'.

6 years ago* doc/lispref/anti.texi (Antinews): Add some more antinews.
Paul Eggert [Thu, 8 Feb 2018 23:58:05 +0000 (15:58 -0800)]
* doc/lispref/anti.texi (Antinews): Add some more antinews.

6 years agoFix crashes when run with --no-build-details
Paul Eggert [Tue, 6 Feb 2018 23:25:45 +0000 (15:25 -0800)]
Fix crashes when run with --no-build-details

* src/xrdb.c (get_environ_db):
* src/xterm.c (same_x_server, x_term_init):
Don’t assume Fsystem_name returns a string.

6 years agoMore changes for the manual
Eli Zaretskii [Thu, 8 Feb 2018 16:24:16 +0000 (18:24 +0200)]
More changes for the manual

* doc/emacs/anti.texi (Antinews): Replace 25.2 with 25.3.
Reported by Michael Albinus <michael.albinus@gmx.de> in
emacs-manual-bugs@gnu.org.

* doc/emacs/custom.texi (Function Keys): Improve wording.
Suggested by clemens.radermacher@posteo.de in
emacs-manual-bugs@gnu.org.

* doc/emacs/misc.texi (History References): Improve punctuation.
(Terminal emulator): Fix a typo.
(Term Mode): Remove redundant repeated text.
(Invoking emacsclient): Improve wording.  Suggested by Alberto
Sartori <alberto.sartori@sissa.it> in emacs-manual-bugs@gnu.org.

* doc/emacs/files.texi (Visiting): Fix last change.

6 years agoDoc fixes for process functions (Bug#30349)
Noam Postavsky [Tue, 6 Feb 2018 00:36:27 +0000 (19:36 -0500)]
Doc fixes for process functions (Bug#30349)

* doc/lispref/processes.texi (Asynchronous Processes): Explain what
the 'stopped' state means for a pipe process.
* src/process.c (Fmake_process, Fmake_pipe_process)
(Fmake_serial_process, Fmake_network_process):
* lisp/subr.el (start-process):
* lisp/net/tls.el (open-tls-stream):
* lisp/net/starttls.el (starttls-open-stream):
* lisp/net/gnutls.el (open-gnutls-stream): Remove meaningless phrase
"specify an output stream" phrase from docstring.

6 years agoFix shr and CSS 4 color maps
Basil L. Contovounesios [Wed, 7 Feb 2018 02:49:08 +0000 (02:49 +0000)]
Fix shr and CSS 4 color maps

* lisp/net/shr-color.el (shr-color-html-colors-alist): Fix typos.
Add RebeccaPurple.
* lisp/textmodes/css-mode.el (css--color-map): Add fuchsia-magenta
and aqua-cyan aliases.
* test/lisp/textmodes/css-mode-tests.el (css-test-property-values):
Bump color count.

6 years agoYet another round of improvements in the manual
Eli Zaretskii [Wed, 7 Feb 2018 20:24:13 +0000 (22:24 +0200)]
Yet another round of improvements in the manual

* doc/emacs/misc.texi (Document View): Improve wording.  Reported
by lyr3 <lyr3@protonmail.com> in emacs-manual-bugs@gnu.org.

* doc/emacs/files.texi (Recover): Fix a typo.  Reported by Jorge
<jorge+list@disroot.org> in emacs-manual-bugs@gnu.org.

* doc/emacs/anti.texi (Antinews): Fix typos.  Reported by Justin
Heyes-Jones <justinhj@gmail.com> in emacs-manual-bugs@gnu.org.

* doc/emacs/mini.texi (Basic Minibuffer): Clarify wording.
Reported by Vivishek Sudhir <vivishek.sudhir@gmail.com> in
emacs-manual-bugs@gnu.org.

* doc/emacs/cmdargs.texi (MS-Windows Registry): Improve wording
regarding registry keys.

* doc/emacs/macos.texi (Mac OS / GNUstep): Sayu "NeXT Inc."
Reported by Cena Mayo <cenazoic@gmail.com> in
emacs-manual-bugs@gnu.org.

* doc/emacs/screen.texi (Screen): More accurate wording.
Suggested by Miloš Polakovič <milos@alphamail.org> in
emacs-manual-bugs@gnu.org.

* doc/emacs/indent.texi (Just Spaces): Minor wording change.
Suggested by David Bonnafous <dbonnafo@gmail.com> in
emacs-manual-bugs@gnu.org.

* doc/emacs/text.texi (TeX Mode, TeX Editing): Improve and
simplify wording.  Suggested by root@vxid.pw <root@vxid.pw> in
emacs-manual-bugs@gnu.org.

* doc/emacs/cmdargs.texi (Window Size X): Minor wording change.

* doc/emacs/display.texi (Highlight Interactively): Fill text.
(Optional Mode Line): Fix typos.  Suggested by Alberto Sartori
<alberto.sartori@sissa.it> in emacs-manual-bugs@gnu.org.

* doc/emacs/building.texi (Debugger Operation): Clarify wording.

* doc/emacs/files.texi (Directories, Comparing Files, Diff Mode)
(Remote Files, File Names, Visiting, Backup Deletion)
(Customize Save, Interlocking): Improve wording and accuracy of
the text.
* doc/emacs/maintaining.texi (VC With A Merging VCS): Don't say
"his".
* doc/emacs/arevert-xtra.texi (Auto Reverting Dired): Minor
wording changes.
(Supporting additional buffers): Moved to ...
* doc/lispref/backups.texi (Reverting): ... here.
* doc/emacs/emacs.texi (Top): Remove "Supporting additional
buffers" from master menu.
* doc/emacs/files.texi (Reverting): Mention use of file
notifications.  Suggested by Michael Albinus
<michael.albinus@gmx.de> in emacs-manual-bugs@gnu.org.

* doc/emacs/rmail.texi (Rmail Motion): Clarify what '-' does to
'M-s'.  Suggested by Arthur Milchior <arthur@milchior.fr> in
emacs-manual-bugs@gnu.org.

* doc/emacs/cmdargs.texi (Initial Options): Capitalize "Emacs".
(Action Arguments): Fix a typo.
(Emacs Invocation): Replace em-dash with a comma.  Suggested by
Justin Heyes-Jones <justinhj@gmail.com> in
emacs-manual-bugs@gnu.org.

* doc/emacs/m-x.texi (M-x): Add an example.  Suggested by Alberto
Sartori <alberto.sartori@sissa.it> in emacs-manual-bugs@gnu.org.

* doc/emacs/calendar.texi (Calendar/Diary, Calendar Unit Motion):
Minor wording changes.

6 years ago* lisp/vc/vc-git.el (vc-git-print-log): Restrict file scope to a single file
Juri Linkov [Sun, 4 Feb 2018 21:58:37 +0000 (23:58 +0200)]
* lisp/vc/vc-git.el (vc-git-print-log): Restrict file scope to a single file

when vc-git-print-log-follow is non-nil (bug#19045).
(vc-git-print-log-follow): Doc fix.

* etc/NEWS: Mention 'vc-git-print-log-follow'.

6 years ago* doc/emacs/misc.texi (Interactive Shell): Refer to node "Minibuffer File"
Michael Albinus [Sun, 4 Feb 2018 21:56:34 +0000 (22:56 +0100)]
* doc/emacs/misc.texi (Interactive Shell): Refer to node "Minibuffer File"

for hints how to type remote file names effectively.

6 years agoYet another round of fixing the Emacs manual
Eli Zaretskii [Sun, 4 Feb 2018 20:15:05 +0000 (22:15 +0200)]
Yet another round of fixing the Emacs manual

* doc/emacs/cmdargs.texi (Action Arguments): Rearrange text
describing what happens when Emacs is invoked with several file
arguments.  Suggested by Grant Rettke <gcr@wisdomandwonder.com> in
emacs-manual-bugs@gnu.org.

* doc/emacs/xresources.texi (GTK styles):
* doc/emacs/mini.texi (Passwords):
* doc/emacs/frames.texi (Scroll Bars): Use "cannot" instead of
"can not".

* doc/emacs/macos.texi (Mac / GNUstep Basics): Clarify the effect
of ns-right-alternate-modifier when its value is 'none'.
Suggested by Wanderson Ferreira <iagwanderson@gmail.com> in
emacs-manual-bugs@gnu.org.

* doc/emacs/calendar.texi (Importing Diary, Appointments): Now
sub-sections of Diary.
* doc/emacs/emacs.texi (Top):
* doc/emacs/calendar.texi (Diary): Adjust menus to the above
change.  Suggested by Isaac Carter <icarter1391@gmail.com> in
emacs-manual-bugs@gnu.org.

* doc/emacs/anti.texi (Antinews): Fix grammar.

6 years ago* etc/NEWS: Expunge the solecism "allow(s)" + infinitive
Alan Mackenzie [Sun, 4 Feb 2018 17:18:39 +0000 (17:18 +0000)]
* etc/NEWS: Expunge the solecism "allow(s)" + infinitive

6 years agoTwo minor fixes in Antinews
Martin Rudalics [Sun, 4 Feb 2018 10:47:30 +0000 (11:47 +0100)]
Two minor fixes in Antinews

* doc/emacs/anti.texi (Antinews): Two minor fixes.

6 years ago* etc/NEWS: Rename image-dired-thumb-job-limit
Juri Linkov [Sat, 3 Feb 2018 21:42:55 +0000 (23:42 +0200)]
* etc/NEWS: Rename image-dired-thumb-job-limit

to image-dired-queue-active-limit (bug#30279)

6 years ago* lisp/simple.el (async-shell-command, shell-command): Fix grammar
Basil L. Contovounesios [Sat, 3 Feb 2018 21:27:13 +0000 (23:27 +0200)]
* lisp/simple.el (async-shell-command, shell-command): Fix grammar

6 years agoFix deferred display of async shell-command buffers
Basil L. Contovounesios [Sat, 3 Feb 2018 21:22:51 +0000 (23:22 +0200)]
Fix deferred display of async shell-command buffers

* lisp/simple.el (shell-command): Display async shell buffer on
process output for every, not just first, command invocation.  Check
buffer liveness, not name, before displaying. (bug#30213, bug#30280)

6 years agoMention remote file name completion in Emacs manual
Eli Zaretskii [Sat, 3 Feb 2018 20:30:03 +0000 (22:30 +0200)]
Mention remote file name completion in Emacs manual

* doc/emacs/mini.texi (Minibuffer File): Describe the behavior of
"//" with remote file names.  (Bug#29149)

6 years agoYest another round of manual copyedits
Eli Zaretskii [Sat, 3 Feb 2018 11:50:38 +0000 (13:50 +0200)]
Yest another round of manual copyedits

* doc/emacs/fixit.texi (Transpose, Spelling): Minor stylistic
changes.  Suggested by myq larson <myqlarson@gmail.com> in
emacs-manual-bugs@gnu.org.

* doc/emacs/calendar.texi (Appointments, Time Intervals): Mention
relevant Org features.  Suggested by Alex Branham
<alex.branham@gmail.com> in emacs-manual-bugs@gnu.org.

* doc/emacs/dired.texi (Operating on Files)
(Shell Commands in Dired, Image-Dired): Minor stylistic edits.
Suggested by Francis Wright <f.j.wright@live.co.uk> in
emacs-manual-bugs@gnu.org.

* doc/emacs/commands.texi (User Input): Explain "C-M-a".
Suggested by Martin Luethi <martin.luethi@geo.uzh.ch> in
emacs-manual-bugs@gnu.org.

6 years agoUpdate xdisp.c commentary
Eli Zaretskii [Sat, 3 Feb 2018 10:19:41 +0000 (12:19 +0200)]
Update xdisp.c commentary

* src/xdisp.c: Update commentary regarding "asynchronous" entry
into redisplay.  (Bug#30182)

6 years agoFix Bug#30324
Michael Albinus [Sat, 3 Feb 2018 10:08:33 +0000 (11:08 +0100)]
Fix Bug#30324

* lisp/net/rlogin.el (rlogin, rlogin-directory-tracking-mode):
Adapt to changed remote file name syntax.  (Bug#30324)

6 years agoRecognize Org as builtin package (bug#30310)
Glenn Morris [Sat, 3 Feb 2018 02:08:22 +0000 (21:08 -0500)]
Recognize Org as builtin package (bug#30310)

* lisp/org/org.el: Add Version header so detected as builtin package.
* test/lisp/org/org-tests.el: New file.

6 years ago; Let files-tests.el pass multiple times in a session
Noam Postavsky [Thu, 31 Aug 2017 08:57:43 +0000 (04:57 -0400)]
; Let files-tests.el pass multiple times in a session

* test/lisp/files-tests.el (files-test-local-variables): Use `cl-letf'
instead of advice.  The advice was not being activated on the second
run.

6 years ago; Avoid process kill query during term tests
Noam Postavsky [Fri, 2 Feb 2018 02:12:09 +0000 (21:12 -0500)]
; Avoid process kill query during term tests

* test/lisp/term-tests.el (term-test-screen-from-input): Just unset
the process query-on-exit flag to rather than trying to end the
process before the end of test (which is generally unreliable).

6 years agoAnother round of manual fixups
Eli Zaretskii [Fri, 2 Feb 2018 15:41:38 +0000 (17:41 +0200)]
Another round of manual fixups

* doc/emacs/killing.texi (Killing by Lines): Clarify wording.
Reported by David Bonnafous <dbonnafo@gmail.com> in
emacs-manual-bugs@gnu.org.

* doc/emacs/windows.texi (Other Window): Improve wording.
Reported by Rasmus Sjostrom <ras.sjostrom@gmail.com> in
emacs-manual-bugs@gnu.org.

* doc/emacs/display.texi (Display Custom): Mention that line
numbers are not displayed in the minibuffer and tooltips.

* doc/emacs/mini.texi (Basic Minibuffer): Improve wording.
* doc/emacs/regs.texi (Registers): More comma removal.  Suggested
by "root@vxid.pw root@vxid.pw" <root@vxid.pw> in
emacs-manual-bugs@gnu.org.

* doc/emacs/display.texi (Auto Scrolling): Fix a typo.  Reported
by Kevin Foley <kfoley15@gmail.com> in emacs-manual-bugs@gnu.org.

* doc/emacs/display.texi (Scrolling): Fix grammar.
(Horizontal Scrolling): Mention reasonable limits for hscroll-step
float values.  Suggested by Jerome Truong <jerometruong@gmail.com>
in emacs-manual-bugs@gnu.org.

* doc/emacs/mini.texi (Minibuffer Edit): Add a missing comma.
* doc/emacs/basic.texi (Position Info, Arguments, Repeating):
Remove redundant commas.  Suggested by oldgaro
<oldgaro@protonmail.com> in emacs-manual-bugs@gnu.org.

* doc/emacs/kmacro.texi (Save Keyboard Macro): Clarify wording.
Suggested by clemens.radermacher@posteo.de in
emacs-manual-bugs@gnu.org.

* doc/emacs/building.texi (Compilation Mode): Improve and simplify
wording.  Suggested by drone <yoorobot@gmail.com> in
emacs-manual-bugs@gnu.org.

* doc/emacs/dired.texi (Dired Enter): Clarify wording.
(Dired Deletion): Fix a typo.
(Marks vs Flags): Mention that M-DEL in Dired asks for the mark
character.  Fix typos.
* doc/emacs/basic.texi (Moving Point, Erasing, Basic Undo)
(Arguments): Some additional information about keys.  Reported by
Francis Wright <f.j.wright@live.co.uk> in
emacs-manual-bugs@gnu.org.

6 years ago* doc/lispref/customize.texi (Custom Themes): Clarify .el preference.
Basil L. Contovounesios [Fri, 2 Feb 2018 14:22:53 +0000 (09:22 -0500)]
* doc/lispref/customize.texi (Custom Themes): Clarify .el preference.

Copyright-paperwork-exempt: yes

https://lists.gnu.org/archive/html/emacs-devel/2018-01/msg00824.html.

6 years ago* doc/emacs/entering.texi (Entering Emacs): Another wording fix.
Eli Zaretskii [Fri, 2 Feb 2018 09:18:38 +0000 (11:18 +0200)]
* doc/emacs/entering.texi (Entering Emacs): Another wording fix.

6 years ago* doc/lispref/functions.texi (Inline Functions): Fix typo (Bug#30238).
Noam Postavsky [Wed, 31 Jan 2018 04:02:05 +0000 (23:02 -0500)]
* doc/lispref/functions.texi (Inline Functions): Fix typo (Bug#30238).

6 years ago* lisp/imenu.el (imenu-generic-expression): Rephrase doc (Bug#30294).
Noam Postavsky [Wed, 31 Jan 2018 03:58:21 +0000 (22:58 -0500)]
* lisp/imenu.el (imenu-generic-expression): Rephrase doc (Bug#30294).

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.