summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* ; lisp/ldefs-boot.el: Update.emacs-27.0.91Nicolas Petton2020-04-17
|
* Fix a typo in calculator.eljakub-w2020-04-16
| | | | | | | * lisp/calculator.el (calculator-expt): Overflowing exponentiation caused the function to return -1.0e+INF if the base was an odd, negative number, no matter what the exponent was. Copyright-paperwork-exempt: yes
* * lisp/erc/erc.el: Add URL to the new ERC page on the Emacs siteAmin Bandali2020-04-16
|
* Bump Emacs version to 27.0.91Nicolas Petton2020-04-16
| | | | | | | * README: * configure.ac: * msdos/sed2v2.inp: * nt/README.W32: Bump Emacs version.
* Correct Fido-mode's backspacing of directories with spacesJoão Távora2020-04-16
| | | | | | | Fixes: bug#40625 * lisp/icomplete.el (icomplete-fido-backward-updir): Use zap-up-to-char.
* Default completion-flex-nospace to nilJoão Távora2020-04-15
| | | | | | | | | | | By default, the flex completion style _does_ match spaces. Fixes: bug#40625 * lisp/icomplete.el (icomplete--fido-mode-setup): Force completion-flex-nospace to nil. * lisp/minibuffer.el (completion-flex-nospace): Default to nil.
* Improve an example in w32 FAQEli Zaretskii2020-04-15
| | | | | | * doc/misc/efaq-w32.texi (Font names): Modify the expression to insert a lits of all installed fonts so as to avoid producing too long lines. Suggested by ndame <ndame@protonmail.com>.
* * lisp/htmlfontify.el (hfy-force-fontification): Fix bug#40642Stefan Monnier2020-04-15
| | | | | Don't presume that `jit-lock-mode` is enabled. Do not merge to `master`.
* * admin/authors.el: Add an author alias.Nicolas Petton2020-04-15
|
* Limit RLIMIT_NOFILE to FD_SETSIZE on macOSYAMAMOTO Mitsuharu2020-04-15
| | | | | | | * src/nsterm.m ([EmacsApp applicationDidFinishLaunching:]): Call CoreFoundation functions that increase RLIMIT_NOFILE behind our back during startup, and then set RLIMIT_NOFILE back to FD_SETSIZE to avoid crashes in setup_process_coding_system (Bug#39164).
* Fix Elisp manual entry on 'set-window-configuration'Martin Rudalics2020-04-15
| | | | | * doc/lispref/windows.texi (Window Configurations): Fix description of 'set-window-configuration'.
* ; Update ChangeLog.3Nicolas Petton2020-04-14
|
* ; Update etc/AUTHORSNicolas Petton2020-04-14
|
* * admin/authors.el: Add missing author aliases.Nicolas Petton2020-04-14
|
* Fix edge case errors in filename-matching regexpsMattias Engdegård2020-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These changes fix actual or latent bugs in regexps that match file names, such as PATTERN arguments to 'directory-files'. See https://lists.gnu.org/archive/html/emacs-devel/2020-04/msg00265.html * admin/authors.el (authors-obsolete-files-regexps) (authors-renamed-files-regexps): * lisp/auth-source-pass.el (auth-source-pass-entries): * lisp/calendar/todo-mode.el (todo-show, todo-find-filtered-items-file) (todo-filter-items, todo-reset-nondiary-marker, todo-reset-done-string) (todo-reset-comment-string, todo-reset-highlight-item): * lisp/cedet/semantic/db-ebrowse.el (semanticdb-load-ebrowse-caches): * lisp/cedet/semantic/texi.el (semantic-texi-associated-files): * lisp/cedet/srecode/map.el (srecode-map-update-map): * lisp/dired.el (dired-re-no-dot): * lisp/emacs-lisp/autoload.el (update-directory-autoloads): * lisp/emacs-lisp/shadow.el (load-path-shadows-find): * lisp/files.el (auto-mode-alist, directory-files-no-dot-files-regexp): * lisp/finder.el (finder-compile-keywords): * lisp/generic-x.el (inetd-conf-generic-mode, named-boot-generic-mode) (resolve-conf-generic-mode, etc-modules-conf-generic-mode): * lisp/gnus/gnus-agent.el (gnus-agent-read-agentview) (gnus-agent-regenerate-group, gnus-agent-update-files-total-fetched-for): * lisp/gnus/gnus-cache.el (gnus-cache-articles-in-group): * lisp/gnus/gnus-score.el (gnus-score-search-global-directories): * lisp/gnus/gnus-util.el (gnus-delete-directory): * lisp/gnus/gnus-uu.el (gnus-uu-dir-files): * lisp/gnus/nndraft.el (nndraft-request-group): * lisp/gnus/nnmh.el (nnmh-request-group, nnmh-request-create-group): (nnmh-request-delete-group, nnmh-active-number, nnmh-update-gnus-unreads): * lisp/gnus/nnspool.el (nnspool-request-group): * lisp/gnus/spam-stat.el (spam-stat-process-directory) (spam-stat-test-directory): * lisp/help-fns.el (help-fns--first-release): * lisp/help.el (view-emacs-news): * lisp/international/quail.el (quail-update-leim-list-file): * lisp/international/titdic-cnv.el (batch-titdic-convert): * lisp/mail/mspools.el (mspools-set-vm-spool-files) (mspools-get-spool-files): * lisp/mail/rmail.el (rmail-secondary-file-regexp) (rmail-speedbar-match-folder-regexp): * lisp/net/ange-ftp.el (ange-ftp-delete-directory): * lisp/net/tramp.el (tramp-use-absolute-autoload-file-names): * lisp/obsolete/gulp.el (gulp-send-requests): * lisp/obsolete/vc-arch.el (vc-arch-trim-revlib): * lisp/org/ob-core.el (org-babel-remove-temporary-directory): * lisp/progmodes/ebnf2ps.el (ebnf-file-suffix-regexp, ebnf-style-database): * lisp/progmodes/executable.el (executable-command-find-posix-p): * lisp/startup.el (command-line): * lisp/textmodes/refer.el (refer-get-bib-files): * lisp/url/url-about.el (url-probe-protocols): * lisp/vc/vc-rcs.el (vc-rcs-register, vc-rcs-unregister): * test/lisp/net/tramp-archive-tests.el (tramp-archive-test19-directory-files-and-attributes): * test/lisp/net/tramp-tests.el (tramp-test19-directory-files-and-attributes): Replace ^ and $ with \` and \', respectively. Use (rx (or (not ".") "...")), translated into "[^.]\\|\\.\\.\\.", to match anything but "." and "..", instead of several incorrect regexps.
* Clarify the doc string of 'yank'Eli Zaretskii2020-04-14
| | | | | | * lisp/simple.el (yank): Mention 'current-kill' in the doc string, so that people could find all the gory details of what is "the most recent kill" for this purpose. (Bug#40375)
* New function erc-track-switch-buffer-other-windowAmin Bandali2020-04-14
| | | | | | | | | * lisp/erc/erc-track.el (erc-track-switch-buffer): Factor out the implementation from here ... (erc-track--switch-buffer): ... to here. (erc-track-switch-buffer-other-window): New function, like `erc-track-switch-buffer', but uses `switch-to-buffer-other-window' instead, to open the buffer in another window.
* New function erc-switch-to-buffer-other-windowAmin Bandali2020-04-13
| | | | | | | | | * lisp/erc/erc.el (erc-switch-to-buffer): Factor out the buffer choice implementation from here ... (erc--switch-to-buffer): ... to here. (erc-switch-to-buffer-other-window): New function, like `erc-switch-to-buffer', but uses `switch-to-buffer-other-window' instead, to open the buffer in another window.
* Clarify documentation on inhibit-modification-hooks intended usageŠtěpán Němec2020-04-13
| | | | | | | | | Cf. bug#40332 and the discussion at https://lists.gnu.org/archive/html/emacs-devel/2020-03/msg00921.html * doc/lispref/text.texi (Change Hooks): * src/insdel.c (syms_of_insdel): Clarify the intended usage of 'inhibit-modification-hooks'.
* gnus-shorten-url: Improve and avoid args-out-of-range errorŠtěpán Němec2020-04-13
| | | | | | | | | | | | | | | | | | 'gnus-shorten-url' (used by 'gnus-summary-browse-url') ignored fragment identifiers and didn't check substring bounds, in some cases leading to runtime errors, e.g.: (gnus-shorten-url "https://some.url.with/path/and#also_a_long_target" 40) ;; => Lisp error: (args-out-of-range "/path/and" -18 nil) This commit makes it account for #fragments and fixes faulty string computation. (bug#39980) Do not merge to master, where the helper is put to subr-x.el. * lisp/gnus/gnus-sum.el (gnus--string-truncate-left): New helper function (copied from 'ediff-truncate-string-left'). (gnus-shorten-url): Use it and don't drop #fragments.
* Minor wording change in Introduction to Programming in Emacs LispEli Zaretskii2020-04-13
| | | | | | * doc/lispintro/emacs-lisp-intro.texi (Prevent confusion): Mention that dynamic scoping is only the default in Emacs Lisp, not the only scoping rule. (Bug#40594)
* Fix 'flymake-show-diagnostics-buffer' when line numbers are displayedEli Zaretskii2020-04-13
| | | | | | * lisp/progmodes/flymake.el (flymake--diagnostics-buffer-entries): Do nothing if 'flymake--diagnostics-buffer-source' is not a buffer. (Bug#40529)
* Fix last changes describing mail commandsEli Zaretskii2020-04-12
| | | | | * doc/emacs/sending.texi (Sending Mail): Fix the description of the behavior of 'C-x m' without prefix argument. (Bug#40561)
* Do setup Flymake in file-less Elisp buffersJoão Távora2020-04-12
| | | | | | | Fixes: bug#40573 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Change condition for setting flymake-diagnostic-functions.
* Fix error message for ‘cl-struct-unknown-slot’ (bug#39995)Philipp Stephani2020-04-12
| | | | | * lisp/emacs-lisp/cl-macs.el (cl-struct-unknown-slot): Remove spurious format specifiers.
* Fix and improve documentation of mail-related featuresEli Zaretskii2020-04-12
| | | | | | | | | | | | | | | * lisp/simple.el (compose-mail): Clarify the effect of the CONTINUE argument. * lisp/mail/sendmail.el (mail-from-style): Update the RFC value in the obsolescence warning text. * doc/emacs/sending.texi (Sending Mail): Fix the description of the behavior of 'C-x m' wrt prefix argument. (Mail Headers): Remove the description of 'mail-from-style'. * etc/NEWS: Mention that 'mail-from-style' is obsolete. (Bug#40561)
* Fix build failure with Fx_gtk_debugMartin Rudalics2020-04-12
| | | | | | * src/xfns.c (Fx_gtk_debug, Sx_gtk_debug): Define only for GTK versions >= 3.14.0 so gtk_window_set_interactive_debugging is defined. Reported by Andreas Schwab <schwab@linux-m68k.org>.
* Mention jit-lock deferred as an alternative to fast-but-imprecise-scrollingAlan Mackenzie2020-04-11
| | | | | | * doc/emacs/display.texi (Scrolling): Add a paragraph on using jit-lock deferred fontification as a way of obviating Emacs hanging after auto-repeated scrolling.
* ; * doc/lispref/keymaps.texi (Extended Menu Items): Fix last change.Eli Zaretskii2020-04-11
|
* * doc/lispref/keymaps.texi (Extended Menu Items): Tweak :key-sequenceStefan Monnier2020-04-10
| | | | | | Don't make it sound like `:key-sequence nil` is any different than the absence of `:key-sequence`. And the performance advantage of `:key-sequence` disappeared long ago.
* Fix redisplay when scrolling under redisplay-dont-pauseEli Zaretskii2020-04-10
| | | | | | | | | * src/dispnew.c (update_window): Reset the window's 'must_be_updated_p' flag if the window's update was completed without interruption. This fixes redisplay glitches when 'redisplay-dont-pause' is nil, at least on MS-Windows, because 'expose_window' doesn't redraw the exposed rectangle when the window's 'must_be_updated_p' flag is set.
* Fix face extension in pulse.elEli Zaretskii2020-04-09
| | | | | | * lisp/cedet/pulse.el (pulse-reset-face): Propagate the :extend attribute of FACE to the face used for displaying the pulse. Reported by Adam Porter <adam@alphapapa.net>.
* * doc/misc/tramp.texi (Bug Reports): Avoid line breaks in traces.Michael Albinus2020-04-09
|
* Avoid assertion violation in intervals.cEli Zaretskii2020-04-09
| | | | | | | | | | * src/intervals.c (delete_interval): Allow negative values of LENGTH (i). This happens when delete_interval is called from set_intervals_multibyte_1, because the caller zeroes out the total_length field of the interval to be deleted. See https://lists.gnu.org/archive/html/emacs-devel/2020-04/msg00131.html for more details. See also a related old discussion at https://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00399.html.
* Improve documentation of 'jit-lock-contextually'Eli Zaretskii2020-04-08
| | | | | | | | | | * lisp/jit-lock.el (jit-lock-contextually): Clarify the jit-lock operation when 'jit-lock-contextually' is non-nil and non-t. * doc/lispref/modes.texi (Syntactic Font Lock) (Other Font Lock Variables): Document the relation between 'jit-lock-register', 'font-lock-keywords-only', and syntactic refontification.
* Speed up 'resize-mode' child frames a littleDmitry Gutov2020-04-08
| | | | | | * src/gtkutil.c (xg_frame_set_char_size): Skip resizing if the target dimensions are unchanged for child frames with 'resize-mode' resize policy as well.
* ; * etc/NEWS: Mention 'executing-macro' in removed vars.Eli Zaretskii2020-04-06
|
* Fix some problems with moving and resizing child framesMartin Rudalics2020-04-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (1) Provide new option 'x-gtk-resize-child-frames' which allows to either hide a child frame during resizing or asks GTK to resize it "immediately". This is needed because desktops like GNOME shell otherwise won't allow resizing child frames at all. (2) Do not try to synchronize the position of a child frame after moving it. Needed because the present implementation introduces a 0.5 secs delay which makes dragging child frames virtually impossible with Lucid and Motif toolkits on desktops like GNOME shell that use invisible outer frame borders. For further information see the thread starting with https://lists.gnu.org/archive/html/emacs-devel/2020-01/msg00343.html * src/frame.c (syms_of_frame): New symbol Qxg_frame_set_char_size_4. * src/gtkutil.c (xg_frame_set_char_size): Hide child frame during resizing when 'x-gtk-resize-child-frames' equals 'hide'. * src/xfns.c (x_set_parent_frame, Fx_create_frame): Set gtk_container_resize_mode to GTK_RESIZE_IMMEDIATE for child frames when'x-gtk-resize-child-frames' equals 'resize-mode'. (Fx_gtk_debug): New function to toggle interactive GTK debugging from within Emacs. (syms_of_xfns): New symbols Qhide and Qresize_mode. (x-gtk-resize-child-frames): New option that allows to resize child frames on desktops like GNOME shell (with the mutter WM) that otherwise refuse to resize them. * src/xterm.c (x_set_offset): Don't x_sync_with_move for child frames, it makes moving child frames virtually impossible with the Lucid and Motif toolkits.
* Fix syntax error in man page.Philipp Stephani2020-04-05
| | | | | | * doc/man/emacs.1.in: Fix syntax of --script argument. The Info manual states that --script has to be followed by a space, and the syntax with the equals sign doesn't actually work.
* Handle filling of indented ChangeLog function entriesNoam Postavsky2020-04-04
| | | | | | * lisp/vc/log-edit.el (log-edit-fill-entry): Relax regexp a bit to recognize function entries with leading blanks. * test/lisp/vc/log-edit-tests.el: New test.
* Fix void-variable n-reb in re-builder (Bug#40409)Noam Postavsky2020-04-04
| | | | | | | * lisp/emacs-lisp/re-builder.el (reb-while): Take the current value of the counter instead of its name. (reb-mark-non-matching-parenthesis): Bind n-reb to 0 at the start and don't wrongly treat it as dynamicly bound.
* Fix small bug in copy_string_contents.Philipp Stephani2020-04-03
| | | | | | * src/emacs-module.c (module_copy_string_contents): Fix incorrect variable use. In this branch 'lisp_str_utf8' is always nil, so it makes little sense to add it as error data.
* Fix invocations of gpg from GnusEli Zaretskii2020-04-03
| | | | | | | * lisp/epg-config.el (epg-config--make-gpg-configuration): Bind coding-system-for-read/write to 'undecided', to countermand possible values of 'no-conversion' or somesuch by the callers. (Bug#40248)
* Don't draw GTK's internal border and tab bar on top of each otherMartin Rudalics2020-04-03
| | | | | | * src/xterm.c (x_clear_under_internal_border): For GTK builds have 'margin' count in the height of the tab bar to avoid that tab bar and internal border are drawn on top of each other.
* ; * src/buffer.c (syms_of_buffer) <inhibit-read-only>: Doc fix.Eli Zaretskii2020-04-03
|
* Tweak htmlfontify's generated outputAmin Bandali2020-04-02
| | | | | | | | | | * lisp/htmlfontify.el (hfy-default-header): declare the character encoding for the generated HTML file. This helps browsers display UTF-8 characters like the copyright symbol correctly. (hfy-sprintf-stylesheet): apply the default style to all of the text consistently, so that unstyled bits (which are not wrapped in span tags and are directly part of the surrounding pre tag's "innerHTML") have a look consistent with the rest of the document.
* ; Auto-commit of loaddefs files.Glenn Morris2020-04-01
|
* Handle project--files-in-directory finding no files betterDmitry Gutov2020-03-30
| | | | | | | | * lisp/progmodes/project.el (project--find-regexp-in-files): Signal user-error when passed an empty list of files. * lisp/progmodes/xref.el (xref-matches-in-files): Make sure FILES is not empty.
* Let imenu to work on the menu bar when its list is a single non-nested member.Alan Mackenzie2020-03-30
| | | | | | * lisp/imenu.el (imenu-update-menubar): No longer accept a list of length 1 as being sufficient evidence for a nested list structure. Instead, additionally check whether or not certain elements are atoms.
* * lisp/image/image-converter.el: Fix customization of image-converter.Juri Linkov2020-03-30
| | | | | * lisp/image/image-converter.el (image-convert-p): Update image-converter-regexp when image-converter was customized (bug#39994).