Coder Social home page Coder Social logo

org-download's Introduction

org-download

MELPA MELPA Stable

This extension facilitates moving images from point A to point B.

Point A (the source) can be:

  1. An image inside your browser that you can drag to Emacs.
  2. An image on your file system that you can drag to Emacs.
  3. A local or remote image address in kill-ring. Use the org-download-yank command for this. Remember that you can use "0 w" in dired to get an address.
  4. A screenshot taken using gnome-screenshot, scrot, gm, xclip (on Linux), screencapture (on OS X) or , imagemagick/convert (on Windows). Use the org-download-screenshot command for this. Customize the backend with org-download-screenshot-method.

Point B (the target) is an Emacs org-mode buffer where the inline link will be inserted. Several customization options will determine where exactly on the file system the file will be stored.

They are: org-download-method:

  1. 'attach => use org-mode attachment machinery
  2. 'directory => construct the directory in two stages:
    1. first part of the folder name is:

      • either "." (current folder)

      • or org-download-image-dir (if it's not nil).

        org-download-image-dir becomes buffer-local when set, so each file can customize this value, e.g with:

            -*- mode: Org; org-download-image-dir: "~/Pictures/foo"; -*-
        

        To set it for all files at once, use this:

            (setq-default org-download-image-dir "~/Pictures/foo")
        
    2. second part is:

      • org-download-heading-lvl is nil => ""

      • org-download-heading-lvl is n => the name of current heading with level n.

        Level count starts with 0, i.e. * is 0, ** is 1, *** is 2 etc. org-download-heading-lvl becomes buffer-local when set, so each file can customize this value, e.g with:

            -*- mode: Org; org-download-heading-lvl: nil; -*-
        

org-download-timestamp: optionally add a timestamp to the file name.

Customize org-download-backend to choose between url-retrieve (the default) or wget or curl.

Set up

(require 'org-download)

;; Drag-and-drop to `dired`
(add-hook 'dired-mode-hook 'org-download-enable)

Pasting from the clipboard

If you have the image stored in the clipboard, use org-download-clipboard.

org-download's People

Contributors

abo-abo avatar alistair avatar bbigras avatar bricewge avatar casch-at avatar conao3 avatar david-sitsky avatar diadochos avatar duianto avatar et2010 avatar hexmode avatar ic4907 avatar jethrokuan avatar kiuuik avatar lorniu avatar lxutn avatar mssdvd avatar stardiviner avatar tumashu avatar wandersoncferreira avatar yevgnen avatar yitang avatar youngfrog avatar zrquan avatar zzamboni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

org-download's Issues

org-download-edit open file error

I got this error in Gimp popup error window message:

Opening
'/home/stardiviner/Screenshots/org-babel%20syntax%20highlighting%20failed.png'
failed: Could not open
'/home/stardiviner/Screenshots/org-babel%20syntax%20highlighting%20failed.png'
for reading: No such file or directory

I checked, this file exist.

2 small questions

Hi again, how are you?

i have 2 small questions that i can seem to solve

  1. i want to get rid of the
    #+DOWNLOADED: /tmp/screenshot.png @ 2015-10-19 09:45:28

line. i tried using this in my config with no success:

(setq-default org-download-timestamp "")

is this the correct way to get rid of the #+DOWNLOADED line?

  1. i cant seem to get local buffer image dirs to work properly
    i have this on the top of the file
    -- mode: Org; org-download-image-dir: "~/ZH_tmp/"; org-download-heading-lvl: nil; --

but each time i take a screenshot using org-download i get an error:

org-download--image: File already exists: /home/zeltak/ZH_tmp/screenshot.png

any clue?

thx so much!

z

new error catch: Wrong type argument: commandp, org-download-screensh

EDIT: was a wrong hydra command i used :) fixed it now :)

how are you? moved to a new laptop and i seem to be getting this error when i try to capture an image using org-download

new error catch: Wrong type argument: commandp, org-download-screensh

any idea what im missing?

best

Itai

Drag and drop won't work well with the latest org-ref?

Thank you so much for creating this awesome package!

Drag-and-drop doesn't seem to work well with the latest version of org-ref (i.e. 7e69316cb029d46ffb505d78e8b7a5c0ee48d918 https://github.com/jkitchin/org-ref/commits/master).
When I drag-and-drop a .jpg file to a text file buffer, the jpg file is only copied to the same directory as the text file, but the link (and the corresponding headers) is not inserted.

