aboutsummaryrefslogtreecommitdiffstats
path: root/etc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Support program switches in 'comint-run' commandPhil Sainty2019-07-111-0/+4
| | | | | | | | | | | | | | | | | | | | | * etc/NEWS: * doc/emacs/misc.texi: Describe new behaviour (bug#33037). * lisp/comint.el (comint-run): Add optional SWITCHES argument. With prefix argument C-u, prompt for SWITCHES.
* | | Tweak misterioso header line background colorLars Ingebrigtsen2019-07-111-1/+1
| | | | | | | | | | | | | | | | | | * etc/themes/misterioso-theme.el (class): Make the header line background darker so that cedet function names and parameters are legible (bug#33061).
* | | Tweak compilation face in the wheatgrass themeLars Ingebrigtsen2019-07-091-0/+1
| | | | | | | | | | | | | | | * etc/themes/wheatgrass-theme.el: The compilation info was too light to be readable (bug#36203).
* | | Delegate to rectangle version in delim-col when appropriateStefan Kangas2019-07-091-1/+2
| | | | | | | | | | | | | | | | | | * lisp/delim-col.el (delimit-columns-region): Delegate to `delimit-columns-rectangle' when called with a rectangular region (bug#36453).
* | | Handle 'abbr' and 'acronym' tags in shr.elNick Drozd2019-07-071-1/+1
| | | | | | | | | | | | | | | | | | * lisp/net/shr.el (shr-tag-abbr, shr-tag-acronym): New functions handling 'abbr' and 'acronym' tags, respectively. * etc/NEWS: Announce change in shr behavior (bug#36475).
* | | Support native image transforms on MS-WindowsEli Zaretskii2019-06-291-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset also rearranges native image transform code for other platforms to make it cleaner, and also removes the support for native cropping. For the discussions, see https://lists.gnu.org/archive/html/emacs-devel/2019-06/msg00242.html * src/w32term.c (w32_image_rotations_p, transform): New functions. (w32_draw_image_foreground): If image rotation is requested and supported, call PlgBlt to transform the image. (w32_initialize): Populate the PlgBlt function pointer if it is supported. * src/w32term.h (w32_image_rotations_p): Add prototype. * src/dispextern.h (struct image) [HAVE_NTGUI]: New member xform. * src/image.c (compute_image_rotation): Renamed from image_set_rotation. Only compute and returns the rotation angle; leave the matrix calculation for later. Log an error message if the :rotation parameter is not a number. (image_set_crop): Function deleted. We no longer support native cropping, as one can display an image slice instead. (image_set_transform): Compute the transform matrix in its entirety here, in two variants: one for XRender and Cairo, the other for NS and MS-Windows. call compute_image_size and compute_image_rotation internally. (lookup_image) [HAVE_NATIVE_TRANSFORMS]: Call only image_set_transform. No need to pass the transform matrix to image_set_transform. (Fimage_transforms_p): Return a list of transform capabilities rather than a simple boolean. Support TTY frames as well. * src/nsimage.m (setTransform:): Don't invert the matrix, as it is already inverted in image.c. * test/manual/image-transforms-tests.el (test-cropping): State in the text that only ImageMagick supports cropping. * doc/lispref/display.texi (Image Descriptors): Update the documentation of native image transforms. (ImageMagick Images): Move the description of ':crop' here. * etc/NEWS: Minor copyedits of the feature announcement.
* | | Mention the new emacsclient -a/--eval behaviourLars Ingebrigtsen2019-06-271-0/+6
| | |
* | | Add new ispell-change-dictionary-hook (Bug#1110)Stefan Kangas2019-06-271-0/+8
| | | | | | | | | | | | | | | * lisp/textmodes/ispell.el (ispell-change-dictionary-hook): New hook. (ispell-change-dictionary): Call new hook (bug#1110).
* | | Add a new regexp variable to control boring winner buffersThierry Volpiatto2019-06-271-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/windows.texi (Window Convenience): Mention it. * lisp/winner.el (winner-boring-buffers-regexp): New variable. * lisp/winner.el (winner-set): Use it (bug#11151).
* | | Allow generating wiki and mediawiki tablesAaron S. Hawley2019-06-271-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/textmodes/table.el (table--generate-source-prologue) (table--generate-source-epilogue) (table--generate-source-scan-rows) (table--generate-source-cells-in-a-row): Insert the wiki/mediawiki separators. * lisp/textmodes/table.el (table-source-languages): Add support for wiki and mediawiki tables (bug#13287). 2019-06-27 Lars Ingebrigtsen <larsi@gnus.org> * doc/emacs/text.texi (Table Misc): Mention the new wiki and mediawiki formats.
* | | Add :local specifier to defcustomJuanma Barranquero2019-06-271-0/+5
| | | | | | | | | | | | | | | | | | * lisp/custom.el (custom-declare-variable): Allow the new :local parameter (bug#14591). (defcustom): Document it.
* | | Remove gnus-bug from report-emacs-bug TODO entryBasil L. Contovounesios2019-06-271-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | For discussion, see the following thread: https://lists.gnu.org/archive/html/emacs-devel/2019-04/msg01196.html https://lists.gnu.org/archive/html/emacs-devel/2019-06/msg00967.html * etc/TODO: Remove gnus-bug from list of obsolete bug-reporting commands now that it is implemented in terms of report-emacs-bug.
* | | Support (rx (and (regexp EXPR) (literal EXPR))) (Bug#36237)Noam Postavsky2019-06-251-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/rx.el (rx-regexp): Allow non-string forms. (rx-constituents): Add literal constituent, which is like a plain STRING form, but allows arbitrary lisp expressions. (rx-literal): New function. (rx-compile-to-lisp): New variable. (rx--subforms): New helper function for handling subforms, including non-constant case. (rx-group-if, rx-and, rx-or, rx-=, rx->=, rx-repeat, rx-submatch) (rx-submatch-n, rx-kleene, rx-atomic-p): Use it to handle non-constant subforms. (rx): Document new form, wrap non-constant forms with concat call. * test/lisp/emacs-lisp/rx-tests.el (rx-tests--match): New macro. (rx-nonstring-expr, rx-nonstring-expr-non-greedy): New tests. * etc/NEWS: Announce changes.
* | | Support opening a new connection when reverting a telnet bufferEmilio C. Lopes2019-06-251-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | * net/telnet.el (telnet-connect-command): New variable. (telnet-revert-buffer): New function. (telnet-mode): Use `telnet-revert-buffer' as `revert-buffer-function'. (telnet, rsh): Set `telnet-connect-command' accordingly (bug#18312). Copyright-paperwork-exempt: yes
* | | * etc/NEWS: Fix vocabulary in last changeStefan Monnier2019-06-251-2/+2
| | |
* | | ; * etc/NEWS: Fix an entry from recent commit.Eli Zaretskii2019-06-251-1/+4
| | |
* | | Make dired commands report how many files they markDrew Adams2019-06-251-0/+3
| | | | | | | | | | | | | | | * lisp/dired.el (dired-mark-if): Report the number of files marked when called, not the total number of marked files (bug#22457).
* | | Add a new command to report the number and size of the marked filesLars Ingebrigtsen2019-06-251-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2019-06-25 Constantino Calancha <f92capac@gmail.com> * lisp/dired.el (dired-mode-map): New keystroke and menu binding (bug#22829). 2019-06-25 Lars Ingebrigtsen <larsi@gnus.org> * doc/emacs/dired.texi (Marks vs Flags): Document it. * lisp/dired.el (dired-number-of-marked-files): New command.
* | | Fix `goto-address-url-regexp'Phil Sainty2019-06-251-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/goto-addr.el (goto-address-uri-schemes-ignored): New variable. (goto-address-uri-schemes): Ditto. (goto-address-url-regexp): Use them to compose the final regexp. * lisp/net/goto-addr.el: The URI schemes to be recognised by `goto-address-mode' were not regexp-quoted (Bug#23343).
* | | Add imenu support to package-menu-modeDamien Cassou2019-06-251-0/+3
| | | | | | | | | | | | | | | | | | | | | * lisp/emacs-list/package.el (package--imenu-prev-index-position-function package--imenu-extract-index-name-function): Add Imenu functions to package-menu-mode (bug#27134).
* | | * lisp/textmodes/tex-mode.el (latex-noindent-commands): New custom varStefan Monnier2019-06-241-0/+3
| | | | | | | | | | | | | | | (latex-find-indent): Obey it. (latex-noindent-environments): Make it into a defcustom as well.
* | | Add new commands to widen/narrow tabulated list columnsLars Ingebrigtsen2019-06-241-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/buffers.texi: Document widen/contracting commands in tabulated list mode. * lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode-map): Add keystrokes. (tabulated-list-widen-current-column): New command. (tabulated-list-narrow-current-column): Ditto. The code was written by Boruch Baum and then tweaked by Drew Adams (bug#32106) before some white-space changes before the commit.
* | | NEWS fix up for Zstandard patchesLars Ingebrigtsen2019-06-241-4/+0
| | | | | | | | | | | | | | | * etc/NEWS: tramp-archive is a new feature, so no need to say that specific parts of it are new. From Michael Albinus.
* | | Add Zstandard compression support for TrampAlexander Gramiak2019-06-241-0/+4
| | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-archive.el (tramp-archive-suffixes) (tramp-archive-compression-suffixes): Add zstd compression suffixes. * lisp/net/tramp-sh.el (tramp-inline-compress-commands): Add zstd (de)compression commands.
* | | Add Zstandard compression support for diredAlexander Gramiak2019-06-241-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/dired-aux.el (dired-compress-file-suffixes): Add suffixes for zstd compressed tarballs and other files. (dired-compress-file): Treat options found in `dired-compress-file-suffixes' as arguments instead of part of the program name.
* | | Add Zstandard compression support for etagsAlexander Gramiak2019-06-241-0/+3
| | | | | | | | | | | | | | | | | | * lib-src/etags.c: (compressors): Add zstd support. (print_language_names): Report zstd support. * doc/man/etags.1: Update doc.
* | | * etc/NEWS: Describe changes to auth-source-passDamien Cassou2019-06-241-0/+19
| | |
* | | Optional space and unit in `file-size-human-readable' (bug#35756)Mattias Engdegård2019-06-231-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To improve readability of strings produced by `file-size-human-readable', add two optional arguments: - SPACE, to provide a string (typically a space or non-breaking space) to put between the number and unit. For compatibility, the default is an empty string. - UNIT, a string to use as unit. For compatibility, the default is "B" in `iec' mode and the empty string otherwise. Also fix a glitch with small numbers in `iec' mode which caused a stray "i" in the result. * lisp/files.el (file-size-human-readable): Add optional SPACE and UNIT arguments and handle small numbers correctly. (files--ask-user-about-large-file, warn-maybe-out-of-memory): Call with `iec' and space. * test/lisp/files-tests.el (files-test-file-size-human-readable): New test. * lisp/url/url-http.el (url-http-simple-after-change-function) (url-http-content-length-after-change-function): Call with `iec' and space. * etc/NEWS (Lisp Changes): Mention the change.
* | | Add NEWS entry for new command gnus-summary-browse-urlEric Abrahamsen2019-06-231-0/+5
| | | | | | | | | | | | * etc/NEWS: It is documented in the manual.
* | | Handle 'code' tag in shr.elNick Drozd2019-06-231-0/+3
| | | | | | | | | | | | | | | * etc/NEWS: Announce change in shr behavior (bug#36247). * lisp/net/shr.el: Add 'code' tag handling.
* | | Make toolbar show keyboard equivalents in its tooltipsStefan Kangas2019-06-222-2/+3
| | | | | | | | | | | | | | | | | | | | | * src/keyboard.c (parse_tool_bar_item): Add equivalent key binding to the tooltip string of toolbar buttons. * etc/NEWS: Announce it. * etc/TODO: Remove its entry. (Bug#36156)
* | | ; * etc/NEWS: Mention the last change in NEWS.Eli Zaretskii2019-06-221-0/+5
| | |
* | | Move mantemp.el to obsolete/Stefan Kangas2019-06-221-3/+2
| | | | | | | | | | | | | | | | | | * lisp/progmodes/mantemp.el: Move to obsolete/. (bug#34789) * doc/emacs/ack.texi (Acknowledgments): Remove obsolete library mantemp.el.
* | | * lisp/emacs-lisp/bytecomp.el (byte-compile-dynamic): Mark obsoleteStefan Monnier2019-06-211-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See bug#11649 for an example problem, and emacs-devel discussion «Prickliness of the "invalid byte code" stuff». * lisp/wid-edit.el, lisp/wdired.el, lisp/vc/pcvs-util.el: * lisp/progmodes/executable.el, lisp/mail/sendmail.el: * lisp/emacs-lisp/cl-seq.el, lisp/emacs-lisp/cl-macs.el: * lisp/emacs-lisp/cl-lib.el, lisp/emacs-lisp/cl-extra.el: * lisp/dired-x.el, lisp/dired-aux.el, lisp/calendar/calendar.el: Don't use byte-compile-dynamic any more.
* | | Add file sorting options to find-dired and grep-find (bug#36110)Juri Linkov2019-06-201-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/find-dired.el (find-ls-option-default-ls) (find-ls-option-default-exec, find-ls-option-default-xargs): New variables for values used for options of 'find-ls-option'. (find-ls-option): Use these variables for default values and options. (find-dired-refine-function): Refine :type. * lisp/progmodes/grep.el (grep-find-use-xargs): Use defcustom instead of defvar. Add new value 'gnu-sort'. (grep-compute-defaults): Handle new 'gnu-sort' option of 'grep-find-use-xargs'.
* | | --with-cairo is no longer experimentalPaul Eggert2019-06-191-0/+4
| | | | | | | | | | | | | | | | | | | | | Suggested by YAMAMOTO Mitsuharu in: https://lists.gnu.org/r/emacs-devel/2019-06/msg00686.html * configure.ac: Do not say --with-cairo is experimental. * etc/NEWS: Say that --with-cairo is no longer experimental.
* | | Report progress during custom-make-dependencies instead of file countLars Ingebrigtsen2019-06-181-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/cus-dep.el (custom-make-dependencies): Rewrite to use reporter to report progress instead of how many files we've processed. * lisp/emacs-lisp/byte-run.el (byte-compile-info-string): New function. (byte-compile-info-message): Use it.
* | | * bookmark.el: Watch bookmark file. Use lexical binding.Roland Winkler2019-06-181-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (bookmark-watch-bookmark-file): New user variable. (bookmark-alist): Fix docstring. (bookmark-bookmarks-timestamp): Renamed from bookmarks-already-loaded. (bookmark-maybe-load-default-file, bookmark-save, bookmark-load): Use bookmark-bookmarks-timestamp. (bookmark-bmenu-mode-map): Define menu bar menu. (bookmark-show-annotation, bookmark-show-all-annotations): Make bookmarks buffer read-only. (bookmark-bmenu-save): Use call-interactively.
* | | Don't hard-code the fill-column for display-warningGlenn Morris2019-06-161-0/+3
| | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/warnings.el (warning-fill-column): New variable. (display-warning): Use warning-fill-column. * doc/lispref/display.texi (Warning Variables): Mention warning-fill-column.
* | | Remove another variable obsolete since Emacs 22Stefan Kangas2019-06-151-4/+4
| | | | | | | | | | | | | | | | | | * lisp/progmodes/cc-langs.el: Remove obsolete variable c-opt-op-identitier-prefix. * etc/NEWS: Announce it. (Bug#36173)
* | | Adjust erc functions after previous erc-pre-send-function changeLars Ingebrigtsen2019-06-141-1/+1
| | |
* | | Unobsolete string-to-multibyteLars Ingebrigtsen2019-06-141-5/+5
| | | | | | | | | | | | | | | * lisp/subr.el: Un-obsolete string-to-multibyte, because it's a useful function. string-to-unibyte has already been un-obsoleted.
* | | Obsolete erc-send-pre-hook and add new erc-pre-send-functionLars Ingebrigtsen2019-06-141-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/erc/erc.el (erc-send-pre-hook): Make obsolete. (erc-send-input): Ditto. (erc-pre-send-function): New function. (erc-send-input): Use the new function, and silence byte compilation warning about the dynamic variable `str' used by the now-obsolete hook.
* | | ; * etc/NEWS: Small cleanup.Stefan Kangas2019-06-131-8/+2
| | | | | | | | | | | | * etc/NEWS: Merge two bookmark items in NEWS (bug#36188).
* | | Add the new macro with-suppressed-warningsLars Ingebrigtsen2019-06-121-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/byte-run.el (with-suppressed-warnings): New macro. * doc/lispref/compile.texi (Compiler Errors): Document with-suppressed-warnings and deemphasise with-no-warnings slightly. * lisp/emacs-lisp/bytecomp.el (byte-compile--suppressed-warnings): New internal variable. (byte-compile-warning-enabled-p): Heed byte-compile--suppressed-warnings, bound via with-suppressed-warnings. (byte-compile-initial-macro-environment): Provide a macro expansion of with-suppressed-warnings. (byte-compile-file-form-with-suppressed-warnings): New byte hunk handler for the suppressed symbol machinery. (byte-compile-suppressed-warnings): Ditto for the byteop. (byte-compile-file-form-defmumble): Ditto. (byte-compile-form, byte-compile-normal-call) (byte-compile-normal-call, byte-compile-variable-ref) (byte-compile-set-default, byte-compile-variable-set) (byte-compile-function-form, byte-compile-set-default) (byte-compile-warn-obsolete, byte-compile--declare-var): Pass the symbol being warned in to byte-compile-warning-enabled-p. * test/lisp/emacs-lisp/bytecomp-tests.el (test-suppression): New function. (bytecomp-test--with-suppressed-warnings): Tests.
* | | Allow refining the *Find* buffer of find-dired. (Bug#29513)Roland Winkler2019-06-111-0/+5
| | | | | | | | | | | | | | | | | | * find-dired.el (find-dired-refine-function): New user variable. (find-dired-sentinel): Use it. Simplify. (find-dired-sort-by-filename): New function.
* | | Make bookmark-old-default-file variable obsoleteStefan Kangas2019-06-091-0/+6
| | | | | | | | | | | | | | | | | | | | | * lisp/bookmark.el (bookmark-old-default-file): Redefine as obsolete variable alias for 'bookmark-default-file'. (bookmark-maybe-load-default-file): Don't try to rename file 'bookmark-old-default-file' (~/.emacs-bkmrks) to new name (Bug#35940).
* | | Make `bookmark-file' variable obsoleteStefan Kangas2019-06-091-0/+6
| | | | | | | | | | | | | | | * lisp/bookmark.el (bookmark-file): Redefine as obsolete variable alias for `bookmark-default-file'. (Bug#35917)
* | | Fix TODO to convert defvar with leading '*' to defcustomStefan Kangas2019-06-091-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * etc/TODO: Remove done TODO to remove '*' from defvar. * doc/misc/gnus.texi: Remove leading '*' from defvar example. * lisp/kermit.el (kermit-esc-char): Convert to defcustom. * lisp/desktop.el (desktop-header): * lisp/obsolete/cc-compat.el (c-indent-level) (c-brace-imaginary-offset, c-brace-offset, c-argdecl-indent) (c-label-offset, c-continued-statement-offset) (c-continued-brace-offset): Remove leading '*' from docstring. * lisp/progmodes/dcl-mode.el: Remove leading '*' from docstring in comment. * test/manual/cedet/tests/test.el: Add comment asking if example of defvar with leading '*' should be removed. (Bug#35994) (The previous commit is also for the same bug.)
* | | Fix TODO to remove leading '*' from defcustomStefan Kangas2019-06-091-3/+0
| | | | | | | | | | | | | | | | | | | | | * etc/TODO: Remove done TODO to remove leading '*' from defcustom doc-strings. * lisp/ibuffer.el (ibuffer-inline-columns): Remove leading '*' from doc-string.