Re: Using lexical-binding

2021-03-06 Thread Stefan Monnier
>> 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

Re: Using lexical-binding

2021-03-09 Thread Stefan Monnier
d-warnings (_warnings &rest body) > +(declare (debug (sexp &optional 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

Re: Using lexical-binding

2021-03-10 Thread Stefan Monnier
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

[PATCH] Prefer HTTPS to HTTP for links to gnu.org

2021-03-20 Thread Stefan Kangas
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

Re: [PATCH] Prefer HTTPS to HTTP for links to gnu.org

2021-03-21 Thread Stefan Kangas
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

[PATCH] Remove redundant #' around lambdas

2021-03-30 Thread Stefan Kangas
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)

Improving org-macro.el

2021-04-11 Thread Stefan Monnier
s sufficiently incomplete 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 previ

Re: Improving org-macro.el

2021-04-16 Thread Stefan Monnier
missed (I see in one of my tests failed 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

Re: Improving org-macro.el

2021-04-16 Thread Stefan Monnier
> 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 (&optional &rest x). So I suggest the patch below, Stefan di

[PATCH] Remove diary-list-entries Emacs 21 compat code

2021-04-16 Thread Stefan Kangas
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

More use of lexical-binding in ox.el

2021-04-19 Thread Stefan Monnier
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.

Re: More use of lexical-binding in ox.el

2021-04-27 Thread Stefan Monnier
varvals)) so that the 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

Re: More use of lexical-binding in ox.el

2021-04-28 Thread Stefan Monnier
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

[PATCH] Make org-load-hook obsolete

2021-05-07 Thread Stefan Kangas
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 Subje

Re: [wip-cite-new] Initial implementation of `csl' citation processor

2021-05-29 Thread Stefan Nobis
back-ends (like HTML and LaTeX) that it is for him to write custom Elisp to use exporter A for HTML and exporter B for LaTeX. -- Until the next mail..., Stefan.

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-01 Thread Stefan Nobis
. Therefore I 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.

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-01 Thread Stefan Nobis
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.

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-02 Thread Stefan Nobis
le with cleveref 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.

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-02 Thread Stefan Nobis
e the lessons learned from latexmk). -- Until the next mail..., Stefan.

Re: org-mode-map binds [tab]

2021-07-08 Thread Stefan Monnier
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

Re: A requires/provides approach to linking source code blocks

2021-07-09 Thread Stefan Nobis
. Because 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.

Re: org-mode export to (latex) PDF

2021-07-10 Thread Stefan Nobis
uot;booktabs" 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.

Re: org-mode export to (latex) PDF

2021-07-13 Thread Stefan Nobis
enerated (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.

Re: org-mode export to (latex) PDF

2021-07-14 Thread Stefan Nobis
even for a single 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.

Re: org-mode export to (latex) PDF

2021-07-16 Thread Stefan Nobis
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.

Re: org-mode export to (latex) PDF

2021-07-16 Thread Stefan Nobis
work out of the box without any kind of manual configuration. -- Until the next mail..., Stefan.

Re: org-cite: how to include a cite with no key?

2021-07-20 Thread Stefan Nobis
tion}, year=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.

[PATCH] Update some changed export keybindings [worg]

2021-08-24 Thread Stefan Kangas
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: B

Merging latest org-mode for Emacs 28.1

2021-09-06 Thread Stefan Kangas
[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 g

[PATCH] Various minor docfixes found by checkdoc

2021-09-16 Thread Stefan Kangas
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

[PATCH] Fix some typos

2021-09-16 Thread Stefan Kangas
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

Re: [PATCH] Fix some typos

2021-09-17 Thread Stefan Kangas
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.”

Re: [Worg] Proposing a few CSS changes

2021-09-26 Thread Stefan Nobis
se the browser 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.

Re: [Worg] Proposing a few CSS changes

2021-09-26 Thread Stefan Nobis
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.

Re: LaTeX export: grffile is a stub package

2021-09-28 Thread Stefan Nobis
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.

Re: Merging latest org-mode for Emacs 28.1

2021-09-28 Thread Stefan Kangas
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

Org uses obsolete `filter-buffer-substring-functions` variable

2024-11-02 Thread Stefan Kangas
Org uses the obsolete variable `filter-buffer-substring-functions'. This variable is likely due for deletion in Emacs 31.1. Usually, compatibility code looks for the new way of doing things, and then prefers that. But it seems like someone decided here to look for the old symbol instead, and pref

bug#48676: Arbitrary code execution in Org export macros

2025-02-07 Thread Stefan Kangas
Glenn Morris writes: > Package: emacs,org-mode > Version: 28.0.50 > Severity: important > Tags: security > > emacs -Q hello.org, where hello.org contains: > > #+macro: hello (eval (shell-command-to-string "touch /tmp/HELLO")) > Hello. {{{hello}}} > > Then: > M-x org-export-dispatch > t A > > -> n

Re: Org uses obsolete `filter-buffer-substring-functions` variable

2024-12-12 Thread Stefan Kangas
Ihor Radchenko writes: > Ihor Radchenko writes: > >> Feel free to either install the change on Emacs side or provide a patch >> for me to install on Org side. > > I converged your diff to a patch and installed it onto main branch. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id

Mapping language to mode

2024-11-17 Thread Stefan Monnier
Would the 100% untested patch below make sense? Stefan diff --git a/lisp/org/org-src.el b/lisp/org/org-src.el index 229bf62e1c0..1f0306a1f98 100644 --- a/lisp/org/org-src.el +++ b/lisp/org/org-src.el @@ -970,11 +970,14 @@ org-src-do-key-sequence-at-code-block (defun org-src-get-lang

Re: Mapping language to mode

2024-11-23 Thread Stefan Monnier
>> Would the 100% untested patch below make sense? >> ... >> +(if (fboundp 'major-mode-remap) >> +(major-mode-remap mode) >> + mode))) > > Thanks! > Applied, onto main, after adding proper commit message. Oh! Wonderful, thanks Ihor! Stefan

Org is using obsolete function `lisp-complete-symbol`

2025-01-20 Thread Stefan Kangas
Org mode is still using the obsolete function `lisp-complete-symbol`, but that function has been obsoleted in favor of `completion-at-point` in version 24.4. The attached diff is not meant to be installed, but to show where the problem is. The usual schedule for removing obsolete functions in Ema

Re: Org is using obsolete function `lisp-complete-symbol`

2025-02-18 Thread Stefan Kangas
Ihor Radchenko writes: > Applied, onto bugfix. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=50b33e2d55 Thanks! >>> -["Complete Lisp Symbol" lisp-complete-symbol t] >>> +["Complete Lisp Symbol" completion-at-point t] >> >> (The final `t' there is redundant and can be

Re: Org is using obsolete function `lisp-complete-symbol`

2025-02-16 Thread Stefan Kangas
Ihor Radchenko writes: > Stefan Kangas writes: > >> Org mode is still using the obsolete function `lisp-complete-symbol`, >> but that function has been obsoleted in favor of `completion-at-point` >> in version 24.4. The attached diff is not meant to be installed,

Re: Language support for C# in org-babel

2025-02-23 Thread Stefan Nobis
Ihor Radchenko writes: > Stefan Nobis writes: >> poverobuosodonati writes: >> [org-babel-csharp-target-framework] >>> I am a bit undecided whether or not it would make sense to expose this >>> as a header argument as I understand this to be rather "

Re: Language support for C# in org-babel

2025-02-23 Thread Stefan Nobis
n this case I think I would set org-babel-csharp-target-framework to nil as a default value (meaning to just use the defaults of .NET) but still provide an easy way to explicitly choose some version if needed. -- Until the next mail..., Stefan.

Re: [DISCUSSION] Setting LuaLaTeX as default when exporting to LaTeX/PDF

2025-04-02 Thread Stefan Nobis
: I like lualatex and use it exclusively for all my documents. But one drawback is performance. Compiling documents with lualatex is substantially slower than using pdflatex. -- Until the next mail..., Stefan.

[O] Problem with org-export to LaTeX and babel

2011-05-31 Thread Stefan-W. Hahn
+ (org-babel-execute-src-block nil info params) (provide 'ob-exp) it worked. But I'm not sure if my using of babel is correct and if yes, wheter the patch will do the right thing in all usings babel. (I'm just learn

[O] Fontification of org code block not printed

2014-07-28 Thread Stefan-W. Hahn
Hello, I'm using org-mode and have had some trouble with printing with faces, which has been solved in emacs. Currently I'm using the following version: commit 59b20d77aec5055417eeec039af84de88cda12b2 Author: Stefan Monnier Date: Mon Jun 30 22:25:52 2014 -0400 * lisp/ps-

Re: [O] Fontification of org code block not printed

2014-07-29 Thread Stefan-W. Hahn
8b42e8 I tested and it works as I expect. Thanks for your fast reply. With kind regards, Stefan -- Stefan-W. Hahn It is easy to make things. It is hard to make things simple.

[O] Order of drawers will be checked i nnew org version

2015-01-12 Thread Stefan-W. Hahn
Or is it a bug? In any case this breaks nearly all my org-files. With kinde regards, Stefan -- Stefan-W. Hahn It is easy to make things. It is hard to make things simple.

Re: [O] Order of drawers will be checked i nnew org version

2015-01-13 Thread Stefan-W. Hahn
org files everything worked well again. Stefan -- Stefan-W. Hahn It is easy to make things. It is hard to make things simple.

[O] Bug: C-c C-c does not handle dynamic blocks correctly [7.9.3d (release_7.9.3d-894-gfe805e)]

2013-01-27 Thread Stefan-W. Hahn
-element.el is not used; this version works like described in the manual wwith "#+END: clocktable".) My installation: Emacs : GNU Emacs 24.2.50.1 (i486-pc-linux-gnu, GTK+ Version 2.20.1) of 2012-10-13 on cw-bkp0, modified by Debian Package: Org-mode version 7.9.3d (release_7.9.3d-894-gfe805

[O] commit 4e864643 breaks org-return

2015-10-22 Thread Stefan-W. Hahn
Same for links in task headline or any other link. With kind regards, Stefan -- Stefan-W. Hahn It is easy to make things. It is hard to make things simple.

Re: [O] commit 4e864643 breaks org-return

2015-10-23 Thread Stefan-W. Hahn
Mail von Stefan-W. Hahn, Thu, 22 Oct 2015 at 18:57:08 +0200: Hello, > commit 4e864643bdb6bba3e000ea51fb746a26e40b1f77 > Author: Nicolas Goaziou > Date: Sun Oct 18 09:36:15 2015 +0200 > > changes the behaviour of org-return when positioned right after a link with > org-retur

Re: [O] commit 4e864643 breaks org-return

2015-10-23 Thread Stefan-W. Hahn
-point is, in my opinion, wrong in the same way because description says: "... When point is on a link, follow it." And being with cursor at x is obviously not "on a link". Any opinions from you or other org'ers? With kind regards, Stefan -- Stefan-W. Hahn It is easy to make things. It is hard to make things simple.

[O] Behaviour of org-open-at-point and org-return (was commit 4e864643 breaks org-return)

2015-10-25 Thread Stefan-W. Hahn
Mail von Stefan-W. Hahn, Sat, 24 Oct 2015 at 08:48:47 +0200: Hello, as I observed there is a change in behaviour of org-return from on commit 4e864643bdb6bba3e000ea51fb746a26e40b1f77 Author: Nicolas Goaziou Date: Sun Oct 18 09:36:15 2015 +0200 for timestamps, date ranges and any link. The

[O] Bug: commit 72c3f5e8e breaks diary-style sexp entries

2015-10-30 Thread Stefan-W. Hahn
(Not a standard Org-mode time string: %%(diary-float t 4 2))" 15 36 (org-category "test-date" fontified nil)) With kind regards, Stefan -- Stefan-W. Hahn It is easy to make things. It is hard to make things simple.

[O] [Bug] Named table columns not working anymore in table calc

2015-11-26 Thread Stefan-W. Hahn
table range specifier ‘$at’ when recalculating table. With kind regards, Stefan -- Stefan-W. Hahn It is easy to make things. It is hard to make things simple.

[O] [RFC/PATCH] org-tree-to-indirect-buffer name without tags

2016-01-06 Thread Stefan-W. Hahn
int) - heading (org-get-heading)) + heading (org-get-heading 'no-tags)) (org-end-of-subtree t t) (when (org-at-heading-p) (backward-char 1)) (setq end (point))) With kind regards, Stefan -- Stefan-W. Hahn It is easy to mak

Re: [O] [RFC/PATCH] org-tree-to-indirect-buffer name without tags

2016-01-06 Thread Stefan-W. Hahn
> Sounds good. Thank you. > > Could you send it using git format-patch, with an appropriate commit > message? If you haven't signed FSF papers, you'll need to add TINYCHANGE > at its end. Attached. With kind regards, Stefan -- Stefan-W. Hahn

Re: [O] when cursor is right after link Enter opens link

2016-06-22 Thread Stefan-W. Hahn
and solved in 21ba5f510ede30b74e8aa5878a659266ed21c25b Refuse to follow link right after the link Author: Nicolas Goaziou AuthorDate: Sat Oct 31 23:32:47 2015 +0100 Commit: Nicolas Goaziou CommitDate: Tue May 31 23:34:00 2016 +0200 With kind regards, Stefan -- Stefan-W. Hahn It is easy

Re: [O] Firefox 36 and Links

2015-03-01 Thread Stefan-W. Hahn
ew-window) "Linux version of firefox (>=v36.0) does not know the command \"-remote openURL(...)\". So act in linux as on windows and give just the requested URL as command line parameter." (let ((system-type 'windows-nt)) (apply orig-fun url new-

Re: [O] refiling with helm

2015-03-01 Thread Stefan-W. Hahn
ction for org-refile" (helm-completing-read-default-1 prompt collection predicate require-match initial-input hist def inherit-input-method "org-refile" nil t) ) (advice-add 'org-olpath-completing-read :around #'helm-refile-completing-read) #+END_SRC

Re: [O] refiling with helm

2015-03-01 Thread Stefan-W. Hahn
Mail von Stefan-W. Hahn, Sun, 01 Mar 2015 at 09:13:26 +0100: Hello, sorry, on addition: > > #+BEGIN_SRC elisp (setq org-completion-use-ido nil org-completion-use-iswitchb nil org-refile-use-outline-path nil org-completion-handler nil) > > (defun

Re: [O] refiling with helm

2015-03-04 Thread Stefan-W. Hahn
Mail von Kyle Meyer, Sun, 01 Mar 2015 at 11:17:47 -0500: > "Stefan-W. Hahn" wrote: > So, given the default values, I think the only setup needed to get > generic helm completion is > > (setq org-outline-path-complete-in-steps nil) > > (require &#x

Re: [O] Why navigating in Org mode is so slow in overview mode?

2015-06-28 Thread Stefan-W. Hahn
Mail von Q, Wed, 17 Jun 2015 at 00:51:02 +: Hello, according to emacs bug#16803 I'm using toggle-cache-long-scans in my org-files. Best (first line in org-file): -*- eva: (toggle-cache-long-scans); -*- Greetings Stefan -- Stefan-W. Hahn It is easy to make t

[O] Problem with org-bibtex-read with fields type, key

2014-02-21 Thread Stefan-W. Hahn
ean-space (funcall strip-delim (cdr pair) | ... ` Seems to be because of the conversation of "=type=" and "=key=". Am I the only person having problems with it? Is there some advice? With kind regards, Stefan -- Stefan-W. Hahn It is easy to make t

[O] [PATCH] Org-bibtex: checking string length in org-bibtex-read before using aref

2014-02-21 Thread Stefan-W. Hahn
Good afternoon, I have a problem with org-bibtex function org-bibtex-read if I have an empty field in a bibitem like this: @article(test, description = "") In this case the "aref" gives an exception. I would like to suggest the attached following fix. With kind regards,

Re: [O] Problem with org-bibtex-read with fields type, key

2014-03-21 Thread Stefan-W. Hahn
h kind regards, Stefan -- Stefan-W. Hahn It is easy to make things. It is hard to make things simple.

Re: [O] [RFC] Problem with org-bibtex-read with fields type, key

2014-03-23 Thread Stefan-W. Hahn
Clarifying description of Patch 5 is just a documentation clarification. Looking forward of some comments. With kind regards, Stefan

[O] [PATCH 1/5] org-bibtex.el (org-bibtex-read): Split in two functions for internal use

2014-03-23 Thread Stefan-W. Hahn
* org-bibtex.el (org-bibtex-read): Organize `org-bibtex-read' function into two functions, so that it can be used by other functions without storing the result in `org-bibtex-entries'. TINY CHANGE Signed-off-by: Stefan-W. Hahn --- lisp/org-bibtex.el | 28 --

[O] [PATCH 3/5] org-bibtex.el: Replace double used fieldnames ":key" and ":byte".

2014-03-23 Thread Stefan-W. Hahn
they get renamed to ":bibkey" and ":bibtype" respectively. TINY CHANGE Signed-off-by: Stefan-W. Hahn --- lisp/org-bibtex.el | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lisp/org-bibtex.el b/lisp/org-bibtex.el index 4fd1153..b4b707a 100644

[O] [PATCH 4/5] org-bibtex.el: Change property names in `org-bibtex-store-link' API.

2014-03-23 Thread Stefan-W. Hahn
erty is ":bibkey". To be consistent the property ":btype" is renamed to ":bibtype". TINY CHANGE Signed-off-by: Stefan-W. Hahn --- lisp/org-bibtex.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/org-bibtex.el b/lisp/org-bibtex.el

[O] [PATCH 2/5] org-bibtex.el: Use `org-bibtex-read-internal' in `org-bibtex-store-link'

2014-03-23 Thread Stefan-W. Hahn
* org-bibtex.el (org-bibtex-store-link): To have the same conversion, especially removing of {{...}}, of a bibtex entry use `org-bibtex-read-internal' in `org-bibtex-store-link'. TINY CHANGE Signed-off-by: Stefan-W. Hahn --- lisp/org-bibt

[O] [PATCH 5/5] org-bibtex.el: Clarifying description of `org-bibtex-type-property-name'.

2014-03-23 Thread Stefan-W. Hahn
* org-bibtex.el: Clarifying description of `org-bibtex-type-property-name'. TINY CHANGE Signed-off-by: Stefan-W. Hahn --- lisp/org-bibtex.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/org-bibtex.el b/lisp/org-bibtex.el index d8ab649..7e1d8da 100644 --- a

[O] Bug?: Performance problem when loading file

2016-10-07 Thread Stefan-W. Hahn
1 0.005703614 0.005703614 .. Question: Is there a bug in org-element or is this behaviour intended? With kind regards, Stefan -- Stefan-W. Hahn It is easy to make things. It is hard to make things simple.

[O] Bug: org-export-to-buffer throws error if buffer is empty or contains empty lines only [9.0 (release_9.0-6-gf56456)]

2016-11-19 Thread Stefan-W. Hahn
(setq buffer-file-coding-system encoding) --> (insert output) (goto-char (point-min)) (and (functionp post-process) (funcall post-process))) (when org-export-show-temporary-export-buffer (switch-to-buffer-other-window buffer)) buffer))) #+END_SRC In the explained

[O] [RFC] Preserving text-properties when moving columns in org-table

2016-12-06 Thread Stefan-W. Hahn
(match-beginning 2) (match-end 2 (forward-line))) (set-marker end nil) (org-table-goto-column colpos) #+END_SRC Moving rows with org-table-move-row preserves the text-properties and is therefore ok. With kind regards, Stefan