When I roll back org-ref to 7d52d1db1f896153a8fb4aa715dcb510f643c3b0, it works again.

It would be great if you could look into this.

small bug..org-download-delte dosent delete the attribute line

Hya

how are you? been meaning to write this little bug but had a crazy past few months :)

when using org-download-delte dosent delete the attribute line (#+attr_html: :width 300px) dosent get deleted as well. is it possible to ask to remove that as well?
i have aggregated some more ideas in the past few weeks, ill put them in writing when i have some time ;-)

thx alot

Z

Dragging from Browser Not Working

I am on a Win 10 system using Emacs 25.2 from (https://vigou3.github.io/emacs-modified-windows/) because it includes DLLs for inline image display that are typically missing in binary distributions for Windows.

This works like a charm when dragging-and-dropping files from the local file system. It does not work when trying to drag-and-drop from Chrome or Edge. Nothing happens inside of Emacs.

  • pablo

Screenshot only working when it already exists in clipboard

Maybe it's just a misunderstanding. When I use org-download-screenshot it only works when the screenshot is already in the clipboard. Is this intended? The paragraph below suggests to me that it takes a screenshot itself. I work on windows using emacs-nt.

My settings are:

   (setq-default org-download-image-dir "~/temp")
   (setq org-download-screenshot-file "Z:/home/myuser/temp/screenshot.png")
   (setq org-download-screenshot-method "convert clipboard: %s"))

The output when there is no picture in the clipboard:

convert.exe: no bitmap on clipboard `' @ error/clipboard.c/ReadCLIPBOARDImage/143.
convert.exe: no images defined `Z:/home/myuser/temp/screenshot.png' @ error/convert.c/ConvertImageCommand/3258.

From the frontpage:

A screenshot taken using gnome-screenshot, scrot, gm, xclip (on Linux), screencapture (on OS X) or , imagemagick/convert (on Windows). Use the org-download-screenshot command for this. Customize the backend with org-download-screenshot-method.

Feature request: store images in folder with the name of the org file

I am a user of plain-org-wiki. The default image folder naming method use heading for folder name, many of my heading has spaces, also some are duplicate in my org-wiki directory. It would be very nice to change the image folder name from heading name to file name.
Thank you for your consideration.

[REQUEST] open org-downlaod image in image-editor of choice, then update image in buffer

Hi again

so as you know i use org-download daily as one of my main work drivers :)

many times i have a need to quick edit an image in the org buffer which i have downloaded via org-download. for example add a highlight, a red frame etc to highlight stuff on the image for my students.

i know that org-download keeps track of each image (since i can launch org-download-delete).
i was wondering if we can do the same to edit a image from within org, that is:
launch the image in an editor of choice (maybe use a command like org-download-edit?), edit the image there, save,quit and then the new edited image appears in the org buffer :)
i dont know how technically difficult that would be but i did do some stuff like that in the past with very simple bash scripts..though i cant code for shit as you know :)

thanks so much for everything as always

kind regards

Z

Screenshot directory on windows

After setting org-download-screenshot-method to imagemagick/convert I try org-download-screenshot.
Then I get the messages below. ImageMagick 6.9.9 64bit is installed. I run emacs 25.2 on windows.

It seems the directory is in Unix format and not existing. Where do I set the directory? Couldn't find that in customize. Org-download-image-dir is currently set to c:/home/username/tmp/

convert.exe: unable to open image `/tmp/screenshot.png': No such file or directory @ error/blob.c/OpenBlob/2701.
convert.exe: WriteBlob Failed `/tmp/screenshot.png' @ error/png.c/MagickPNGErrorHandler/1647.
url-retrieve-internal: Bad url: /tmp/screenshot.png

Using in windows 7

Hi, abo-abo,
Thanks for your great org-download.
I am supposed that the codes can be used formally in linux, but when i use it in windows 7, some issues exists:

  1. I downloaded the wget that can be used in windows 7, but neither the drag from browser and file explorer nor paste from clipboard can be done.
  2. Then i tried to use the fucntion like org-download-image with argument with link in org-mode. The result was that i can not produce any image in my directory. I edebug the function, it seems there is something wrong with the full file name with time-stamp, maybe the eget command-line also has some problems.

