Re: [O] Filters lost after reviving buried, sticky agenda
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Daimrod daim...@gmail.com writes: Here is an updated version of the second patch : Both look good. Could you can push them. Thank you. Done, thank you. Regards, -- Daimrod/Greg signature.asc Description: PGP signature
Re: [O] What is the symbol/glyph that ... ?
On Sunday, 21 Jun 2015 at 10:46, Sharon Kimble wrote: Juan Pechiar j...@pechiar.com writes: You can check binding in your installation via describe-function: C-h f org-agenda-clock-in In the agenda buffer, you can check what is I bound to: C-h k I Thanks for this Juan. For some obscure reasons I is working properly now, but I did check the key-bindings to check it was all configured properly. Sharon, the other useful help command is where-is (C-h w) to find out if and where a command is bound: C-h w org-agenda-clock-in RET will tell you which key bindings will execute that command for the buffer you are currently visiting. E.g. in the agenda view, I get: , | org-agenda-clock-in is on I, C-c C-x TAB, menu-bar Agenda Clock and Effort Clock in ` -- : Eric S Fraga (0xFFFCF67D), Emacs 24.4.1, Org release_8.3beta-1216-gb856f6.dirty
Re: [O] Is it possible to embed tag search as a link?
Sebastien Vauban sva-n...@mygooglest.com writes: Jay Dresser org-m...@jaydresser.us writes: Piotr Isajew pisajew at yahoo.com writes: what I'm looking for is a link format that, when C-c C-o'ed, opens agenda match query view for custom query which arguments are specified in the link. I.e.: org-search://+work-boss-TODO=DONE I am aware of org-protocol which can be used to develop a custom handler for something like this. I would just like to check if there exists any working solution before I start working on my own. Jay Dresser org-mode at jaydresser.us writes: I just happened to run across this which seems to better match your original question, to do it as a new link type: http://endlessparentheses.com/use-org-mode-links-for-absolutely-anything.html so you could have [[org-search:+work-boss-TODO=DONE]] When I click on such a link, I have the error: --8---cut here---start-8--- No match - create this as a new heading? (y or n) --8---cut here---end---8--- Best regards, Seb Did you add the elisp from the article into your .emacs? Although the article described using tag as the link type I displayed org-search since that's what the OP wanted. To get the desired effect add this to .emacs: (org-add-link-type org-search 'endless/follow-tag-link) (defun endless/follow-tag-link (tag) Display a list of TODO headlines with tag TAG. With prefix argument, also display headlines without a TODO keyword. (org-tags-view (null current-prefix-arg) tag)) I for one will be using this trick a lot! -- Jay Dresser
Re: [O] org-table: decimal numbers with a dot at the end: for example 10.
Hello, On Wed, 24 Jun 2015 10:22:43 +0200 Uwe Brauer o...@mat.ucm.es wrote: Hello Take the following example | Apellido | Nombre | E1 | E2 | E3 | E4 | E5 | E6 | E7 | E8 | E9 | E10 | E11 | Res | |--++-+-++-+-+-+++-+-+-+-| | Brauer || 1.5 | 0.5 | 1 | 0.5 | 0.5 | 0.5 | 1 | 1 | 0.5 | 1 | 2 | 10. | #+TBLFM: $14=$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13 The result is 10. Instead of 10 How can I get rid of the «.» at the end of the number? you can put a format in the tblfm line, e.g.: #+TBLFM: $14=$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13;%.0f However, this cuts any numbers at the dot, that is a 10.5 would be displayed as 10. If you can live with a 10.0 use %.1f instead of %.0f after the semicolon. Best regards Robert
Re: [O] tentative patch Re: commit found, was: Re: ECM for: issues with publishing to LaTeX using #INCLUDE
Hello, On Tue, 23 Jun 2015 23:44:10 +0200 Nicolas Goaziou m...@nicolasgoaziou.fr wrote: Robert Klein rokl...@roklein.de writes: I'm not sure how to proceed at the moment, are there other set-ups I could test? Out of curiosity, could you try the following patch? with the patch both the minimal example and my three big publishing projects are published Ok. That's a nice piece of work. Any chance for the patch ending up in the org tree? Thank you very very much! Best regards Robert
[O] org-table: decimal numbers with a dot at the end: for example 10.
Hello Take the following example | Apellido | Nombre | E1 | E2 | E3 | E4 | E5 | E6 | E7 | E8 | E9 | E10 | E11 | Res | |--++-+-++-+-+-+++-+-+-+-| | Brauer || 1.5 | 0.5 | 1 | 0.5 | 0.5 | 0.5 | 1 | 1 | 0.5 | 1 | 2 | 10. | #+TBLFM: $14=$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13 The result is 10. Instead of 10 How can I get rid of the «.» at the end of the number? thanks Uwe Brauer
Re: [O] org-table: decimal numbers with a dot at the end: for example 10.
Hello, On Wed, 24 Jun 2015 12:06:14 +0200 Uwe Brauer o...@mat.ucm.es wrote: Hi Hello, On Wed, 24 Jun 2015 10:22:43 +0200 Uwe Brauer o...@mat.ucm.es wrote: you can put a format in the tblfm line, e.g.: #+TBLFM: $14=$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13;%.0f However, this cuts any numbers at the dot, that is a 10.5 would be displayed as 10. *cough* this should be: would be displayed as 10 . (This dot is the sentence ending dot :) If you can live with a 10.0 use %.1f instead of %.0f after the semicolon. I think I can live with 10.00 and then later make a query-replace of .00 Best regards Robert
Re: [O] Error when exporting LaTeX
Alan Schmitt alan.schm...@polytechnique.org writes: On 2015-06-24 14:28, Peter Davis p...@pfdstudio.com writes: I'm writing a fairly simple document with some #+BEGIN_SRC/#+END_SRC blocks, and when I try to export to LaTeX/PDF, I get: org-latex-src-block: Wrong type argument: stringp, nil Does this ring any bells? I can try to cobble together a neutralized sample to reproduce the problem, but I thought I'd see if anyone recognized it. It looks like you forgot to give a language (you cannot have a #+begin_src with no language). Ah! Yes, I missed one. That seems to have fixed it. Thank you. -pd
[O] [ANN] org-report -- Generate activity reports from Emacs Org mode
Dear list members, org-report was made as private extension to automize the generation of weekly activity reports. Maybe it's useful for others as well. Please handle with care. https://github.com/mistrey/org-report Regards -- Michael Strey http://www.strey.biz * https://twitter.com/michaelstrey
[O] Error when exporting LaTeX
I'm writing a fairly simple document with some #+BEGIN_SRC/#+END_SRC blocks, and when I try to export to LaTeX/PDF, I get: org-latex-src-block: Wrong type argument: stringp, nil Does this ring any bells? I can try to cobble together a neutralized sample to reproduce the problem, but I thought I'd see if anyone recognized it. Thanks, -pd
[O] [ANN] org-execute -- Automate recurrent jobs in Emacs Org mode
Dear list members, org-execute is a very small extension package that allows to start a named Babel code block by pressing TAB on an agenda entry. Please refer to https://github.com/mistrey/org-execute. Regards -- Michael Strey http://www.strey.biz * https://twitter.com/michaelstrey
Re: [O] org-table: decimal numbers with a dot at the end: for example 10.
Hi Hello, On Wed, 24 Jun 2015 10:22:43 +0200 Uwe Brauer o...@mat.ucm.es wrote: you can put a format in the tblfm line, e.g.: #+TBLFM: $14=$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13;%.0f However, this cuts any numbers at the dot, that is a 10.5 would be displayed as 10. If you can live with a 10.0 use %.1f instead of %.0f after the semicolon. I think I can live with 10.00 and then later make a query-replace of .00 Thanks! Uwe
Re: [O] Error when exporting LaTeX
On 2015-06-24 14:28, Peter Davis p...@pfdstudio.com writes: I'm writing a fairly simple document with some #+BEGIN_SRC/#+END_SRC blocks, and when I try to export to LaTeX/PDF, I get: org-latex-src-block: Wrong type argument: stringp, nil Does this ring any bells? I can try to cobble together a neutralized sample to reproduce the problem, but I thought I'd see if anyone recognized it. It looks like you forgot to give a language (you cannot have a #+begin_src with no language). Alan -- OpenPGP Key ID : 040D0A3B4ED2E5C7 Athmospheric CO₂ average (2015-05-30, Mauna Loa Observatory): 403.41 ppm signature.asc Description: PGP signature
[O] [PATCH] org-mac-link.el: Handle links to/from Adobe Acrobat.
https://github.com/dmakarov/org-mode/commit/b9feb9b3ebd618d0fc8e82dc266d62e8252775ed g...@github.com:dmakarov/org-mode.git * contrib/lisp/org-mac-link.el: Add new link type acrobat to grab links to documents open in Adobe Acrobat application. Regards, Dmitri
Re: [O] Error when exporting LaTeX
Peter Davis p...@pfdstudio.com writes: I'm writing a fairly simple document with some #+BEGIN_SRC/#+END_SRC blocks, and when I try to export to LaTeX/PDF, I get: org-latex-src-block: Wrong type argument: stringp, nil Does this ring any bells? I can try to cobble together a neutralized sample to reproduce the problem, but I thought I'd see if anyone recognized it. Ok, here's a sample file and image that reproduces the problem. Any help appreciated. Thank you. -pd #+STARTUP: showeverything logdone #+options: num:nil #+OPTIONS: H:5 num:t \n:nil @:t ::t |:t ^:nil -:t f:t *:t :t #+LaTeX_CLASS: koma-article #+LaTeX_HEADER: \usepackage{listings} #+LATEX_HEADER: \setlength{\parskip}{2ex plus 4pt minus 2pt} #+LATEX_HEADER: \setlength{\parindent}{0pt} #+LATEX_HEADER: \renewcommand{\baselinestretch}{1.0} #+LATEX_HEADER: \setlength{\topsep}{-10pt} #+LATEX_HEADER: \setlength{\partopsep}{0pt} #+LaTeX_HEADER: \usepackage{xcolor} #+LaTeX_HEADER: \lstset{ #+LaTeX_HEADER: basicstyle=\ttfamily, #+LaTeX_HEADER: breaklines=true, #+LaTeX_HEADER: prebreak=\mbox{\ensuremath{\color{red}\hookleftarrow}}, #+LaTeX_HEADER: postbreak=\raisebox{0ex}[0ex][0ex]{\ensuremath{\color{red}\hookrightarrow\space}}, #+LaTeX_HEADER: columns=fullflexible, #+LaTeX_HEADER: keepspaces=true #+LaTeX_HEADER: } #+LaTeX_CLASS_OPTIONS: [article,letterpaper,times,12pt,listings-bw,microtype] #+author: Peter Davis #+title: LaTeX export issue * Overview Many applications using the XYZCo API will follow a sequence of operations like this: ** User logs in, establishing identity and access privileges The login page is invoked via an http request, such as: #+BEGIN_SRC js GET http://local.xyzco.com:3000/sample/login #+END_SRC In the Sample App, this results in a page showing four buttons: [[./pd-logo-jelly-small.gif]] ** Login with XYZ If the user selects Login with XYZ, the Sample App invokes this URL: #+BEGIN_SRC GET http://local.xyzco.com:3000/sample/auth/xyz #+END_SRC The response, 302, results in a redirect to a new page prompting for username and password is presented[1]: #+BEGIN_SRC js GET http://sandbox.api.xyzco.com:8080/openid-connect/v2/authorize?response_type=coderedirect_uri=http%3A%2F%2Flocal.xyzco.com%3A3000%2Fsample%2Fauth%2Fxyz%2Fcallbackscope=openidclient_id=152ced50-1369-4b19-8b26-8f3d5d9bfd6a.xyzco.com #+END_SRC [[./pd-logo-jelly-small.gif]] Entering a username and password here results in this request: #+BEGIN_SRC js POST http://sandbox.api.xyzco.com:8080/openid-connect/j_spring_security_check?response_type=coderedirect_uri=http%3A%2F%2Flocal.xyzco.com%3A3000%2Fsample%2Fauth%2Fxyz%2Fcallbackscope=openidclient_id=152ced50-1369-4b19-8b26-8f3d5d9bfd6a.xyzco.com #+END_SRC [[./pd-logo-jelly-small.gif]] ** The application provides security information (e.g., OAuth2 token) to enable access to information #+BEGIN_SRC js GET http://sandbox.api.xyzco.com:8080/openid-connect/v2/authorize?response_type=coderedirect_uri=http%3A%2F%2Flocal.xyzco.com%3A3000%2Fsample%2Fauth%2Fxyz%2Fcallbackscope=openidclient_id=152ced50-1369-4b19-8b26-8f3d5d9bfd6a.xyzco.com #+END_SRC #+BEGIN_SRC js GET http://local.xyzco.com:3000/sample/auth/xyz/callback?code=eyJhbGciOiLlif_vla6jwjA ... #+END_SRC From this point, the application can present other options to the user. [1] If the user is not already logged in, he or she will see the login page
Re: [O] helm-bibtex questions
yes, there is a way ;) First. Make sure you have a backup of the references. I like to keep mine in a local git repo so you can undo any mistakes that get made. I suggest you run these first: %% (bibtex-validate-globally) ; checks for duplicate keys %% (bibtex-validate) I also recommend you run bibtex-sort (it is easier to spot duplicates in a sorted list). and (org-ref-build-full-bibliography) - makes a pdf of all references. to make sure everything is compliant and functional. Then, put this next line at the top of your bibtex file. The t argument to org-ref-clean-bibtex-entry will preserve your existing keys. % (bibtex-map-entries (lambda (key start end) (org-ref-clean-bibtex-entry t))) Put your cursor at the end of that line, and type C-x C-e to run the function, and wait patiently. It took a few minutes on my 1300 entries, and I had to restart it once on some entry. when it is done, run (org-ref-build-full-bibliography) again to make sure it works and review the ~200 page pdf ;). fix errors and repeat until it builds ;) Note if you want to change title cases in all entries you can use % (bibtex-map-entries 'jmax-title-case-article) % (bibtex-map-entries 'jmax-sentence-case-article) I hope that helps! Xebar Saram writes: John First of all thanks so much for the excellent org-ref-clean-bibtex-entry function i love it! also your blog post on cleaning the bib file is a life saver i have 800 references, is there a way to auto make org-ref-clean-bibtex-entry go thorough my whole bib file instead of me going and cleaning it 1 by 1? kind regards Z. On Mon, Jun 22, 2015 at 6:12 PM, Titus von der Malsburg malsb...@posteo.de wrote: Here is my CV in org-mode: https://gist.github.com/tmalsburg/96084ba82281937c26b7 It’s a pretty straightforward org document except for one thing: the key to making this work was biblatex which can be used to create several lists of references filtered according to keywords, author, etc. This allowed me to have separate sections for journal articles, conference presentations, etc. I store the relevant keywords in the tags field of the BibTeX entries and since biblatex doesn’t know this field, I copy the tags on-the-fly to the keywords field (see DeclareSourcemap in the LaTeX headers). Titus On 2015-06-22 Mon 07:28, Xebar Saram wrote: Hi John a bit off topic, but do you also write your academic CV in orgmode or lateX? in anycase would you mind sharing your org/latex CV template? it would be helpful as a starting point for me if thats possible. kind regards and thanks so much in advance Z On Sun, Jun 21, 2015 at 9:40 PM, John Kitchin jkitc...@andrew.cmu.edu wrote: sweet! I did not know you could do that! I will be refactoring org-ref soon to do that instead of redefining the commands! John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Sun, Jun 21, 2015 at 2:29 PM, Titus von der Malsburg malsb...@posteo.de wrote: On 2015-06-19 Fri 03:56, Xebar Saram wrote: Hi again Titus 2 quick questions that arose from using helm-bitex today extensively: how does one exclude in the search items? for example i want to search for xebar without keyword progress (I want to exclude in progress articles not published yet) is it possible to define default enter command in helm-bibtex ? Yes. Helm uses the first action as the default action. To move an action to the top of the list you can use the following code: (helm-delete-action-from-source Insert BibTeX key helm-source-bibtex) (helm-add-action-to-source Insert BibTeX key 'helm-bibtex-insert-key helm-source-bibtex 0) The second argument in the second line is the function that executes the action. Here is a list of all actions and their functions: Open PDF file (if present): helm-bibtex-open-pdf Open URL or DOI in browser: helm-bibtex-open-url-or-doi Insert citation: helm-bibtex-insert-citation Insert reference: helm-bibtex-insert-reference Insert BibTeX key: helm-bibtex-insert-key Insert BibTeX entry: helm-bibtex-insert-bibtex Attach PDF to email: helm-bibtex-add-PDF-attachment Edit notes: helm-bibtex-edit-notes Show entry: helm-bibtex-show-entry Best, Titus best Z On Thu, Jun 18, 2015 at 9:38 PM, Titus von der Malsburg malsb...@posteo.de wrote: On 2015-06-18 Thu 04:32, Xebar Saram wrote: Hi Titus and thx so much for the answers! i will in the future use the github page to make requests. The number of matches will be displayed in the mode line. i see that now thx! :) the problem was(is) that its colored black on my black modline BG which makes it invisible ;-) i assume thats an
[O] yasnippet babel template conflict
Is there any way to tell yasnippet to evaluate after Org Babel Templates? I have an img template but yasnippet takes this over. Or is the best way to handle this conflict by renaming my Org templates or deleting the Yasnippet snippets? Thanks, -k.
[O] frame options in minted environments
Consider the following org-file: --8---cut here---start-8--- #+STARTUP: BEAMER #+LATEX_HEADER: \usepackage{minted} * First frame:B_fullframe: :PROPERTIES: :BEAMER_env: fullframe :END: #+begin_src latex :exports code \begin{document} \begin{frame} Text \end{frame} \end{document} #+end_src --8---cut here---end---8--- The \end{frame} command in the minted environment causes the export to beamer to fail. The solution is to pass the fragile=singleslide to the frame options, eg with BEAMER_OPT: (see [1]). Is there an option in org-mode to automatically add this option to all verbatim environments ? In that case, it already sets the fragile option, maybe changing this default to fragile=singleslide would be a reasonnable choice (I'm not sure what it entails though). Julien. [1]: http://tex.stackexchange.com/questions/154002/minted-does-not-escape-beamers-endframe
Re: [O] helm-bibtex questions
John First of all thanks so much for the excellent org-ref-clean-bibtex-entry function i love it! also your blog post on cleaning the bib file is a life saver i have 800 references, is there a way to auto make org-ref-clean-bibtex-entry go thorough my whole bib file instead of me going and cleaning it 1 by 1? kind regards Z. On Mon, Jun 22, 2015 at 6:12 PM, Titus von der Malsburg malsb...@posteo.de wrote: Here is my CV in org-mode: https://gist.github.com/tmalsburg/96084ba82281937c26b7 It’s a pretty straightforward org document except for one thing: the key to making this work was biblatex which can be used to create several lists of references filtered according to keywords, author, etc. This allowed me to have separate sections for journal articles, conference presentations, etc. I store the relevant keywords in the tags field of the BibTeX entries and since biblatex doesn’t know this field, I copy the tags on-the-fly to the keywords field (see DeclareSourcemap in the LaTeX headers). Titus On 2015-06-22 Mon 07:28, Xebar Saram wrote: Hi John a bit off topic, but do you also write your academic CV in orgmode or lateX? in anycase would you mind sharing your org/latex CV template? it would be helpful as a starting point for me if thats possible. kind regards and thanks so much in advance Z On Sun, Jun 21, 2015 at 9:40 PM, John Kitchin jkitc...@andrew.cmu.edu wrote: sweet! I did not know you could do that! I will be refactoring org-ref soon to do that instead of redefining the commands! John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Sun, Jun 21, 2015 at 2:29 PM, Titus von der Malsburg malsb...@posteo.de wrote: On 2015-06-19 Fri 03:56, Xebar Saram wrote: Hi again Titus 2 quick questions that arose from using helm-bitex today extensively: how does one exclude in the search items? for example i want to search for xebar without keyword progress (I want to exclude in progress articles not published yet) is it possible to define default enter command in helm-bibtex ? Yes. Helm uses the first action as the default action. To move an action to the top of the list you can use the following code: (helm-delete-action-from-source Insert BibTeX key helm-source-bibtex) (helm-add-action-to-source Insert BibTeX key 'helm-bibtex-insert-key helm-source-bibtex 0) The second argument in the second line is the function that executes the action. Here is a list of all actions and their functions: Open PDF file (if present): helm-bibtex-open-pdf Open URL or DOI in browser: helm-bibtex-open-url-or-doi Insert citation: helm-bibtex-insert-citation Insert reference: helm-bibtex-insert-reference Insert BibTeX key: helm-bibtex-insert-key Insert BibTeX entry: helm-bibtex-insert-bibtex Attach PDF to email: helm-bibtex-add-PDF-attachment Edit notes: helm-bibtex-edit-notes Show entry: helm-bibtex-show-entry Best, Titus best Z On Thu, Jun 18, 2015 at 9:38 PM, Titus von der Malsburg malsb...@posteo.de wrote: On 2015-06-18 Thu 04:32, Xebar Saram wrote: Hi Titus and thx so much for the answers! i will in the future use the github page to make requests. The number of matches will be displayed in the mode line. i see that now thx! :) the problem was(is) that its colored black on my black modline BG which makes it invisible ;-) i assume thats an helm config i need to change If you don’t want to type these search expressions, you could create a command that invokes helm-bibtex with a default search expression and that command could be bound to a keyboard shortcut. that would be prefect for me and a solution to my issue. would you mind giving an example of such a code chunk. unfortunately i dont know elisp though as john recommended i will do my best this summer when the semester ends to try and pick it up :) Sure, here you go: #+BEGIN_SRC elisp ;; Define helm-search with predefined search expression: (defun helm-bibtex-my-publications () Search BibTeX entries authored by Xebar Saram. (interactive) (helm :sources '(helm-source-bibtex) :full-frame t :input xebar saram :candidate-number-limit 500)) ;; Bind this search function to Ctrl-x p: (global-set-key (kbd C-x p) 'helm-bibtex-my-publications) #+END_SRC i will definitely use your tag system as you recommended, sounds perfect for me The tag system also comes in handy when generating publication lists for CVs and web pages because BibTeX does not distinguish between conference