Stefan Kangas
253374f81a
Remove some XEmacs compat code from org-mode
...
* lisp/org/org-clock.el (org-clock-select-task): Remove XEmacs
compat code.
2022-05-14 15:55:20 +02:00
Stefan Kangas
cc8b6101f4
Remove some XEmacs compat code from org-mode
...
* lisp/org/ol-eww.el (org-eww-copy-for-org-mode):
* lisp/org/ol-w3m.el (org-w3m-copy-for-org-mode):
* lisp/org/org-refile.el (org-refile):
* lisp/org/org.el (org-change-tag-in-region): Remove XEmacs compat
code.
2022-05-13 23:17:16 +02:00
Stefan Kangas
2fba71cf1f
Fix handling double-click-time nil or t
...
* lisp/mouse.el (mouse-double-click-time): New function to always
return a number for `double-click-time'.
* lisp/emulation/viper-mous.el (viper-multiclick-timeout):
* lisp/foldout.el (foldout-mouse-swallow-events):
* lisp/help.el (help--read-key-sequence):
* lisp/org/org-mouse.el (org-mouse-show-context-menu): Use
'mouse-double-click-time' instead of 'double-click-time'.
* src/keyboard.c (syms_of_keyboard): Mention
'mouse-double-click-time' in doc string of 'double-click-time'.
* test/lisp/mouse-tests.el (mouse-test-mouse-double-click-time):
New test.
2022-05-02 12:03:08 +02:00
Paul Eggert
fa1a7ac617
Pacify byte compiler etc. on org-compat, org-macs
...
Byte-compiler problem reported by Lars Ingebrigtsen in:
https://lists.gnu.org/r/emacs-devel/2022-04/msg01256.html
* lisp/org/org-compat.el (org-at-table.el-p):
Now declared in org-table, not org.
(org-string-collate-lessp): Define the ersatz
org-string-collate-lessp with the same API as the primary form, to
pacify check-declare-file when run on org-macs.
* lisp/org/org-macs.el (org-time-convert-to-integer): Declare.
2022-04-28 13:41:35 -07:00
Eli Zaretskii
b3023de543
Merge from origin/emacs-28
...
# Conflicts:
# lisp/progmodes/xref.el
2022-04-28 18:37:34 +03:00
Paul Eggert
3abb3681b5
Use org-time-convert-to-integer instead of by hand
...
* lisp/org/org-macs.el (org-file-newer-than-p):
Don’t assume list-format timestamps, by using
org-time-convert-to-integer instead of doing it by hand.
2022-04-27 00:30:25 -07:00
Kyle Meyer
7c1fc23489
Update to Org 9.5.3-3-gd54104
2022-04-24 21:07:40 -04:00
Lars Ingebrigtsen
2d71fd3b04
Further doc string quoting fixes
...
* test/lisp/progmodes/cperl-mode-tests.el (cperl--run-test-cases):
* lisp/simple.el (undo-equiv-table):
* lisp/shell.el (shell-mode):
(shell-mode):
* lisp/recentf.el (recentf-mode):
* lisp/org/ob-table.el (org-sbe):
* lisp/net/eudc.el (eudc-rfc5322-cctext-token):
* lisp/mail/ietf-drums-date.el (ietf-drums-date--slot-ranges):
* lisp/faces.el (color-luminance-dark-limit):
* lisp/erc/erc.el (erc-tls):
* lisp/emacs-lisp/pcase.el (pcase-setq): Further quoting fixes in
doc strings.
2022-04-22 17:16:42 +02:00
Lars Ingebrigtsen
bbf389ea6d
Audit quoting the quote character in doc strings
...
* test/src/regex-emacs-tests.el (regex-tests-compare):
(regex-tests-compare):
(regex-tests-match):
* test/lisp/xml-tests.el (xml-parse-tests--qnames):
* test/lisp/mh-e/mh-thread-tests.el (mh-thread-tests-before-from):
* test/lisp/cedet/srecode-utest-template.el (srecode-utest-map-reset):
* test/lisp/calc/calc-tests.el (calc-tests-equal):
* lisp/window.el (get-lru-window):
(get-mru-window):
(get-largest-window):
(quit-restore-window):
(display-buffer):
* lisp/vc/vc-rcs.el (vc-rcs-consult-headers):
* lisp/url/url-auth.el (url-digest-auth-build-response):
* lisp/tutorial.el (tutorial--find-changed-keys):
* lisp/transient.el (transient-suffix-object):
* lisp/textmodes/rst.el (rst-insert-list-new-item):
* lisp/textmodes/bibtex.el (bibtex-clean-entry):
* lisp/tab-bar.el (tab-bar--key-to-number):
(toggle-frame-tab-bar):
* lisp/ses.el (ses-recalculate-cell):
(ses-define-local-printer):
(ses-prin1):
* lisp/progmodes/xref.el (xref--find-ignores-arguments):
* lisp/progmodes/verilog-mode.el (verilog-single-declaration-end):
* lisp/progmodes/tcl.el (tcl-mode-hook):
* lisp/progmodes/gdb-mi.el (gdb-get-buffer-create):
* lisp/progmodes/elisp-mode.el (elisp--xref-make-xref):
* lisp/play/dunnet.el (dun-room-objects):
* lisp/outline.el (outline--cycle-state):
* lisp/org/ox-publish.el (org-publish-find-property):
* lisp/org/ox-html.el (org-html--unlabel-latex-environment):
* lisp/org/org-table.el (org-table-collapse-header):
* lisp/org/org-plot.el (org--plot/prime-factors):
* lisp/org/org-agenda.el (org-agenda--mark-blocked-entry):
(org-agenda-set-restriction-lock):
* lisp/org/ob-lua.el (org-babel-lua-read-string):
* lisp/org/ob-julia.el (org-babel-julia-evaluate-external-process):
(org-babel-julia-evaluate-session):
* lisp/org/ob-core.el (org-babel-default-header-args):
* lisp/obsolete/mouse-sel.el (mouse-select):
(mouse-select-secondary):
* lisp/net/tramp.el (tramp-methods):
* lisp/net/eww.el (eww-accept-content-types):
* lisp/net/dictionary-connection.el (dictionary-connection-status):
* lisp/minibuffer.el (completion-flex--make-flex-pattern):
* lisp/mh-e/mh-mime.el (mh-have-file-command):
* lisp/mh-e/mh-limit.el (mh-subject-to-sequence):
(mh-subject-to-sequence-threaded):
(mh-subject-to-sequence-unthreaded):
* lisp/mail/feedmail.el (feedmail-queue-buffer-file-name):
(feedmail-vm-mail-mode):
* lisp/ls-lisp.el (ls-lisp--sanitize-switches):
* lisp/keymap.el (key-valid-p):
* lisp/international/ccl.el (ccl-compile-branch-blocks):
* lisp/image/image-converter.el (image-convert):
* lisp/gnus/spam.el (spam-backend-check):
* lisp/gnus/nnselect.el (nnselect-generate-artlist):
* lisp/gnus/nnmairix.el (nnmairix-widget-other):
* lisp/gnus/message.el (message-mailto):
* lisp/gnus/gnus-sum.el (gnus-collect-urls-from-article):
* lisp/gnus/gnus-search.el (gnus-search-prepare-query):
* lisp/frame.el (frame-size-history):
* lisp/eshell/esh-var.el (eshell-parse-variable-ref):
* lisp/eshell/em-dirs.el (eshell-expand-multiple-dots):
* lisp/erc/erc-backend.el (erc-bounds-of-word-at-point):
* lisp/emulation/cua-rect.el (cua--rectangle-operation):
* lisp/emacs-lisp/text-property-search.el (text-property-search-forward):
* lisp/emacs-lisp/package.el (package-desc-suffix):
* lisp/emacs-lisp/faceup.el (faceup-test-explain):
* lisp/emacs-lisp/comp.el (comp-curr-allocation-class):
(comp-alloc-class-to-container):
(comp-add-cstrs):
(comp-remove-type-hints-func):
(batch-byte+native-compile):
* lisp/emacs-lisp/cl-macs.el (cl--optimize):
* lisp/elec-pair.el (electric-pair--syntax-ppss):
* lisp/doc-view.el (doc-view-doc-type):
* lisp/cedet/semantic/symref.el (semantic-symref-tool-alist):
(semantic-symref-hit-to-tag-via-db):
(semantic-symref-hit-to-tag-via-buffer):
* lisp/cedet/semantic/lex-spp.el (semantic-lex-spp-get-overlay):
* lisp/cedet/semantic/java.el (semantic-java-doc-keywords-map):
* lisp/cedet/semantic/find.el (semantic-brute-find-tag-by-function):
* lisp/cedet/semantic/db.el (semanticdb-project-predicate-functions):
* lisp/cedet/semantic.el (semantic-working-type):
* lisp/cedet/ede/files.el (ede-flush-directory-hash):
* lisp/calc/calc.el (calc--header-line):
* lisp/auth-source.el (auth-source-pick-first-password):
(auth-source--decode-octal-string):
* etc/themes/modus-themes.el (modus-themes--paren):
(modus-themes--agenda-habit):
* admin/cus-test.el (cus-test-vars-with-changed-state): Fix
quoting in doc strings. In code examples, the ' character is
quoted with \\=, and regularize 'foo to `foo', and quote strings
like "foo" instead of 'foo'.
2022-04-22 16:17:22 +02:00
Paul Eggert
6cd43d6205
Merge from origin/emacs-28
...
65c04e7115
Update to Org 9.5.2-38-g682ccd
2022-04-17 13:10:19 -07:00
Kyle Meyer
65c04e7115
Update to Org 9.5.2-38-g682ccd
2022-04-17 15:30:39 -04:00
Paul Eggert
8ef37913d3
Port Org encode-time usage back to Emacs 25
...
* lisp/org/ol.el (org-store-link):
* lisp/org/org-clock.el (org-clock-sum)
(org-clock-update-time-maybe):
* lisp/org/org-colview.el (org-colview-construct-allowed-dates):
* lisp/org/org-macro.el (org-macro--vc-modified-time):
* lisp/org/org-macs.el (org-2ft, org-matcher-time):
* lisp/org/org-table.el (org-table-eval-formula):
* lisp/org/org.el (org-read-date, org-display-custom-time)
(org-time-string-to-time, org-timestamp-change):
Don’t assume Emacs 27 encode-time, since standalone Org still
works with Emacs 25 and it’s easier if we minimize differences
from standalone Org. Problem reported by Max Nikulin (Bug#54731).
This reverts much of 2021-12-16T17:40:21Z!eggert@cs.ucla.edu.
2022-04-05 17:52:34 -07:00
Stefan Kangas
7cee796556
Merge from origin/emacs-28
...
f15922a57c
Update to Org 9.5.2-25-gaf6f12
9fcdd5b63f
Improve doc strings of read-char-from-minibuffer-insert-* ...
2022-03-21 06:30:40 +01:00
Kyle Meyer
f15922a57c
Update to Org 9.5.2-25-gaf6f12
2022-03-20 21:31:32 -04:00
Stefan Kangas
8b66adfe06
Merge from origin/emacs-28
...
73f28fbde8
Add a comment for previous browse-url-of-dired-file change
9b74e84857
Restore documented Emacs 27.2 behaviour of browse-url-of-d...
cd77fd3b85
Update to Org 9.5.2-24-g668205
2022-03-07 06:33:56 +01:00
Kyle Meyer
cd77fd3b85
Update to Org 9.5.2-24-g668205
2022-03-06 20:18:26 -05:00
Stefan Kangas
1de7382b57
Merge from origin/emacs-28
...
e77fc8262a
Update to Org 9.5.2-22-g33543d
9bce4b67f1
; * lisp/help.el (with-help-window): Doc fix. (Bug#54170)
558b03a958
Add explicit '--no-heading' for ripgrep
2022-02-28 06:33:06 +01:00
Kyle Meyer
e77fc8262a
Update to Org 9.5.2-22-g33543d
2022-02-28 00:11:01 -05:00
Stefan Kangas
bee54495e9
Merge from origin/emacs-28
...
666e40a109
Fix 'display-line-numbers-mode' in hide-show buffers
68d134cf0f
Don't check whether a deleted window is deletable (Bug#54028)
b38223a844
A friendlier error message from image-mode in an empty buffer
b7a651ba37
Update to Org 9.5.2-17-gea6b74
3a8c3f7abd
; Don't reference obsolete variables in edebug.el
2022-02-22 06:30:59 +01:00
Kyle Meyer
b7a651ba37
Update to Org 9.5.2-17-gea6b74
2022-02-20 14:04:28 -05:00
Eli Zaretskii
2ed240296c
Merge from origin/emacs-28
...
c8442df
; Separate command and concept index in Transient manual
8aa052c
; Fix Transient manual
5b7752a
Fix problem with popd for in remote shell buffers
38f6ea1
Import texi source file for transient manual
df34929
Update to Org 9.5.2-15-gc5ceb6
2022-02-18 10:38:49 +02:00
Kyle Meyer
df34929346
Update to Org 9.5.2-15-gc5ceb6
2022-02-13 12:43:54 -05:00
Stefan Monnier
d52c929e31
(with-demoted-errors): Warn on missing format
arg
...
The `format` arg has been mandatory for a while, but the backward
compatibility code that handled the case of a missing `format` arg
made it hard to notice when using the old calling convention.
* lisp/subr.el (with-demoted-errors): Warn on missing `format` arg.
* lisp/emacs-lisp/smie.el (smie-indent--separator-outdent): Don't abuse
`with-demoted-errors`.
(smie-indent-line, smie-auto-fill):
* test/lisp/emacs-lisp/ert-tests.el (ert-test-with-demoted-errors):
* lisp/vc/vc-hooks.el (vc-refresh-state):
* lisp/vc/vc-annotate.el (vc-annotate-background-mode):
* lisp/vc/diff-mode.el (diff-syntax-fontify-hunk):
* lisp/textmodes/reftex-toc.el (reftex-re-enlarge):
* lisp/progmodes/sh-script.el (sh-smie-sh-rules):
* lisp/progmodes/octave.el (inferior-octave-startup):
* lisp/pcmpl-gnu.el (pcmpl-gnu-make-all-targets):
* lisp/org/org-refile.el (org-refile):
* lisp/org/org-capture.el (org-capture-store-last-position):
* lisp/nxml/nxml-mode.el (nxml-mode):
* lisp/notifications.el (notifications-notify):
* lisp/gnus/mm-view.el (mm-display-inline-fontify):
* lisp/finder.el (finder-unload-function):
* lisp/files.el (safe-local-variable-p, backup-buffer-copy
* lisp/autorevert.el (auto-revert-notify-handler):
Pass `format` arg to `with-demoted-errors`.
2022-02-04 19:39:53 -05:00
Stefan Kangas
3652170d7d
Merge from origin/emacs-28
...
6f282b31ad
Update to Org 9.5.2-13-gdd6486
6636231b2c
; * lisp/international/latin1-disp.el: Update commentary.
f22e9ba9ac
Fix regression in Occur Edit mode
2022-01-31 06:58:23 +01:00
Kyle Meyer
6f282b31ad
Update to Org 9.5.2-13-gdd6486
2022-01-30 20:38:01 -05:00
Stefan Kangas
19d681d24b
Merge from origin/emacs-28
...
e488601849
Update to Org 9.5.2-9-g7ba24c
95640360f0
* lisp/net/dictionary.el (dictionary-context-menu): Use pa...
2022-01-16 06:51:09 +01:00
Kyle Meyer
e488601849
Update to Org 9.5.2-9-g7ba24c
2022-01-15 16:02:26 -05:00
Eli Zaretskii
dcd76bd48d
Merge from origin/emacs-28
...
836be7a112
; * etc/refcards/ru-refcard.tex: Update Copyright year.
86cbc6ee4a
* lisp/net/tramp-sh.el: Adapt copyright year
ebe8772f65
; Minor fixes related to copyright years
23c1ee6989
; * test/manual/etags/ETAGS.good_N: Adjust to copyright ye...
8d3fc7ec89
* src/xfaces.c (face_for_font): Make 'hash' be uintptr_t.
19dcb237b5
; Add 2022 to copyright years.
# Conflicts:
# etc/NEWS
# etc/refcards/ru-refcard.tex
# lib/cdefs.h
# lisp/erc/erc-dcc.el
# lisp/erc/erc-imenu.el
# lisp/erc/erc-replace.el
# lisp/image-dired.el
# lisp/progmodes/xref.el
# m4/alloca.m4
# m4/byteswap.m4
# m4/errno_h.m4
# m4/getopt.m4
# m4/gnulib-common.m4
# m4/inttypes.m4
# m4/stddef_h.m4
# m4/stdint.m4
# m4/sys_socket_h.m4
2022-01-01 07:03:03 -05:00
Eli Zaretskii
19dcb237b5
; Add 2022 to copyright years.
2022-01-01 02:45:51 -05:00
Sam Steingold
18b680cfd1
Fix bug#52467 by adding a new custom variable 'display-comint-buffer-action'
...
* lisp/window.el (display-comint-buffer-action): New `defcustom`,
defaults to 'display-buffer-same-window' for backward compatibility.
* lisp/cmuscheme.el (run-scheme, switch-to-scheme): Pass
'display-comint-buffer-action' to 'pop-to-buffer' instead
of using 'pop-to-buffer-same-window'.
* lisp/eshell/eshell.el (eshell): Likewise.
* lisp/shell.el (shell): Likewise.
* lisp/org/ol-eshell.el (org-eshell-open): Likewise.
* lisp/progmodes/inf-lisp.el (inferior-lisp): Likewise.
* lisp/progmodes/project.el (project-shell, project-eshell): Likewise.
* lisp/textmodes/tex-mode.el (tex-display-shell, tex-compile-default)
(tex-recenter-output-buffer): Pass 'display-comint-buffer-action'
to 'pop-to-buffer'.
2021-12-28 17:28:49 -05:00
Stefan Kangas
4fedbfbfca
Merge from origin/emacs-28
...
d4e2850b32
Update to Org 9.5.2-3-geb9f34
2021-12-27 06:32:28 +01:00
Kyle Meyer
d4e2850b32
Update to Org 9.5.2-3-geb9f34
2021-12-26 16:37:26 -05:00
Stefan Kangas
5f57b41aa6
; Minor license statement fixes
2021-12-20 22:31:31 +01:00
Stefan Kangas
d745f4b6a0
Merge from origin/emacs-28
...
5f25852e91
Update to Org 9.5.1-31-ga18849
2021-12-19 14:02:30 +01:00
Kyle Meyer
5f25852e91
Update to Org 9.5.1-31-ga18849
2021-12-18 13:50:40 -05:00
Paul Eggert
e0ca8f791c
Prefer format-time-string to current-time-zone
...
* lisp/org/ox-icalendar.el (org-icalendar-template)
(org-icalendar-export-current-agenda)
(org-icalendar--combine-files):
* lisp/time.el (display-time-update):
Prefer (format-time-string "%Z") to (cadr (current-time-zone)).
2021-12-16 11:17:26 -08:00
Paul Eggert
dd0727e1ec
encode-time simplifications
...
* lisp/gnus/gnus-search.el (gnus-search-query-parse-date):
* lisp/net/soap-client.el (soap-decode-date-time):
* lisp/net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
* lisp/org/ol.el (org-store-link):
* lisp/org/org-clock.el (org-clock-sum)
(org-clock-update-time-maybe):
* lisp/org/org-colview.el (org-colview-construct-allowed-dates):
* lisp/org/org-macro.el (org-macro--vc-modified-time):
* lisp/org/org-macs.el (org-2ft, org-matcher-time):
* lisp/org/org-table.el (org-table-eval-formula):
* lisp/org/org.el (org-read-date, org-display-custom-time)
(org-time-string-to-time, org-timestamp-change):
Prefer (encode-time L) to (apply #'encode-time L) where either will do.
* lisp/gnus/gnus-search.el (gnus-search-imap-handle-date):
* lisp/org/org-clock.el (org-clocktable-steps):
Prefer (encode-time S M ...) to (apply #'encode-time (list S M ...)).
2021-12-16 11:17:25 -08:00
Stefan Kangas
2d116c432d
Merge from origin/emacs-28
...
8a0734329a
Avoid undefined behavior in 'send-process-region' (Bug#523...
30dd5c9acc
Update to Org 9.5.1-25-g9ca3bc
a374849926
Fix the DJGPP port
2021-12-12 06:31:07 +01:00
Kyle Meyer
30dd5c9acc
Update to Org 9.5.1-25-g9ca3bc
2021-12-11 12:31:13 -05:00
Stefan Kangas
d601fd4692
Merge from origin/emacs-28
...
7a25ba0fde
; * lisp/image-dired.el: Fix typo.
dda6337066
emacsclient takes more care about XDG_RUNTIME_DIR
26fb4168b8
; Prefer HTTPS in more URLs
6b89578524
; * lisp/progmodes/flymake.el: Update the minimum Emacs ve...
2021-12-10 06:30:33 +01:00
Stefan Kangas
26fb4168b8
; Prefer HTTPS in more URLs
2021-12-09 16:26:04 +01:00
Paul Eggert
c1145c31ad
Update org-compat doc string
...
* lisp/org/org-compat.el (file-attribute-modification-time):
Update doc string to match that of builtin Emacs.
2021-12-05 23:24:10 -08:00
Stefan Kangas
520a703fa7
Merge from origin/emacs-28
...
c086358574
Update to Org 9.5.1-15-gdb4805
fef3e60061
* lisp/emacs-lisp/edebug.el (edebug-eval-defun): Minor doc...
a1e30e4106
; Fix most remaining AUTHORS warnings
f3e6a432c5
; * doc/misc/efaq.texi (New in Emacs 28): Add more news.
00236cc802
Fix the enumeration values returned by 'try_scrolling'
2021-12-05 06:30:35 +01:00
Kyle Meyer
c086358574
Update to Org 9.5.1-15-gdb4805
2021-12-04 21:27:59 -05:00
Stefan Kangas
fa2e812894
Merge from origin/emacs-28
...
aa1d7dd867
; * etc/AUTHORS: Update.
6294e60205
; * admin/authors.el (authors-aliases): More fixes.
40fc31ea28
; * ChangeLog.3: Update.
2be090d5d3
; * ChangeLog.3: Minor fixes.
9963b11bf7
; * admin/authors.el (authors-aliases): Further updates.
50b40e1d4f
; * lisp/org/ob-julia.el: Fix Author header for authors.el.
84166ea2e6
CC Mode: Recognise "struct foo {" as introducing a type de...
2021-12-02 17:34:10 +01:00
Stefan Kangas
50b40e1d4f
; * lisp/org/ob-julia.el: Fix Author header for authors.el.
2021-12-01 17:03:52 +01:00
Stefan Kangas
f5498a608f
Merge from origin/emacs-28
...
1fffe9a210
; * lisp/org/org.el: Fix version header.
2a4de5e5e5
Fix Subject when forwarding message with 2-line From
b8b2dd17c5
Update to Org 9.5.1-11-g96d91b
a937f536b3
* doc/lispref/commands.texi (Click Events): Fix wording (b...
2021-11-28 14:59:44 +01:00
Stefan Kangas
1fffe9a210
; * lisp/org/org.el: Fix version header.
2021-11-28 14:54:24 +01:00
Kyle Meyer
b8b2dd17c5
Update to Org 9.5.1-11-g96d91b
2021-11-27 16:25:09 -05:00
Stefan Kangas
1de6a86553
Merge from origin/emacs-28
...
0dd3883def
Update to Org 9.5-72-gc5d6656
e3d5337970
Fix mouse handling with several TTY frames on MS-Windows
7e437af413
Fix temacs invocation from outside of the 'src' directory
0fbfd4253e
; Avoid byte-compilation warnings in edmacro.el
c22c988b1f
Fix mouse events on tab bar or tool bar when 'track-mouse'...
354c834fba
Fix `browse-url-interactive-arg' for certain kinds of events
# Conflicts:
# lisp/mouse.el
2021-11-21 11:18:23 +01:00