I am not sure whether it should be working rightly on others' windows, above issues in my windows puzzle me. Thanks in advance for your any help.

improve org-download add link way

I found org-download download image by inserting string like org-mode attachment property filename, and link at first, then start async downloading.

But when the downloading fails, Then I remove link string, (have not remove attachment property filename). When I try to re-download image, it always failed.
The error log message in Messages:

File "dashboard_files_tab_2015-10-29_20-41-13.png" is now a task attachment.
error in process sentinel: apply: Symbol's value as variable is void: link
error in process sentinel: Symbol's value as variable is void: link

Here is the test image link: http://nbviewer.ipython.org/github/ipython/ipython/blob/3.x/examples/Notebook/images/dashboard_running_tab.png

I think download might can improve on this.
And org-download has command org-download-remove, but it does not work as I think. I only remove current point line image link.

drag images from browsers on windows 7

Hi, thanks for you work in advance.
When I drag some images from Firefox in windows 7, the images' formats were transformed into .bmp. It cannot be displayed in my Emacs. What should I do if I want to keep the format unchanged?
Also, when I drag one image from my disk to .org files, there is always one instruction about the image. How can I prevent the insert of the messages?

Extend this package to work in markdown mode

Hi! First of all, thank you for this lib! I was looking for something like this and I did not expect to find something that works so well and comes so close to my needs.

I would like to use this functionality in combination with deft, but I prefer to use the markdown mode, rather than the org mode. Would it be possible to extend org-download to also work in markdown mode?

Thanks,
Christian

org-download on a remote file via tramp/ssh.. a solution?

Hi :)

this maybe not totally directed to org-download but ill ask anyway.

when i open a org file via TRAMP and edit it (i use sshx if that matters) i cant seem to use org-download to add images to the file and i get this error:

gm import: Unable to open XServer ().
url-retrieve-internal: Bad url: /tmp/screenshot.png

i wonder if there is a solution for this in anyway?

thx alot

Z

change org-download-heading-lvl to buffer-name?

Hi,

I separate projects by different .org files, so I have PorjectA.org and ProjectB.org, and is it possible to associate the file name of the screenshot to buffer name? then I will have

/img/ProjectA/xxxx.png
/img/ProjectB/xxxx.png

which makes it is easier to manage and more robust to the headlines as we potentially change it.

-Yi

Error "Could not obtain desktop path or name"

Any idea why I'm seeing this error on Linux (Ubuntu), with current package from MELPA.

