org-clock idle time in pgtk Emacs

2022-05-24 Thread Julien Cubizolles
org-clock checks for the 'x window-system in order to use the program set up by org-clock-x11idle-program-name. Recent Emacs versions use the 'pgtk instead of 'x and as such will default to using org-emacs-idle-seconds in org-user-idle-seconds. The following patch provides a crude workaround. I'm

Re: org-clock idle time in pgtk Emacs

2022-05-24 Thread Tim Cross
Julien Cubizolles writes: > org-clock checks for the 'x window-system in order to use the program > set up by org-clock-x11idle-program-name. Recent Emacs versions use the > 'pgtk instead of 'x and as such will default to using > org-emacs-idle-seconds in org-user-idle-seconds. > I"m not sure

Re: Default attributes for images in beamer export

2022-05-24 Thread edgar
On 2022-05-23 10:59, Timothy wrote: Hi Eric, But given that you also want to keep the aspect ratio, I am curious as to why you would need/want to specify both? Just on this, the `keepaspectratio' option of `graphicx' could be relevant here. All the best, Timothy Thanks. Yes, I think that

Re: re-scanning bibliography for org-cite

2022-05-24 Thread Eric S Fraga
On Wednesday, 3 Nov 2021 at 17:21, Nicolas Goaziou wrote: > oc-basic relies on a cache. The cache key contains a hash of the > contents of the bib file. So whenever the bib file is modified, the > cache is invalidated, and oc-basic parses again the file. > > IOW, rescanning happens automatically i

Re: problem with unwanted strikeout in src blocks

2022-05-24 Thread Uwe Brauer
>>> "IR" == Ihor Radchenko writes: > Uwe Brauer writes: >> However when I wrap a solutionorbox around it (which I need when >> exporting to latex) all text between the «+» >> gets a strikeout. >> >> >> #+begin_solutionorbox >> #+begin_src matlab :exports results :eval never-export :results ou

Re: problem with unwanted strikeout in src blocks

2022-05-24 Thread Uwe Brauer
>>> "JJ" == Jeremie Juste writes: > Hello Uwe >> On Monday, 23 May 2022 at 19:24, Uwe Brauer wrote: > Sorry I don't have matlab and I have never used the solutionorbox > environment, but I believe you can generate latex directly. For example > with R I can to the following. > #+begin_src R :exp

Re: About 'inline special blocks'

2022-05-24 Thread João Pedro
On Tue, May 24 2022 11:56, Ihor Radchenko wrote: > I think that we might simply allow to define complex configuration > before the containing paragraph. Something like: On that note, I think that allowing for inline special blocks would make that more readable. It would work wonderfully with org

Re: About 'inline special blocks'

2022-05-24 Thread Max Nikulin
On 24/05/2022 09:51, Timothy wrote: To me, this is another reason for comment and #+attr_X lines not to break paragraphs, as then we can just re-use #+attr_X lines. I like the idea that comments and attribute lines should not be paragraph separators. I expect, it should alleviate the issue th

Re: [PATCH] Avoid ignoring LaTeX export output errors when org-latex-pdf-process is a list

2022-05-24 Thread Max Nikulin
On 22/05/2022 10:51, Ihor Radchenko wrote: The attached patch is fixing a rather annoying problem when org-latex-pdf-process is set to a list. Currently, only output of the last command in the list is preserved in *Org PDF LaTeX output* buffer, which sometimes prevents ox-latex from detecting co

Fwd: Help with my first elisp

2022-05-24 Thread Ypo
maybe use something like >/> (define-key mh-letter-mode-map/ >/> (kbd "C-c s")/ >/> 'ggm-mh-sentaddrs-completion)/ but, using whatever the name of the logos-focus mode map, pointing at your functions? Hi Greg I think "logos" doesn't have a map, is it possible? On Mon, May 23, 2022 at 09:

Re: Fwd: Help with my first elisp

2022-05-24 Thread tomas
On Tue, May 24, 2022 at 07:32:31PM +0200, Ypo wrote: [...] > Thanks, Tomas. It seems the "if" part works, now I can use my elisp just > with the spacebar :-) Glad it worked :) Cheers -- t signature.asc Description: PGP signature

Re: Question Regarding Easier Issues To Help With

2022-05-24 Thread Samuel Banya
Thanks Tim and Ihor, that really puts the "What" to focus on into perspective. I put this in my Org notes and will take a look at the items you mentioned. Its kind of funny since all I do at work doing tech support is reproducing stuff for Devs, but I guess that works in this context too. I just

Re: Question Regarding Easier Issues To Help With

2022-05-24 Thread Ihor Radchenko
"Samuel Banya" writes: > Its kind of funny since all I do at work doing tech support is reproducing > stuff for Devs, but I guess that works in this context too. I just didn't > want to have to do more tech support, and wanted to get into the nitty gritty > of Elisp to be honest. More so, to g

Re: Help with my first elisp

2022-05-24 Thread Kepa Diez
maybe use something like >/> (define-key mh-letter-mode-map/ >/> (kbd "C-c s")/ >/> 'ggm-mh-sentaddrs-completion)/ but, using whatever the name of the logos-focus mode map, pointing at your functions? Hi Greg I think "logos" doesn't have a map, is it possible? On Mon, May 23, 2022 at 09:

Re: Fwd: Help with my first elisp

2022-05-24 Thread Greg Minshall
Ypo, > > but, using whatever the name of the logos-focus mode map, pointing at > > your functions? ... > I think "logos" doesn't have a map, is it possible? certainly possible (i don't use logos). in fact, https://gitlab.com/protesilaos/logos/-/blob/main/logos.el has the lines ;

Re: Bug in 9.5.3 org--file-default-apps

2022-05-24 Thread Ihor Radchenko
Craig STCR writes: > On 5/20/22 9:44 PM, Ihor Radchenko wrote: >> However, I am not sure what to do on Windows/Mac. > Maybe try a quick-and-dirty, cross-platform solution that checks > non-binary files for a first-line shebang?  Could use existing Emacs > hooks that determine major-mode when op

Re: org-clock idle time in pgtk Emacs

2022-05-24 Thread Ihor Radchenko
Julien Cubizolles writes: > org-clock checks for the 'x window-system in order to use the program > set up by org-clock-x11idle-program-name. Recent Emacs versions use the > 'pgtk instead of 'x and as such will default to using > org-emacs-idle-seconds in org-user-idle-seconds. > > The following

Re: Bug in 9.5.3 org--file-default-apps

2022-05-24 Thread Ihor Radchenko
Craig STCR writes: > '>$ run-mailcap myscript' One comment. I do not personally have run-mailcap command on my system, but searching for its docstring reveals (http://www.linux-commands-examples.com/run-mailcap): >> If the mime-type is omitted, an attempt to determine the type is >> made by t

Re: Bug in 9.5.3 org--file-default-apps

2022-05-24 Thread Ihor Radchenko
Max Nikulin writes: >> application/x-shellscript; emacs27 %s; test=test -n "$DISPLAY" > > Notice that such entry will be ignored when DISPLAY is not set due to > specified "test" property. You need to pass X socket and pass or set > DISPLAY environment to you "headless" container. Also, note t

Re: Help with my first elisp

2022-05-24 Thread Orm Finnendahl
Hi, Am Dienstag, den 24. Mai 2022 um 19:30:40 Uhr (+0200) schrieb Kepa Diez: > (defun focusJump () >   (interactive) >   (if (equal posicion 1) >     (focusPointInter) >   (if (equal posicion 2) >   (focusPointEnd) >     (if  (equal posicion 3) >     (focusPointStart) maybe yo