Merge branch 'km/from-emacs-master'
This commit is contained in:
commit
377addb5b2
|
@ -3766,7 +3766,7 @@ replacement text. Here is an example:
|
|||
|
||||
#+begin_src emacs-lisp
|
||||
(setq org-link-abbrev-alist
|
||||
'(("bugzilla" . "http://10.1.2.9/bugzilla/show_bug.cgi?id=")
|
||||
'(("bugzilla" . "https://10.1.2.9/bugzilla/show_bug.cgi?id=")
|
||||
("Nu Html Checker" . "https://validator.w3.org/nu/?doc=%h")
|
||||
("duckduckgo" . "https://duckduckgo.com/?q=%s")
|
||||
("omap" . "https://nominatim.openstreetmap.org/search?q=%s&polygon=1")
|
||||
|
@ -9712,7 +9712,7 @@ the estimated effort of an entry (see [[*Effort Estimates]]).
|
|||
#+vindex: org-agenda-effort-filter-preset
|
||||
#+vindex: org-agenda-regexp-filter-preset
|
||||
Agenda built-in or custom commands are statically defined. Agenda
|
||||
filters and limits allow to flexibly narrow down the list of agenda
|
||||
filters and limits allow flexibly narrowing down the list of agenda
|
||||
entries.
|
||||
|
||||
/Filters/ only change the visibility of items, are very fast and are
|
||||
|
@ -21365,8 +21365,8 @@ adding ~:rewrites~ rules like this:
|
|||
|
||||
#+texinfo: @noindent
|
||||
Since =example.com/$= is used as a regular expression, it maps
|
||||
=http://example.com/=, =https://example.com=,
|
||||
=http://www.example.com/= and similar to
|
||||
=https://example.com/=, =https://example.com=,
|
||||
=https://www.example.com/= and similar to
|
||||
=/home/user/example/index.php=.
|
||||
|
||||
The ~:rewrites~ rules are searched as a last resort if and only if no
|
||||
|
|
|
@ -115,7 +115,7 @@
|
|||
(mapcar #'org-trim
|
||||
(split-string (org-babel-expand-body:calc body params) "[\n\r]"))))
|
||||
(save-excursion
|
||||
(with-current-buffer (get-buffer "*Calculator*")
|
||||
(with-current-buffer "*Calculator*"
|
||||
(prog1
|
||||
(calc-eval (calc-top 1))
|
||||
(calc-pop 1)))))
|
||||
|
|
|
@ -47,11 +47,12 @@
|
|||
"Execute a block of Eshell code BODY with PARAMS.
|
||||
This function is called by `org-babel-execute-src-block'.
|
||||
|
||||
The BODY can be any code which allowed executed in Eshell.
|
||||
Eshell allow to execute normal shell command and Elisp code.
|
||||
More details please reference Eshell Info.
|
||||
The BODY argument is code which can be executed in Eshell.
|
||||
Eshell allows executing normal shell command and Elisp code.
|
||||
For more details, see Info node `(eshell) Top'.
|
||||
|
||||
The PARAMS are variables assignments."
|
||||
The PARAMS argument is passed to
|
||||
`org-babel-expand-body:generic' (which see)."
|
||||
(let* ((session (org-babel-eshell-initiate-session
|
||||
(cdr (assq :session params))))
|
||||
(full-body (org-babel-expand-body:generic
|
||||
|
|
|
@ -392,7 +392,7 @@ Did you give the decimal value %1$d by mistake?" mode)))
|
|||
(error "File mode %S not recognized as a valid format." mode))
|
||||
((string-match-p "^o0?[0-7][0-7][0-7]$" mode)
|
||||
(string-to-number (replace-regexp-in-string "^o" "" mode) 8))
|
||||
((string-match-p "^[ugoa]*\\(?:[+-=][rwxXstugo]*\\)+\\(,[ugoa]*\\(?:[+-=][rwxXstugo]*\\)+\\)*$" mode)
|
||||
((string-match-p "^[ugoa]*\\(?:[+=-][rwxXstugo]*\\)+\\(,[ugoa]*\\(?:[+=-][rwxXstugo]*\\)+\\)*$" mode)
|
||||
;; Match regexp taken from `file-modes-symbolic-to-number'.
|
||||
(file-modes-symbolic-to-number mode org-babel-tangle-default-file-mode))
|
||||
((string-match-p "^[r-][w-][xs-][r-][w-][xs-][r-][w-][x-]$" mode)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
;; Authors: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Thomas Baumann <thomas dot baumann at ch dot tum dot de>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
;; Authors: Bastien Guerry <bzg@gnu.org>
|
||||
;; Carsten Dominik <carsten dot dominik at gmail dot com>
|
||||
;; Eric Schulte <schulte dot eric at gmail dot com>
|
||||
;; Keywords: org, wp, capture
|
||||
;; Keywords: org, text, capture
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
;;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2009-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Jan Böcker <jan.boecker at jboecker dot de>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Tassilo Horn <tassilo at member dot fsf dot org>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2004-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2020-2024 Free Software Foundation, Inc.
|
||||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Maintainer: Bastien Guerry <bzg@gnu.org>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2004-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Thomas Baumann <thomas dot baumann at ch dot tum dot de>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2004-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2008-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Andy Stewart <lazycat dot manatee at gmail dot com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2018-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
||||
|
@ -1912,7 +1912,7 @@ generate a description as described in `org-link-parameters'
|
|||
docstring. Otherwise, if `org-link-make-description-function' is
|
||||
non-nil, this function will be called with the link target, and
|
||||
the result will be the default link description. When called
|
||||
non-interactively, don't allow to edit the default description."
|
||||
non-interactively, don't allow editing the default description."
|
||||
(interactive "P")
|
||||
(let* ((wcf (current-window-configuration))
|
||||
(origbuf (current-buffer))
|
||||
|
@ -2201,7 +2201,7 @@ Also refresh fontification if needed."
|
|||
(interactive)
|
||||
(let ((old-regexp org-target-link-regexp)
|
||||
;; Some languages, e.g., Chinese, do not use spaces to
|
||||
;; separate words. Also allow to surround radio targets with
|
||||
;; separate words. Also allow surrounding radio targets with
|
||||
;; line-breakable characters.
|
||||
(before-re "\\(?:^\\|[^[:alnum:]]\\|\\c|\\)\\(")
|
||||
(after-re "\\)\\(?:$\\|[^[:alnum:]]\\|\\c|\\)")
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2004-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
@ -3900,7 +3900,7 @@ generating a new one."
|
|||
;; buffer found
|
||||
(get-buffer org-agenda-buffer-name)
|
||||
;; C-u parameter is same as last call
|
||||
(with-current-buffer (get-buffer org-agenda-buffer-name)
|
||||
(with-current-buffer org-agenda-buffer-name
|
||||
(and
|
||||
(equal current-prefix-arg
|
||||
org-agenda-last-prefix-arg)
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2004-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2010-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2004-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
@ -56,6 +56,8 @@
|
|||
(declare-function dbus-list-activatable-names "dbus" (&optional bus))
|
||||
(declare-function dbus-call-method "dbus" (bus service path interface method &rest args))
|
||||
(declare-function dbus-get-property "dbus" (bus service path interface property))
|
||||
(declare-function haiku-notifications-notify "haikuselect.c")
|
||||
(declare-function android-notifications-notify "androidselect.c")
|
||||
|
||||
(defvar org-frame-title-format-backup nil)
|
||||
(defvar org-state)
|
||||
|
@ -885,6 +887,18 @@ use libnotify if available, or fall back on a message."
|
|||
((stringp org-show-notification-handler)
|
||||
(start-process "emacs-timer-notification" nil
|
||||
org-show-notification-handler notification))
|
||||
((fboundp 'haiku-notifications-notify)
|
||||
;; N.B. timeouts are not available under Haiku.
|
||||
(haiku-notifications-notify :title "Org mode message"
|
||||
:body notification
|
||||
:urgency 'low))
|
||||
((fboundp 'android-notifications-notify)
|
||||
;; N.B. timeouts are not available under Haiku or Android.
|
||||
(android-notifications-notify :title "Org mode message"
|
||||
:body notification
|
||||
;; Low urgency notifications
|
||||
;; are by default hidden.
|
||||
:urgency 'normal))
|
||||
((fboundp 'w32-notification-notify)
|
||||
(let ((id (w32-notification-notify
|
||||
:title "Org mode message"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2004-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2004-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2007-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Paul Sexton <eeeickythump@gmail.com>
|
||||
;; Keywords: org, wp
|
||||
;; Keywords: org, text
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
;;
|
||||
|
@ -162,7 +162,9 @@ Format is: /REGEXP/TAGNAME/FLAGS,TAGTYPE/
|
|||
See the ctags documentation for more information.")
|
||||
|
||||
(defcustom org-ctags-path-to-ctags
|
||||
(if (executable-find "ctags-exuberant") "ctags-exuberant" "ctags")
|
||||
(if (executable-find "ctags-exuberant")
|
||||
"ctags-exuberant"
|
||||
ctags-program-name)
|
||||
"Name of the ctags executable file."
|
||||
:version "24.1"
|
||||
:type 'file)
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2009-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2017-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
;; Author: Nicolas Goaziou <n.goaziou at gmail dot com>
|
||||
;; Maintainer: Ihor Radchenko <yantar92 at posteo dot net>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
||||
|
@ -3274,7 +3274,7 @@ CONTENTS is verse block contents."
|
|||
;; object types they can contain will be specified in
|
||||
;; `org-element-object-restrictions'.
|
||||
;;
|
||||
;; Creating a new type of object requires to alter
|
||||
;; Creating a new type of object requires altering
|
||||
;; `org-element--object-regexp' and `org-element--object-lex', add the
|
||||
;; new type in `org-element-all-objects', and possibly add
|
||||
;; restrictions in `org-element-object-restrictions'.
|
||||
|
@ -3874,7 +3874,7 @@ Assume point is at the beginning of the link."
|
|||
;;
|
||||
;; Also treat any newline character and associated
|
||||
;; indentation as a single space character. This is not
|
||||
;; compatible with RFC 3986, which requires to ignore
|
||||
;; compatible with RFC 3986, which requires ignoring
|
||||
;; them altogether. However, doing so would require
|
||||
;; users to encode spaces on the fly when writing links
|
||||
;; (e.g., insert [[shell:ls%20*.org]] instead of
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>,
|
||||
;; Ulf Stegemann <ulf at zeitform dot de>
|
||||
;; Keywords: outlines, calendar, wp
|
||||
;; Keywords: outlines, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2004-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2009-2024 Free Software Foundation, Inc.
|
||||
;;
|
||||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2009-2024 Free Software Foundation, Inc.
|
||||
;;
|
||||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2012-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2009-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: John Wiegley <johnw at gnu dot org>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2008-2024 Free Software Foundation, Inc.
|
||||
;;
|
||||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2009-2024 Free Software Foundation, Inc.
|
||||
;;
|
||||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2009-2024 Free Software Foundation, Inc.
|
||||
;;
|
||||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2015-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
;;
|
||||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Bastien Guerry <bzg@gnu.org>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2013-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Nicolas Goaziou <n.goaziou@gmail.com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2004-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
;; Copyright (C) 2009-2024 Free Software Foundation, Inc.
|
||||
;;
|
||||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
|
|
@ -862,6 +862,10 @@ This means, between the beginning of line and the point."
|
|||
(org-mouse-in-region-p (posn-point (event-start event))))
|
||||
(mouse-drag-region event)))
|
||||
|
||||
;; This function conflicts with touch screen gestures as it relays
|
||||
;; events to `mouse-drag-region'.
|
||||
(put 'org-mouse-down-mouse 'ignored-mouse-command t)
|
||||
|
||||
(add-hook 'org-mode-hook
|
||||
(lambda ()
|
||||
(setq org-mouse-context-menu-function #'org-mouse-context-menu)
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2018-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
;;
|
||||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; John Wiegley <johnw at gnu dot org>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
;; Sebastian Rose <sebastian_rose AT gmx DOT de>
|
||||
;; Ross Patterson <me AT rpatterson DOT net>
|
||||
;; Maintainer: Sebastian Rose <sebastian_rose AT gmx DOT de>
|
||||
;; Keywords: org, emacsclient, wp
|
||||
;; Keywords: org, emacsclient, text
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
;;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2010-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Bastien Guerry <bzg@gnu.org>
|
||||
;; Dan Davison <davison at stats dot ox dot ac dot uk>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2004-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
@ -419,7 +419,7 @@ It is probably good to never set this variable to nil, for the sake of
|
|||
portability of tables."
|
||||
:group 'org-table-calculation
|
||||
:type '(choice
|
||||
(const :tag "Allow to cross" t)
|
||||
(const :tag "Allow crossing hline" t)
|
||||
(const :tag "Stick to hline" nil)
|
||||
(const :tag "Error on attempt to cross" error)))
|
||||
|
||||
|
@ -3935,7 +3935,7 @@ When non-nil, return the overlay narrowing the field."
|
|||
;; Aligning table from the first row will not shrink again the
|
||||
;; second row, which was not visible initially.
|
||||
;;
|
||||
;; However, fixing it requires to check every row, which may be
|
||||
;; However, fixing it requires checking every row, which may be
|
||||
;; slow on large tables. Moreover, the hindrance of this
|
||||
;; pathological case is very limited.
|
||||
(forward-line 0)
|
||||
|
@ -6178,9 +6178,13 @@ supported."
|
|||
(with-temp-buffer
|
||||
(insert (orgtbl-to-orgtbl table params))
|
||||
(org-table-align)
|
||||
(replace-regexp-in-string
|
||||
"-|" "-+"
|
||||
(replace-regexp-in-string "|-" "+-" (buffer-substring 1 (buffer-size))))))
|
||||
(goto-char (point-min))
|
||||
(while (search-forward "-|" nil t)
|
||||
(replace-match "-+"))
|
||||
(goto-char (point-min))
|
||||
(while (search-forward "|-" nil t)
|
||||
(replace-match "+-"))
|
||||
(buffer-string)))
|
||||
|
||||
(defun orgtbl-to-unicode (table params)
|
||||
"Convert the `orgtbl-mode' TABLE into a table with unicode characters.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2017-2024 Free Software Foundation, Inc.
|
||||
;;
|
||||
;; Author: Rasmus Pank Roulund <emacs at pank dot eu>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2008-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
|
|
37
lisp/org.el
37
lisp/org.el
|
@ -5,7 +5,7 @@
|
|||
;;
|
||||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Maintainer: Bastien Guerry <bzg@gnu.org>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
;; Package-Requires: ((emacs "26.1"))
|
||||
|
||||
|
@ -1056,7 +1056,7 @@ time."
|
|||
This is useful since some lines containing links can be very long and
|
||||
uninteresting. Also tables look terrible when wrapped.
|
||||
|
||||
The variable `org-startup-truncated' allows to configure
|
||||
The variable `org-startup-truncated' enables you to configure
|
||||
truncation for Org mode different to the other modes that use the
|
||||
variable `truncate-lines' and as a shortcut instead of putting
|
||||
the variable `truncate-lines' into the `org-mode-hook'. If one
|
||||
|
@ -1383,14 +1383,15 @@ Possible values for the file identifier are:
|
|||
to open [[file:document.pdf::5]] with evince at page 5.
|
||||
|
||||
Likely, you will need more entries: without page
|
||||
number; with search pattern; with cross-reference
|
||||
anchor; some combination of options. Consider simple
|
||||
pattern here and a Lisp function to determine command
|
||||
line arguments instead. Passing argument list to
|
||||
`call-process' or `make-process' directly allows to
|
||||
avoid treating some character in peculiar file names
|
||||
as shell specialls causing executing part of file
|
||||
name as a subcommand.
|
||||
number; with search pattern; with
|
||||
cross-reference anchor; some combination of
|
||||
options. Consider simple pattern here and a
|
||||
Lisp function to determine command line
|
||||
arguments instead. Passing an argument list to
|
||||
`call-process' or `make-process' directly avoids
|
||||
treating some character in peculiar file names
|
||||
as shell specials that prompt parts of said file
|
||||
names to be executed as subcommands.
|
||||
|
||||
`directory' Matches a directory
|
||||
`remote' Matches a remote file, accessible through tramp.
|
||||
|
@ -3869,7 +3870,6 @@ This is needed for font-lock setup.")
|
|||
(defvar calc-embedded-close-formula)
|
||||
(defvar calc-embedded-open-formula)
|
||||
(defvar calc-embedded-open-mode)
|
||||
(defvar font-lock-unfontify-region-function)
|
||||
(defvar org-agenda-tags-todo-honor-ignore-options)
|
||||
(defvar remember-data-file)
|
||||
(defvar texmathp-why)
|
||||
|
@ -5443,7 +5443,7 @@ by a #."
|
|||
(zero-or-more (any " \t"))
|
||||
(group (group (zero-or-more (not (any " \t\n"))))
|
||||
(zero-or-more (any " \t"))
|
||||
(group (zero-or-more any)))))
|
||||
(group (zero-or-more nonl)))))
|
||||
limit t)
|
||||
(let ((beg (match-beginning 0))
|
||||
(end-of-beginline (match-end 0))
|
||||
|
@ -5469,7 +5469,7 @@ by a #."
|
|||
"#+end"
|
||||
,(match-string 4)
|
||||
word-end
|
||||
(zero-or-more any)))))
|
||||
(zero-or-more nonl)))))
|
||||
;; We look further than LIMIT on purpose.
|
||||
nil t)
|
||||
;; We do have a matching #+end line.
|
||||
|
@ -5550,7 +5550,7 @@ by a #."
|
|||
(forward-line 0)
|
||||
(looking-at (rx (group (zero-or-more (any " \t"))
|
||||
"#+caption"
|
||||
(optional "[" (zero-or-more any) "]")
|
||||
(optional "[" (zero-or-more nonl) "]")
|
||||
":")
|
||||
(zero-or-more (any " \t")))))
|
||||
(add-text-properties (line-beginning-position) (match-end 1)
|
||||
|
@ -13527,7 +13527,7 @@ Optional argument DEFAULT provides a default value for PROPERTY."
|
|||
nil nil nil nil default-prop)))
|
||||
|
||||
(defun org-set-property-and-value (use-last)
|
||||
"Allow to set [PROPERTY]: [value] direction from prompt.
|
||||
"Allow setting [PROPERTY]: [value] direction from prompt.
|
||||
When use-default, don't even ask, just use the last
|
||||
\"[PROPERTY]: [value]\" string from the history."
|
||||
(interactive "P")
|
||||
|
@ -14341,6 +14341,7 @@ user."
|
|||
(unless deltadef
|
||||
(let ((now (decode-time)))
|
||||
(setq day (nth 3 now) month (nth 4 now) year (nth 5 now))))
|
||||
;; FIXME: Duplicated value in ‘cond’: ""
|
||||
(cond ((member deltaw '("h" ""))
|
||||
(when (boundp 'org-time-was-given)
|
||||
(setq org-time-was-given t))
|
||||
|
@ -17005,7 +17006,7 @@ implies no special alignment."
|
|||
(defun org-display-inline-remove-overlay (ov after _beg _end &optional _len)
|
||||
"Remove inline-display overlay if a corresponding region is modified."
|
||||
(when (and ov after)
|
||||
(delete ov org-inline-image-overlays)
|
||||
(setq org-inline-image-overlays (delete ov org-inline-image-overlays))
|
||||
;; Clear image from cache to avoid image not updating upon
|
||||
;; changing on disk. See Emacs bug#59902.
|
||||
(when (overlay-get ov 'org-image-overlay)
|
||||
|
@ -18437,8 +18438,8 @@ ignoring region."
|
|||
(defun org-open-line (n)
|
||||
"Insert a new row in tables, call `open-line' elsewhere.
|
||||
If `org-special-ctrl-o' is nil, just call `open-line' everywhere.
|
||||
As a special case, when a document starts with a table, allow to
|
||||
call `open-line' on the very first character."
|
||||
As a special case, when a document starts with a table, allow
|
||||
calling `open-line' on the very first character."
|
||||
(interactive "*p")
|
||||
(if (and org-special-ctrl-o (/= (point) 1) (org-at-table-p))
|
||||
(org-table-insert-row)
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2012-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Nicolas Goaziou <n.goaziou at gmail dot com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
;; Author: Carsten Dominik <carsten.dominik AT gmail DOT com>
|
||||
;; Nicolas Goaziou <n.goaziou AT gmail DOT com>
|
||||
;; Keywords: org, wp, tex
|
||||
;; Keywords: org, text, tex
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
||||
|
@ -968,11 +968,10 @@ holding export options."
|
|||
"Support for editing Beamer oriented Org mode files."
|
||||
:lighter " Bm")
|
||||
|
||||
(when (fboundp 'font-lock-add-keywords)
|
||||
(font-lock-add-keywords
|
||||
'org-mode
|
||||
'((":\\(B_[a-z]+\\|BMCOL\\):" 1 'org-beamer-tag prepend))
|
||||
'prepend))
|
||||
(font-lock-add-keywords
|
||||
'org-mode
|
||||
'((":\\(B_[a-z]+\\|BMCOL\\):" 1 'org-beamer-tag prepend))
|
||||
'prepend)
|
||||
|
||||
(defface org-beamer-tag '((t (:box (:line-width 1 :color "grey40"))))
|
||||
"The special face for beamer tags."
|
||||
|
@ -1053,7 +1052,10 @@ will be displayed when `org-export-show-temporary-export-buffer'
|
|||
is non-nil."
|
||||
(interactive)
|
||||
(org-export-to-buffer 'beamer "*Org BEAMER Export*"
|
||||
async subtreep visible-only body-only ext-plist (lambda () (LaTeX-mode))))
|
||||
async subtreep visible-only body-only ext-plist
|
||||
(if (fboundp 'major-mode-remap)
|
||||
(major-mode-remap 'latex-mode)
|
||||
#'LaTeX-mode)))
|
||||
|
||||
;;;###autoload
|
||||
(defun org-beamer-export-to-latex
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Jambunathan K <kjambunathan at gmail dot com>
|
||||
;; Maintainer: TEC <orgmode@tec.tecosaur.net>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
||||
|
@ -3189,6 +3189,7 @@ CONTENTS is nil. INFO is a plist holding contextual information."
|
|||
(let ((latex-frag (org-element-property :value latex-fragment))
|
||||
(processing-type (plist-get info :with-latex)))
|
||||
(cond
|
||||
;; FIXME: Duplicated value in ‘cond’: t
|
||||
((memq processing-type '(t mathjax))
|
||||
(org-html-format-latex latex-frag 'mathjax info))
|
||||
((memq processing-type '(t html))
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
||||
;; Maintainer: Jack Kamm <jackkamm@gmail.com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
;; Viktor Rosenfeld <listuser36 AT gmail DOT com>
|
||||
;; Rasmus Pank Roulund <emacs AT pank DOT eu>
|
||||
;; Maintainer: Marco Wahl <marcowahlsoft@gmail.com>
|
||||
;; Keywords: org, wp, tex
|
||||
;; Keywords: org, text, tex
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
||||
|
@ -915,7 +915,9 @@ non-nil."
|
|||
(let (org-koma-letter-special-contents)
|
||||
(org-export-to-buffer 'koma-letter "*Org KOMA-LETTER Export*"
|
||||
async subtreep visible-only body-only ext-plist
|
||||
(lambda () (LaTeX-mode)))))
|
||||
(if (fboundp 'major-mode-remap)
|
||||
(major-mode-remap 'latex-mode)
|
||||
#'LaTeX-mode))))
|
||||
|
||||
;;;###autoload
|
||||
(defun org-koma-letter-export-to-latex
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
;; Author: Nicolas Goaziou <n.goaziou at gmail dot com>
|
||||
;; Maintainer: Daniel Fleischer <danflscr@gmail.com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
||||
|
@ -3760,7 +3760,7 @@ CONTENTS is the contents of the object."
|
|||
;; takes care of tables with a "verbatim" mode. Otherwise, it
|
||||
;; delegates the job to either `org-latex--table.el-table',
|
||||
;; `org-latex--org-table', `org-latex--math-table' or
|
||||
;; `org-latex--org-align-string-tabbing' functions,
|
||||
;; `org-table--org-tabbing' functions,
|
||||
;; depending of the type of the table and the mode requested.
|
||||
;;
|
||||
;; `org-latex--align-string' is a subroutine used to build alignment
|
||||
|
@ -4283,7 +4283,10 @@ will be displayed when `org-export-show-temporary-export-buffer'
|
|||
is non-nil."
|
||||
(interactive)
|
||||
(org-export-to-buffer 'latex "*Org LATEX Export*"
|
||||
async subtreep visible-only body-only ext-plist (lambda () (LaTeX-mode))))
|
||||
async subtreep visible-only body-only ext-plist
|
||||
(if (fboundp 'major-mode-remap)
|
||||
(major-mode-remap 'latex-mode)
|
||||
#'LaTeX-mode)))
|
||||
|
||||
;;;###autoload
|
||||
(defun org-latex-convert-region-to-latex ()
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
;; Author: Nicolas Goaziou <n.goaziou at gmail dot com>
|
||||
;; Luis R Anaya <papoanaya aroba hot mail punto com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2012-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Nicolas Goaziou <n.goaziou@gmail.com>
|
||||
;; Keywords: org, wp, markdown
|
||||
;; Keywords: org, text, markdown
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2010-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Jambunathan K <kjambunathan at gmail dot com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
;; URL: https://orgmode.org
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;; Copyright (C) 2013-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Nicolas Goaziou <n.goaziou@gmail.com>
|
||||
;; Keywords: org, wp
|
||||
;; Keywords: org, text
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
;; Copyright (C) 2006-2024 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: David O'Toole <dto@gnu.org>
|
||||
;; Keywords: hypermedia, outlines, wp
|
||||
;; Keywords: hypermedia, outlines, text
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
;;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
;; Copyright (C) 2012-2024 Free Software Foundation, Inc.
|
||||
;; Author: Jonathan Leech-Pepin <jonathan.leechpepin at gmail dot com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
;; Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
||||
;; Maintainer: Ihor Radchenko <yantar92 at posteo dot net>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Keywords: outlines, hypermedia, calendar, text
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
||||
|
@ -6769,7 +6769,7 @@ use it to set a major mode there, e.g.,
|
|||
(interactive)
|
||||
(org-export-to-buffer \\='latex \"*Org LATEX Export*\"
|
||||
async subtreep visible-only body-only ext-plist
|
||||
#\\='LaTeX-mode))
|
||||
(major-mode-remap \\='latex-mode)))
|
||||
|
||||
When expressed as an anonymous function, using `lambda',
|
||||
POST-PROCESS needs to be quoted.
|
||||
|
|
Loading…
Reference in New Issue