[O] Versioning of worg content

2017-01-06 Thread Stefan-W. Hahn
Hello, is their a defined proceeding of how to cope with incompatible changes of org-mode in the examples at orgmode.org/worg? Just stumbled about examples for org-agenda where org-agenda-ndays is still used when I already using org 9.1 where the alias is removed. With kind regards Stefan

[O] Bug: Preserve text-properties of cells when moving column in org-table

2017-02-12 Thread Stefan-W. Hahn
-properties when moving columns in org-tables. The patch is as follows (based on) commit 1aeb958e5660879ccd865e8147117db50251eda7 Commit: Marco Wahl CommitDate: Sun Feb 12 09:19:06 2017 +0100 From 0a60d9857cede915d9c025ab2bab7e7d95d583b4 Mon Sep 17 00:00:00 2001 From: "Stefan-W. Hahn" Dat

[O] Bug: finding close tasks has infinite loop [9.0.5 (release_9.0.5-433-ge65be5 @ /home/hs/.emacs.d/git/org-mode/lisp/)]

2017-04-07 Thread Stefan-W. Hahn
Hello, when searching all closed tasks which are closed one month ago and before I use following custom agenda: #+BEGIN_QUOTE ("Uc" "Closed -1 month" ( (tags "+CLOSED<\"<-1m>\"-TODO=\"CANCELLED\"-TODO=\"NOTE\"" ((org-use-tag-inheritance nil))) ) ((org-agenda-o

