Stefan Monnier
55303a6bc0
* lisp/org/ox-texinfo.el (org-texinfo-template): Fix Info format (bug#74844)
2024-12-15 17:08:25 -05:00
Kyle Meyer
0def396fa8
Update to Org 9.7.11
2024-09-01 17:51:22 -04:00
Kyle Meyer
023d387a7b
Update to Org 9.7.10
2024-08-18 20:54:39 -04:00
Kyle Meyer
88e1ec22f2
Update to Org 9.7.9
2024-07-26 23:58:01 -04:00
Stefan Kangas
a799661566
Standardize possessive apostrophe usage in manuals, docs, and comments
...
See the note in admin/notes/documentation.
Ref: https://lists.gnu.org/r/emacs-devel/2012-02/msg00649.html
2024-07-25 03:35:18 +02:00
Kyle Meyer
46b192c04b
Update to Org 9.7.8-5-gfdf0e0
2024-07-21 23:01:45 -04:00
Stefan Kangas
a6cab228d4
; Fix typos
2024-07-18 11:46:50 +02:00
Kyle Meyer
5ec73eca57
Update to Org 9.7.7-2-gf308d3
2024-07-14 12:30:50 -04:00
Stefan Kangas
6757f8e67d
Checkdoc fixes in Org Mode
...
* lisp/org/ob-core.el:
* lisp/org/ob-exp.el:
* lisp/org/ob-lob.el:
* lisp/org/ob-plantuml.el (org-babel-execute:plantuml):
* lisp/org/ob-python.el (org-babel-python--command)
(org-babel-python-initiate-session-by-key)
(org-babel-python-initiate-session):
* lisp/org/ob-scheme.el (org-babel-scheme-make-session-name):
* lisp/org/ob-tangle.el (org-babel-find-file-noselect-refresh)
(org-babel-interpret-file-mode):
* lisp/org/ob.el:
* lisp/org/org-agenda.el (org-agenda-mouse-1-follows-link)
(org-agenda-start-with-archives-mode)
(org-agenda-previous-line):
* lisp/org/org-clock.el (org-clock-save, org-clock-load):
* lisp/org/org-element-ast.el (org-element-type-p):
* lisp/org/org-faces.el (org-cycle-level-faces):
* lisp/org/org-fold-core.el (org-fold-core--isearch-overlays):
* lisp/org/org-fold.el (org-fold--extend-changed-region):
* lisp/org/org-goto.el:
* lisp/org/org-habit.el (org-habit-show-all-today):
* lisp/org/org-inlinetask.el (org-inlinetask-in-task-p):
* lisp/org/org-macs.el (org-current-text-column):
* lisp/org/org-mobile.el (org-mobile-check-setup):
* lisp/org/org-mouse.el (org-mouse-bolp):
* lisp/org/org-refile.el (org-refile):
* lisp/org/org-src.el (org-src-do-key-sequence-at-code-block):
* lisp/org/org-table.el (orgtbl-after-send-table-hook)
(orgtbl-self-insert-command, orgtbl-to-orgtbl):
* lisp/org/org.el (org-read-date-popup-calendar, org-finish-function)
(org-occur-parameters, org-self-insert-command, org-ctrl-c-ctrl-c-hook)
(org-ctrl-c-ctrl-c-final-hook, org-submit-bug-report)
(org--single-lines-list-is-paragraph):
* lisp/org/ox-icalendar.el (org-icalendar--vtodo):
* lisp/org/ox-latex.el (org-latex-generate-engraved-preamble):
(org-latex-src--engrave-code):
* lisp/org/ox-publish.el (org-publish-project-alist):
* lisp/org/ox.el (org-export-data): Various checkdoc fixes.
2024-07-07 17:46:25 +02:00
Stefan Kangas
45a20d781a
; Fix typos in symbols
2024-06-29 17:29:38 +02:00
Kyle Meyer
6cc8ffae9a
Update to Org 9.7.5-9-ga091ca
2024-06-27 23:55:35 -04:00
Stefan Kangas
fb11294d41
; Fix typos
2024-06-23 16:40:06 +02:00
Stefan Kangas
1313b8966a
Merge from origin/emacs-29
...
9a02fce714
Update files for Emacs 29.4
d96c54d388
* admin/authors.el: Update for Emacs 29.4
fd207432e5
* etc/NEWS: Update for Emacs 29.4
c645e1d820
org-link-expand-abbrev: Do not evaluate arbitrary unsafe ...
2024-06-22 18:44:19 +02:00
Ihor Radchenko
c645e1d820
org-link-expand-abbrev: Do not evaluate arbitrary unsafe Elisp code
...
* lisp/org/ol.el (org-link-expand-abbrev): Refuse expanding %(...)
link abbrevs that specify unsafe function. Instead, display a
warning, and do not expand the abbrev. Clear all the text properties
from the returned link, to avoid any potential vulnerabilities caused
by properties that may contain arbitrary Elisp.
2024-06-22 00:54:36 +02:00
Stefan Kangas
a7dff8c53d
* lisp/org/ob-lua.el: Minor doc fixes.
2024-06-18 21:27:51 +02:00
Stefan Kangas
c0eefebabf
; Fix typos
2024-06-16 22:38:26 +02:00
Kyle Meyer
0910f6fe3f
Update to Org 9.7.4-7-g165319
2024-06-15 14:31:02 -04:00
Stefan Monnier
d3524560ee
* lisp/org/ox.el (org-export-filters-alist): Don't define as constant...
...
...since we modify it (set it to nil) in `orgtbl-to-generic`.
2024-06-10 10:58:46 -04:00
Mattias Engdegård
331573e407
Org: fix mistakes in regexp, skip set and doc string
...
All found by Relint.
* lisp/org/org-element.el (org-element-copy-buffer):
Repair incorrect escaping.
* lisp/org/org-macs.el (org--line-empty-p): Fix broken skip-set.
* lisp/org/org.el (org-setup-yank-dnd-handlers): Fix broken regexp.
2024-06-10 14:07:07 +02:00
Po Lu
bd80717d8e
Re-enable TTY glyph production for batch mode frames on Android
...
* lisp/org/ob-core.el (org-babel-execute-src-block): Revert
previous change.
* src/term.c (tty_append_glyph, produce_glyphs) [HAVE_ANDROID]:
Re-enable suppressed code.
2024-06-10 11:56:24 +08:00
Po Lu
8d1d9798f7
Fix bootstrap of org.texi
...
* lisp/org/ob-core.el (org-babel-execute-src-block): Ignore
errors around code block execution.
2024-06-10 08:37:51 +08:00
Stefan Kangas
77d0eed74e
; Fix typos
2024-06-10 00:40:26 +02:00
Kyle Meyer
5a125fb5a9
Update to Org 9.7.3
2024-06-09 16:54:38 -04:00
Eli Zaretskii
cd60fa42f6
Merge from origin/emacs-29
...
7a5d7be52c
org--confirm-resource-safe: Fix prompt when prompting in ...
2bc865ace0
org-file-contents: Consider all remote files unsafe
6f9ea396f4
org-latex-preview: Add protection when `untrusted-content...
937b9042ad
* lisp/gnus/mm-view.el (mm-display-inline-fontify): Mark ...
ccc188fcf9
* lisp/files.el (untrusted-content): New variable.
befa9fcaae
org-macro--set-templates: Prevent code evaluation
3221d8d461
* admin/authors.el (authors-aliases): Add ignored authors.
8d8253f899
* etc/NEWS: Update for Emacs 29.3
2024-03-30 04:35:24 -04:00
Ihor Radchenko
7a5d7be52c
org--confirm-resource-safe: Fix prompt when prompting in non-file Org buffers
...
* lisp/org/org.el (org--confirm-resource-safe): When called from
non-file buffer, do not put stray "f" in the prompt.
2024-03-24 08:41:26 -04:00
Ihor Radchenko
2bc865ace0
org-file-contents: Consider all remote files unsafe
...
* lisp/org/org.el (org-file-contents): When loading files, consider all
remote files (like TRAMP-fetched files) unsafe, in addition to URLs.
2024-03-24 08:41:10 -04:00
Ihor Radchenko
6f9ea396f4
org-latex-preview: Add protection when `untrusted-content' is non-nil
...
* lisp/org/org.el (org--latex-preview-when-risky): New variable
controlling how to handle LaTeX previews in Org files from untrusted
origin.
(org-latex-preview): Consult `org--latex-preview-when-risky' before
generating previews.
This patch adds a layer of protection when LaTeX preview is requested
for an email attachment, where `untrusted-content' is set to non-nil.
2024-03-24 08:40:48 -04:00
Ihor Radchenko
befa9fcaae
org-macro--set-templates: Prevent code evaluation
...
* lisp/org/org-macro.el (org-macro--set-templates): Get rid of any
risk to evaluate code when `org-macro--set-templates' is called as a
part of major mode initialization. This way, no code evaluation is
ever triggered when user merely opens the file or when
`mm-display-org-inline' invokes Org major mode to fontify mime part
preview in email messages.
2024-03-24 08:38:48 -04:00
Tim Landscheidt
6d1c1fca0a
; Simplify (with-current-buffer (get-buffer ...) ...)
...
There's no need to call 'get-buffer', since 'with-current-buffer'
does that internally.
* lisp/calendar/todo-mode.el (todo-merge-category):
* lisp/comint.el (comint-dynamic-list-completions):
* lisp/emacs-lisp/checkdoc.el (checkdoc-error):
* lisp/emacs-lisp/debug.el (debug, debugger-record-expression):
* lisp/emacs-lisp/eieio-opt.el (eieio-browse):
* lisp/emacs-lisp/re-builder.el (reb-restart-font-lock):
* lisp/erc/erc-dcc.el (erc-dcc-do-LIST-command):
* lisp/eshell/em-unix.el (eshell-poor-mans-grep):
* lisp/gnus/gnus-group.el (gnus-add-mark):
* lisp/net/eww.el (eww-next-bookmark, eww-previous-bookmark):
* lisp/net/sieve.el (sieve-upload):
* lisp/net/tramp-cmds.el (tramp-cleanup-some-buffers):
* lisp/obsolete/quickurl.el (quickurl-list-populate-buffer):
* lisp/org/ob-calc.el: (org-babel-execute:calc):
* lisp/org/org-agenda.el (org-agenda-use-sticky-p):
* lisp/pcomplete.el (pcomplete-show-completions):
* lisp/progmodes/bug-reference.el
(bug-reference--try-setup-gnus-article):
* lisp/progmodes/idlw-help.el
(idlwave-highlight-linked-completions):
* lisp/progmodes/verilog-mode.el (verilog-preprocess):
* lisp/replace.el (occur-1):
* lisp/term.el (term-dynamic-list-completions):
* lisp/time.el (world-clock-update):
* lisp/url/url-cache.el (url-store-in-cache):
* lisp/vc/vc-cvs.el (vc-cvs-merge, vc-cvs-merge-news):
* lisp/vc/vc-rcs.el (vc-rcs-system-release):
* lisp/vc/vc-svn.el (vc-svn-merge, vc-svn-merge-news):
* test/lisp/calendar/icalendar-tests.el
(icalendar-tests--get-error-string-for-export):
* test/lisp/erc/erc-dcc-tests.el
(pcomplete/erc-mode/DCC--get-1flag)
(pcomplete/erc-mode/DCC--get-2flags)
(pcomplete/erc-mode/DCC--get-2flags-reverse):
* test/lisp/erc/erc-networks-tests.el
(erc-networks--rename-server-buffer--existing--noreuse):
* test/lisp/erc/erc-scenarios-services-misc.el
(erc-scenarios-services-misc--reconnect-retry-nick):
* test/lisp/erc/erc-tests.el (erc--refresh-prompt):
Replace (with-current-buffer (get-buffer ...) ...) with
(with-current-buffer ...).
2024-03-14 12:40:26 +02:00
Basil L. Contovounesios
6dacb60bb1
; Fix last major-mode-remap-defaults change.
2024-03-04 07:19:22 +01:00
Stefan Monnier
2b5d43081a
(major-mode-remap(-defaults)): New var and function (bug#69191)
...
While `major-mode-remap-alist` provides a way for users to indicate the
major mode of their choice, we need a similar variable for the
use of packages.
This patch adds a new `major-mode-remap-defaults` and changes various
packages to obey it or make use of it.
I think it nicely cleans the regexp duplication between CC-mode and
`c-ts-mode.el` and also makes it easier/cleaner for users to override
the changes made by `*-ts-mode.el`.
* lisp/files.el (major-mode-remap-defaults): New variable.
(major-mode-remap): New function.
(set-auto-mode-0): Use it.
* doc/lispref/modes.texi (Auto Major Mode): Document them.
* lisp/textmodes/tex-mode.el (tex--redirect-to-submode):
Use `major-mode-remap`.
(major-mode-remap-defaults): Set it to remap AUCTeX modes by default.
* lisp/progmodes/ruby-ts-mode.el (auto-mode-alist): Leave it alone.
(major-mode-remap-defaults): Set this one instead.
* lisp/progmodes/c-ts-mode.el (c-or-c++-ts-mode): Use `major-mode-remap`.
(auto-mode-alist): Leave it alone.
(major-mode-remap-defaults): Set this one instead.
* lisp/org/ox.el (org-export-to-buffer): Modernize docstring accordingly.
* lisp/progmodes/cc-mode.el (c-or-c++-mode):
* lisp/org/ox-latex.el (org-latex-export-as-latex):
* lisp/org/ox-koma-letter.el (org-koma-letter-export-as-latex):
* lisp/org/ox-beamer.el (org-beamer-export-as-latex):
Use `major-mode-remap` when available.
2024-03-03 23:58:18 -05:00
Stefan Monnier
445f376e4e
Revert "ox-texinfo:: Require only TEXINFO_DIR_CATEGORY"
...
This reverts commit 5254c582ef
.
2024-03-03 22:09:24 -05:00
Stefan Monnier
1a37fe3a66
Revert "Set org-macro-templates more lazily"
...
This reverts commit 99483e214f
.
2024-03-03 22:09:19 -05:00
Stefan Monnier
99483e214f
Set org-macro-templates more lazily
2024-03-03 16:57:56 -05:00
Stefan Monnier
5254c582ef
ox-texinfo:: Require only TEXINFO_DIR_CATEGORY
...
Until now @dircategory/@direntry entries were added only if
both TEXINFO_DIR_CATEGORY and TEXINFO_DIR_TITLE were set.
And the setting of TEXINFO_DIR_TITLE had to be careful to
provide exactly the right syntax.
This patch changes various things in this regard:
- Only require TEXINFO_DIR_CATEGORY in order to generate
`@dircategory` and `@direntry`.
- Use the document title by default if TEXINFO_DIR_DESC is missing.
- Use the filename by default when TEXINFO_DIR_TITLE is missing.
- Try and make it harder to provide a direntry that does not
have the right format or refers to a different filename than
the one we're outputting to.
* lisp/org/ox-texinfo.el: Remove redundant `:group` arguments.
Prefer #' to quote function names.
(org-texinfo-template): Use sane defaults for `@direntry`.
* doc/misc/org.org (Texinfo specific export settings): Adjust accordingly.
2024-03-03 16:57:56 -05:00
Robert Pluim
862dfef88d
Pacify more docstring control char warnings
...
* lisp/org/org-macs.el (org-split-string): Escape control chars.
* lisp/org/ox-latex.el (org-latex-guess-babel-language): And here.
2024-02-29 09:31:41 +01:00
Eli Zaretskii
229b3edb07
Merge from origin/emacs-29
...
01ebc95114
Fix 'help-quick-toggle'
afe49c7e2a
; * admin/authors.el (authors-aliases): Fix last change.
8b1f10f8cf
; Normalize Morgan Smith's attributions.
70cf4b694b
; * etc/PROBLEMS: Describe input lags due to GTK IM (bug#...
f28a557c7d
* doc/lispref/modes.texi (Tabulated List Mode): Update.
d6131b5902
* lisp/net/tramp.el (tramp-methods): Fix typo in docstrin...
2eb85a9de1
; * lisp/emacs-lisp/pcase.el (pcase-let*, pcase-let): Ano...
4c6653f23a
; * lisp/emacs-lisp/pcase.el (pcase-let*, pcase-let): Doc...
5a64d2c759
java-ts-mode: Indentation for opening brace on a separate...
9e56bd5ed8
Removed decommissioned PGP keyservers
e56f0ef51b
org: Fix security prompt for downloading remote resource
65ba327465
Revert "Update to Org 9.6.19"
07a392f445
Update to Org 9.6.19
2024-02-24 06:35:16 -05:00
Ihor Radchenko
e56f0ef51b
org: Fix security prompt for downloading remote resource
...
* lisp/org.el (org--confirm-resource-safe): Do not assume that
resource is safe when user replies "n" (do not download).
Reported-by: Max Nikulin <manikulin@gmail.com>
Link: https://orgmode.org/list/upj6uk$b7o$1@ciao.gmane.io
2024-02-17 19:31:28 +02:00
Eli Zaretskii
65ba327465
Revert "Update to Org 9.6.19"
...
This reverts commit 07a392f445
.
It was installed by mistake.
2024-02-17 18:53:05 +02:00
Kyle Meyer
07a392f445
Update to Org 9.6.19
2024-02-17 10:17:41 -05:00
Stefan Kangas
9364c28959
; Fix typos in symbol names
2024-01-21 15:28:06 +01:00
Eli Zaretskii
1b31a784bf
Merge from origin/emacs-29
...
5bb5590dec
Fix blunder in labeled_narrow_to_region
78ddb32fad
Fix documentation of icon-elements
725a3f32f8
; Fix typos in symbol names
6653ee66ca
Improve two docstrings in ox-latex
7d869a0402
Doc fix in auth-source-read-char-choice
f149de223b
Merge branch 'emacs-29' of git.savannah.gnu.org:/srv/git/...
1f97a87879
Fix info-xref-tests
51f391998b
Add @kindex in manuals for existing keybindings on 'C-x x...
2024-01-20 06:25:59 -05:00
Stefan Kangas
725a3f32f8
; Fix typos in symbol names
2024-01-14 15:16:54 +01:00
Stefan Kangas
6653ee66ca
Improve two docstrings in ox-latex
...
* lisp/org/ox-latex.el (org-latex-src-block-backend)
(org-latex-engraved-theme): Improve docstring; mention that
engrave-faces is a GNU ELPA package.
2024-01-14 14:52:17 +01:00
Po Lu
ecf08f0621
Merge from savannah/emacs-29
...
dc4e6b1329
; Update copyright years in more files
64b3777631
; Run set-copyright from admin.el
8e1c56ae46
; Add 2024 to copyright years
# Conflicts:
# doc/misc/modus-themes.org
# doc/misc/texinfo.tex
# etc/NEWS
# etc/refcards/ru-refcard.tex
# etc/themes/modus-operandi-theme.el
# etc/themes/modus-themes.el
# etc/themes/modus-vivendi-theme.el
# lib/alloca.in.h
# lib/binary-io.h
# lib/c-ctype.h
# lib/c-strcasecmp.c
# lib/c-strncasecmp.c
# lib/careadlinkat.c
# lib/cloexec.c
# lib/close-stream.c
# lib/diffseq.h
# lib/dup2.c
# lib/filemode.h
# lib/fpending.c
# lib/fpending.h
# lib/fsusage.c
# lib/getgroups.c
# lib/getloadavg.c
# lib/gettext.h
# lib/gettime.c
# lib/gettimeofday.c
# lib/group-member.c
# lib/malloc.c
# lib/md5-stream.c
# lib/md5.c
# lib/md5.h
# lib/memmem.c
# lib/memrchr.c
# lib/nanosleep.c
# lib/save-cwd.h
# lib/sha1.c
# lib/sig2str.c
# lib/stdlib.in.h
# lib/strtoimax.c
# lib/strtol.c
# lib/strtoll.c
# lib/time_r.c
# lib/xalloc-oversized.h
# lisp/auth-source-pass.el
# lisp/emacs-lisp/lisp-mnt.el
# lisp/emacs-lisp/timer.el
# lisp/info-look.el
# lisp/jit-lock.el
# lisp/loadhist.el
# lisp/mail/rmail.el
# lisp/net/ntlm.el
# lisp/net/webjump.el
# lisp/progmodes/asm-mode.el
# lisp/progmodes/project.el
# lisp/progmodes/sh-script.el
# lisp/textmodes/flyspell.el
# lisp/textmodes/reftex-toc.el
# lisp/textmodes/reftex.el
# lisp/textmodes/tex-mode.el
# lisp/url/url-gw.el
# m4/alloca.m4
# m4/clock_time.m4
# m4/d-type.m4
# m4/dirent_h.m4
# m4/dup2.m4
# m4/euidaccess.m4
# m4/fchmodat.m4
# m4/filemode.m4
# m4/fsusage.m4
# m4/getgroups.m4
# m4/getloadavg.m4
# m4/getrandom.m4
# m4/gettime.m4
# m4/gettimeofday.m4
# m4/gnulib-common.m4
# m4/group-member.m4
# m4/inttypes.m4
# m4/malloc.m4
# m4/manywarnings.m4
# m4/mempcpy.m4
# m4/memrchr.m4
# m4/mkostemp.m4
# m4/mktime.m4
# m4/nproc.m4
# m4/nstrftime.m4
# m4/pathmax.m4
# m4/pipe2.m4
# m4/pselect.m4
# m4/pthread_sigmask.m4
# m4/readlink.m4
# m4/realloc.m4
# m4/sig2str.m4
# m4/ssize_t.m4
# m4/stat-time.m4
# m4/stddef_h.m4
# m4/stdint.m4
# m4/stdio_h.m4
# m4/stdlib_h.m4
# m4/stpcpy.m4
# m4/strnlen.m4
# m4/strtoimax.m4
# m4/strtoll.m4
# m4/time_h.m4
# m4/timegm.m4
# m4/timer_time.m4
# m4/timespec.m4
# m4/unistd_h.m4
# m4/warnings.m4
# nt/configure.bat
# nt/preprep.c
# test/lisp/register-tests.el
2024-01-02 10:28:14 +08:00
Po Lu
083e90dd80
Merge from origin/emacs-29
...
3204825f56
Fix mangled Subject header field when forwarding (Bug#67360)
7591acfe38
Update to Org 9.6.15
240b4594f1
; * etc/TODO: Add an item about 'Info-hide-note-references'.
01be4fe39d
* doc/emacs/custom.texi (Modifier Keys): Fix markup (bug#...
55555a6a0d
org-protocol: Minor copy-edits to Commentary
4696869d3d
Improve syntax highlighting for python-ts-mode
2024-01-02 10:19:48 +08:00
Po Lu
8e1c56ae46
; Add 2024 to copyright years
2024-01-02 09:47:10 +08:00
Kyle Meyer
7591acfe38
Update to Org 9.6.15
2024-01-01 12:47:27 -05:00
Stefan Kangas
0f3be9596f
; Prefer finder keyword "text" to deprecated keyword "wp"
2023-12-30 18:14:40 +01:00
Stefan Kangas
55555a6a0d
org-protocol: Minor copy-edits to Commentary
...
* lisp/org/org-protocol.el: Minor copy-edits to Commentary.
2023-12-30 17:53:53 +01:00