Re: [O] export from a symlink to the source directory?
Just off the top of my head, things I would try would be There is no easy switch to just make this happen that I'm aware of. Therefore, I think you really only have two options. 1. You could try setting an :export property at the file header level which specifies the name (and location) of the export file. 2. Change your setup and instead of having a file sym link, do a sym link of the parent directory. Any files you then put into that directory will appear under your .emacs.d as well as being put into the original source directory. Tim Sharon Kimble writes: > If I have a file symlinked to another directory, is it possible for it > to be exported to the original source directory as a .tex file please? > > Example - > > Original file ~/research/rhubarb/rhubarb17.org > > Symlinked to ~/.emacs.d/org/rhubarb17.org > > But when I export the file from the symlink to a latex file I end up with > ~/.emacs.d/org/rhubarb17.tex > > Whereas what I'm looking for is ~/research/rhubarb/rhubarb17.tex > > So how can I do that please? > > Thanks > Sharon. -- Tim Cross
Re: [O] Ediff org files starts folded
Thanks, I think this does exactly what I was looking for! Alex On Wed 25 Oct 2017 at 18:30, Oleh Krehelwrote: > Here's what I use: > > (defun ora-ediff-prepare-buffer () > (when (memq major-mode '(org-mode emacs-lisp-mode)) > (outline-show-all))) > > (add-hook 'ediff-prepare-buffer-hook 'ora-ediff-prepare-buffer) > > regards, > Oleh
Re: [O] Ediff org files starts folded
Here's what I use: (defun ora-ediff-prepare-buffer () (when (memq major-mode '(org-mode emacs-lisp-mode)) (outline-show-all))) (add-hook 'ediff-prepare-buffer-hook 'ora-ediff-prepare-buffer) regards, Oleh
Re: [O] Ediff org files starts folded
On 25 October 2017 at 12:04, Alex Branhamwrote: > Whenever I ediff an org file, the three windows start with the content folded > and out of site. I have to navigate to windows A, B, and C and hit S- > until everything is visible. Does anyone know a way to start org mode files > unfolded when ediffing them? Spacemacs automatically unfolds both buffers when ediff’ing Org Mode. I suppose the mechanism is the presence of ~'show-all~ in ~ediff-prepare-buffer-hook~. The downside is that, when you finish ediff’ing, the affected Org buffers are still completely unfolded. If you want this behavior, perhaps you should use the new function name – ~outline-show-all~ – instead, because ~show-all~ is an obsolete alias since GNU Emacs 25.1. Regards -- - I am Brazilian. I hope my English is correct and I welcome feedback - Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z - Free (as in free speech) software for Android: https://f-droid.org/
[O] `fill-paragraph' on headings
this is a feature request for having the ability to use `fill-paragraph' on headings. An example from Emacs news: '*** New variable 'xterm-set-window-title' controls whether Emacs sets the XTerm window title. The default is to set the window title.' -> '*** New variable 'xterm-set-window-title' controls whether Emacs sets the XTerm window title. The default is to set the window title.
[O] bug#28999: 25.3.50; org export : exclude-tags not working with org-export-filter-options-functions
Michel Damienswrites: > Adding : > > (defun my-org-export-change-options (plist backend) > (cond > ((equal backend 'html) >(plist-put plist :exclude-tags "NOHTML") >(plist-put plist :select-tags "HTML")) > ((equal backend 'latex) >(plist-put plist :exclude-tags "NOLATEX") >(plist-put plist :select-tags "LATEX"))) > plist) > > (add-to-list 'org-export-filter-options-functions > 'my-org-export-change-options) > > to my init.el file doesn't work : headers with NOHTML tag are exported > to html, using the export dispatcher (C-c C-e h H) Shouldn't the values should be a list of strings rather than a single string? (Is this something that used to work for you?) Also, I think you should use plist-put's return value rather than relying on the input being modified. -- Kyle
[O] export from a symlink to the source directory?
If I have a file symlinked to another directory, is it possible for it to be exported to the original source directory as a .tex file please? Example - Original file ~/research/rhubarb/rhubarb17.org Symlinked to ~/.emacs.d/org/rhubarb17.org But when I export the file from the symlink to a latex file I end up with ~/.emacs.d/org/rhubarb17.tex Whereas what I'm looking for is ~/research/rhubarb/rhubarb17.tex So how can I do that please? Thanks Sharon. -- A taste of linux = http://www.sharons.org.uk TGmeds = http://www.tgmeds.org.uk DrugFacts = https://www.drugfacts.org.uk Debian 9.2, fluxbox 1.3.5-2, emacs 25.3.2, org-mode 9.1.1 signature.asc Description: PGP signature
Re: [O] org-babel source block unevaluated into variable?
Johan: To use expanded noweb references you can use text source blocks #+NAME: lscode #+BEGIN_SRC *text* ls -alh #+END_SRC #+NAME: example #+BEGIN_SRC sh :noweb yes echo <> #+END_SRC #+RESULTS: example : ls -alh #+BEGIN_SRC emacs-lisp :var code=example (message code) #+END_SRC #+RESULTS: : ls -alh Martín On Wed, Oct 25, 2017 at 10:36 AM Martin Alsinetwrote: > Johan: > > You can try the following: > > #+NAME: lscode > #+BEGIN_ASCII > ls -alh > #+END_ASCII > > #+BEGIN_SRC emacs-lisp :var code=lscode > (message code) > #+END_SRC > > #+RESULTS: > : ls -alh > > I haven't tried the noweb references, but it does return the code block in > the variable. > > > Martín > > On Wed, Oct 25, 2017 at 9:22 AM Johan W. Klüwer > wrote: > >> Is there a way to assign the uninterpreted content of an executable >> source block to a variable? Preferably, using a :var header argument? That >> is, return the text in the block, not the result of evaluating it, and >> preferably with noweb references expanded. >> >> "example" blocks return text the way I want, but they can't be evaluated, >> and of course noweb is ruled out for them. >> >> The function org-babel-ref-resolve could to the job if there were a >> switch to block evaluation. >> >> >> Why this is interesting: I wish to use url-hexify-string on the text of a >> named SPARQL query. >> >> Cheers, Johan >> >
Re: [O] org-babel source block unevaluated into variable?
Johan: You can try the following: #+NAME: lscode #+BEGIN_ASCII ls -alh #+END_ASCII #+BEGIN_SRC emacs-lisp :var code=lscode (message code) #+END_SRC #+RESULTS: : ls -alh I haven't tried the noweb references, but it does return the code block in the variable. Martín On Wed, Oct 25, 2017 at 9:22 AM Johan W. Klüwerwrote: > Is there a way to assign the uninterpreted content of an executable source > block to a variable? Preferably, using a :var header argument? That is, > return the text in the block, not the result of evaluating it, and > preferably with noweb references expanded. > > "example" blocks return text the way I want, but they can't be evaluated, > and of course noweb is ruled out for them. > > The function org-babel-ref-resolve could to the job if there were a switch > to block evaluation. > > > Why this is interesting: I wish to use url-hexify-string on the text of a > named SPARQL query. > > Cheers, Johan >
Re: [O] Ediff org files starts folded
org-startup-folded nil On 25/10/17 15:55, Tory S. Anderson wrote: I've wondered the same thing. Normally I just manually and open all bullets before ediffing, but this assumes, of course, that the file is already open. Alex Branhamwrites: Hello - Whenever I ediff an org file, the three windows start with the content folded and out of site. I have to navigate to windows A, B, and C and hit S- until everything is visible. Does anyone know a way to start org mode files unfolded when ediffing them? Thanks! Alex
Re: [O] Ediff org files starts folded
I've wondered the same thing. Normally I just manually and open all bullets before ediffing, but this assumes, of course, that the file is already open. Alex Branhamwrites: Hello - Whenever I ediff an org file, the three windows start with the content folded and out of site. I have to navigate to windows A, B, and C and hit S- until everything is visible. Does anyone know a way to start org mode files unfolded when ediffing them? Thanks! Alex
[O] org-babel source block unevaluated into variable?
Is there a way to assign the uninterpreted content of an executable source block to a variable? Preferably, using a :var header argument? That is, return the text in the block, not the result of evaluating it, and preferably with noweb references expanded. "example" blocks return text the way I want, but they can't be evaluated, and of course noweb is ruled out for them. The function org-babel-ref-resolve could to the job if there were a switch to block evaluation. Why this is interesting: I wish to use url-hexify-string on the text of a named SPARQL query. Cheers, Johan
[O] Ediff org files starts folded
Hello - Whenever I ediff an org file, the three windows start with the content folded and out of site. I have to navigate to windows A, B, and C and hit S- until everything is visible. Does anyone know a way to start org mode files unfolded when ediffing them? Thanks! Alex
Re: [O] htmlize
Thank you Jonas ! Jean-Christophe > On Oct 25, 2017, at 21:51, Jonas Bernoulliwrote: > > This was discussed here: https://github.com/hniksic/emacs-htmlize/issues/7.
Re: [O] *Good* client for Android?
Best one that worked for me: - Computer running: - Either as root or as normal user: - sshd with *only* key-based authentication. - As normal user: - GNU screen; - emacs --daemon && emacsclient -nw; - Detach from current session. Now in cellphone: - Use SSH client to connect to computer as normal user; - Reattach to GNU screen session; - Now you have GNU Emacs and Org mode, and also GNU Screen if you do need to do some work outside GNU Emacs. Also, with SSH, you have encryption. ;) John Goerzenwrites: > Hi folks, > > All along, I anticipated using this with Android (and, ideally, also > iOS). The MobileOrg feature set looked great, and the syncing mechanism > looked a lot better than sharing Dropbox. > > I use git to share my ~/org between two computers (laptop and desktop), > using git-remote-gcrypt to store on a server. This makes syncing and > resolving conflicts easy (I move between the two throughout the day, so > Dropbox is really not a great option here.) Sync integrity -- or at > least robust detection of conflicts -- is a must. Encryption is a "very > nice to have." > > Suggestions? > > Here's what I've found so far: > > MobileOrg - supports WebDAV storage. Has a robust sync system, > integrated with org-mode, in which it seems to be able to write out its > changes to a separate file that the computer can integrate. Sounds > smart, though I suspect it will require additional hacking to support > multiple Android devices. org-mode docs mention encryption for this, > but the encryption is not supported by MobileOrg. Also, MobileOrg was > last updated 4 years ago and seems to have bitrotted. > > Orgzly - Supports only Dropbox or local-on-Android storage. The latter > is insecure, as it permits any app on the system to read the files. I > am really not sure how to integrate this with my workflow. It seems > like potentials for conflicts are extremely high. > > SyncOrg - Shows some promise, but couldn't even test locally due to the > folder selection screen not working for the "External/Local Only." > Suspect it's trying to do something insecure as well, or doesn't work on > Oreo? ssh support seems to actually be ssh+git, which is nice - except > that it's unencrypted. doh. The documentation made no mention of > resolving conflicts. https://github.com/wizmer/syncorg/wiki/FAQ seems > to suggest it uses the old MobileOrg push/pull in org-mode, but I can't > see how that possibly works well with Git. I suspect that FAQ to be > totally obsolete, because it also talks about a Dropbox synchronizer > that SyncOrg doesn't even have. I could use this if I drop > git-remote-gcrypt, I hope. > > MobileOrg-NG - Last updated in 2012. Didn't really look past that. > > > > -- - https://libreplanet.org/wiki/User:Adfeno - Palestrante e consultor sobre /software/ livre (não confundir com gratis). - "WhatsApp"? Ele não é livre. Por favor, veja formas de se comunicar instantaneamente comigo no endereço abaixo. - Contato: https://libreplanet.org/wiki/User:Adfeno#vCard - Arquivos comuns aceitos (apenas sem DRM): Corel Draw, Microsoft Office, MP3, MP4, WMA, WMV. - Arquivos comuns aceitos e enviados: CSV, GNU Dia, GNU Emacs Org, GNU GIMP, Inkscape SVG, JPG, LibreOffice (padrão ODF), OGG, OPUS, PDF (apenas sem DRM), PNG, TXT, WEBM.
Re: [O] How to get the eacute above the e in saute or Saute?
See if [[help:org-latex-default-packages-alist]] has at something similar to "inputenc" and "fontenc" inside. In any case, please report back the results. ;) Sharon Kimblewrites: > I'm copying out loads of old recipes into org-mode exported to latex and > build a pdf, which is working very nicely, except for one thing - I > can't work out how to get the eacute in 'Saute' or 'saute'. How can I > get it please? Its the little thing above the letter 'e' which is > slanting from bottom left to top right above the letter e! > > So how can I do it please? > > Thanks > Sharon. -- - https://libreplanet.org/wiki/User:Adfeno - Palestrante e consultor sobre /software/ livre (não confundir com gratis). - "WhatsApp"? Ele não é livre. Por favor, veja formas de se comunicar instantaneamente comigo no endereço abaixo. - Contato: https://libreplanet.org/wiki/User:Adfeno#vCard - Arquivos comuns aceitos (apenas sem DRM): Corel Draw, Microsoft Office, MP3, MP4, WMA, WMV. - Arquivos comuns aceitos e enviados: CSV, GNU Dia, GNU Emacs Org, GNU GIMP, Inkscape SVG, JPG, LibreOffice (padrão ODF), OGG, OPUS, PDF (apenas sem DRM), PNG, TXT, WEBM.
Re: [O] htmlize
This was discussed here: https://github.com/hniksic/emacs-htmlize/issues/7.