Re: [O] Bug: finding close tasks has infinite loop [9.0.5 (release_9.0.5-433-ge65be5 @ /home/hs/.emacs.d/git/org-mode/lisp/)]

2017-04-12 Thread Stefan-W. Hahn
Mail von Stefan-W. Hahn, Fri, 07 Apr 2017 at 09:39:30 +0200: Hello, I tried an instrumented version with code below and got an hint where the time get consumed. > #+BEGIN_QUOTE > ** DONE Task > :@status: > CLOSED: [2

[O] Bug: buffer local variables handled wrong [9.0.5 (release_9.0.5-497-g5bc540 @ /home/hs/.emacs.d/lib/org-mode/lisp/)]

2017-06-03 Thread Stefan-W. Hahn
n (and (symbolp name) +(not (memq name org-unique-local-variables)) +(or (null regexp) (string-match regexp (symbol-name name + (set (make-local-variable name) (cdr pair))) ;;;###autoload (defun org-run-like-in-org-mode (cmd) With kind regards,

Re: [O] Bug: buffer local variables handled wrong [9.0.5 (release_9.0.5-497-g5bc540 @ /home/hs/.emacs.d/lib/org-mode/lisp/)]

2017-06-03 Thread Stefan-W. Hahn
- here name get expanded to (cdr (cdr pair)). For me both cases don't look correct or do I missinterpret something? With kind regards, Stefan -- Stefan-W. Hahn It is easy to make things. It is hard to make things simple.

Re: [O] Bug: buffer local variables handled wrong [9.0.5 (release_9.0.5-497-g5bc540 @ /home/hs/.emacs.d/lib/org-mode/lisp/)]

2017-06-04 Thread Stefan-W. Hahn
Mail von Nicolas Goaziou, Sun, 04 Jun 2017 at 09:19:09 +0200: Good morning again, > Hello, > > "Stefan-W. Hahn" writes: > > > For me both cases don't look correct or do I missinterpret something? > > No, you're right. I fixed it. Thank you. I l

Re: [O] Bug: buffer local variables handled wrong [9.0.5 (release_9.0.5-497-g5bc540 @ /home/hs/.emacs.d/lib/org-mode/lisp/)]

2017-06-04 Thread Stefan-W. Hahn
Mail von Nicolas Goaziou, Sun, 04 Jun 2017 at 10:24:57 +0200: Hello, > "Stefan-W. Hahn" writes: > > > I looked at it, but sorry, I think this also is not right, it expands to: > > > > Both looking wrong for me. Sorry. > > What do you think is wr

Re: [O] Bug: buffer local variables handled wrong [9.0.5 (release_9.0.5-497-g5bc540 @ /home/hs/.emacs.d/lib/org-mode/lisp/)]

2017-06-04 Thread Stefan-W. Hahn
Mail von Nicolas Goaziou, Sun, 04 Jun 2017 at 11:35:34 +0200: Hello, > "Stefan-W. Hahn" writes: > > > What I don't understand is, if I expand the pcase with (macrostep-expand) I > > get the following: > > > > , > > | (let (r

Re: [O] org-link-minor-mode.el broken by recent org maint

2017-06-15 Thread Stefan-W. Hahn
Mail von Samuel Wales, Wed, 14 Jun 2017 at 12:35:42 -0700: > On 6/8/17, Stefan Hahn wrote: > > Please see: > > > > https://github.com/swhahn/org-link-minor-mode > > this looks great! thanks! Thank you. > > getting compilation issues: > > In org-link-

[O] Bug: org-store-link gives lisp error "wrong-type-argument" [9.1.3 (release_9.1.3-171-gb6df86)]

2018-01-18 Thread Stefan-W. Hahn
ts-alist) nil t (symbol-name name)) results-alist))) t (setq link (plist-get org-store-link-plist :link)) #+end_src With kind regards, Stefan Emacs : GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2017-1