Tried with default `org-download-screenshot-file" and setting it explicitly. When it's wrong (i.e. it's set to the name of a diretory rather than a file name) I get the expected error, but anything else, including the default tmp location, produce this error:

** (gnome-screenshot:8878): WARNING **: AT-SPI: Could not obtain desktop path or name

add org-links (non image) by drag and drop

Hya again

im still thinking about what i can do with the org-scrape project and trying to get hold of a dev to help :)

in the meantime i thought of another useful thing, have the org drag and drop from local and FF that works so well for images for non image files. for example i link to alot of pdf attachments to organize my academic library, and i keeo wishing i could drag and drop from web/file browser into org. if you find the idea interesting i can draft a more serious proposal on how i think it can/should work

thx alot

Z

Handling base64 images "inlined" in the link

Hello,

I am using Jupyter notebooks and would like to save some plots from there to my .org file. The issue is that the plots are "inline", ie, they do not exist as a separate file but are just given by a link like data:image/png;base64,iVBORw0KGgoAAAANSU...

Clearly, this is nothing wget nor curl can make sense of, but it seems like it should be easy enough to convert this base64 image to a file and treat it as usual. Unfortunately, my elisp is pretty weak. I could give it a try to make a PR if one could give me some pointers, though.

Cheers,
Christian

Rename image at point

Hi, Oleh

The latest rename-last-image function works great! I think a function to rename image at point would be handy too. What do you think?

How to use buffer-file-name as org-download-image-dir ?

Hi, thank you for the great library.
This is a question rather than an issue.

I would like to set org-download-image-dir to the current file name. Is it possible with the current version?
(For example, when drag-and-dropped foo.jpg to bar.org, I would like to have ./bar-img directory to be created, and have foo.jpg in there.)

Thanks in advance!

When dragged from local disk to org files on windows 7, the image get a changed name

Hi,
When I dragged the image from my disk to org files on Windows 7 64bit, the image named and path was changed.
The name of image file and the text in org file were changed: The Space in path or name was changed to %20.
But the link in org files was not changed. So, the image can not displayed.

For Example:
original image name: a b.jpg
after dragged:
image name: a%20b.jpg
text in org file: [[a b.jpg][a%20b.jpg]]

the code is below:

(defun zhixing/org-download-method (link)
  (let ((filename
         (file-name-nondirectory
          (car (url-path-and-query
                (url-generic-parse-url link)))))
        (dirname (concat Files "Images/" (file-name-sans-extension (buffer-name)) "-img"))
        )
    (make-directory dirname :parents)
    (expand-file-name (format "%s%s.%s"
                              (file-name-sans-extension filename)
                              (format-time-string "_%Y-%m-%d_%H-%M-%S")
                              (or ext (file-name-extension filename)))
                      dirname)))

Using font-lock-add-keywords to display caption than various table and images headers

Dear abo-abo,

From your answer at http://stackoverflow.com/questions/22937393/emacs-lisp-prettify-symbols-mode-for-latex by using font-lock-add-keywords, I can display the latin symbols instead of the English word which is pretty great.

Then a good idea came to my brain, which is: Can i use this feature to display the caption and label of the table and image rather than headers which holds at least three lines? If it can be accomplished, which will make the article very compact and easier to read:

Before re-display :

+CAPTION: caption

+ATTR_LaTeX: :align |c|c|

+LABEL: table:label

| name | value |
|------+-------|
| tony | 30 |

After re-display:

table:label caption
| name | value |
|------+-------|
| tony | 30 |

I tried to alter the cl-pairlis like below using regexp search to find the headers and capture the caption and label contents, and want to re-display the matched contents using "\2 \1":

(defvar pretty-alist
  (cl-pairlis '("#\\+CAPTION: \\(.+$\\)\n#\\+ATTR_LaTeX.+\n#\\+LABEL: \\(.+$\\)")
              ("\\2 \\1")))
(defun pretty-things()
  (mapc
   (lambda (x)
     (let ((word (car x))
           (char (cdr x)))
       (font-lock-add-keywords
        nil
        `((,(concat "\\(^\\|[^a-zA-Z0-9]\\)\\(" word "\\)[a-zA-Z]")
            (0 (progn
                 (decompose-region (match-beginning 2) (match-end 2))
                 nil)))))
       (font-lock-add-keywords
        nil
        `((,(concat "\\(^\\|[^a-zA-Z0-9]\\)\\(" word "\\)[^a-zA-Z]")
            (0 (progn
                 (compose-region (1- (match-beginning 2)) (match-end 2)
                  ,char)
                 nil)))))))
   pretty-alist))

But it failed, it seems like that elisp can not recognize the matched data, so i think if i can store the matched data to a var, and append to cl-pairlis, maybe it will works.

I am a pretty beginner to elisp, so i have no idea how to store the matched data, then i decide to ask for help from you. Because I do not have you contact, so i am sorry to post here which is not suitable. And I also add it to the org-mode mailling list, till now no one responses.

Thanks very much. Any help will be very appreciated.

Best regard!

wierd bug

Hi again

i just noticed that in the last few week org-download has been saving my images in a wierd folder structure

this is my config:

(load-file "~/.emacs.d/src/extra/org-download/org-download.el")

(add-hook
'org-mode-hook
(lambda ()
(setq org-download-heading-lvl nil)))

(add-hook
'org-mode-hook
(lambda ()
(setq org-download-image-dir "~/org/attach/images_2013/")))

and this is the resulting path

[[/home/zeltak/org/attach/images_2014//distros/WM/image5_2014-03-13_07:07:42.png]]

any ideas?

also how does one use per buffer settings for location, just stick this line on top of an org file?

-*- mode: Org; org-download-image-dir: ~/Pictures/foo; -*-

thx alot

z

How to delete the original picture after draged from local disk by org-download-method?

Hello.
Below is my code for org-download-method. After draged into the org-mode files, the pictures were saved in the new place.
Is there any way easily to delete the original pictures?
I do not know much about emacs-lisp, can you help me with this? Thank you in advance.

(defun zx-org/org-download-method (link)
  (let ((filename
         (file-name-nondirectory
          (car (url-path-and-query
                (url-generic-parse-url link)))))
        (dirname (concat "Images/" (file-name-sans-extension (buffer-name)) "-img/")))
    (unless (f-exists-p dirname)
      (make-directory dirname :parents))
    (expand-file-name (format "%s.%s"
                              (format-time-string "%Y-%m-%d_%H-%M-%S")
                              (or ext (file-name-extension filename)))
                      dirname)))

How to add a timestamp to the file name?

I modified the code use buffer-file-name as org-download-image-dir to make it work better for me.
But I do not know how to add a timestamp to the filename.
Can you help me? Thank you!

(defun zhixing-org-download-method (link)
  (let ((filename
         (file-name-nondirectory
          (car (url-path-and-query
                (url-generic-parse-url link)))))
        (dirname (concat Files "Images/" (file-name-sans-extension (buffer-name)) "-img"))
        )
    (make-directory dirname :parents)
    (expand-file-name filename dirname)))

Error 'wrong-type-argument' when rename image at point

I bumped into this error when I was trying to rename image at point. To clarify a bit, I was working with evil normal state and the inline image was toggled on.

I think this is caused by ffap-file-at-point not working in this case. I've created a PR to use org-element API instead of ffap-file-at-point to get the filename at point.

Global variable options

I'd always like to have images stored in a global folder, not in sub-folders of the current Org file. Is there a way to set variables globally? Should this be done by adding (add-hook 'org-mode-hook)?

global setting: org-download-image-dir

Hi,

I think org-download is a brilliant idea, I'd like to use it in drafting reports. I just wonder if I can set org-download-image-dir as a global variable, to img/ folder, which is relative path to the B point (the target buffer)?

I've tried to use

-*- mode: Org; org-download-image-dir: ~/Pictures/foo; -*-

as shown in README.me, but it doesn't works.

-Yi

handling non-image files and urls

Looking at this very usefull mode again, I would like to configure some rules on
how to treat non-image files for input method drag&drop.

  • if (= file-type (and (any exept these-exclusions) (not image))):
    • treat file the as usual (downloading and referencing it) but skip the markup for image files
    • and treat url-resource as text or binary file if possible
    • or insert org-link only
  • toggle these rules for non-image files

I tried to find the point of decision about the type of the file in
the source org-download.el. But as far as I understand the code untill now, there are
multiple points of decision about the type of the file or url.
Could those be combined into one in order to be able to hook the behaviour for non-image files?

I just found an example of the same functionality here
Drag images and files onto org-mode and insert a link to them
It uses keybindings to decide between the different use cases. That may be the way to go.

org-download stoped downloading to user defined dir

Hi!

i suddenly realised org-download has stoped downloading images to user defined dir

i have this setting

(use-package org-download
:ensure t
:config
(setq-default org-download-heading-lvl nil)
(setq-default org-download-image-dir "/home/zeltak/Sync/attach/images_2015")
)

it dosent seem like its downloading to /home/zeltak/Sync/attach/images_2015

any settings changed recently?

best

Z

add "drag and drop" from local file/screenshot

Hi again

sorry to bug you again on this but after preparing a manual to day for my students and manually issues org-insert link for 200 times today i thought id give it a shot :)
..anyway.. :)

i would really really love it if a similar method for local images (or even better launching scrot to take a screenshot) would be implemented into org-download. it would work just like current method where the images would be added as inline image and saved it the configed dir.

let me know if i can help in anyway (testing etc)

thx!

Z

A few more ideas

Hi again and thx for the great .el !!

two more ideas i wanted to suggest

1.could you add an option to add a date field to the image after the name? IE crazycatimage_2013-10-16_21:20:53.jpg

2.re scaling option would be awesome but i think a quick way would be to add the org image options below the sourece comment, IE add a :

+attr_html: :width 500px

above the image?

3.this one maybe impossible and seems tricky, but when you use the web drag to org alot every day like i do, you end up with a few misfires every days (images you dont actually need or added by mistake etc..). could one add an option ot auto delete the corresponding image when one deletes the emacs link/comment, maybe add a are you sure option?

also as you already know i have ZERO coding skills but would love to help out in anyway needed (testing, documentation etc), please let me know if i could be of help

best

Z

folder structure

im not a lisp programmer (yet), thus for the time being i will just request a feature

i've been using org-download almost daily for the past 2 months. one thing that is a bit distrubing is that the foldername inherits the heading in its current state with its current tags.

for example, i had such a headline that created the following foldername:
"progress report"

but at some point i made it a todo and tagged it, and thus when i use org-download i get a new folder:

"TODO progress report :anthony:ustim:meeting:"

it would be good if your code could parse out only the heading itself from the plain text.

i frequently have issues exporting to latex after using org-download, because of the crazy foldernames i end up with.

alternatively, i noticed some other extensions, like org-mobile, that makes use of ID property. For example, below the headings, i have this as unique identifier for my heading.
:PROPERTIES:
:ID: 3a7884b2-24b9-4035-8280-d018782bd4cd
:END:

New Idea: org-download scrape

Hya

How are you? first of all let me start again by thanking you to no end :) ive been using org-download constantly this past few days and it makes my life just so much easier/better, really cant thank you enough

also please see attached org-download wiki i created using org. i still have no clue how to add it to worg but i will keep investigating:

https://paste.xinu.at/1UR/

so the new idea i have :) in my academic work i often need to create workbooks for students based on web pages. also non work related i use orgmode alot for various home realted things among them as a recipe book for cooking. the common issue with all these use case scenarios is that i need to download often "full" webpages/section with text and images and need to manually format them to orgmode+add images.

so my idea is to have a org-download "scraper". what it would do is that you would mark text+images and either drag into org (like the current images implementation) or we can think of another method. this would then paste the text and inline images inside the buffer. another cool thing we can try is use pandoc txt/html to org option to even try formatting the text into proper org-mode syntax.

i once had a similar idea someone helped me implement for a webkit browser using javascirpt where i would mark the area in a webpage and it would open an emacs buffer with org formated text:

https://paste.xinu.at/IfGSP/

would really love to hear your thoughts on this and weather you think its feasible

best

Z

Should this really be developed in its own repo and also be part of the Org-Mode repo?

Why is org-download.el developed in this repository but also tracked in the contrib directory of Org-Mode's repository. I think this is problematic because it means that at least for users who install the org-plus-contrib package from the Org-Mode Elpa as well as org-download from Melpa it is undefined which version will be used (depends on the order of load-path).

So I would recommend that you either remove org-download.el from Org-Mode's contrib directory or remove org-download from Melpa. If you choose to do the latter, then you might even want to consider to remove this repository and develop directly in the Org-Mode repository instead.

/cc @purcell

How to install this using package?

Hi,
It it possible to install this packaged from melpa, I failed to do so. My package archives is:

(setq package-archives
'(("localelpa" . "~/.emacs.d/localelpa/")
       ("melpa" . "http://melpa.org/packages/")
       ("melpa-stable" . "http://stable.melpa.org/packages/")))

This package is not listed in M-x list-packages, after doing package-refresh-contents.
What did I do wrong?

Very useful

This is so useful for me right now (taking notes with emacs in interleave mode), I'm really happy I've come across your code! Still need to setup a permanent folder where screenshots should go, of course.

(text is Hebrew & Arabic) I'm taking a screenshot of part of the PDF (on the left), which gets auto-magically inserted/embedded in the document I'm editing (on the right), using the screenshot feature (org-download-screenshot, of Linux (Ubuntu). Seamless, and VERY handy.

screenshot from 2017-11-09 11-06-56

Just wanted to say thanks ๐Ÿ‘

Invalid function: async-start

On Mac OS X 10.8.5, I am running GNU Emacs 24.3.1 (x86_64-apple-darwin12.5.0, Carbon Version 1.6.0 AppKit 1187.4). I have installed the latest version of org, including the org-download from contrib, Org-mode version 8.2.5h (release_8.2.5h-653-g64adcc). I have also installed the latest async via melpa.

When I drag and drop a png file onto an org buffer, I get the following error:
Invalid function: async-start

I get the same error when I invoke
M-x org-download-image
and enter a valid image url at the prompt.

Any idea what I am doing wrong?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.