* lisp/net/tramp-fuse.el (tramp-fuse-mount-timeout): New defconst.
(tramp-fuse-mounted-p): Use it. Check for a file property instead
of a connection property.
- (tramp-fuse-unmount): Dito.
+ (tramp-fuse-unmount): Ditto.
* lisp/net/tramp-sshfs.el (tramp-sshfs-maybe-open-connection):
Do not trust existence of a process, whether the volume is mounted.
(flymake--publish-diagnostics): Helper for flymake--handle-report.
(flymake--mode-line-counter, flymake-show-diagnostic)
(flymake--diagnostics-buffer-entries): Use
- flymake-diagnostic-buffer, flymake-diagonstic-type,
+ flymake-diagnostic-buffer, flymake-diagnostic-type,
flymake-diagnostic-beg.
2021-09-14 João Távora <joaotavora@gmail.com>
Bind `enable-local-variables' in `hack-connection-local-variables'
* lisp/files-x.el (hack-connection-local-variables):
- Bind `enable-local-variables', instead of re-declaring
+ Bind `enable-local-variables', instead of redeclaring
`safe-local-variable-p'.
2019-03-23 Eli Zaretskii <eliz@gnu.org>
Quieten compilation of octave.el
- * lisp/progmodes/octave.el (compilation-forget-errors): Re-declare.
+ * lisp/progmodes/octave.el (compilation-forget-errors): Redeclare.
2018-02-28 Glenn Morris <rgm@gnu.org>
Fix c-ts-mode indentation (bug#67357)
- 1. In a compund_statement, we indent the first sibling against the
+ 1. In a compound_statement, we indent the first sibling against the
parent, and the rest siblings against their previous sibling. But
this strategy falls apart when the first sibling is not on its own
line. We should regard the first sibling that is on its own line as
Add array_initializer to java-ts-mode
- Indent strings inside arrray_initializer one step:
+ Indent strings inside array_initializer one step:
public class Java {
void foo() {
config-format[1] through a new major-mode: toml-ts-mode.
I've read through the full spec[2], and from what I can see this
- major-mode should provide correct syntax-highligting for every sort of
+ major-mode should provide correct syntax highlighting for every sort of
config-declaration which adheres to the specification.
Besides that it also adds support for imenu and basic tree-sitter
option.
(package-vc-archive-spec-alist): Add new variable to store the
contents of 'elpa-packages' for each archive.
- (pacakge-vc-desc->spec): Add function to query package specifications.
+ (package-vc-desc->spec): Add function to query package specifications.
(package-vc--read-archive-data): Add a 'package-read-archive-hook'
implementation.
(package-vc--download-and-read-archives): Add a
2022-09-15 Mattias Engdegård <mattiase@acm.org>
- Include nil as valid wallpaper-commmand
+ Include nil as valid wallpaper-command
* lisp/image/wallpaper.el (wallpaper-command):
Include nil in the type since that is a valid value for the variable,
* src/bytecode.c (exec_byte_code):
* lisp/emacs-lisp/comp.el (comp-limplify-lap-inst):
- * lisp/emacs-lisp/bytecomp.el: Restore the statu quo ante.
+ * lisp/emacs-lisp/bytecomp.el: Restore the status quo ante.
* etc/NEWS: Remove the entry about the new optional argument.
/emacs/configure: line 18002: syntax error near unexpected token `;;'
/emacs/configure: line 18002: ` ;;'
That is due to under-quoting of AC_CHECK_LIB's second argument, which led to
- the comma in an embedded string being interpreted as paramater-delimiting.
+ the comma in an embedded string being interpreted as parameter-delimiting.
* configure.ac: Quote the second arg of each AC_CHECK_LIB invocation.
(Bug#56272)
up-to-date) until the next invocation of 'eglot-flymake-backend'.
For now, this doesn't affect Flymake "list-only" diagnostics. Those
- are reported via the 'flymake-list-only-diagonstics' variable and
+ are reported via the 'flymake-list-only-diagnostics' variable and
are always communicated immediately to it.
* eglot.el: (eglot-handle-notification
(eshell-get-delimited-modifier-argument): New functions...
(eshell-pred-user-or-group, eshell-pred-file-time)
(eshell-pred-file-links, eshell-pred-file-size)
- (eshell-pred-substitute, eshell-join-memebers, eshell-split-members):
+ (eshell-pred-substitute, eshell-join-members, eshell-split-members):
... and use them here.
(eshell-include-members): Pass 'mod-char' and use
'eshell-get-delimited-modifier-argument'.
2022-03-24 Jimmy Aguilar Mena <spacibba@aol.com>
- Merge 'completion-auto-select new value secont-tab'
+ Merge 'completion-auto-select new value second-tab'
This includes the second-tab value for completion-auto-select and
documentation related.
2022-02-06 Wang Chunye <chunywan@xilinx.com> (tiny change)
- optimization: constand folding for read-kbd-macro
+ optimization: constant folding for read-kbd-macro
to boost startup performance, it is better to avoid invoking
`read-kbd-macro` at run time which requires 'cl-lib.
symbols since the rest is now available from `function-history`.
* src/eval.c (un_autoload): Adjust accordingly.
- * src/lread.c (load-history): Udate docstring.
+ * src/lread.c (load-history): Update docstring.
* lisp/loadhist.el (loadhist-unload-filename): New var.
(unload-feature): Bind it.
2021-11-06 Lars Ingebrigtsen <larsi@gnus.org>
- Remove too-agressive window refresh in the hourglass code
+ Remove too aggressive window refresh in the hourglass code
* src/xterm.c (x_show_hourglass): Don't force a spurious refresh
(bug#51649).
2020-11-21 Yuuki Harano <masm+github@masm11.me>
- Implement Scroll-bar-forground and scroll-bar-background
+ Implement scroll-bar-foreground and scroll-bar-background
* src/pgtkterm.h (struct pgtk_output):
Rework and correct major part of xref glue code
See comments of https://github.com/joaotavora/eglot/pull/314. Up to
- now, xref-backend-indentifier-completion-table was a gross hack that
+ now, xref-backend-identifier-completion-table was a gross hack that
only worked sometimes. It relied on some fugly gymnastics to cache a
response from :textDocument/documentSymbol and somehow used that
information to build a completion table. But it doesn't work well.
Merge pull request from stribb/master
- Add a line of documentation for (use-pacakage ... :hook).
+ Add a line of documentation for (use-package ... :hook).
GitHub-reference: https://github.com/jwiegley/use-package/issues/759
2019-04-04 Andrew Stribblehill <stribb@gmail.com> (tiny change)
- Add a line of documentation for (use-pacakage ... :hook)
+ Add a line of documentation for (use-package ... :hook)
2019-02-13 João Távora <joaotavora@gmail.com>
Fix potential security issue fontifying lsp doc
- Previously, a server could mistankely or maliciously call *-mode
+ Previously, a server could mistakenly or maliciously call *-mode
functions by in the response to a completion or hover request,
specifically in the :documentation field of the response.
Also cquery sometimes send 0-length ranges upon which we now fallback
to flymake-diag-region.
- Finally, in eglot-eldoc-funciton, the previous hack of calling the
+ Finally, in eglot-eldoc-function, the previous hack of calling the
eglot--hover-info outside of the when-buffer-window macrolet contained
a bug. It must be called in the correct buffer. Revert the hack and do
it by querying from eglot.el if ert is running tests.
(use-package foopkg :bind "<some-key>")
- intendes to bind <some-key> to 'foopkg command.
+ intends to bind <some-key> to 'foopkg command.
2016-10-31 Noam Postavsky <npostavs@gmail.com>
This method is useful for making cross-references to non-Emacs manuals
work; see manual/.htaccess in the repository. You only have to add a
single redirect for every given external manual, you can redirect
-html_node to hmtl_node and html_mono to html_mono.
+html_node to html_node and html_mono to html_mono.
* Why CVS?
(defun eshell-convertible-to-number-p (string)
"Return non-nil if STRING can be converted to a number.
-If `eshell-convert-numeric-aguments', always return nil."
+If `eshell-convert-numeric-arguments', always return nil."
(and eshell-convert-numeric-arguments
(string-match
(concat "\\`\\s-*" eshell-number-regexp "\\s-*\\'")
(defun eshell-convert-to-number (string)
"Try to convert STRING to a number.
If STRING doesn't look like a number (or
-`eshell-convert-numeric-aguments' is nil), just return STRING
+`eshell-convert-numeric-arguments' is nil), just return STRING
unchanged."
(if (eshell-convertible-to-number-p string)
(string-to-number string)
* Split multiline strings by line.
-* If `eshell-convert-numeric-aguments' is non-nil and every line
+* If `eshell-convert-numeric-arguments' is non-nil and every line
of output looks like a number, convert them to numbers."
(cond
((not (stringp string))
(cons entry (filesets-ingroup-cache-get entry))))
(:tree
;; Warning: ENTRY here could be of at least two
- ;; differente forms, either
+ ;; different forms, either
;; (NAME (:tree DIRECTORY PATTERN))
;; or
;; (DIRECTORY PATTERN)
;; RIGHT-TO-LEFT EMBEDDING (sets base dir to RTL but allows embedded text)
("&rle;" ?\u202B) ;; (ucs-insert #x202B) named: زیرمتنِ راستبهچپ
;; POP DIRECTIONAL FORMATTING (used for RLE or LRE and RLO or LRO)
- ;; EMACS ANOMOLY --- Why does &pdf not show up in (describe-input-method 'farsi-transliterate-banan)
+ ;; EMACS ANOMALY --- Why does &pdf not show up in (describe-input-method 'farsi-transliterate-banan)
("&pdf;" ?\u202C) ;; (ucs-insert #x202C) named: پایانِ زیرمتن
("P" ?\u202C)
;; LEFT-TO-RIGHT OVERRIDE (overrides the bidirectional algorithm, display LTR)
;; the hooks available for customizing it, see the file comint.el.
;; For further information on shell mode, see the comments below.
-;; Needs fixin:
+;; Needs fixing:
;; When sending text from a source file to a subprocess, the process-mark can
;; move off the window, so you can lose sight of the process interactions.
;; Maybe I should ensure the process mark is in the window when I send
(dired-get-filename nil t)))))
(and filename (file-relative-name filename))))
nil
- ;; FIXME: the following argument is always ignored by 'shell-commnd',
+ ;; FIXME: the following argument is always ignored by 'shell-command',
;; when the command is invoked asynchronously, except, perhaps, when
;; 'default-directory' is remote.
shell-command-default-error-buffer))
(currentp (equal cell-coord current-cell-coordinate)))
(if currentp (table--goto-coordinate current-coordinate)
(table--goto-coordinate (car cell-coord)))
- (table-recognize-cell 'froce)
+ (table-recognize-cell 'force)
(let ((table-inhibit-update t))
(table-with-cache-buffer
(let ((sticky (and currentp
(table--update-cell 'now)
))
(table--goto-coordinate current-coordinate)
- (table-recognize-cell 'froce)))))
+ (table-recognize-cell 'force)))))
(defun table--update-cell-heightened (&optional now)
"Update the contents of the cells that are affected by heightening operation."
(currentp (equal cell-coord current-cell-coordinate)))
(if currentp (table--goto-coordinate current-coordinate)
(table--goto-coordinate (car cell-coord)))
- (table-recognize-cell 'froce)
+ (table-recognize-cell 'force)
(let ((table-inhibit-update t))
(table-with-cache-buffer
(let ((sticky (and currentp
(table--update-cell 'now)
))
(table--goto-coordinate current-coordinate)
- (table-recognize-cell 'froce)))))
+ (table-recognize-cell 'force)))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
(?- . (left-fringe diff-fringe-del diff-indicator-removed))
(?! . (left-fringe diff-fringe-rep diff-indicator-changed))
(?\s . (left-fringe diff-fringe-nul fringe)))))))))
- ;; Mimicks the output of Magit's diff.
+ ;; Mimics the output of Magit's diff.
;; FIXME: This has only been tested with Git's diff output.
;; FIXME: Add support for Git's "rename from/to"?
(while (re-search-forward "^diff " limit t)
}
/* w32 implementation of text_extents for font backend.
- Perform the size computation of glyphs of FONT and fillin members
+ Perform the size computation of glyphs of FONT and fill in members
of METRICS. The glyphs are specified by their glyph codes in
CODE (length NGLYPHS). Apparently metrics can be NULL, in this
case just return the overall width. */
(enable-theme 'test-icons-theme)
(should (equal (icon-string 'icon-test1) "<"))))
-(ert-deftest test-icon-inheretance ()
+(ert-deftest test-icon-inheritance ()
(let ((icon-preference '(image emoji symbol text)))
(should (equal (icon-string 'icon-test2) ">")))
(let ((icon-preference '(text)))
(forward-to-word 1)
(should (eq (face-at-point) font-lock-keyword-face)))))
-(ert-deftest python-ts-mode-named-assignement-face-1 ()
+(ert-deftest python-ts-mode-named-assignment-face-1 ()
(python-ts-tests-with-temp-buffer
"var := 3"
(should (eq (face-at-point) font-lock-variable-name-face))))
-(ert-deftest python-ts-mode-assignement-face-2 ()
+(ert-deftest python-ts-mode-assignment-face-2 ()
(python-ts-tests-with-temp-buffer
"var, *rest = call()"
(dolist (test '("var" "rest"))