1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-22 18:35:09 +00:00
Commit Graph

131675 Commits

Author SHA1 Message Date
Glenn Morris
86960383cf * lisp/htmlfontify.el (hfy-begin-span-handler): Doc fix. 2018-03-26 16:12:51 -04:00
Eli Zaretskii
930f7b10b3 * doc/lispref/functions.texi (Defining Functions): Improve indexing. 2018-03-26 18:58:20 +03:00
Aaron Jensen
95ccf50e37 Fix crash after frame is freed on macOS (bug#30800)
* src/nsterm.m (x_free_frame_resources): Clear represented_frame.
(bug#30800)
2018-03-25 20:13:05 +01:00
Michael Albinus
45d04754e7 More manual editing
* doc/emacs/basic.texi:
* doc/emacs/calendar.texi:
* doc/emacs/display.texi:
* doc/emacs/mini.texi:
* doc/emacs/misc.texi:
* doc/emacs/picture-xtra.texi:
* doc/misc/info.texi: Prefer <PageDown> and <PageUp> over
<next> and <prior>.  Add missing @kindex entries.

* doc/emacs/custom.texi (Function Keys): Fix and add missing
key symbols.
2018-03-25 15:15:20 +02:00
Michael Albinus
2acb9f01b9 Minor manual changes changes
* doc/emacs/misc.texi (FFAP): Complete commands.
(Amusements): Add some @cindex entries.  Add "M-x butterfly".
2018-03-25 12:18:09 +02:00
Glenn Morris
d481cba23a * lisp/calculator.el (calculator-paste-decimals): Add version. 2018-03-23 19:49:28 -04:00
Glenn Morris
7d6c7d0b46 ; Use GNU not Gnu in docs 2018-03-23 16:01:12 -04:00
Eli Zaretskii
1bc4def8ca More proofreading of the Emacs manual
* doc/emacs/trouble.texi (DEL Does Not Delete): Improve wording.
(Screen Garbled): Mention the command name.
(Bug Criteria): Mention that problems in packages should first be
reported to the respective maintainers.
(Checklist): Fix wording.
(Contributing, Copyright Assignment): Minor copyedits.
* doc/emacs/misc.texi (Amusements): Remove Landmark.
* doc/emacs/picture-xtra.texi (Tabs in Picture): Improve wording.
(Rectangles in Picture): Add a cross-reference to "Registers".
* doc/emacs/misc.texi (Gnus Group Buffer, Gnus Summary Buffer):
Mention command names in parentheses.
(Gnus Summary Buffer): Document "M-r".
(Network Security): Document that current NSM works with TLS
encryption.  Fix markup.
(Document View): Improve wording and fix a typo.
(DocView Conversion): Rephrase description of
doc-view-cache-directory.
(Single Shell): Mention variables that control when shell output
appears in the echo area.
(Shell Mode): Improve wording.
(Shell Prompts): Fix a typo.
(Shell Ring, Term Mode): Mention command names.
(History References): Add a cross-reference to "Rebinding".
(Remote Host): Mention SSH.
(TCP Emacs server): Improve wording.
(emacsclient Options): Minor improvements.
(PostScript): Fix wording.
(PostScript Variables): Mention that ps-font-size could be a cons.
(Sorting): Minor improvements.  Suggested by Michael Albinus
<michael.albinus@gmx.de> in emacs-manual-bugs@gnu.org
2018-03-23 19:08:32 +03:00
Noam Postavsky
b8ebf5fb64 * src/lisp.h (struct Lisp_Buffer_Local_Value): Update commentary. 2018-03-23 08:19:42 -04:00
Noam Postavsky
8c92a37cb4 * doc/emacs/trouble.texi: Fix location of `emacs-version' index. 2018-03-23 08:19:42 -04:00
Noam Postavsky
10b1f2fdd5 Explain more about (defvar foo) form (Bug#18059)
* doc/lispref/variables.texi (Defining Variables)
(Using Lexical Binding):
* doc/lispref/compile.texi (Compiler Errors): Emphasize that omitting
VALUE for `defvar' marks the variable special only locally.
* doc/lispref/variables.texi (Using Lexical Binding): Add example of
using `defvar' without VALUE.
2018-03-23 08:19:09 -04:00
Charles A. Roelli
68c2f336b1 * doc/lispref/buffers.texi (Buffer List): Fix grammar. 2018-03-22 20:43:42 +01:00
Charles A. Roelli
7e720c6851 * doc/lispref/anti.texi (Antinews): Fix grammar. 2018-03-22 20:40:02 +01:00
Glenn Morris
a6a821d29b * lisp/org/ob-lisp.el (org-babel-lisp-eval-fn): Tweak type.
Avoids type mismatch when relevant library is not present/loaded.
2018-03-22 14:37:45 -04:00
Glenn Morris
7c993c34b0 sql.el defcustom fixes
* lisp/progmodes/sql.el (sql-login-params): Update.
Avoids type mismatch with postgres and sqlite login params.
(sql-postgres-login-params): Bump version.
2018-03-22 14:31:33 -04:00
Eli Zaretskii
8ac621bb55 Document DEFUN attributes
* doc/lispref/internals.texi (Writing Emacs Primitives): Document
specification of function attributes in DEFUN.
2018-03-22 14:57:43 +02:00
Nicolas Petton
16d0cc73f2
* etc/NEWS: Add an entry for auth-source-pass. 2018-03-22 11:55:15 +01:00
Eli Zaretskii
cc1702f790 Fix the MSDOS build
* msdos/sed2v2.inp (HAVE_SBRK): Define to 1.
2018-03-22 11:15:23 +02:00
Eric Abrahamsen
daa9e853bd Improve warning and error messages
* lisp/emacs-lisp/eieio-base.el (eieio-persistent-read,
  (eieio-persistent-validate/fix-slot-value): Indicate exactly what
  went wrong.
2018-03-22 10:46:09 +08:00
Eric Abrahamsen
7612dd14b6 Adjust eieio persistence tests for expected failure
* test/lisp/emacs-lisp/eieio-tests/eieio-test-persist.el
 (eieio-test-persist-hash-and-vector,
  eieio-test-persist-interior-lists): Persistence does not currently
 handle deeply-nested objects. Expect current failures, and mark for
 future fixes.
2018-03-22 10:46:08 +08:00
Eric Abrahamsen
f0cf4dc629 Let eieio-persistent-read read what object-write has written
* lisp/emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
  `object-write' may quote lists inside hash tables and vectors, so
  unquote those lists here.

This patch allows the eieio-persistent write/restore process to
perform a clean round trip. It only handles a very specific and
limited range of object structures, but at least the write and read
procedures match.
2018-03-22 10:46:08 +08:00
Eric Abrahamsen
40ad1ff327 Handle possible classtype values in eieio-persistent-read
* lisp/emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
  The function `eieio-persistent-slot-type-is-class-p' could return
  either a single class, or a list of classes.
2018-03-22 10:46:08 +08:00
Pierre Téchoueyres
4ec935dc5b Add new tests for eieio persistence
* test/lisp/emacs-lisp/eieio-tests/eieio-test-persist.el:
  (hash-equal): New comparison test for hash-tables.
  (persist-test-save-and-compare): Use test for hash-tables.
  (eieio-test-persist-hash-and-vector,
  eieio-test-persist-interior-lists): New tests.
2018-03-22 10:46:07 +08:00
Glenn Morris
47917d8f4d * lisp/gnus/gnus-cloud.el (gnus-cloud-synced-files): Fix doc & type. 2018-03-21 20:47:28 -04:00
Glenn Morris
e32f3525ea * lisp/ibuf-ext.el (ibuffer-never-search-content-mode): Fix type. 2018-03-21 19:38:44 -04:00
Glenn Morris
5268f3059d * doc/lispref/windows.texi (Selecting Windows): Fix a typo. 2018-03-21 16:58:11 -04:00
Charles A. Roelli
143b485029 * doc/lispref/internals.texi (Writing Emacs Primitives): Fix grammar. 2018-03-21 20:52:35 +01:00
Alan Mackenzie
4ab4551470 Firm up documentation of generalized variables
* doc/lispref/variables.texi (Generalized Variables)
(Setting Generalized Variables): Define a generalized variable as something
setf can write to.  Remove the insinuation that hackers have poor memories.
State explicitly that the list of GVs given is complete.  Remove the
suggestion that `setf' has superseded, or is in the process of superseding,
`setq'.  Make minor corrections to the English.
2018-03-21 17:36:34 +00:00
Eli Zaretskii
a5bf099008 Improve documentation of Auto-Revert mode
* doc/emacs/files.texi (Reverting): Mention that Aut-Revert
applies to Dired buffers as well.  Suggested by Michael Albinus
<michael.albinus@gmx.de> in emacs-manual-bugs@gnu.org.
2018-03-21 18:57:41 +02:00
Eli Zaretskii
ed05eaa948 Improvements in dired.texi
* doc/emacs/dired.texi (Dired): Mention that Dired works with
remote directories.
(Dired Enter): ls-lisp is used on some remote systems as well.
(Dired Navigation): Mention and index the command names.
(Dired Deletion): Document the 'always' value of
dired-recursive-deletes.  Mention the alternative deletion method.
(Marks vs Flags): Fix spelling of Auto-Revert mode.  Document what
marking does on a subdirectory header line.
(Operating on Files): Document that 'Z' uses gzip or compress.
(Comparison in Dired): Mention ediff-files.
(Misc Dired Features): Fix a typo.  Suggested by Michael Albinus
<michael.albinus@gmx.de> in emacs-manual-bugs@gnu.org.
2018-03-21 18:49:29 +02:00
Noam Postavsky
f8cad16bb3 Revert "Support all perl variable declarators and prefixes"
It highlights normal variable names in perl programs (Bug#30812).
* lisp/progmodes/perl-mode.el (perl-imenu-generic-expression)
(perl-font-lock-keywords-2): Restore values prior to Bug#27613 fix.

Don't merge to master, we will fix Bug#27613 properly there (it's too
close to release to do that on emacs-26).
2018-03-20 20:14:40 -04:00
Paul Eggert
d09c488cb5 Port to 32-bit sparc64
Backport from master.
Problem reported by Ulrich Mueller; fix suggested by Eli Zaretskii
and Andreas Schwab (Bug#30855).
* src/alloc.c (mark_memory): Call mark_maybe_object only on
pointers that are properly aligned for Lisp_Object.
2018-03-20 14:39:12 -07:00
Paul Eggert
23527013c7 ; Rewrap doc string 2018-03-20 08:58:02 -07:00
Robert Pluim
4328d5f744 Correct Info link markup
* lisp/gnus/gnus-agent.el (gnus-agent-auto-agentize-methods):
Correct markup for Info link.
* src/minibuf.c (Fcompleting_read): Likewise.
2018-03-20 14:30:37 +02:00
Nick Helm
2fb52abd9e Improve documentation of 'with-help-window'
* doc/lispref/help.texi (Help Functions): Change variable name
to 'buffer-or-name'.

* lisp/help.el (with-help-window): Change variable name to
'buffer-or-name' and rewrite the doc string, adding reference
to 'help-window-setup'.  (Bug#30792)
2018-03-20 14:19:14 +02:00
Eli Zaretskii
ec08c62f03 Minor improvements in building.texi
* doc/emacs/building.texi (Compilation Shell): Mention that this
section is for local compilation buffers.
(Compilation, Compilation Mode): Mention that 'g' is bound to
'recompile' in compilation buffers.
(Grep Searching): Add a cross-reference to "Compilation Mode".
Suggested by Michael Albinus <michael.albinus@gmx.de> in
emacs-manual-bugs@gnu.org.
2018-03-20 11:34:14 +02:00
Alex Branham
663aafe1ff * lisp/textmodes/bibtex.el (bibtex-mark-entry): activate mark 2018-03-20 08:47:44 +02:00
Paul Eggert
05781b2e88 ; Spelling fix 2018-03-19 18:53:21 -07:00
Eli Zaretskii
aa40014ba3 * doc/emacs/building.texi (Starting GUD): Mention 'guiler'. 2018-03-19 22:01:55 +02:00
Eli Zaretskii
23072e468f Yet more proofreading of the Emacs manual
* doc/emacs/building.texi (Compilation, Grep Searching)
(Debuggers, GUD Customization, Source Buffers)
(Breakpoints Buffer, Threads Buffer): Minor fixes and updates.
Suggested by Michael Albinus <michael.albinus@gmx.de> in
emacs-manual-bugs@gnu.org.
2018-03-19 21:53:52 +02:00
Paul Eggert
ba5a372540 * doc/emacs/rmail.texi: Fix broken link. 2018-03-19 11:44:53 -07:00
Paul Eggert
6b2210cc29 ; Spelling fix 2018-03-19 11:44:53 -07:00
Paul Eggert
067c8c4f5b Fix recently-added POP doc glitch
* doc/emacs/rmail.texi (Remote Mailboxes):
POP3 → POP, when talking about POP in general.
2018-03-19 11:44:53 -07:00
Eli Zaretskii
fb3dc0e8aa More proofreading of the Emacs manual
* doc/emacs/macos.texi (Mac / GNUstep Basics): Fix typos.  Improve
indexing.
(Mac / GNUstep Basics, Mac / GNUstep Customization)
(Mac / GNUstep Events): Improve indexing.

* doc/emacs/rmail.texi (Rmail): Mention Gnus.
(Rmail Basics, Rmail Scrolling): Improve cross-references and
indexing.
(Rmail Motion): Minor improvements.
(Rmail Inbox): Remove outdated text about Babyl format.
(Rmail Files): Formatting changes.  Comment out
set-rmail-inbox-list in the table of commands, as it is commented
out in the text that follows.
(Rmail Output, Rmail Labels, Rmail Reply, Rmail Make Summary):
Minor copyedits.
(Rmail Summary Edit): Document
rmail-summary-scroll-between-messages.
(Rmail Editing): Improve indexing.
(Movemail): Fix typos.
(Remote Mailboxes): Use "POP3" rather than "POP".
2018-03-19 17:18:47 +02:00
Simen Heggestøyl
a776ce7be6 Fix typo in the Emacs manual's VC chapter
* doc/emacs/maintaining.texi (VC Directory Buffer): Fix a typo.
2018-03-19 10:01:01 +01:00
Basil L. Contovounesios
7f27d42f0b Pass json-readtable-error data as a list (bug#30489)
* lisp/json.el (json-readtable-dispatch): Fix error data.
* test/lisp/json-tests.el (test-json-read): Check error data is a
list.
2018-03-18 23:13:29 -04:00
Noam Postavsky
10bd3b3af8 Improve word motion docs (Bug#30815)
* doc/lispref/positions.texi (Word Motion): Fix reference to
`char-script-table'.
* lisp/simple.el (backward-word):
* src/syntax.c (forward-word): Mention `char-script-table' and add
link to the 'Word Motion' manual section.
2018-03-16 19:51:28 -04:00
Michael Albinus
2b8507fbdc Replace "carriage-return" by "carriage return" in manuals
* doc/emacs/msdos.texi:
* doc/emacs/mule.texi:
* doc/emacs/screen.texi:
* doc/lispref/nonascii.texi:
* doc/misc/calc.texi: Replace "carriage-return" by "carriage
return".  Suggested by Richard Stallman <rms@gnu.org> in
emacs-manual-bugs@gnu.org.
2018-03-15 10:56:08 +01:00
Eli Zaretskii
2616cd94f1 Minor copyedits in mule.texi
* doc/emacs/mule.texi (Recognize Coding, Fontsets): Minor changes
in wording.  Suggested by Richard Stallman <rms@gnu.org> in
emacs-manual-bugs@gnu.org.
2018-03-15 08:36:09 +02:00
Eli Zaretskii
36a1d52814 Fix problems caused by fontconfig-2.13.0
* src/xterm.c (x_term_init): Call fixup_locale after
xg_initialize, to countermand the call to setlocale in some
versions of fontconfig.  (Bug#30788)
2018-03-14 20:11:16 +02:00