[O] DONE items skipped in org-map-entries

2016-08-27 Thread Stefan van der Walt
Dear org-mode developers, For a while now, I've been using the solution to the following StackOverflow question to archive all done subitems: http://stackoverflow.com/a/27043756/214686 (I've repeated the question and answer below, for completeness.) A few months ago, I noticed that the given so

Re: [O] DONE items skipped in org-map-entries

2016-08-29 Thread Stefan van der Walt
Hi Nicolas On Sun, Aug 28, 2016, at 15:15, Nicolas Goaziou wrote: > I'm not able to reproduce the issue. I tried with the following document > > ** DONE Foo > *** Bar > > with point anywhere on the first line, `org-count' displays "entries 2". Thank you; your reply led me to inspect my emac

Export of deadline status via ~org-batch-agenda-csv~

2022-01-13 Thread Stefan van der Walt
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~ val

Re: org-timer: let done hook access time, allow silencing notification

2025-01-11 Thread Stefan van der Walt
On Sat, Jan 11, 2025, at 09:17, Ihor Radchenko wrote: > "Stefan van der Walt" writes: > >> I have two small improvement suggestions for org-timer, and would like to >> hear your thoughts. >> >> 1. I use org-timer to run pomodoro-style clocks. When the time

org-timer: let done hook access time, allow silencing notification

2025-01-10 Thread Stefan van der Walt
Hi all, I have two small improvement suggestions for org-timer, and would like to hear your thoughts. 1. I use org-timer to run pomodoro-style clocks. When the timer finishes, I would like to generate a log entry. It would be helpful to be able to access the duration of the clock; however, in

<    1   2   3   4   5   6