aboutsummaryrefslogtreecommitdiffstats
path: root/etc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Extend button.el to take callback dataLars Ingebrigtsen2019-07-301-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/display.texi (Button Buffer Commands) (Button Buffer Commands): Document this. * lisp/button.el (backward-button, forward-button): Accept a NO-ERROR parameter. (button-activate): Make it possible to have specific data in the callback action.
* | | * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Add slot option :documentationStefan Monnier2019-07-291-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Use it to improve the docstring of the accessor functions. * doc/misc/cl.texi: Rename menu entry to "CL-Lib". (Structures): Add ':documentation' and mention ':type' as well, which we don't completely ignore any more.
* | | Add an ISO 8601 parsing libraryLars Ingebrigtsen2019-07-291-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/os.texi (Time Parsing): Document it. * lisp/calendar/iso8601.el: New file. * test/lisp/calendar/iso8601-tests.el: Test ISO8601 parsing functions.
* | | Add support for dealing with decoded time structuresLars Ingebrigtsen2019-07-291-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/os.texi (Time Conversion): Document the new functions that work on decoded time. (Time Calculations): Document new date/time functions. * lisp/simple.el (decoded-time-second, decoded-time-minute) (decoded-time-hour, decoded-time-day, decoded-time-month) (decoded-time-year, decoded-time-weekday, decoded-time-dst) (decoded-time-zone): New accessor functions for decoded time values. * lisp/calendar/time-date.el (date-days-in-month) (date-ordinal-to-time): New functions. (decoded-time--alter-month, decoded-time--alter-day) (decoded-time--alter-second, make-decoded-time): New functions added to manipulate decoded time structures. * src/timefns.c (Fdecode_time): Mention the new accessors. * test/lisp/calendar/time-date-tests.el: New file to test the decoded time functions and the other new functions.
* | | Rename the new `browse-url-external-browser' variableLars Ingebrigtsen2019-07-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/shr.el (shr-external-browser, shr-browse-url): * lisp/net/eww.el (eww-browse-with-external-browser) (eww-follow-link): * lisp/net/browse-url.el (browse-url-secondary-browser-function) (browse-url-button-open): * lisp/gnus/gnus-sum.el (gnus-summary-browse-url): Rename from `browse-url-external-browser' to `browse-url-secondary-browser-function'.
* | | Tweak tango-dark-themeLars Ingebrigtsen2019-07-281-0/+1
| | | | | | | | | | | | | | | * etc/themes/tango-dark-theme.el: Add a lighter background color to `header-line' (bug#23359).
* | | Enable browse-url to buttonize buffersLars Ingebrigtsen2019-07-281-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch also moves the internal/external browser logic from shr to browse-url, where it belongs more naturally. * doc/misc/eww.texi (Basics): Adjust to browse-url-external-browser. * doc/misc/gnus.texi (Article Commands): Ditto. * lisp/gnus/gnus-art.el (gnus-button-url-regexp): Default to `browse-url-button-regexp', which has taken over the definition previously enjoyed by this variable. * lisp/gnus/gnus-sum.el (gnus-summary-browse-url): Adjust usage. * lisp/net/browse-url.el (browse-url--browser-defcustom-type): New internal variable... (browse-url-browser-function, browse-url-external-browser): Used by these two; the latter of which is a new variable. (browse-url-botton-regexp): New variable. (browse-url-button-map): New keymap. (browse-url-button): New face. (browse-url-add-buttons): New function to add clickable browse-url buttons to almost any buffer. (browse-url-button-open): New command. (browse-url-button-copy): New command. * lisp/net/eww.el (eww-browse-with-external-browser) (eww-follow-link): Adjust usage. * lisp/net/shr.el (shr-external-browser): Make an obsolete alias of `browse-url-external-browser'. (shr-browse-url): Adjust usage.
* | | ; Make etc/NEWS consistentMichael Albinus2019-07-281-63/+59
| | |
* | | Make cl-values-list signal an error if its argument isn't a listLars Ingebrigtsen2019-07-281-0/+4
| | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-lib.el (cl-values-list): Signal an error if LIST isn't a list (bug#23597).
* | | Mark block/char devices the same as sockets in diredLars Ingebrigtsen2019-07-281-0/+4
| | | | | | | | | | | | | | | * lisp/dired.el (dired-re-socket): Also mark block and char devices with the socket face (bug#24547).
* | | Allow serial-term to take an optional argument for line-modeLars Ingebrigtsen2019-07-271-0/+4
| | | | | | | | | | | | | | | | | | | | | * lisp/term.el (serial-term): Allow taking an optional argument to avoid term-raw-mode (bug#24922). * doc/lispref/processes.texi (Serial Ports): Document it.
* | | Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacsEli Zaretskii2019-07-271-0/+5
|\ \ \
| * | | Allow global-auto-revert-ignore-buffer to be a predicate functionLars Ingebrigtsen2019-07-271-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/autorevert.el (global-auto-revert-ignore-buffer): Allow this to be a predicate function (bug#25277). (auto-revert--global-add-current-buffer): Use it.
* | | | Use the CSS convention for #RGB colors (bug#36304)Pip Cet2019-07-271-1/+6
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/xterm.c (x_parse_color): Change interpretation of #RGB color triplets to match CSS rather than X conventions. * lisp/term/tty-colors.el (tty-color-standard-values): Change interpretation of #RGB color triplets to match CSS rather than X conventions. Allow upper-case digits. Fix rgb:R/G/B interpretation. * doc/emacs/display.texi (Colors): Specify the convention used for "#RGB" color triplets. * test/lisp/tty-colors-tests.el: New file. * etc/NEWS: Mention the change.
* | | Allow directory-files-recursively to follow symlinksLars Ingebrigtsen2019-07-271-1/+3
| | | | | | | | | | | | | | | | | | | | | * doc/lispref/files.texi (Contents of Directories): Document it. * lisp/files.el (directory-files-recursively): Allow following symlinks.
* | | Add a NEWS item about smtpmail-servers-requiring-authorizationLars Ingebrigtsen2019-07-261-1/+5
| | |
* | | Add new macro `ignore-error'Lars Ingebrigtsen2019-07-261-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/control.texi (Handling Errors): Document `ignore-error'. * lisp/subr.el (ignore-error): New macro. * lisp/progmodes/elisp-mode.el (elisp-completion-at-point): Provide completion for `ignore-error'.
* | | Don't run gpg when loading package.elLars Ingebrigtsen2019-07-261-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package.el (package-check-signature): Don't run gpg on startup, but just default to `allow-unsigned'. (package-check-signature): New function to check whether a OpenPGP configuration is found when `allow-unsigned'. (package--check-signature-content, package--check-signature) (package--download-one-archive, package-refresh-contents) (package-install-from-archive): Use function instead of variable throughout. * doc/emacs/package.texi (Package Installation): Document this.
* | | Fix recent commit in xref.elEli Zaretskii2019-07-251-1/+2
| | | | | | | | | | | | | | | | | | * lisp/progmodes/xref.el (xref-file-name-display): Doc fix. * etc/NEWS: Fix the corresponding entry.
* | | * lisp/vc/vc.el (vc-log-search): Fix docstring (bug#36644).Juri Linkov2019-07-251-2/+2
| | | | | | | | | | | | * lisp/vc/vc-git.el (vc-git-log-search): Add docstring.
* | | Do not treat ~nosuchuser as an absolute file namePaul Eggert2019-07-241-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Derived from Ken Brown’s patch (Bug#36502#97). * doc/lispref/files.texi (Relative File Names): * etc/NEWS: Document this. * src/fileio.c (user_homedir): New function. (Fexpand_file_name, file_name_absolute_p): Use it. (search_embedded_absfilename): Simplify via file_name_absolute_p. * test/src/fileio-tests.el (fileio-tests--no-such-user): New test.
* | | Customizable char-fold with char-fold-symmetric, char-fold-include (bug#35689)Juri Linkov2019-07-231-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/search.texi (Lax Search): Document char-fold-symmetric, char-fold-include, char-fold-exclude. * lisp/char-fold.el (char-fold--default-include) (char-fold--default-exclude, char-fold--default-symmetric) (char-fold--previous): New defconsts. (char-fold-include, char-fold-exclude, char-fold-symmetric): New defcustoms. (char-fold-make-table): Use them. (char-fold-update-table): New function called at top-level. * test/lisp/char-fold-tests.el (char-fold--test-no-match-exactly) (char-fold--permutation): New functions. (char-fold--test-without-customization) (char-fold--test-with-customization): New tests.
* | | Follow decomposition chains when constructing char-fold-tableRobert Pluim2019-07-231-0/+8
| | | | | | | | | | | | | | | | | | * lisp/char-fold.el (char-fold-make-table): Decompose the decomposition of each character, adding equivalences to the original character, until no more decompositions are left.
* | | Improve pdumper doc; say unexec is deprecatedPaul Eggert2019-07-232-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Say that pdumping cannot redump unless -batch is used. Say that the traditional unexec dumping method is by default not available, and is deprecated. Don't call dump files "portable", as dump files are not any more portable than the Emacs executables themselves. Just call them "dump files". Similar, prefer "portable dumper" (since the dumper code is portable) to "portable dumping" (since the dump file is not). Be more systematic about calling them "dump files" instead of "dumped images" or whatnot.
* | | Handle persistence of windows' scroll bar and fringes settings (Bug#36193)Martin Rudalics2019-07-221-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/display.texi (Fringe Size/Pos): Document new argument PERSISTENT of 'set-window-fringes'. (Scroll Bars): Document new argument PERSISTENT of 'set-window-scroll-bars'. Mention that HORIZONTAL-TYPE must be 'bottom' to show a horizontal scroll bar on mini windows. * lisp/window.el (window-min-pixel-height): For mini windows the minimum height is one line. (window--min-size-1): Use value returned by 'window-min-pixel-height' when dealing with mini windows. (window--resize-mini-window): Try to handle horizontal scroll bars and size restrictions more accurately. (window--state-put-2): Handle persistence of scroll bar settings. * src/frame.c (make_frame): Allow horizontal scroll bars in mini windows. (adjust_frame_size): Drop PIXELWISE argument in 'resize_frame_windows' calls. * src/window.c (set_window_buffer): Don't override WINDOW's scroll bar and fringe settings when marked as persistent. (resize_frame_windows): Drop fourth argument PIXELWISE - SIZE is always specified in terms of pixels. Try to handle height of mini windows more accurately. (grow_mini_window, shrink_mini_window): Use body height of mini window when calculating expected height change. Take horizontal scroll bars into account. (struct saved_window): Two new members to handle persistence of window fringes and scroll bars. (Fset_window_configuration, save_window_save): Handle persistence of fringes and scroll bars. (set_window_fringes, set_window_scroll_bars): New arguments PERSISTENT. Make dimension checks more accurate. (Fset_window_fringes): New argument PERSISTENT. (Fwindow_fringes, Fwindow_scroll_bars): Add PERSISTENT to return values. (Fset_window_scroll_bars): New argument PERSISTENT. In doc-string mention that 'bottom' must be specified to get a horizontal scroll bar in mini windows. (compare_window_configurations): Add checks for persistence of fringes and scroll bars. * src/window.h (struct window): New boolean slots 'fringes_persistent' and 'scroll_bars_persistent'. (WINDOW_HAS_HORIZONTAL_SCROLL_BAR): Allow horizontal scroll bars for mini windows. (resize_frame_windows): Remove fourth argument of 'resize_frame_windows' in external declaration. * src/xdisp.c (resize_mini_window): Use box text height to tell whether mini window height changed. (set_horizontal_scroll_bar): Set mini window's horizontal scroll bar when its type is specified as 'bottom'. * etc/NEWS: Mention new options for 'set-window-fringes' and 'set-window-scroll-bars'.
* | | Don't override SSH_AUTH_SOCK in the example emacs.service fileLars Ingebrigtsen2019-07-211-1/+3
| | | | | | | | | | | | | | | | | | * etc/emacs.service (ExecStop): Don't override SSH_AUTH_SOCK by default, because it varies by distribution where the socket is (bug#27620).
* | | Allow counter-clockwise rotations in image-rotateBasil L. Contovounesios2019-07-201-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/image.el (image-rotate): Extend with an optional argument specifying the rotation in degrees (bug#35421). * doc/lispref/display.texi (Showing Images): * etc/NEWS: Document the change. * test/lisp/image-tests.el (image-rotate): New test.
* | | Mark the gnus-article-date-headers NEWS entry as documentedLars Ingebrigtsen2019-07-201-0/+1
| | |
* | | Enable showing local time and lapsed time in GnusAdam Sjøgren2019-07-201-0/+4
| | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-art.el (article-make-date-combine-with-lapsed) factor code out into new function, used for providing both combined-lapsed and combined-local-lapsed.
* | | Fix last changeEli Zaretskii2019-07-201-0/+4
| | | | | | | | | | | | | | | | | | | | | * etc/NEWS: Call out the change in matching REGEXP. * lisp/files.el (magic-mode-alist) (magic-fallback-mode-alist): Doc fix. (Bug#36401)
* | | * lisp/files.el (file-size-function): New defcustomOleh Krehel2019-07-191-0/+1
| | |
* | | Declare mwheel-install obsolete (Bug#36553)Stefan Kangas2019-07-181-0/+7
| | | | | | | | | | | | | | | | | | * lisp/mwheel.el: Update `Commentary' section. (mwheel-install): Declare obsolete in favor of mouse-wheel-mode. * etc/NEWS: Announce it.
* | | Add xref-file-name-displayStephen Leake2019-07-171-0/+3
| | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/xref.el (xref-file-name-display): New user variable. (xref-location-group): Use it. * etc/NEWS: Mention it.
* | | * lisp/vc/vc.el (vc-log-search): New command (bug#36644).Juri Linkov2019-07-161-0/+8
| | | | | | | | | | | | | | | * lisp/vc/vc-git.el (vc-git-log-search): New function. (vc-git-log-view-mode): Check vc-log-view-type for log-search.
* | | Make directory-files-recursively take a PREDICATE parameterLars Ingebrigtsen2019-07-151-0/+4
| | | | | | | | | | | | | | | | | | | | | * lisp/files.el (directory-files-recursively): Take an optional PREDICATE parameter (bug#28567). * doc/lispref/files.texi (Contents of Directories): Document it.
* | | ; NEWS copyeditsGlenn Morris2019-07-141-10/+6
| | |
* | | Rename vc-dir-delete-files-no-vc to vc-dir-clean-filesLars Ingebrigtsen2019-07-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/maintaining.texi (VC Directory Commands): Adjust command name. * lisp/vc/vc-dir.el (vc-dir-clean-files): Rename from vc-dir-delete-files-no-vc, and work on unregistered files only (bug#31732). (vc-dir-menu-map): Adjust command name.
* | | * etc/NEWS: Announce new Georgian inputs. (Bug#36639)Nick Drozd2019-07-141-0/+3
| | |
* | | * etc/HELLO: Fix name of Georgian languageNick Drozd2019-07-141-1/+1
| | |
* | | New function for scroll-lock-mode to almost always scrollMarco Wahl2019-07-141-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/scroll-lock.el (scroll-lock-next-line-always-scroll): New function. Opposed to scroll-lock-next-line it does not switch to forward-line at eob. S-down is the default key binding for this function. (Bug#36494) * test/lisp/scroll-lock-tests.el: A few tests for scroll-lock-next-line-always-scroll. * etc/NEWS: Announce the new command.
* | | Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacsEli Zaretskii2019-07-131-0/+8
|\ \ \
| * | | Add so-long libraryPhil Sainty2019-07-131-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/so-long.el: New library. * doc/emacs/trouble.texi (Long Lines): New node covering so-long.el. * doc/emacs/emacs.texi (Top): Add menu entry for the Long Lines node. * etc/NEWS: Include under "New Modes and Packages in Emacs 27.1"
* | | | Fix last commitEli Zaretskii2019-07-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * etc/NEWS: Fix formatting and punctuation of last change. * lisp/isearch.el (isearch-highlight-regexp) (isearch-highlight-lines-matching-regexp): Doc fix.
* | | | Add ability to highlight-lines-matching-regexp directly from IsearchDima Kogan2019-07-131-0/+6
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/isearch.el: Implement the new functionality. (isearch-highlight-lines-matching-regexp): New function bound to 'M-s h l' in isearch. (isearch--highlight-regexp-or-lines): New internal function. * etc/NEWS (Search and Replace): Mention this change. * doc/emacs/search.texi (Special Isearch): Document 'M-s h l'. (Bug#18241)
* | | Mark the new vc-dir-delete command as documentedLars Ingebrigtsen2019-07-131-0/+1
| | |
* | | Add a new command in vc-dir mode to delete filesLars Ingebrigtsen2019-07-131-0/+5
| | | | | | | | | | | | | | | | | | | | | * doc/emacs/maintaining.texi (VC Directory Commands): Document it. * lisp/vc/vc-dir.el (vc-dir-delete-files-no-vc): New command and keystroke (bug#31732).
* | | Add more spook.linesLars Ingebrigtsen2019-07-131-0/+0
| | | | | | | | | | | | | | | * etc/spook.lines: Add Black Cube (bug#32309) (https://en.wikipedia.org/wiki/Black_Cube).
* | | Document format-spec and expand the modifiers it supportsLars Ingebrigtsen2019-07-131-0/+7
| | | | | | | | | | | | | | | | | | | | | * doc/lispref/text.texi (Interpolated Strings): New section. * lisp/format-spec.el (format-spec--parse-modifiers) (format-spec--pad): New functions. (format-spec): Support more format modifiers (bug#32931).
* | | Use the gpg --sender optionTeemu Likonen2019-07-131-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/epg.el (epg-start-encrypt) * lisp/gnus/mml-sec.el (mml-secure-epg-encrypt): When 'mml-secure-openpgp-sign-with-sender' is non-nil message sender's email address (in addition to its old behaviour) will also be used to set gpg's "--sender email@domain" option.
* | | Remove lisp/obsolete/xesam.elMichael Albinus2019-07-111-0/+3
| | |