Re: [O] ox-latex: default packages cleaning
Suvayu Ali fatkasuvayu+li...@gmail.com writes: +(defun org-latex-guess-polyglossia-language (header info) + Set the Polyglossia language according to the LANGUAGE keyword. I'm in two-minds about this. On the one had it is a nice thing, but on the other hand, it prevents the more fine grained control offered by polyglossia. For example, I used this in my setup before: \setdefaultlanguage[variant=british]{english} The attached supports Polyglossia better. Note, the last loaded language is the main one (as babel). Perhaps org-latex-variant-file-string should be less annoying (not a file-variable). The polyglossia bits work well. Pushed. Rasmus -- I feel emotional landscapes they puzzle me
[O] auto pack empty space between last line of header and next header
Hi list i seem to get alot of empty spaces between the headers due to more then 1 empty line at the end of a header. I can manually delete all empty lines at the end of the section which will remove the gaps but this is tiring. i was wondering if there was any command to auto pack empty space between headers? best Z
Re: [O] auto pack empty space between last line of header and next header
Hi, Xebar Saram zelt...@gmail.com writes: i seem to get alot of empty spaces between the headers due to more then 1 empty line at the end of a header. I can manually delete all empty lines at the end of the section which will remove the gaps but this is tiring. i was wondering if there was any command to auto pack empty space between headers? Are you talking about an exporter? Please provide concrete examples. Thanks, Rasmus -- Governments should be afraid of their people
Re: [O] How to escape [ and ] characters in org-mode links
Ivanov Dmitry usr...@gmail.com wrote: Hi, Xiha Unfortunately URL encoding the [ and ] doesn't work for me. Try to reproduce it. Create 2 files: file.txt. Content: $form['text1'] $form['text2'] file.org. Content: [[./file.txt::$form%5B'text2'%5D][text2]] When I click the link, it says No match. While the search string is escaped elsewhere in org-link-search using regexp-quote, it is treated as a regular expression for normal text search. Try escaping with \: [[./file.txt::$form\%5B'text2'\%5D]] -- Kyle
Re: [O] Capture-like browser plugin?
Nick Dokos ndo...@gmail.com writes: Peter Davis p...@pfdstudio.com writes: Alan Schmitt alan.schm...@polytechnique.org writes: On 2015-07-29 06:18, Peter Davis p...@pfdstudio.com writes: Thank you, Daniele. I've tried the above command line, and I get: emacsclient: can't find socket; have you started the server? To start the server in Emacs, type M-x server-start. emacsclient: No socket or alternate editor. Please use: --socket-name --server-file (or environment variable EMACS_SERVER_FILE) --alternate-editor (or environment variable ALTERNATE_EDITOR) I have (server-start) at the top of my .emacs file, and I've restarted manually a few times, so I suspect emacsclient is failing silently somehow and that's the problem. I'll try to troubleshoot that. You’re probably running the emacsclient that comes by default with OS X, which is probably a different version from your emacs. Here I had to change the path in the extension setting to use “/usr/local/bin/emacsclient” instead of the system “/usr/bin/emacsclient”. Ah! There's no /usr/local/bin/emacsclient, but on my Mac, I have /Applications/Emacs.app/Contents/MacOS/bin-x86_64-10_5/emacsclient When I set the extension to use that, I get a new frame with a buffer named Org-capture%20for%20Firefox, but there's nothing in it and it doesn't seem to correspond to a file. Progress. You need to (require 'org-protocol) in your .emacs (or wherever). And if you don't want the new frame, you can uncheck that it in the extension's preferences. Excellent! That works. It prepends CAPTURE-2- to the filename I specified in the template, but otherwise seems to work beautifully. Now to look for the Chrome version. Thanks, all! -pd
Re: [O] Capture-like browser plugin?
Peter Davis p...@pfdstudio.com writes: Excellent! That works. It prepends CAPTURE-2- to the filename I specified in the template, but otherwise seems to work beautifully. This is not working as expected. Each time I click the Org Capture button in Firefox, it opens a new buffer (CAPTURE-2-links.org, CAPTURE-3-links.org, etc.). These buffers have no prior contents, only the current link I'm trying to capture. If I save the buffer, it saves to links.org, the filename I specified, apparently appending to the file. Is that as expected? Now to look for the Chrome version. I found a Chrome Org Capture extension, but no way to configure it for which emacsclient to use, which capture template, etc. Am I missing something? Thank you. -pd
Re: [O] Capture-like browser plugin?
Peter Davis p...@pfdstudio.com writes: Peter Davis p...@pfdstudio.com writes: Excellent! That works. It prepends CAPTURE-2- to the filename I specified in the template, but otherwise seems to work beautifully. This is not working as expected. Each time I click the Org Capture button in Firefox, it opens a new buffer (CAPTURE-2-links.org, CAPTURE-3-links.org, etc.). These buffers have no prior contents, only the current link I'm trying to capture. If I save the buffer, it saves to links.org, the filename I specified, apparently appending to the file. Is that as expected? What does your org-capture template look like? Did you try it explicitly (i.e. not through the extension, just an ordinary capture)? FWIW, it works fine for me. Now to look for the Chrome version. I found a Chrome Org Capture extension, but no way to configure it for which emacsclient to use, which capture template, etc. Am I missing something? Whatever you are missing, I'm missing too. In my case, it wants to call xdg-open which basically calls the desktop environment's underlying open (e.g. gnome-open, exo-open, etc.), so I think I need to configure that underlying open properly. But I have no idea what happens on OSX. Nick
Re: [O] auto pack empty space between last line of header and next header
On 2015-07-29, at 20:10, Xebar Saram zelt...@gmail.com wrote: Sorry for not being clearer , no i dont mean when exporting but rather just using org mode files in emacs for example this screenshot: https://paste.xinu.at/8UBI4/ you can see the gap between the sunrise and hydra headers. i have tons of these due to more then 1 empty line between headers wonder if there was a way to tell org to pack these spaces or get rid of these empty lines between headers Does (setq org-cycle-separator-lines 0) help? best Z Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University
Re: [O] auto pack empty space between last line of header and next header
Xebar Saram zeltakc at gmail.com writes: Sorry for not being clearer , no i dont mean when exporting but rather just using org mode files in emacs for example this screenshot: https://paste.xinu.at/8UBI4/ you can see the gap between the sunrise and hydra headers. i have tons of these due to more then 1 empty line between headers wonder if there was a way to tell org to pack these spaces or get rid of these empty lines between headers best Z I've seen this many times and always was due to having a blank line at the end of a heading. Expand your ** sunrise heading and see if there's a blank line at the end. I usually see it when I M-up/down move a heading.
Re: [O] Capture-like browser plugin?
Nick Dokos ndo...@gmail.com writes: Peter Davis p...@pfdstudio.com writes: Peter Davis p...@pfdstudio.com writes: Excellent! That works. It prepends CAPTURE-2- to the filename I specified in the template, but otherwise seems to work beautifully. This is not working as expected. Each time I click the Org Capture button in Firefox, it opens a new buffer (CAPTURE-2-links.org, CAPTURE-3-links.org, etc.). These buffers have no prior contents, only the current link I'm trying to capture. If I save the buffer, it saves to links.org, the filename I specified, apparently appending to the file. Is that as expected? What does your org-capture template look like? Did you try it explicitly (i.e. not through the extension, just an ordinary capture)? FWIW, it works fine for me. The template is this: (l org-protocol entry (file ~/org/links.org Links) \n* Link: %c\n%U\n%i\n :immediate-finish) If I do a capture explicitly using this template, it also gives me the CAPTURE-N-... buffer. Now to look for the Chrome version. I found a Chrome Org Capture extension, but no way to configure it for which emacsclient to use, which capture template, etc. Am I missing something? Whatever you are missing, I'm missing too. In my case, it wants to call xdg-open which basically calls the desktop environment's underlying open (e.g. gnome-open, exo-open, etc.), so I think I need to configure that underlying open properly. But I have no idea what happens on OSX. Thanks. The OS X instructions on the org-protocol page http://orgmode.org/worg/org-contrib/org-protocol.html seem to be tied to a Mac app, EmacsClient.app, which is tied to Aquamacs, a Mac-ified version of Gnu emacs which is not the one I'm interested in using. Also, I've tried installing EmacsClient.app per the instructions (i.e., download and unpack the ZIP, but the ZIP does not unpack for me. If I unpack EmacsClient.zip, it gives me EmacsClient.zip.cpgz. Thanks, -pd
Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error
On 2015-07-29, at 21:32, Xiha x...@laposte.net wrote: Hi John, Yes, highlight-regexp looks good and simple, when I apply it manually to the buffer. No need even to define a new face as the default hi-yellow is what I want. But: (how) can I call highlight-regexp from my .emacs file so that it automatically applies to every Org buffer? Or must it be called on a per buffer basis? Just putting (highlight-regexp ·[^·]*·) in my .emacs, as well as (global-hi-lock-mode 1) because Emacs throws a warning otherwise, didn't work. C-h v org-mode-hook RET Hth, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University
Re: [O] auto pack empty space between last line of header and next header
Sorry for not being clearer , no i dont mean when exporting but rather just using org mode files in emacs for example this screenshot: https://paste.xinu.at/8UBI4/ you can see the gap between the sunrise and hydra headers. i have tons of these due to more then 1 empty line between headers wonder if there was a way to tell org to pack these spaces or get rid of these empty lines between headers best Z On Wed, Jul 29, 2015 at 7:20 PM, Rasmus ras...@gmx.us wrote: Hi, Xebar Saram zelt...@gmail.com writes: i seem to get alot of empty spaces between the headers due to more then 1 empty line at the end of a header. I can manually delete all empty lines at the end of the section which will remove the gaps but this is tiring. i was wondering if there was any command to auto pack empty space between headers? Are you talking about an exporter? Please provide concrete examples. Thanks, Rasmus -- Governments should be afraid of their people
Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error
Hi John, Yes, highlight-regexp looks good and simple, when I apply it manually to the buffer. No need even to define a new face as the default hi-yellow is what I want. But: (how) can I call highlight-regexp from my .emacs file so that it automatically applies to every Org buffer? Or must it be called on a per buffer basis? Just putting (highlight-regexp ·[^·]*·) in my .emacs, as well as (global-hi-lock-mode 1) because Emacs throws a warning otherwise, didn't work. Once I find time to go through this elisp/customization tutorial http://emacslife.com/how-to-read-emacs-lisp.html I may more fruitfully study your post! thanks On 07/28/2015 05:19 PM, John Kitchin wrote: You may find this post on highlighting text helpful: http://kitchingroup.cheme.cmu.edu/blog/2015/07/28/A-highlight-annotation-mode-for-Emacs-using-font-lock/ I think it also lays the foundation for thinking about how to get it to export, although you would need to do this as a preprocessing step before the org export to replace highlighted regions by the appropriate markup. It also sounds like you could use the highlight-regexp function for what you want. Something like this might do what you want (use the face you prefer). (defface my-face3 `((t (:inherit org-link :foreground red))) My face) (highlight-regexp ·[^·]*· 'my-face3) (unhighlight-regexp ·[^·]*·) Xiha writes: ·test· Thanks guys. Getting closer - but please don't overestimate my backgound knowledge :) On 07/28/2015 02:05 PM, Eric S Fraga wrote: You need to differentiate between two aspects: highlighting of text within a org buffer and what happens to text when exported. Yes. Principally, I want the former. As to the latter: (1) my custom highlighting shouldn't break exporting. (2) /If/ highlighting can appear in the exported document, that's a bonus. But clearly it's not trivial to do; so never mind. In the new exporter, I don't think you can implement anything that covers both use cases. I am not entirely sure what it is you want. If you want just one of these, for the former, font-lock-add-keywords is probably what you want to pursue. Right, so grabbing code from the manual about font lock mode https://www.gnu.org/software/emacs/manual/html_node/emacs/Font-Lock.html, how do I adapt it? I tried putting this in my .emacs file ;; Highlight text between ·interpuncts· (add-hook 'org-mode-hook (lambda () (font-lock-add-keywords nil '((·\w· 1 font-lock-warning-face t) but that doesn't work. Probably that regexp is all wrong? Also, I don't want it to use font-lock-warning-face particularly. (How) can I define a new face for this purpose? Nick Dokos wrote: Emphasis is detected in the parser, so it is indeed difficult to add new emphasis for export. Since you don't care about the added emphasis in the exported document (only in the org buffer), using latest org from git works OK, So do I understand correctly that this is a completely different route than the font-lock-add-keywords one above? I.e. using this latest git version, I can define the highlight marker as I did and described earlier, and there's no need for a new face, because it uses the 'highlight' defined in the theme I'm using. Correct? I cloned the git files, but I'm wary of the next steps. If I just make and make install, will it not half-overwrite my current stable Org, and become a big mess? Sorry, this stuff is new to me and not really obvious. Also: I tried reinstalling Org via the menu, Options Manage Emacs Packages in hopes that it would install the git version while taking care of avoiding a mess. It now lists 20150727 as the version, so that's recent, but is that the 'bleeding edge' version or the stable version at that date? It didn't solve the problem, at any rate. except that the marker characters are copied verbatim to the output, so you'll have some cleanup to do. That's okay. It's not a problem for draft versions of the document; and by the time the final document is ready, all this temporary highlighting should be gone! I also tried 8.2.9 and got an error, but the error is different from what you get (backtrace attached). I am using 8.2.10 not 8.2.9 so that may explain the difference. cheers -- 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
Re: [O] Capture-like browser plugin?
Peter Davis pfd at pfdstudio.com writes: Frequently when I'm doing a Web search and find pages I like, I want to save a link to the page, along with the title and perhaps a few notes. Something like org-mode's capture would be great, but I'd like to initiate it from a browser. I imaging hitting a plugin button on the the browser's toolbar to open emacs via emacsclient, and essentially do a capture with the link and whatever text I care to enter. Has anyone seen or heard of or written something like this? Thanks! -pd Not sure that you need a plug-in or extension, I just use this bookmarklet: javascript:location.href='org- protocol://capture://x/'+encodeURIComponent(location.href)+'/'+encodeURIComp onent(document.title)+'/'+encodeURIComponent(prompt('Tags?')) It prompts for the tags, which I separate with : (to be org-like). This works fine in Chromium and I would think Firefox too. Then it calls this capture template: (x Browser Capture to Incoming entry (file+headline ~/Org/bookmarks.org Incoming) * %c :%i: :immediate-finish t) This makes bookmarks of the form: * [[url][title]] :tags: but of course you can change that with the template.
Re: [O] auto pack empty space between last line of header and next header
Marcin Thx so much that seems to have done the trick ((setq org-cycle-separator-lines 0)) best Z On Wed, Jul 29, 2015 at 9:54 PM, Marcin Borkowski mb...@mbork.pl wrote: On 2015-07-29, at 20:10, Xebar Saram zelt...@gmail.com wrote: Sorry for not being clearer , no i dont mean when exporting but rather just using org mode files in emacs for example this screenshot: https://paste.xinu.at/8UBI4/ you can see the gap between the sunrise and hydra headers. i have tons of these due to more then 1 empty line between headers wonder if there was a way to tell org to pack these spaces or get rid of these empty lines between headers Does (setq org-cycle-separator-lines 0) help? best Z Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University
[O] Commit ceae5d651b80295f35c01ecfc53661c7e8eceba7 Breaks syncing with Android
Hello: Just want to let you know, this commit: , | commit ceae5d651b80295f35c01ecfc53661c7e8eceba7 | Author: Oleh Krehel ohwoeo...@gmail.com | Date: Tue Jul 28 15:06:25 2015 +0200 | | lisp/org.el (org-set-tags): Simplify the code | | * lisp/org.el (org-set-tags): Prefer let* to multi-variable setq, | ...skipping... | org-mobile: Tiny fix in creating index.org file | | * lisp/org-mobile.el (org-mobile-create-index-file): | Eliminate cloning of `#+READONLY' property in the `index.org' file. | A sublists of `org-todo-keywords' don't need to contain the `|'. | | TINYCHANGE ` broke syncing with mobileorg on Android. After I revert to commit 5f3d8037a5099ca92db7edbf95ced22f0adefbef everything was fine. Thanks. Charles -- Never make any mistaeks. (Anonymous, in a mail discussion about to a kernel bug report.) signature.asc Description: PGP signature
Re: [O] How to get list item depth within the exporter framework?
On 2015-07-27, at 19:51, Richard Lawrence richard.lawre...@berkeley.edu wrote: Hi Marcin, Marcin Borkowski mb...@mbork.pl writes: as I mentioned, I'm writing a simple exporter. However, I stumbled on something apparently simple. How to get the current list level within org-whatever-item transcoder? I ran into this problem once; the solution I found was to just walk up the AST via org-export-get-parent until you run out of parents. Something like this should work (untested, and probably needs to be tweaked, as my Elisp is a little rusty): (defun find-depth (element) Find the depth of a (list) element during export. (let ((parent (org-export-get-parent element))) (case (org-element-type parent) ('item (1+ (find-depth parent))) ('plain-list (find-depth (org-export-get-parent parent))) (t 1 Hope that helps! Sure it does! I'm ashamed I didn't think about this myself. Here's my take (I assume that ITEM is a plain-list item): --8---cut here---start-8--- (defun org-item-get-level (item) Get the level of ITEM, which should be an item in a plain list. Levels are indexed from 0. (let ((pparent (org-element-property :parent (org-element-property :parent item (if (eq (org-element-type pparent) 'item) (1+ (org-item-get-level pparent)) 0))) --8---cut here---end---8--- It is a bit less general (and probably a bit faster), but for a plain-list item transcoder the generality doesn't matter. Best, Richard Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University
Re: [O] How to escape [ and ] characters in org-mode links
Hi, Xiha Unfortunately URL encoding the [ and ] doesn't work for me. Try to reproduce it. Create 2 files: file.txt. Content: $form['text1'] $form['text2'] file.org. Content: [[./file.txt::$form%5B'text2'%5D][text2]] When I click the link, it says No match.
Re: [O] Plotting with gnuplot
On Thu, Jul 23, 2015 at 08:46:30AM +0200, Michael Welle wrote: With two code blocks, use :session foo for one and :session bar for the other. Does your problem persist? yepp, that was the idea. But no success. If I understand the problem correctly, you need to put reset as the first argument: #+begin_src gnuplot :var data2015=days_cycling[2:-5] :var data2014=days_cycling[3:-4] :var data2013=days_cycling[4:-4,] :var data2012=days_cycling[5:-4,] :file ../images/number_of_days_cycling.png reset set title 'Number of Days Cycling Each Month.' # set ylabel 'Days' set xlabel 'Speed Mbps' lw2 set style data histogram set style histogram cluster gap 1 set style fill solid border -1 set boxwidth 0.9 set xlabel 'Month' set ylabel 'Days' plot data2015 u 5:xticlabels(1) title 2015, data2014 u 4:xticlabels(1) title 2014, data2014 u 3:xticlabels(1) title 2013, data2014 u 2:xticlabels(1) title 2012 #+end_src I have holes in my foor from using that particular gun. -- Best wishes, Ian.
Re: [O] Capture-like browser plugin?
Alan Schmitt alan.schm...@polytechnique.org writes: On 2015-07-28 11:58, Peter Davis p...@pfdstudio.com writes: if you use firefox, see: https://addons.mozilla.org/it/firefox/addon/org-mode-capture/ Thank you, Daniele. I'm afraid I haven't been able to get this to work on a Mac. I have the Firefox add-in installed, and emacs configured, but when I click the icon, nothing (seems to) happen(s). Did you configure a capture template for it? Yes, based on the info here: http://chadok.info/firefox-org-capture/ I added the l item to: (setq org-capture-templates '((t Todo entry (file+headline ~/org/gtd.org Tasks) * TODO %?\n %i\n %a) (j Journal entry (file+datetree ~/org/journal.org Journal) * Topic: %^{Topic?}\n\n%?\n\nEntered on %U\n %i\n %a) (l org-protocol entry (file ~/org/links.org Links) * Link: %c\n%U\n%i\n :immediate-finish) (n Notes entry (file+datetree ~/org/notes.org Notes) * Topic: %^{Topic?}\n\n%?\n\nEntered on %U\n %i\n %a) (r Reference entry (file+datetree ~/org/reference.org Reference) * Topic: %^{Topic?}\n\n%?\n\nEntered on %U\n %i\n %a) (q Questions entry (file+datetree ~/org/questions.org Questions) * %?\n\nEntered on %U\n %i\n %a))) Thanks, -pd
Re: [O] Capture-like browser plugin?
On Tue, Jul 28 2015, Peter Davis wrote: Daniele Pizzolli writes: On Thu, Jul 23 2015, Peter Davis wrote: [] https://addons.mozilla.org/it/firefox/addon/org-mode-capture/ Thank you, Daniele. I'm afraid I haven't been able to get this to work on a Mac. I have the Firefox add-in installed, and emacs configured, but when I click the icon, nothing (seems to) happen(s). Hello Peter, I did most of the development months ago and I do not remember a lot. By looking at the mozilla doc[1] you should be find some pointer on how to enable logging/debugging for extensions. The line where emacs is launched is at [2]. I do not know a lot of Mac, maybe you miss the emacsclient command or PATH? Maybe the run() at [2] does not work on Mac? A manual test would be to execute on a console something like: emacsclient 'org-protocol://capture://https%3A%2F%2Fdeveloper.mozilla.org%2Fen-US%2FAdd-ons%2FSDK%2FTools%2Fconsole%23Logging_Levels/console%20-%20Mozilla%20%7C% 20MDN/console' If the latter does work the problem should be in the run() call. Hope this helps, Daniele [1] https://developer.mozilla.org/en-US/Add-ons/Setting_up_extension_development_environment [2] http://hub.darcs.net/oschwand/firefox-org-capture/browse/lib/main.js#156
Re: [O] Capture-like browser plugin?
Daniele Pizzolli d...@toel.it writes: On Tue, Jul 28 2015, Peter Davis wrote: Daniele Pizzolli writes: A manual test would be to execute on a console something like: emacsclient 'org-protocol://capture://https%3A%2F%2Fdeveloper.mozilla.org%2Fen-US%2FAdd-ons%2FSDK%2FTools%2Fconsole%23Logging_Levels/console%20-%20Mozilla%20%7C% 20MDN/console' If the latter does work the problem should be in the run() call. Thank you, Daniele. I've tried the above command line, and I get: emacsclient: can't find socket; have you started the server? To start the server in Emacs, type M-x server-start. emacsclient: No socket or alternate editor. Please use: --socket-name --server-file (or environment variable EMACS_SERVER_FILE) --alternate-editor (or environment variable ALTERNATE_EDITOR) I have (server-start) at the top of my .emacs file, and I've restarted manually a few times, so I suspect emacsclient is failing silently somehow and that's the problem. I'll try to troubleshoot that. Thank you! -pd
[O] org-bbdb-birthday reminder
I'm using org-bbdb-anniversaries to use the bbdb-anniversaries. At the moment, it only displays the birthdays of the day. How can I generate a reminder for a few days before the actual birthday ? Julien.
Re: [O] Capture-like browser plugin?
Peter Davis p...@pfdstudio.com writes: Alan Schmitt alan.schm...@polytechnique.org writes: On 2015-07-29 06:18, Peter Davis p...@pfdstudio.com writes: Thank you, Daniele. I've tried the above command line, and I get: emacsclient: can't find socket; have you started the server? To start the server in Emacs, type M-x server-start. emacsclient: No socket or alternate editor. Please use: --socket-name --server-file (or environment variable EMACS_SERVER_FILE) --alternate-editor (or environment variable ALTERNATE_EDITOR) I have (server-start) at the top of my .emacs file, and I've restarted manually a few times, so I suspect emacsclient is failing silently somehow and that's the problem. I'll try to troubleshoot that. You’re probably running the emacsclient that comes by default with OS X, which is probably a different version from your emacs. Here I had to change the path in the extension setting to use “/usr/local/bin/emacsclient” instead of the system “/usr/bin/emacsclient”. Ah! There's no /usr/local/bin/emacsclient, but on my Mac, I have /Applications/Emacs.app/Contents/MacOS/bin-x86_64-10_5/emacsclient When I set the extension to use that, I get a new frame with a buffer named Org-capture%20for%20Firefox, but there's nothing in it and it doesn't seem to correspond to a file. Progress. You need to (require 'org-protocol) in your .emacs (or wherever). And if you don't want the new frame, you can uncheck that it in the extension's preferences. Nick
Re: [O] How to make a non-GPL Org-mode exporter?
Hi Oleh, 2015ko uztailak 28an, Oleh Krehel-ek idatzi zuen: Besides, CC-BY-NC-SA is compatible with GPL! Compatible. With GPL. This isn’t correct. -NC licenses are non-Free (in the FSF sense of the word): https://www.gnu.org/licenses/license-list.en.html#CC-BY-NC -SA licenses are Free, but not GPL-compatible, as indicated by the dashed orange line in the left-hand margin at: https://www.gnu.org/licenses/license-list.en.html#ccbysa -- Aaron Ecay
[O] using holiday dates from an ICAL calendar
I need to define weekly appointments, except during the school holidays. I know org-class provides a way to exclude some weeks from recurring events but I was wondering if some clever use of sexp would make it possible to use the weeks/days of holiday from a public ical calendar (like https://www.google.com/calendar/ical/bubn5utkn054pluh4v44nu6ok62e1dbo%40import.calendar.google.com/public/basic.ics). Did somebody ever try it ?
Re: [O] Capture-like browser plugin?
On 2015-07-29 06:18, Peter Davis p...@pfdstudio.com writes: Thank you, Daniele. I've tried the above command line, and I get: emacsclient: can't find socket; have you started the server? To start the server in Emacs, type M-x server-start. emacsclient: No socket or alternate editor. Please use: --socket-name --server-file (or environment variable EMACS_SERVER_FILE) --alternate-editor (or environment variable ALTERNATE_EDITOR) I have (server-start) at the top of my .emacs file, and I've restarted manually a few times, so I suspect emacsclient is failing silently somehow and that's the problem. I'll try to troubleshoot that. You’re probably running the emacsclient that comes by default with OS X, which is probably a different version from your emacs. Here I had to change the path in the extension setting to use “/usr/local/bin/emacsclient” instead of the system “/usr/bin/emacsclient”. Alan -- OpenPGP Key ID : 040D0A3B4ED2E5C7 Last week athmospheric CO₂ average (Updated July 26, 2015, Mauna Loa Obs.): 401.25 ppm signature.asc Description: PGP signature
Re: [O] Capture-like browser plugin?
Alan Schmitt alan.schm...@polytechnique.org writes: On 2015-07-29 06:18, Peter Davis p...@pfdstudio.com writes: Thank you, Daniele. I've tried the above command line, and I get: emacsclient: can't find socket; have you started the server? To start the server in Emacs, type M-x server-start. emacsclient: No socket or alternate editor. Please use: --socket-name --server-file (or environment variable EMACS_SERVER_FILE) --alternate-editor (or environment variable ALTERNATE_EDITOR) I have (server-start) at the top of my .emacs file, and I've restarted manually a few times, so I suspect emacsclient is failing silently somehow and that's the problem. I'll try to troubleshoot that. You’re probably running the emacsclient that comes by default with OS X, which is probably a different version from your emacs. Here I had to change the path in the extension setting to use “/usr/local/bin/emacsclient” instead of the system “/usr/bin/emacsclient”. Ah! There's no /usr/local/bin/emacsclient, but on my Mac, I have /Applications/Emacs.app/Contents/MacOS/bin-x86_64-10_5/emacsclient When I set the extension to use that, I get a new frame with a buffer named Org-capture%20for%20Firefox, but there's nothing in it and it doesn't seem to correspond to a file. Progress. Thank you! -pd