cs recommendations).
Please see the attached.
From cdd375813263250fd39be9888b3d0a68d9ba0063 Mon Sep 17 00:00:00 2001
From: Stefan Kangas
Date: Sun, 26 Sep 2021 09:44:29 +0200
Subject: [PATCH] Prefer "website" to "homepage"
Emacs now advises using "website" (instead of "
this.
From 68d4a3760535666fc69534a6f79ec3501626695f Mon Sep 17 00:00:00 2001
From: Stefan Kangas
Date: Fri, 24 Jun 2022 19:16:30 +0200
Subject: [PATCH] Avoid treating a number as an enum in manual
* doc/org-manual.org (The Agenda Dispatcher): Avoid treating
number as enum.
---
doc/org-manual.org | 4 ++--
1 file changed, 2 insert
I found the docstrings of the agenda date navigation commands to be
somewhat lacking. The attached patch expands them slightly and adds
crossreferences, which I think makes them much more usable. Thanks.
0001-Improve-docstrings-of-agenda-date-navigation-command.patch
Description: Binary data
Ihor Radchenko writes:
> > ... Emacs was recently
> > updated to list the "URL" header comment before "Homepage".
>
> Could you please point out to the relevant discussion?
This was uncontroversial so not really discussed, but see:
er comment before "Homepage".
Please see the attached patch.
From 56ffe1256c4bdcc48d465c536c5bedcdb94d341e Mon Sep 17 00:00:00 2001
From: Stefan Kangas
Date: Sun, 26 Sep 2021 09:44:29 +0200
Subject: [PATCH] Prefer "website" to "homepage"
These days, a "
Ihor Radchenko writes:
> Stefan Kangas writes:
>
> > The attached patch removes some compat code for XEmacs, and Emacs 21/22.
>
> Thanks! And sorry for the late reply.
> The patch does not apply onto current main anymore.
> Would you mind updating the patch?
Pleas
to-integer time)
Instead of rounding the times to whole seconds, wouldn't it make more
sense to check that the difference is larger than 1s?
Stefan
ypically because of some
old and unmaintained package).
[ The same might happen with `cl.el`. ]
Stefan
ster`), so I think you
should be good at least until 2030.
Stefan
The patch below gets rid of the old `defadvice`, replacing it with `advice-add`.
It also includes some FIXMEs about things I found along the way which
look suspicious (they're not directly related to the patch, tho, nor
are they affected by it AFAICT).
Stefan
2022-03-31 Stefan Monnier
> I pushed this to the development branch 'main' of Org.
Perfect, thanks,
Stefan
Here's a patch which cleans up some magic numbers in
`org-attach.el` and gets rif of the use of the second arg of `commandp`,
by making `org-attach-commands` accept any commands (including keyboard
macros).
Stefan
diff --git a/lisp/org/org-attach.el b/lisp/org/org-attach.el
index
Hi all,
I am trying to process all of my TODOs in a script, and therefore use
~org-batch-agenda-csv~ to export them to CSV.
I am running into two problems:
1. It seems to be impossible to get deadline/schedule information for tasks
that have been marked as DONE and
2. There exists a ~type~
The attached patch removes some compat code for XEmacs, and Emacs 21/22.
From 5c3e92a1419c27f79c2cb7a47af55dfd846357fa Mon Sep 17 00:00:00 2001
From: Stefan Kangas
Date: Sun, 26 Sep 2021 21:29:25 +0200
Subject: [PATCH] Remove XEmacs and ancient Emacs compat code
* lisp/ox-html.el (org-html
Just try to change this part so that instead of
jumping, a link is inserted at the proper place (that's the part my
function `sn/org-insert-internal-link-action' is responsible for).
Maybe someone with more knowledge about helm might help you with a
complete solution.
--
Until the next mail...,
Stefan.
Juan Manuel Macías writes:
> In Org 9.5 there is a new variable `org-latex-reference-command'.
Thanks for the reminder! I once read about it, but forgot to use it
after upgrading to 9.5. :)
--
Until the next mail...,
Stefan.
rsion
(goto-char (cdr x))
(call-interactively 'org-store-link))
(org-insert-last-stored-link 1)
(delete-char -1))
#+end_src
--
Until the next mail...,
Stefan.
een in [[*Intro]] there is not much to say.
#+end_src
--
Until the next mail...,
Stefan.
; useless in the case of export to HTML or ODT file.
Remember, as Nicolas said, the alternative to \[...\] is not a
"#+begin_export" block, but
\begin{equation*}
...
\end{equation*}
--
Until the next mail...,
Stefan.
> two separate lists today. Maybe, for simplicity, it would be better
> to unify the two lists in a single db, something like
> `org-latex-language-alist'. What do you think?
+1
--
Until the next mail...,
Stefan.
ing to a single paragraph and separate
paragraphs)?
--
Until the next mail...,
Stefan.
d the \begin{equation*}...\end{equation*} block). I'm
undecided. :)
But thanks for your explanations!
--
Until the next mail...,
Stefan.
your arguments for the change.
Currently, I also do not really see why this attribute value (just a
string if the integer case is forbidden) will make the Org syntax more
complex.
--
Until the next mail...,
Stefan.
block element?
--
Until the next mail...,
Stefan.
Hi org-mode,
Stefan Kangas writes:
> As a heads up, Emacs is getting ready to cut the emacs-28 branch in
> preparation of the upcoming release of Emacs 28.1:
>
> https://lists.gnu.org/archive/html/emacs-devel/2021-07/msg00812.html
>
> It would be good if we could mer
abel" t ("pdflatex" "lualatex"))
("AUTO" "polyglossia" t ("xelatex"))
Then, for math it may be nice to substitute "amsmath" with "mathtools"
and for lualatex and xelatex add something like this:
("warnings-off={mathtools-colon,mathtools-overbracket}" "unicode-math" t
("lualatex" "xelatex"))
What do you think?
--
Until the next mail...,
Stefan.
ugh to support different user choices as good as possible.
BTW: I like your design for the Org homepage. My thoughts should only
be seen as a very light weight on Adams side when trying to balancing
the scale of the multitude of styling choices. :)
--
Until the next mail...,
Stefan.
wser settings, many
pages will be next to unreadable - the layout breaks down, if the
wrong fonts/sizes are used.
Therefore I support Adams wish to honor the configuration of users.
The web should be more seen as a documentation system, not an
installation of art.
--
Until the next mail...,
Stefan.
Marco Wahl writes:
> Thy nittpicker!
“This above all: to thine own self be true,
And it must follow, as the night the day,
Thou canst not then be false to any man.”
Please find attached another clean-up patch that fixes a small number of
typos.
From 2619a525d025a8d4359cff440264c1fd3e9581c8 Mon Sep 17 00:00:00 2001
From: Stefan Kangas
Date: Thu, 16 Sep 2021 21:58:35 +0200
Subject: [PATCH] ; Fix some typos
---
doc/org-manual.org | 4 ++--
etc/ORG-NEWS
The attached patch cleans up some style errors in docstrings and
comments that were found by checkdoc.
From 655c099b10d542207493580115789f3cbeb8b064 Mon Sep 17 00:00:00 2001
From: Stefan Kangas
Date: Thu, 16 Sep 2021 12:32:43 +0200
Subject: [PATCH] ; Various minor docfixes found by checkdoc
[Cross-posted to orgmode-emacs and emacs-devel. Please use "Reply to all".]
Hi org-mode,
As a heads up, Emacs is getting ready to cut the emacs-28 branch in
preparation of the upcoming release of Emacs 28.1:
https://lists.gnu.org/archive/html/emacs-devel/2021-07/msg00812.html
It would be
The attached patch fixes some incorrect keybindings in worg.
I'd recommend that someone takes a look at all the "C-c C-e ..."
keybindings, as there are some that I was unsure about, and may still
be incorrect even after this patch.
0001-Update-some-changed-export-keybindings.patch
Description:
r=1984}) and cite it as any other
item.
Or use a macro if you want such comments to be easily
searchable/changeable.
--
Until the next mail...,
Stefan.
work out of the box without any kind of manual
configuration.
--
Until the next mail...,
Stefan.
te often and it is not easy for font
developers to keep up. I still think that the expectation, that Org
and/or LaTeX will support the whole Unicode range out of the box is a
little bit too far fetched.
--
Until the next mail...,
Stefan.
le script.
But maybe we could assemble a list of good (enough) fonts for
different languages/scripts and provide a default setup in Org for
LaTeX export, that sets a proper font for the chosen document
language?
--
Until the next mail...,
Stefan.
ed (if
not overriden with an explicit set choosen by the user). But a full
fledged multi-language solution, that supports more than just latin
and russion may be quite a challenge.
--
Until the next mail...,
Stefan.
ot; t)
("" "hyperref" nil)
"\\tolerance=1000"))
--8<---cut here---end--->8---
To switch e.g. to lualatex (and e.g. use latexmk for compiling), I
use:
--8<---cut here---start->8---
(setq org-latex-compiler "lualatex")
(setq org-latex-bib-compiler "biber")
(setq org-latex-pdf-process '("latexmk -f -pdf -%latex -outdir=%o %f"))
--8<---cut here---end--->8---
--
Until the next mail...,
Stefan.
in the end you need quite a good
understanding of the final order of the blocks or else maintaining the
implicit order via require/provide will also get out of hand.
I also second Tims concerns about the additional complexity and
feature creep.
--
Until the next mail...,
Stefan.
d "") #'outline-cycle-buffer))
>map)
> "Keymap used by `outline-mode-map' and `outline-minor-mode-cycle'.")
Very much so, indeed, thanks.
I just pushed that change to `master`.
Stefan
ons learned
from latexmk).
--
Until the next mail...,
Stefan.
and varioref where floats/references are put on one page
in one run and another page in the following run) - and in these cases
creating the PDF may take a bit longer due to the maximum of 5
(instead of only 3) runs.
Hope that helps a little bit.
--
Until the next mail...,
Stefan.
xmk
is available and works (e.g. trying to call "latexmk --version") and
falls back to the old routine of manually running the engine and
bibtex/biber if necessary.
--
Until the next mail...,
Stefan.
would tend to use this call:
"latexmk -f -pdf -%latex -outdir=%o %f"
All other aspects of latexmk should be configured via config file
(IMHO).
> In any case, whatever the command is, clearly it should.
Yes, I would also recommend latexmk (it may also speed up PDF
generation, because in quite some cases a single or two passes suffice
and latexmk is quite good in detecting these cases).
--
Until the next mail...,
Stefan.
t it is for him to write custom Elisp to use exporter A for
HTML and exporter B for LaTeX.
--
Until the next mail...,
Stefan.
In Emacs, we have made all the `foo-load-hook' variables obsolete in
favor of `with-eval-after-load'. The attached patch does the same for
org-mode.
From dcf7bfa11a2d27ca9fd44d8fd11440e033b2c567 Mon Sep 17 00:00:00 2001
From: Stefan Kangas
Date: Fri, 7 May 2021 14:50:48 +0200
Subject: [PATCH
outside the `dolist` (it's the thing we
>> want to return to store it in the outer `varvals` variable).
>
> Indeed. I couldn't spot this.
Yes, I tried to make it discrete.
Sadly, your test suite wasn't fooled,
Stefan
final `varvals` is outside the `dolist` (it's the thing we
want to return to store it in the outer `varvals` variable).
Sorry 'bout that,
Stefan
Here's another patch to remove some more use of the old dynamically
scoped dialect of ELisp.
Stefan
* lisp/ox.el: Fix various uses of the non-lexical-binding ELisp dialect.
(org-export--get-global-options, org-export-insert-default-template):
Use lexical-binding.
(org
Please find attached a small cleanup patch to org-agenda.el.
From 16224c9730fe2403d280fc3390ed700ce39c00ae Mon Sep 17 00:00:00 2001
From: Stefan Kangas
Date: Sat, 17 Apr 2021 01:45:31 +0200
Subject: [PATCH] Remove diary-list-entries Emacs 21 compat code
* lisp/org-agenda.el (org-get-entries-from
> I mentioned it in the ORG-NEWS file, and applied your changes. We'll see
> how it goes.
I just saw that it burps in Emacs-26 because of a bug when functions are
declared with 0 optional arguments like ( x).
So I suggest the patch below,
Stefan
diff --git a/lisp/org-macro.el
ailed to catch it just because `concat`
treats nil and "" in the same way).
> I mentioned it in the ORG-NEWS file, and applied your changes. We'll see
> how it goes.
Great, thanks.
BTW, macros of the form
#+macro FOO (lambda ...)
would lead to much simpler code on `org-macro.el` ;-)
Stefan
that both the old and
the new semantics satisfy it.
WDYT?
Stefan
diff --git a/lisp/org/org-macro.el b/lisp/org/org-macro.el
index f914a33d61..1508a2f647 100644
--- a/lisp/org/org-macro.el
+++ b/lisp/org/org-macro.el
@@ -90,6 +90,17 @@ org-macro--set-template
previous one, unless VALUE
Please find attached a minor cleanup patch.
From 7fcad2bd12ea1833db72494e799df64a5576c6fa Mon Sep 17 00:00:00 2001
From: Stefan Kangas
Date: Tue, 30 Mar 2021 16:19:06 +0200
Subject: [PATCH] Remove redundant #' around lambdas
* contrib/lisp/org-choose.el (org-choose-get-highest-mark-index)
(org
Kyle Meyer writes:
> Pushed (8cc992f7b).
Thanks. Here's a followup patch that converts most remaining http-links
to https. All of them have been manually tested to avoid breakage.
From 0f5a6cd7dcd540daf529a23da6a59a31f2723e87 Mon Sep 17 00:00:00 2001
From: Stefan Kangas
Date: Sun, 21
The attached patch updates all links to gnu.org to use https instead of
http. (Such a change was made in Emacs itself already in 2017.)
From b68b11fcb6d840fdc9046c4b8ddee34e28665f72 Mon Sep 17 00:00:00 2001
From: Stefan Kangas
Date: Sat, 20 Mar 2021 08:27:57 +0100
Subject: [PATCH] Prefer HTTPS
Thanks.
So now, I'm just waiting for that code to make its way to Emacs's
`master` branch (which I guess first means to make its way to an Org
release, so I had better find something else to do in the mean time).
Stefan
exp body)) (indent 1))
> +`(progn ,@body)))
Note that all the uses I introduced of `with-suppressed-warnings` only
wrap a very small amount of code, so you could also replace them with
`with-no-warnings` (added back in Emacs-22).
Stefan
>> Should I send a rebased patch for inclusion
> Yes, please.
Here it is,
Stefan
>From ba61c9660fc09321f9dfe5f746705f5d1202c474 Mon Sep 17 00:00:00 2001
From: Stefan Monnier
Date: Tue, 23 Feb 2021 15:47:29 -0500
Subject: [PATCH] * lisp/org-agenda.el: Use lexical-binding
Should I send a rebased patch for inclusion or do you want to give more
time for people to try it out?
Stefan
also drop the `condition-case` in `org-diary-default-entry`
because that change in calling convention is even older than the change
of name from `add-to-diary-list` to `diary-add-to-list`.
Stefan
doesn't do the right thing any
more", or (even better) actual feedback about the code itself and the
approach(es) I chose to use.
Stefan
- Removed the global (defvar date) and (defvar entry) so as not to
conflict with function arguments of that name. Instead I added such
`defva
ion "9.5-dev-g2512fd"))
org-git-version))
Thanks,
Stefan
:00 2001
From: Stefan Kangas
Date: Tue, 2 Feb 2021 16:35:48 +0100
Subject: [PATCH] Remove Emacs 21 compat code for bookmark-after-jump-hook
* lisp/org-compat.el (bookmark-after-jump-hook): Remove Emacs 21
compat code.
---
lisp/org-compat.el | 9 +
1 file changed, 1 insertion(+), 8
I'm trying to reduce the number of files in the Emacs source tree where
lexical-binding is nil. It would be nice if we could fix org-version.el
and org-install.el, like in the attached patch.
Thanks in advance.
From c1d8378074bde48528943b36b38cbb5b3c058b21 Mon Sep 17 00:00:00 2001
From: Stefan
this?
--
Until the next mail...,
Stefan.
ease
version is extracted, so I'm not sure how to fix it.
The approach I'd advocate would be to use `package-get-version` (or
something similar since `package-get-version` doesn't exist in
Emacs<27).
Stefan
o use it (despite
all the shiny sparkling GUI and web-based tools out there).
--
Until the next mail...,
Stefan.
verything? Of course not.
But they are *very* powerful and Emacs + Org + Calc is able to replace
Spreadsheets in many situation and that solution may even be superior
in the long run.
--
Until the next mail...,
Stefan.
org-table-import.
There's also a `csv-mode` in GNU ELPA.
Stefan
> The EmacsConf 2020 videos are now ready. Thanks to everyone who helped
> make it happen!
Wow! I've been too busy with other things to pay attention to
EmacsConf-2020 but the program looks terrific, thank you very much for
organizing it.
Stefan "downloading some videos"
Neil Jerram writes:
>> I've been working on removing redundant `function' around `lambda' in
>> Emacs core,
>
> I'm slightly curious about the history and reasoning around this. If I
> understand correctly, (lambda ...) on its own has always worked, and it's
> never been strictly necessary to
Lennart Borgman writes:
> On Sun, Nov 28, 2010 at 8:01 PM, Stefan Monnier
> wrote:
>>> Could we please add a replacement for 'htmlize-region-for-past using
>>> htmlfontify?
>>
>> I don't know what is "htmlize-region-for-past(e?)". Care to
Kyle Meyer writes:
> All these look good to me except this unrelated whitespace change, which
> actually touches the change ported from your 61dca6e92a (Don't quote
> lambdas in several places, 2020-11-14) in the Emacs repo.
I must have included that part by mistake, sorry about that.
> Org
From: Stefan Kangas
Date: Tue, 17 Nov 2020 17:35:49 +0100
Subject: [PATCH] Remove redundant 'function's around lambda
* contrib/lisp/org-secretary.el (join):
* contrib/lisp/ox-taskjuggler.el (org-taskjuggler-project-plan):
* lisp/org-clock.el (org-resolve-clocks):
* lisp/org-element.el (org-element
u cannot have the cookie and eat it!
So, everyone, please calm down and try not to overreact over really
simple, negligible details.
--
Until the next mail...,
Stefan.
rther when I have a bit more time. For now please assume
this issue as resolved. :)
--
Until the next mail...,
Stefan.
h some script from a CDN (maybe loaded partially due to
constraints from the plugin) or something like that.
--
Until the next mail...,
Stefan.
I have a task sheduled like that:
* TODO Order from a delivery service
SCHEDULED: <2020-10-06 Di .+2w>
So if I understand the resheduling correctly if I miss the task, it
get's resheduled 2 weeks later (probably deadline would be better here)?
But the delivery service delievers weekly I just
I think that is what I also had inn mind, but I care more about the
resheduling part, wouldn't that work with sheduling it on day x and then
have a deadline day x+1?
thu...@arcor.de (Thomas Plass) writes:
> Hi subscribers,
>
> can multiday timestamp ranges be made repeatable? Case in point: I'd
ail...,
Stefan.
n create garbage with
any kind of software. :)
--
Until the next mail...,
Stefan.
atex_header:
\usepackage{booktabs}" or remove the ":booktabs t" part.
--
Until the next mail...,
Stefan.
the Koma script classes (that I use nearly
exclusively) - when I... consider to use this style of marking
paragraphs. :)
--
Until the next mail...,
Stefan.
t;mail style" marking of paragraphs in longer texts
(reports etc.) where the usual "book style" would be much more
friendly to at least my eyes. Just be aware of the options and try to
find a style that is pleasant to most of your readers. :)
--
Until the next mail...,
Stefan.
rectly.
But otherwise I second your recommendation to not use this style of
marking paragraphs if not absolutely required.
--
Until the next mail...,
Stefan.
ls to really judge this).
--
Until the next mail...,
Stefan.
different global
settings).
For more details on what can be configured see
https://orgmode.org/manual/Exporting.html#Exporting. The options there
are mostly presented as in-document settings but most if not all of
them may also be set in some way globally via Emacs init.
--
Until the next mail...,
Stefan.
t to speed up creating simple, small
documents. I customized some aspects once globally and have to type
less (but still know LaTeX and sprinkle a few fine-tunings here and
there). So sometimes I view Org as a kind of very flexible LaTeX
template engine. :)
--
Until the next mail...,
Stefan.
Emanuel Berg via "General discussions about Org-mode."
writes:
> Stefan Nobis wrote:
>> (setq org-link-descriptive nil)
> I don't have org-link-descriptive, it seems...
No problem, the old name is =org-descriptive-links= (this name has
been deprecated in Org 9.3, b
ble that can be
set globally to the desired start value).
--
Until the next mail...,
Stefan.
the next mail...,
Stefan.
nvironment "en_US.UTF-8")
#+end_src
You can check what locale Emacs is using by inspecting the variables
`current-language-environment', and especially `system-time-locale'
(for the case that LC_TIME is set differently than other locale
settings).
--
Until the next mail...,
Stefan.
bly either install a recent version
of Org mode or wait until it is packaged and released with Emacs 28.
I'm therefore closing the Emacs bug now.
Best regards,
Stefan Kangas
ll you rebind the key?
Thanks.
Best regards,
Stefan Kangas
Kyle Meyer writes:
> nitpick: Could you update the docstring to explicitly mention STR and to
> describe NEGATE?
Fixed in the attached patch.
> Thanks for the patch.
Thanks for reviewing.
Best regards,
Stefan Kangas
From 5a9a7d810e174dfad30a6ec657b39cbe83879f94 Mon Sep 17 00:00:00
lved doing more of the heavy lifting
manually using org-agenda-filter-apply.
Best regards,
Stefan Kangas
From 83e67c647d4bfd3e30f8e6e96e77a4192e10f898 Mon Sep 17 00:00:00 2001
From: Stefan Kangas
Date: Thu, 21 May 2020 07:24:49 +0200
Subject: [PATCH] New function org-agenda-filter-set
* lisp/org
Detlef Steuer writes:
> I would go as far as saying *this list* is one of the fastest
> reacting amd friendliest communities I have been part of. The job
> Nicolas does is just awesome.
+1!
--
Until the next mail...,
Stefan.
+ ,@body
> + (,mode (if old-state 1 0
This should probably use `unwind-protect` in case `body` exits
non-locally.
[ And also, for buffer-local minor modes, we should try and be careful
to restore the mode in the same buffer, tho this can be pushed as
a responsability of `body`. ]
Stefan
101 - 200 of 562 matches
Mail list logo