- 13 Aug, 2022 25 commits
-
-
Basil L. Contovounesios authored
This is a followup to commit b70369c5 of 2022-08-05 "time-convert): Deprecate calls without an explicit FORM arg". * doc/lispref/os.texi (Time Conversion): * src/timefns.c (Ftime_convert): Describe FORM argument as required as per the advertised calling convention.
-
Stefan Kangas authored
* src/timefns.c (Ftime_convert): Doc fix; improve formatting for readability.
-
Stefan Monnier authored
* lisp/emacs-lisp/nadvice.el (advice--interactive-form): Sink the call to `commandp` into the autoloaded function case since it's redundant in the other branch. (advice--make-interactive-form): Take just the interactive forms rather than the actual functions as arguments. (oclosure-interactive-form): Use `advice--interactive-form` rather than `commandp` since we'd call `advice--interactive-form` afterwards anyway.
-
Eli Zaretskii authored
* src/keyboard.c (syms_of_keyboard): * etc/NEWS: Fix the documentation of 'deactivate-mark' and its new value 'dont-save'. (Bug#57147)
-
Stefan Kangas authored
* doc/misc/gnus-faq.texi (FAQ 1-1, FAQ 1-2, FAQ 1-3, FAQ 1-4) (FAQ 1-5): Update to reflect that Gnus is no longer released separately from Emacs. Delete FAQ on Gnus 5.10, released in May 2003.
-
Stefan Kangas authored
Many haven't been bumped since 1997, others not since 2004. * lisp/gnus/deuglify.el (gnus-outlook-deuglify-version): * lisp/gnus/gnus-diary.el (gnus-diary-version): * lisp/gnus/nnagent.el (nnagent-version): * lisp/gnus/nnbabyl.el (nnbabyl-version): * lisp/gnus/nndiary.el (nndiary-version): * lisp/gnus/nndir.el (nndir-version): * lisp/gnus/nndoc.el (nndoc-version): * lisp/gnus/nndraft.el (nndraft-version): * lisp/gnus/nneething.el (nneething-version): * lisp/gnus/nnfolder.el (nnfolder-version): * lisp/gnus/nnmaildir.el (nnmaildir-version): * lisp/gnus/nnmbox.el (nnmbox-version): * lisp/gnus/nnmh.el (nnmh-version): * lisp/gnus/nnml.el (nnml-version): * lisp/gnus/nnrss.el (nnrss-version): * lisp/gnus/nnspool.el (nnspool-version): * lisp/gnus/nntp.el (nntp-version): * lisp/gnus/nnvirtual.el (nnvirtual-version): Make obsolete in favor of emacs-version.
-
Stefan Monnier authored
* lisp/progmodes/js.el (js-json-mode): Use a function as value of `syntax-propertize-function`.
-
Eli Zaretskii authored
* src/xdisp.c (partial_line_height): Return zero for long and truncated lines. (fast_move_it_horizontally): New function. (hscroll_window_tree, display_line): Use 'fast_move_it_horizontally' in preference to 'move_it_in_display_line_to', when dealing with long and truncated lines. (redisplay_internal): Optimize "optimization 3" for long and truncated lines. * src/buffer.c (syms_of_buffer) <large-hscroll-threshold>: New variable. * etc/NEWS: Announce 'large-hscroll-threshold'.
-
Po Lu authored
* etc/NEWS: Announce new value of `deactivate-mark'. * lisp/simple.el (deactivate-mark): Handle new value. (bug#57147) * src/keyboard.c (syms_of_keyboard): Update doc string of `deactivate-mark'.
-
Lars Ingebrigtsen authored
* lisp/outline.el (outline-close, outline-open): Use icons of the same size in Symbola.
-
Lars Ingebrigtsen authored
* lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate): Allow the excluded files to be relative (bug#57144).
-
Lars Ingebrigtsen authored
-
Stefan Kangas authored
-
Stefan Kangas authored
* lisp/progmodes/ps-mode.el (ps-mode-version): Make obsolete. (ps-mode-show-version, ps-mode-submit-bug-report): Don't use above obsolete variable.
-
Stefan Kangas authored
* lisp/htmlfontify.el (htmlfontify-version): Make obolete. (hfy-meta-tags): Don't use above obsolete variable.
-
Stefan Kangas authored
* doc/emacs/glossary.texi (Glossary): * doc/emacs/msdos.texi (Windows Fonts): * doc/lispref/loading.texi (Library Search): * doc/lispref/processes.texi (Accepting Output): * doc/misc/auth.texi (GnuPG and EasyPG Assistant Configuration): * doc/misc/efaq-w32.texi (Font names): * doc/misc/efaq.texi (Turning on syntax highlighting) (Escape sequences in shell output): * doc/misc/eshell.texi (Bugs and ideas): * doc/misc/gnus.texi (nnmairix requirements): * doc/misc/gnus-faq.texi (FAQ 1-5): * doc/misc/idlwave.texi (Troubleshooting): * doc/misc/message.texi (Using S/MIME): * doc/misc/mh-e.texi (Preface, Incorporating Mail): * doc/misc/viper.texi (Viper Specials): Delete references to Emacs 23 or older.
-
Eli Zaretskii authored
-
Po Lu authored
* lisp/select.el (xselect-convert-to-string): If positions are outside the accessible portion of the buffer, don't return anything.
-
Eli Zaretskii authored
* test/lisp/eshell/esh-var-tests.el (esh-var-test/last-result-var-ext-cmd): Fix the test on MS-Windows by making sure the internal 'format' command is invoked. (Bug#57129)
-
Jim Porter authored
Previously, '$?' (last exit code) was only useful for external commands, and '$$' (last result) was only useful for Lisp commands. * lisp/eshell/esh-cmd.el (eshell-lisp-form-nil-is-failure): New option. (eshell-lisp-command): Set last exit code to 1 when the command signals an error, and 2 if it returns nil (for Lisp forms only). * lisp/eshell/esh-proc.el (eshell-sentinel): Set last result to t if the command succeeded. * test/lisp/eshell/esh-cmd-tests.el (esh-cmd-test/while-loop-lisp-form, esh-cmd-test/until-loop-lisp-form) (esh-cmd-test/if-else-statement-lisp-form) (esh-cmd-test/if-else-statement-lisp-form-2) (esh-cmd-test/unless-else-statement-lisp-form): New tests. * test/lisp/eshell/esh-var-tests.el (esh-var-test/last-status-var-lisp-command) (esh-var-test/last-status-var-lisp-form) (esh-var-test/last-status-var-lisp-form-2) (esh-var-test/last-status-var-ext-cmd) (esh-var-test/last-status-var-ext-cmd): New tests. (esh-var-test/last-result-var2): Rename from this... ( esh-var-test/last-result-var-twice): ... to this. * doc/misc/eshell.texi (Variables): Update documentation about '$?' and '$$'. (Control Flow): Mention that '(lisp forms)' can be used as conditionals. * etc/NEWS: Announce this change (bug#57129).
-
Jim Porter authored
* lisp/eshell/esh-cmd.el (eshell-structure-basic-command): Forms beginning with 'eshell-escape-arg' are "data-wise". * test/lisp/eshell/esh-cmd-tests.el (esh-cmd-test/while-loop) (esh-cmd-test/until-loop, esh-cmd-test/if-statement) (esh-cmd-test/if-else-statement, esh-cmd-test/unless-statement) (esh-cmd-test/unless-else-statement): Use variable interpolation. (esh-cmd-test/while-loop-ext-cmd, esh-cmd-test/until-loop-ext-cmd) (esh-cmd-test/if-else-statement-ext-cmd) (esh-cmd-test/unless-else-statement-ext-cmd): New tests, adapted from the existing ones. * doc/misc/eshell.texi (Control Flow): Update documentation for conditionals (bug#57129).
-
Jim Porter authored
This simplifies usage of 'eshell-close-handles' in several places and makes it work more like the docstring indicated it would. * lisp/eshell/esh-io.el (eshell-close-handles): Only store EXIT-CODE and RESULT if they're non-nil. Also, use 'dotimes' and 'dolist' to simplify the implementation. * lisp/eshell/em-alias.el (eshell-write-aliases-list): * lisp/eshell/esh-cmd.el (eshell-rewrite-for-command) (eshell-structure-basic-command): Adapt calls to 'eshell-close-handles'. * test/lisp/eshell/eshell-tests.el (eshell-test/simple-command-result) (eshell-test/lisp-command, eshell-test/lisp-command-with-quote) (eshell-test/for-loop, eshell-test/for-name-loop) (eshell-test/for-name-shadow-loop, eshell-test/lisp-command-args) (eshell-test/subcommand, eshell-test/subcommand-args) (eshell-test/subcommand-lisp): Move from here... * test/lisp/eshell/esh-cmd-tests.el (esh-cmd-test/simple-command-result, esh-cmd-test/lisp-command) (esh-cmd-test/lisp-command-with-quote, esh-cmd-test/for-loop) (esh-cmd-test/for-name-loop, esh-cmd-test/for-name-shadow-loop) (esh-cmd-test/lisp-command-args, esh-cmd-test/subcommand) (esh-cmd-test/subcommand-args, esh-cmd-test/subcommand-lisp): ... to here. (esh-cmd-test/and-operator, esh-cmd-test/or-operator) (esh-cmd-test/for-loop-list, esh-cmd-test/for-loop-multiple-args) (esh-cmd-test/while-loop, esh-cmd-test/until-loop) (esh-cmd-test/if-statement, esh-cmd-test/if-else-statement) (esh-cmd-test/unless-statement, esh-cmd-test/unless-else-statement): New tests. * doc/misc/eshell.texi (Invocation): Explain '&&' and '||'. (for loop): Move from here... (Control Flow): ... to here, and add documentation for other control flow forms.
-
Stefan Kangas authored
72fc7258 Delete references to deleted library hilit19.el e746fc2e Delete stale comments from Lisp Intro manual 77613b92 ; Delete redundant installation instructions from ebnf2ps.el
-
Po Lu authored
-
Po Lu authored
* src/xfns.c (Fx_set_mouse_absolute_pixel_position): Use internal client pointer record. * src/xterm.c (x_dnd_cancel_dnd_early): New function. Only used on XI2 builds so far. (x_dnd_begin_drag_and_drop): Set the pointer device used for DND events. (xi_disable_devices): Cancel the drag-and-drop operation if that device is disabled. (x_send_scroll_bar_event): Update outdated comment. (handle_one_xevent): Only accept DND events from that device. (frame_set_mouse_pixel_position): Use internal client pointer record.
-
- 12 Aug, 2022 15 commits
-
-
Stefan Kangas authored
-
Stefan Kangas authored
* lisp/textmodes/emacs-authors-mode.el (emacs-authors-mode--hide-local-variables): Move from here... * lisp/emacs-lisp/subr-x.el (emacs-etc--hide-local-variables): ...to here. * lisp/textmodes/emacs-authors-mode.el (subr-x): Require. (emacs-authors-mode): Use above renamed function. * lisp/textmodes/emacs-news-mode.el (subr-x): Require. (emacs-news--mode-common): Call 'emacs-etc--hide-local-variables' to hide local variables section.
-
Lars Ingebrigtsen authored
* lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate): Don't re-write the loaddefs.el file when there's no reason to.
-
Stefan Kangas authored
* lisp/textmodes/emacs-authors-mode.el (emacs-authors-imenu-generic-expression): New variable. (emacs-authors-mode): Add imenu support.
-
Stefan Kangas authored
* emacs-authors-mode.el: Rename all symbols from 'etc-authors-*' to 'emacs-authors-*'. Make most old names into obsolete compat aliases. * admin/authors.el: (Bug#57105) * etc/AUTHORS: Use 'emacs-authors' instead of 'etc-authors'.
-
Stefan Kangas authored
* lisp/textmodes/etc-authors-mode.el: Move from here... * lisp/textmodes/emacs-authors-mode.el: ...to here. (Bug#57105)
-
Stefan Kangas authored
-
Stefan Kangas authored
* doc/misc/gnus.texi (Compatibility): * lisp/progmodes/f90.el: * lisp/ps-print.el: * lisp/vc/ediff.el: Delete references to hilit19.el.
-
Lars Ingebrigtsen authored
* lisp/textmodes/emacs-news-mode.el (emacs-news-view-mode-map): Fix inheritance from `special-mode-map' (bug#57100).
-
Lars Ingebrigtsen authored
* lisp/bookmark.el (bookmark-set): Clarify prompt further (bug#57128).
-
Harald Jörg authored
* lisp/progmodes/gud.el (gud-perldb-massage-args): Allow '-E' switch and use it as a default in favor of '-e' * etc/NEWS ('perldb' now recognizes '-E') New entry in section 'Gud'
-
Lars Ingebrigtsen authored
* doc/misc/gnus.texi (Mail Source Customization): Remove more outdated text (bug#57156).
-
Lars Ingebrigtsen authored
* doc/misc/gnus.texi (Gnus Development): Remove outdated section (bug#57156).
-
Stefan Kangas authored
-
Stefan Kangas authored
* lisp/cedet/ede.el (ede-version): * lisp/cedet/semantic.el (semantic-version): * lisp/cedet/srecode.el (srecode-version): Make obsolete. * lisp/cedet/semantic/db-file.el (semanticdb-file-version): Don't use above obsolete variable semantic-version.
-