aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Fold too-long headers in Message automaticallyLars Ingebrigtsen2019-07-101-2/+2
| | | | | | | | | | | | | | | | | | | | | * lisp/gnus/message.el (message--fold-long-headers): Header lines should be no longer than 79 characters before folding (bug#33313). Previous comment about 998 octets is about maximum allowed header field length.
* | | Doc clarification in abbrev-prefix-markLars Ingebrigtsen2019-07-101-7/+10
| | | | | | | | | | | | | | | * lisp/abbrev.el (abbrev-prefix-mark): Clarify when the hyphen is removed (bug#33382).
* | | Fix problem with files like "~" in `directory-files-recursively'Lars Ingebrigtsen2019-07-101-7/+8
| | | | | | | | | | | | | | | | | | * lisp/files.el (directory-files-recursively): Don't bug out on files like "~" that have special meaning to `expand-file-name' (bug#36490).
* | | Add new section on reading a bug to admin/notes/bugtrackerStefan Kangas2019-07-101-0/+4
| | | | | | | | | | | | | | | * admin/notes/bugtracker: New section "How do I read a bug?" in "Quickstart" (Bug#36560).
* | | Fix pretty-printing of {}Lars Ingebrigtsen2019-07-101-3/+5
| | | | | | | | | | | | * lisp/json.el (json-pretty-print): Fix reading {}, which returns nil.
* | | Fix warnings in todo-mode-tests.el (Bug#36569)Stefan Kangas2019-07-101-1/+1
| | | | | | | | | | | | | | | * test/lisp/calendar/todo-mode-tests.el (todo-test--insert-item): Fix "Unused lexical argument" warnings.
* | | Fix warning in electric-tests.el (Bug#36570)Stefan Kangas2019-07-101-9/+0
| | | | | | | | | | | | | | | * test/lisp/electric-tests.el (plainer-c-mode): Remove duplicate definition.
* | | Simplify math-get-calendar-tzinfoPaul Eggert2019-07-091-6/+1
| | | | | | | | | | | | | | | | | | | | | * lisp/calc/calc-forms.el (calendar-current-time-zone-cache): Remove defvar. (math-get-calendar-tzinfo): Simplify and do not reach into caldst’s cache.
* | | Fix documentation of cl-memberLars Ingebrigtsen2019-07-101-2/+1
| | | | | | | | | | | | | | | * doc/misc/cl.texi (Lists as Sets): cl-member with no :test is not equal to memq (because it uses eql) (bug#33655).
* | | auth-source does not support "host" in .netrc filesLars Ingebrigtsen2019-07-101-2/+1
| | | | | | | | | | | | | | | * doc/misc/auth.texi (Help for users): Remove mention of "host" in .netrc files, because it's not supported (bug#33826).
* | | White-space fix in fortune-compileLars Ingebrigtsen2019-07-101-11/+11
| | | | | | | | | | | | * lisp/play/fortune.el (fortune-compile): Reindent function.
* | | Search exec-path for fortune strfile programBenjamin Ragheb2019-07-101-2/+4
| | | | | | | | | | | | | | | | | | | | | * lisp/play/fortune.el (fortune-compile): Search exec-path for strfile program (bug#33984). Copyright-paperwork-exempt: yes
* | | Remove json-pretty-print-max-secs introduced earlier this yearLars Ingebrigtsen2019-07-101-9/+0
| | | | | | | | | | | | | | | * lisp/json.el (json-pretty-print-max-secs): Remove the variable as it's no longer used.
* | | Fix timezone east of GMT in CalvLars Ingebrigtsen2019-07-101-1/+1
| | | | | | | | | | | | | | | | | | * lisp/calc/calc-forms.el (math-calendar-tzinfo): Make timezone calculation work east of Greenwich. Fix proposed by David O'Shea (bug#34075).
* | | * src/fileio.c: Fix bug#36431Stefan Monnier2019-07-092-35/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (decide_coding_unwind): Re-introduce. Move text back to the gap. Return the new `inserted` via the unwind_data. (Finsert_file_contents): Use it. Make sure `inserted` is always 0 when we jump straight to `notfound`. Don't insert the text in the buffer until we know it's properly decoded for the byteness of the buffer. * test/src/fileio-tests.el (fileio-tests--insert-file-interrupt): Allow insert-file-contents to return an empty buffer in case of non-local exit in set-auto-coding-function.
* | | Defend fingerprint against even-smarter LTOPaul Eggert2019-07-091-5/+7
| | | | | | | | | | | | | | | | | | | | | * src/pdumper.c (Fdump_emacs_portable, pdumper_load): Don’t cast volatile to non-volatile pointer, as that does not in general suffice to prevent a compiler from optimizing away memcmp and/or memcpy calls. Instead, copy the fingerprint by hand.
* | | Revert "Turn off bytecode jumptables to avoid Bug#36447"Stefan Monnier2019-07-091-2/+1
| | | | | | | | | | | | | | | This reverts commit 122198d2f1aaf0b74c102874cc9b04ae4789f54f. Should not be needed any more thanks to Pip Cet's patch to hash_table_rehash.
* | | Don't alter shared structure in dumped purecopied hash tables.Pip Cet2019-07-091-0/+6
| | | | | | | | | | | | | | | * src/fns.c (hash_table_rehash): Make sure we're operating on fresh copies of ->next, ->index, ->hash.
* | | Merge branch 'master' of git+ssh://git.sv.gnu.org/srv/git/emacs into trunkStefan Monnier2019-07-0933-72/+150
|\ \ \
| * | | Do not alter match data in Fcapitalize etc.Paul Eggert2019-07-096-8/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this patch, (capitalize "x") can alter the match data, which is not what users expect. Problem found by running morse-tests-unnato-region in a stripped-down Emacs. Perhaps ‘load’ should also save and restore the match data? That would be a simpler fix, though arguably incompatible. * src/lread.c (save_match_data_load): New function. * src/chartab.c (uniprop_table): * src/doc.c (reread_doc_file): * src/eval.c (Fautoload_do_load): * src/fns.c (Frequire): Use it.
| * | | Port image-type-from-file-header-test to non-SVG EmacsPaul Eggert2019-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Problem reported privately by Michael Albinus. * test/lisp/image-tests.el (image-type-from-file-header-test): Don’t assume svg is a supported image type.
| * | | Make fingerprint handling compatible with LTOAndreas Schwab2019-07-094-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tell the compiler that the fingerprint variable is modified unpredictably. * lib/fingerprint.h (fingerprint): Remove const. * lib/fingerprint.c (fingerprint): Likewise. * src/pdumper.c (Fdump_emacs_portable): Cast fingerprint variable. (pdumper_load): Likewise. * lib-src/make-fingerprint.c (main): Likewise.
| * | | Fix pretty-printing of multiple JSON objectsLars Ingebrigtsen2019-07-091-10/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/json.el (json-pretty-print-max-secs): Make obsolete. (json-pretty-print): Pretty-print all JSON objects in the region instead of just the first one (and then deleting all other objects) (bug#34160).
| * | | Revert "Fix pretty-printing of multiple JSON objects"Lars Ingebrigtsen2019-07-091-13/+12
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 48daf77a9d963c05ee198b3ab108c7f0b3686da6. This apparently led to build errors.
| * | | Fix pretty-printing of multiple JSON objectsLars Ingebrigtsen2019-07-091-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/json.el (json-pretty-print-max-secs): Make obsolete. (json-pretty-print): Pretty-print all JSON objects in the region instead of just the first one (and then deleting all other objects) (bug#34160).
| * | | * lisp/simple.el (shell-command): Raise a user-error instead of an error.Michael Albinus2019-07-091-3/+3
| | | |
| * | | ; * lisp/json.el (json-encode): Doc fix.Eli Zaretskii2019-07-091-2/+2
| | | |
| * | | Clarify json-read and json-encode parameters and return valuesLars Ingebrigtsen2019-07-091-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/json.el (json-read): Try to clarify what's returned (bug#34242). (json-encode): Refer to `json-read' about what the input is and say what error is signalled.
| * | | Fix alternative-email-as-from with empty To headers in MessageLars Ingebrigtsen2019-07-091-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/gnus/message.el (message-use-alternative-email-as-from): Don't add a "," at the start of the address if the To header doesn't exist (bug#34293).
| * | | Make gnus-read-ephemeral-emacs-bug-group autoloadableLars Ingebrigtsen2019-07-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Add an autoload cookie, because the command can be used from without Gnus.
| * | | Checkdoc would bug out on empty filesLars Ingebrigtsen2019-07-091-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/checkdoc.el (checkdoc--next-docstring): Don't bug out on malformed Emacs Lisp (bug#34760). (checkdoc-file-comments-engine): Don't bug out on empty buffers.
| * | | Clarify warning about unknown articles in GnusLars Ingebrigtsen2019-07-091-2/+2
| | | | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-sum.el (gnus-summary-mark-article-as-unread) (gnus-mark-article-as-unread): Clarify warning (bug#34990).
| * | | Don't try to save articles in Gnus that have disappearedLars Ingebrigtsen2019-07-091-5/+9
| | | | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-sum.el (gnus-summary-save-article): Stop trying to save articles if the articles have disappeared (bug#35188).
| * | | Rename font_driver member close -> close_fontMattias Engdegård2019-07-0910-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/alloc.c (cleanup_vector): * src/xftfont.c (xftfont_driver): * src/xfont.c (xfont_driver): * src/nsfont.m (nsfont_driver): * src/macfont.m (macfont_driver): * src/ftxfont.c (ftxfont_driver): * src/ftfont.c (ftfont_driver): * src/ftcrfont.c (ftcrfont_driver): * src/font.h (struct font_driver): * src/font.c (font_clear_cache, font_close_object): Rename `close' member to `close_font', to avoid clash with preprocessor define of `close' in nt/inc/ms-w32.h and for consistency with `open_font'.
| * | | Mention `call-process-region' in the `call-process' doc stringLars Ingebrigtsen2019-07-091-0/+3
| | | | | | | | | | | | | | | | | | | | * src/callproc.c (Fcall_process): Mention `call-process-region' (bug#35187).
| * | | Rename font_driver member open -> open_fontMattias Engdegård2019-07-099-19/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/xftfont.c (xftfont_driver): * src/xfont.c (xfont_driver): * src/nsfont.m (nsfont_driver): * src/macfont.m (macfont_driver): * src/ftxfont.c (ftxfont_driver): * src/ftfont.c (ftfont_driver): * src/ftcrfont.c (ftcrfont_driver): * src/font.h (struct font_driver): * src/font.c (font_open_entity): Rename `open' member to `open_font', to avoid clash with preprocessor define of `open' in lib/fcntl.h and nt/inc/ms-w32.h. Remove earlier #undef hack.
| * | | Add a really simple nadvice exampleLars Ingebrigtsen2019-07-091-2/+20
| | | | | | | | | | | | | | | | | | | | * doc/lispref/functions.texi (Advising Functions): Add a really trivial and simple example (bug#35250).
| * | | Make two variables for extended command suggestions mention each otherLars Ingebrigtsen2019-07-091-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/simple.el (suggest-key-bindings): (extended-command-suggest-shorter): Mention each other, because they are vaguely related (bug#35309).
| * | | Make the manual say what undo-auto-amalgamate doesLars Ingebrigtsen2019-07-091-0/+4
| | | | | | | | | | | | | | | | | | | | * doc/lispref/text.texi (Undo): Say what undo-auto-amalgamate does in addition to describing what amalgamation is (bug#35344).
| * | | Unbreak the MS-Windows buildEli Zaretskii2019-07-091-0/+2
| | | | | | | | | | | | | | | | | | | | * src/font.c (open): Don't undef on WINDOWSNT, as ms-w32.h redirects it to sys_open.
| * | | .har files are JSON filesLars Ingebrigtsen2019-07-091-0/+2
| | | | | | | | | | | | | | | | | | | | * lisp/files.el (auto-mode-alist): Map .har files to javascript-mode (bug#35407).
| * | | Fix for lisp tagbody indentationRyan Brown2019-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-indent.el (lisp-indent-259): Indent PROG better (bug#36552).
| * | | Add more quote-end characters to sentence-end-baseLars Ingebrigtsen2019-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | * lisp/textmodes/paragraphs.el (sentence-end-base): Add › and » (bug#36359).
* | | | * lisp/progmodes/verilog-mode.el: Update Version:Stefan Monnier2019-07-091-1/+1
|/ / /
* | | Merge branch 'emacs-26' into trunkStefan Monnier2019-07-091-0/+3
|\ \ \ | |/ /
| * | * lisp/progmodes/verilog-mode.el: One more ELPA Version:Stefan Monnier2019-07-091-0/+3
| | |
* | | Repair macOS buildMattias Engdegård2019-07-091-0/+4
| | | | | | | | | | | | | | | | | | | | | Avoid macro redefinition of `open' in lib/fcntl.h to break use of it as a struct member in src/font.c. * src/font.c: #undef open
* | | Conditionalize result of a bytecomp testGlenn Morris2019-07-091-0/+1
| | | | | | | | | | | | | | | | | | * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-test--switch-duplicates): Apparently the result depends on byte-compile-cond-use-jump-table.
* | | Make delimit-columns-region say what it doesLars Ingebrigtsen2019-07-091-1/+21
| | | | | | | | | | | | | | | | | | * lisp/delim-col.el (delimit-columns-region): Make the doc string say a bit more about what it does (bug#35651). (delimit-columns-rectangle): Refer to the first function.
* | | Allow using @@ in @uref in texinfoKatsumi Yamaoka2019-07-091-2/+1
| | | | | | | | | | | | | | | | | | * lisp/textmodes/texinfmt.el (texinfo-format-uref): Allow using @@ in @uref (bug#36186) to allow things like @uref{mailto:foo@@example.com}.